diff options
Diffstat (limited to 'service/protocol-plugin/lib/cpluff/po')
19 files changed, 2665 insertions, 0 deletions
diff --git a/service/protocol-plugin/lib/cpluff/po/LINGUAS b/service/protocol-plugin/lib/cpluff/po/LINGUAS new file mode 100644 index 000000000..59db7eab4 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/LINGUAS @@ -0,0 +1,4 @@ +# Available languages +en@quot +en@boldquot +fi diff --git a/service/protocol-plugin/lib/cpluff/po/Makefile b/service/protocol-plugin/lib/cpluff/po/Makefile new file mode 100644 index 000000000..3aff28b65 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/Makefile @@ -0,0 +1,507 @@ +# Makefile for PO directory in any package using GNU gettext. +# Copyright (C) 1995-1997, 2000-2006 by Ulrich Drepper <drepper@gnu.ai.mit.edu> +# +# This file can be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU General Public +# License but which still want to provide support for the GNU gettext +# functionality. +# Please note that the actual code of GNU gettext is covered by the GNU +# General Public License and is *not* in the public domain. +# +# Origin: gettext-0.16 + +PACKAGE = cpluff +VERSION = 0.1.3 +PACKAGE_BUGREPORT = johannes.lehtinen@iki.fi + +SHELL = /bin/sh + + +srcdir = . +top_srcdir = .. + + +prefix = /usr/local +exec_prefix = ${prefix} +datarootdir = ${prefix}/share +datadir = ${datarootdir} +localedir = ${datarootdir}/locale +gettextsrcdir = $(datadir)/gettext/po + +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 + +# We use $(mkdir_p). +# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as +# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, +# ${SHELL} /home/junho13lee/project/20141007/Iotivity-Candidate/oic-service/protocol-plugin/lib/cpluff/auxliary/install-sh does not start with $(SHELL), so we add it. +# In automake >= 1.10, /bin/mkdir -p is derived from ${MKDIR_P}, which is defined +# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake +# versions, $(mkinstalldirs) and $(install_sh) are unused. +mkinstalldirs = $(SHELL) ${SHELL} /home/junho13lee/project/20141007/Iotivity-Candidate/oic-service/protocol-plugin/lib/cpluff/auxliary/install-sh -d +install_sh = $(SHELL) ${SHELL} /home/junho13lee/project/20141007/Iotivity-Candidate/oic-service/protocol-plugin/lib/cpluff/auxliary/install-sh +MKDIR_P = /bin/mkdir -p +mkdir_p = /bin/mkdir -p + +GMSGFMT_ = /usr/bin/msgfmt +GMSGFMT_no = /usr/bin/msgfmt +GMSGFMT_yes = /usr/bin/msgfmt +GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) +MSGFMT_ = /usr/bin/msgfmt +MSGFMT_no = /usr/bin/msgfmt +MSGFMT_yes = /usr/bin/msgfmt +MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) +XGETTEXT_ = /usr/bin/xgettext +XGETTEXT_no = /usr/bin/xgettext +XGETTEXT_yes = /usr/bin/xgettext +XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) +MSGMERGE = msgmerge +MSGMERGE_UPDATE = /usr/bin/msgmerge --update +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +POFILES = en@quot.po en@boldquot.po fi.po +GMOFILES = en@quot.gmo en@boldquot.gmo fi.gmo +UPDATEPOFILES = en@quot.po-update en@boldquot.po-update fi.po-update +DUMMYPOFILES = en@quot.nop en@boldquot.nop fi.nop +DISTFILES.common = Makefile.in.in remove-potcdate.sin \ +$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) +DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ +$(POFILES) $(GMOFILES) \ +$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) + +POTFILES = \ + ../console/cmdinput_basic.c \ + ../console/cmdinput_readline.c \ + ../console/console.c \ + ../libcpluff/context.c \ + ../libcpluff/cpluff.c \ + ../libcpluff/logging.c \ + ../libcpluff/pcontrol.c \ + ../libcpluff/pinfo.c \ + ../libcpluff/ploader.c \ + ../libcpluff/pscan.c \ + ../libcpluff/psymbol.c \ + ../libcpluff/serial.c \ + ../libcpluff/thread_posix.c \ + ../libcpluff/thread_windows.c \ + ../libcpluff/util.c \ + ../loader/loader.c + +CATALOGS = en@quot.gmo en@boldquot.gmo fi.gmo + +# Makevars gets inserted here. (Don't remove this line!) +# Makefile variables for PO directory in any package using GNU gettext. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgstr strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Johannes Lehtinen + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = johannes.lehtinen@iki.fi + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +.SUFFIXES: +.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update + +.po.mo: + @echo "$(MSGFMT) -c -o $@ $<"; \ + $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ + +.po.gmo: + @lang=`echo $* | sed -e 's,.*/,,'`; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \ + cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo + +.sin.sed: + sed -e '/^#/d' $< > t-$@ + mv t-$@ $@ + + +all: all-yes + +all-yes: stamp-po +all-no: + +# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no +# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because +# we don't want to bother translators with empty POT files). We assume that +# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. +# In this case, stamp-po is a nop (i.e. a phony target). + +# stamp-po is a timestamp denoting the last time at which the CATALOGS have +# been loosely updated. Its purpose is that when a developer or translator +# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, +# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent +# invocations of "make" will do nothing. This timestamp would not be necessary +# if updating the $(CATALOGS) would always touch them; however, the rule for +# $(POFILES) has been designed to not touch files that don't need to be +# changed. +stamp-po: $(srcdir)/$(DOMAIN).pot + test ! -f $(srcdir)/$(DOMAIN).pot || \ + test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) + @test ! -f $(srcdir)/$(DOMAIN).pot || { \ + echo "touch stamp-po" && \ + echo timestamp > stamp-poT && \ + mv stamp-poT stamp-po; \ + } + +# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', +# otherwise packages like GCC can not be built if only parts of the source +# have been downloaded. + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed + if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ + msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ + else \ + msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ + fi; \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ + --files-from=$(srcdir)/POTFILES.in \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi + + +install: install-exec install-data +install-exec: +install-data: install-data-yes + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ + for file in $(DISTFILES.common) Makevars.template; do \ + $(INSTALL_DATA) $(srcdir)/$$file \ + $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + for file in Makevars; do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + else \ + : ; \ + fi +install-data-no: all +install-data-yes: all + $(mkdir_p) $(DESTDIR)$(datadir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $(DESTDIR)$$dir; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ + echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ + fi; \ + done; \ + done + +install-strip: install + +installdirs: installdirs-exec installdirs-data +installdirs-exec: +installdirs-data: installdirs-data-yes + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ + else \ + : ; \ + fi +installdirs-data-no: +installdirs-data-yes: + $(mkdir_p) $(DESTDIR)$(datadir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $(DESTDIR)$$dir; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + fi; \ + done; \ + done + +# Define this as empty until I found a useful application. +installcheck: + +uninstall: uninstall-exec uninstall-data +uninstall-exec: +uninstall-data: uninstall-data-yes + if test "$(PACKAGE)" = "gettext-tools"; then \ + for file in $(DISTFILES.common) Makevars.template; do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + else \ + : ; \ + fi +uninstall-data-no: +uninstall-data-yes: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + done; \ + done + +check: all + +info dvi ps pdf html tags TAGS ctags CTAGS ID: + +mostlyclean: + rm -f remove-potcdate.sed + rm -f stamp-poT + rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po + rm -fr *.o + +clean: mostlyclean + +distclean: clean + rm -f Makefile Makefile.in POTFILES *.mo + +maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + rm -f stamp-po $(GMOFILES) + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: + $(MAKE) update-po + @$(MAKE) dist2 +# This is a separate target because 'update-po' must be executed before. +dist2: stamp-po $(DISTFILES) + dists="$(DISTFILES)"; \ + if test "$(PACKAGE)" = "gettext-tools"; then \ + dists="$$dists Makevars.template"; \ + fi; \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + dists="$$dists $(DOMAIN).pot stamp-po"; \ + fi; \ + if test -f $(srcdir)/ChangeLog; then \ + dists="$$dists ChangeLog"; \ + fi; \ + for i in 0 1 2 3 4 5 6 7 8 9; do \ + if test -f $(srcdir)/ChangeLog.$$i; then \ + dists="$$dists ChangeLog.$$i"; \ + fi; \ + done; \ + if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ + for file in $$dists; do \ + if test -f $$file; then \ + cp -p $$file $(distdir) || exit 1; \ + else \ + cp -p $(srcdir)/$$file $(distdir) || exit 1; \ + fi; \ + done + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-gmo + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ + cd $(srcdir); \ + if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +$(DUMMYPOFILES): + +update-gmo: Makefile $(GMOFILES) + @: + +Makefile: Makefile.in.in Makevars $(top_builddir)/config.status POTFILES.in LINGUAS + cd $(top_builddir) \ + && $(SHELL) ./config.status $(subdir)/$@.in po-directories + +force: + +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: +# Special Makefile rules for English message catalogs with quotation marks. + +DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot + +.SUFFIXES: .insert-header .po-update-en + +en@quot.po-create: + $(MAKE) en@quot.po-update +en@boldquot.po-create: + $(MAKE) en@boldquot.po-update + +en@quot.po-update: en@quot.po-update-en +en@boldquot.po-update: en@boldquot.po-update-en + +.insert-header.po-update-en: + @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ + if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + ll=`echo $$lang | sed -e 's/@.*//'`; \ + LC_ALL=C; export LC_ALL; \ + cd $(srcdir); \ + if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "creation of $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +en@quot.insert-header: insert-header.sin + sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header + +en@boldquot.insert-header: insert-header.sin + sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header + +mostlyclean: mostlyclean-quot +mostlyclean-quot: + rm -f *.insert-header diff --git a/service/protocol-plugin/lib/cpluff/po/Makefile.in b/service/protocol-plugin/lib/cpluff/po/Makefile.in new file mode 100644 index 000000000..c9a30b13e --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/Makefile.in @@ -0,0 +1,403 @@ +# Makefile for PO directory in any package using GNU gettext. +# Copyright (C) 1995-1997, 2000-2006 by Ulrich Drepper <drepper@gnu.ai.mit.edu> +# +# This file can be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU General Public +# License but which still want to provide support for the GNU gettext +# functionality. +# Please note that the actual code of GNU gettext is covered by the GNU +# General Public License and is *not* in the public domain. +# +# Origin: gettext-0.16 + +PACKAGE = cpluff +VERSION = 0.1.3 +PACKAGE_BUGREPORT = johannes.lehtinen@iki.fi + +SHELL = /bin/sh + + +srcdir = . +top_srcdir = .. + + +prefix = /usr/local +exec_prefix = ${prefix} +datarootdir = ${prefix}/share +datadir = ${datarootdir} +localedir = ${datarootdir}/locale +gettextsrcdir = $(datadir)/gettext/po + +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 + +# We use $(mkdir_p). +# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as +# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, +# ${SHELL} /home/junho13lee/project/20141007/Iotivity-Candidate/oic-service/protocol-plugin/lib/cpluff/auxliary/install-sh does not start with $(SHELL), so we add it. +# In automake >= 1.10, /bin/mkdir -p is derived from ${MKDIR_P}, which is defined +# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake +# versions, $(mkinstalldirs) and $(install_sh) are unused. +mkinstalldirs = $(SHELL) ${SHELL} /home/junho13lee/project/20141007/Iotivity-Candidate/oic-service/protocol-plugin/lib/cpluff/auxliary/install-sh -d +install_sh = $(SHELL) ${SHELL} /home/junho13lee/project/20141007/Iotivity-Candidate/oic-service/protocol-plugin/lib/cpluff/auxliary/install-sh +MKDIR_P = /bin/mkdir -p +mkdir_p = /bin/mkdir -p + +GMSGFMT_ = /usr/bin/msgfmt +GMSGFMT_no = /usr/bin/msgfmt +GMSGFMT_yes = /usr/bin/msgfmt +GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) +MSGFMT_ = /usr/bin/msgfmt +MSGFMT_no = /usr/bin/msgfmt +MSGFMT_yes = /usr/bin/msgfmt +MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) +XGETTEXT_ = /usr/bin/xgettext +XGETTEXT_no = /usr/bin/xgettext +XGETTEXT_yes = /usr/bin/xgettext +XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) +MSGMERGE = msgmerge +MSGMERGE_UPDATE = /usr/bin/msgmerge --update +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +POFILES = @POFILES@ +GMOFILES = @GMOFILES@ +UPDATEPOFILES = @UPDATEPOFILES@ +DUMMYPOFILES = @DUMMYPOFILES@ +DISTFILES.common = Makefile.in.in remove-potcdate.sin \ +$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) +DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ +$(POFILES) $(GMOFILES) \ +$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) + +POTFILES = \ + +CATALOGS = @CATALOGS@ + +# Makevars gets inserted here. (Don't remove this line!) + +.SUFFIXES: +.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update + +.po.mo: + @echo "$(MSGFMT) -c -o $@ $<"; \ + $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ + +.po.gmo: + @lang=`echo $* | sed -e 's,.*/,,'`; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \ + cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo + +.sin.sed: + sed -e '/^#/d' $< > t-$@ + mv t-$@ $@ + + +all: all-yes + +all-yes: stamp-po +all-no: + +# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no +# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because +# we don't want to bother translators with empty POT files). We assume that +# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. +# In this case, stamp-po is a nop (i.e. a phony target). + +# stamp-po is a timestamp denoting the last time at which the CATALOGS have +# been loosely updated. Its purpose is that when a developer or translator +# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, +# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent +# invocations of "make" will do nothing. This timestamp would not be necessary +# if updating the $(CATALOGS) would always touch them; however, the rule for +# $(POFILES) has been designed to not touch files that don't need to be +# changed. +stamp-po: $(srcdir)/$(DOMAIN).pot + test ! -f $(srcdir)/$(DOMAIN).pot || \ + test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) + @test ! -f $(srcdir)/$(DOMAIN).pot || { \ + echo "touch stamp-po" && \ + echo timestamp > stamp-poT && \ + mv stamp-poT stamp-po; \ + } + +# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', +# otherwise packages like GCC can not be built if only parts of the source +# have been downloaded. + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed + if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ + msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ + else \ + msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ + fi; \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ + --files-from=$(srcdir)/POTFILES.in \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi + + +install: install-exec install-data +install-exec: +install-data: install-data-yes + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ + for file in $(DISTFILES.common) Makevars.template; do \ + $(INSTALL_DATA) $(srcdir)/$$file \ + $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + for file in Makevars; do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + else \ + : ; \ + fi +install-data-no: all +install-data-yes: all + $(mkdir_p) $(DESTDIR)$(datadir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $(DESTDIR)$$dir; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ + echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ + fi; \ + done; \ + done + +install-strip: install + +installdirs: installdirs-exec installdirs-data +installdirs-exec: +installdirs-data: installdirs-data-yes + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ + else \ + : ; \ + fi +installdirs-data-no: +installdirs-data-yes: + $(mkdir_p) $(DESTDIR)$(datadir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $(DESTDIR)$$dir; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + fi; \ + done; \ + done + +# Define this as empty until I found a useful application. +installcheck: + +uninstall: uninstall-exec uninstall-data +uninstall-exec: +uninstall-data: uninstall-data-yes + if test "$(PACKAGE)" = "gettext-tools"; then \ + for file in $(DISTFILES.common) Makevars.template; do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + else \ + : ; \ + fi +uninstall-data-no: +uninstall-data-yes: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + done; \ + done + +check: all + +info dvi ps pdf html tags TAGS ctags CTAGS ID: + +mostlyclean: + rm -f remove-potcdate.sed + rm -f stamp-poT + rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po + rm -fr *.o + +clean: mostlyclean + +distclean: clean + rm -f Makefile Makefile.in POTFILES *.mo + +maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + rm -f stamp-po $(GMOFILES) + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: + $(MAKE) update-po + @$(MAKE) dist2 +# This is a separate target because 'update-po' must be executed before. +dist2: stamp-po $(DISTFILES) + dists="$(DISTFILES)"; \ + if test "$(PACKAGE)" = "gettext-tools"; then \ + dists="$$dists Makevars.template"; \ + fi; \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + dists="$$dists $(DOMAIN).pot stamp-po"; \ + fi; \ + if test -f $(srcdir)/ChangeLog; then \ + dists="$$dists ChangeLog"; \ + fi; \ + for i in 0 1 2 3 4 5 6 7 8 9; do \ + if test -f $(srcdir)/ChangeLog.$$i; then \ + dists="$$dists ChangeLog.$$i"; \ + fi; \ + done; \ + if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ + for file in $$dists; do \ + if test -f $$file; then \ + cp -p $$file $(distdir) || exit 1; \ + else \ + cp -p $(srcdir)/$$file $(distdir) || exit 1; \ + fi; \ + done + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-gmo + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ + cd $(srcdir); \ + if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +$(DUMMYPOFILES): + +update-gmo: Makefile $(GMOFILES) + @: + +Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ + cd $(top_builddir) \ + && $(SHELL) ./config.status $(subdir)/$@.in po-directories + +force: + +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/service/protocol-plugin/lib/cpluff/po/Makefile.in.in b/service/protocol-plugin/lib/cpluff/po/Makefile.in.in new file mode 100644 index 000000000..5022b8b18 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/Makefile.in.in @@ -0,0 +1,403 @@ +# Makefile for PO directory in any package using GNU gettext. +# Copyright (C) 1995-1997, 2000-2006 by Ulrich Drepper <drepper@gnu.ai.mit.edu> +# +# This file can be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU General Public +# License but which still want to provide support for the GNU gettext +# functionality. +# Please note that the actual code of GNU gettext is covered by the GNU +# General Public License and is *not* in the public domain. +# +# Origin: gettext-0.16 + +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ + +SHELL = /bin/sh +@SET_MAKE@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +datarootdir = @datarootdir@ +datadir = @datadir@ +localedir = @localedir@ +gettextsrcdir = $(datadir)/gettext/po + +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ + +# We use $(mkdir_p). +# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as +# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, +# @install_sh@ does not start with $(SHELL), so we add it. +# In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined +# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake +# versions, $(mkinstalldirs) and $(install_sh) are unused. +mkinstalldirs = $(SHELL) @install_sh@ -d +install_sh = $(SHELL) @install_sh@ +MKDIR_P = @MKDIR_P@ +mkdir_p = @mkdir_p@ + +GMSGFMT_ = @GMSGFMT@ +GMSGFMT_no = @GMSGFMT@ +GMSGFMT_yes = @GMSGFMT_015@ +GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) +MSGFMT_ = @MSGFMT@ +MSGFMT_no = @MSGFMT@ +MSGFMT_yes = @MSGFMT_015@ +MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) +XGETTEXT_ = @XGETTEXT@ +XGETTEXT_no = @XGETTEXT@ +XGETTEXT_yes = @XGETTEXT_015@ +XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) +MSGMERGE = msgmerge +MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +POFILES = @POFILES@ +GMOFILES = @GMOFILES@ +UPDATEPOFILES = @UPDATEPOFILES@ +DUMMYPOFILES = @DUMMYPOFILES@ +DISTFILES.common = Makefile.in.in remove-potcdate.sin \ +$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) +DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ +$(POFILES) $(GMOFILES) \ +$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) + +POTFILES = \ + +CATALOGS = @CATALOGS@ + +# Makevars gets inserted here. (Don't remove this line!) + +.SUFFIXES: +.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update + +.po.mo: + @echo "$(MSGFMT) -c -o $@ $<"; \ + $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ + +.po.gmo: + @lang=`echo $* | sed -e 's,.*/,,'`; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \ + cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo + +.sin.sed: + sed -e '/^#/d' $< > t-$@ + mv t-$@ $@ + + +all: all-@USE_NLS@ + +all-yes: stamp-po +all-no: + +# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no +# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because +# we don't want to bother translators with empty POT files). We assume that +# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. +# In this case, stamp-po is a nop (i.e. a phony target). + +# stamp-po is a timestamp denoting the last time at which the CATALOGS have +# been loosely updated. Its purpose is that when a developer or translator +# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, +# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent +# invocations of "make" will do nothing. This timestamp would not be necessary +# if updating the $(CATALOGS) would always touch them; however, the rule for +# $(POFILES) has been designed to not touch files that don't need to be +# changed. +stamp-po: $(srcdir)/$(DOMAIN).pot + test ! -f $(srcdir)/$(DOMAIN).pot || \ + test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) + @test ! -f $(srcdir)/$(DOMAIN).pot || { \ + echo "touch stamp-po" && \ + echo timestamp > stamp-poT && \ + mv stamp-poT stamp-po; \ + } + +# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', +# otherwise packages like GCC can not be built if only parts of the source +# have been downloaded. + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed + if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ + msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ + else \ + msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ + fi; \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ + --files-from=$(srcdir)/POTFILES.in \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi + + +install: install-exec install-data +install-exec: +install-data: install-data-@USE_NLS@ + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ + for file in $(DISTFILES.common) Makevars.template; do \ + $(INSTALL_DATA) $(srcdir)/$$file \ + $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + for file in Makevars; do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + else \ + : ; \ + fi +install-data-no: all +install-data-yes: all + $(mkdir_p) $(DESTDIR)$(datadir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $(DESTDIR)$$dir; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ + echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ + fi; \ + done; \ + done + +install-strip: install + +installdirs: installdirs-exec installdirs-data +installdirs-exec: +installdirs-data: installdirs-data-@USE_NLS@ + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ + else \ + : ; \ + fi +installdirs-data-no: +installdirs-data-yes: + $(mkdir_p) $(DESTDIR)$(datadir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $(DESTDIR)$$dir; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + fi; \ + done; \ + done + +# Define this as empty until I found a useful application. +installcheck: + +uninstall: uninstall-exec uninstall-data +uninstall-exec: +uninstall-data: uninstall-data-@USE_NLS@ + if test "$(PACKAGE)" = "gettext-tools"; then \ + for file in $(DISTFILES.common) Makevars.template; do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + else \ + : ; \ + fi +uninstall-data-no: +uninstall-data-yes: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + done; \ + done + +check: all + +info dvi ps pdf html tags TAGS ctags CTAGS ID: + +mostlyclean: + rm -f remove-potcdate.sed + rm -f stamp-poT + rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po + rm -fr *.o + +clean: mostlyclean + +distclean: clean + rm -f Makefile Makefile.in POTFILES *.mo + +maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + rm -f stamp-po $(GMOFILES) + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: + $(MAKE) update-po + @$(MAKE) dist2 +# This is a separate target because 'update-po' must be executed before. +dist2: stamp-po $(DISTFILES) + dists="$(DISTFILES)"; \ + if test "$(PACKAGE)" = "gettext-tools"; then \ + dists="$$dists Makevars.template"; \ + fi; \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + dists="$$dists $(DOMAIN).pot stamp-po"; \ + fi; \ + if test -f $(srcdir)/ChangeLog; then \ + dists="$$dists ChangeLog"; \ + fi; \ + for i in 0 1 2 3 4 5 6 7 8 9; do \ + if test -f $(srcdir)/ChangeLog.$$i; then \ + dists="$$dists ChangeLog.$$i"; \ + fi; \ + done; \ + if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ + for file in $$dists; do \ + if test -f $$file; then \ + cp -p $$file $(distdir) || exit 1; \ + else \ + cp -p $(srcdir)/$$file $(distdir) || exit 1; \ + fi; \ + done + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-gmo + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ + cd $(srcdir); \ + if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +$(DUMMYPOFILES): + +update-gmo: Makefile $(GMOFILES) + @: + +Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ + cd $(top_builddir) \ + && $(SHELL) ./config.status $(subdir)/$@.in po-directories + +force: + +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/service/protocol-plugin/lib/cpluff/po/Makevars b/service/protocol-plugin/lib/cpluff/po/Makevars new file mode 100644 index 000000000..399e783aa --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/Makevars @@ -0,0 +1,41 @@ +# Makefile variables for PO directory in any package using GNU gettext. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgstr strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Johannes Lehtinen + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = johannes.lehtinen@iki.fi + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = diff --git a/service/protocol-plugin/lib/cpluff/po/POTFILES b/service/protocol-plugin/lib/cpluff/po/POTFILES new file mode 100644 index 000000000..706603894 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/POTFILES @@ -0,0 +1,16 @@ + ../console/cmdinput_basic.c \ + ../console/cmdinput_readline.c \ + ../console/console.c \ + ../libcpluff/context.c \ + ../libcpluff/cpluff.c \ + ../libcpluff/logging.c \ + ../libcpluff/pcontrol.c \ + ../libcpluff/pinfo.c \ + ../libcpluff/ploader.c \ + ../libcpluff/pscan.c \ + ../libcpluff/psymbol.c \ + ../libcpluff/serial.c \ + ../libcpluff/thread_posix.c \ + ../libcpluff/thread_windows.c \ + ../libcpluff/util.c \ + ../loader/loader.c diff --git a/service/protocol-plugin/lib/cpluff/po/POTFILES.in b/service/protocol-plugin/lib/cpluff/po/POTFILES.in new file mode 100644 index 000000000..abe52a1d8 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/POTFILES.in @@ -0,0 +1,19 @@ +# List of source files which contain translatable strings. +#console/console.h +console/cmdinput_basic.c +console/cmdinput_readline.c +console/console.c +#libcpluff/defines.h +libcpluff/context.c +libcpluff/cpluff.c +libcpluff/logging.c +libcpluff/pcontrol.c +libcpluff/pinfo.c +libcpluff/ploader.c +libcpluff/pscan.c +libcpluff/psymbol.c +libcpluff/serial.c +libcpluff/thread_posix.c +libcpluff/thread_windows.c +libcpluff/util.c +loader/loader.c diff --git a/service/protocol-plugin/lib/cpluff/po/Rules-quot b/service/protocol-plugin/lib/cpluff/po/Rules-quot new file mode 100644 index 000000000..9c2a995e3 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/Rules-quot @@ -0,0 +1,47 @@ +# Special Makefile rules for English message catalogs with quotation marks. + +DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot + +.SUFFIXES: .insert-header .po-update-en + +en@quot.po-create: + $(MAKE) en@quot.po-update +en@boldquot.po-create: + $(MAKE) en@boldquot.po-update + +en@quot.po-update: en@quot.po-update-en +en@boldquot.po-update: en@boldquot.po-update-en + +.insert-header.po-update-en: + @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ + if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + ll=`echo $$lang | sed -e 's/@.*//'`; \ + LC_ALL=C; export LC_ALL; \ + cd $(srcdir); \ + if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "creation of $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +en@quot.insert-header: insert-header.sin + sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header + +en@boldquot.insert-header: insert-header.sin + sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header + +mostlyclean: mostlyclean-quot +mostlyclean-quot: + rm -f *.insert-header diff --git a/service/protocol-plugin/lib/cpluff/po/boldquot.sed b/service/protocol-plugin/lib/cpluff/po/boldquot.sed new file mode 100644 index 000000000..4b937aa51 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/boldquot.sed @@ -0,0 +1,10 @@ +s/"\([^"]*\)"/“\1”/g +s/`\([^`']*\)'/‘\1’/g +s/ '\([^`']*\)' / ‘\1’ /g +s/ '\([^`']*\)'$/ ‘\1’/g +s/^'\([^`']*\)' /‘\1’ /g +s/“”/""/g +s/“/“[1m/g +s/”/[0m”/g +s/‘/‘[1m/g +s/’/[0m’/g diff --git a/service/protocol-plugin/lib/cpluff/po/cpluff.pot b/service/protocol-plugin/lib/cpluff/po/cpluff.pot new file mode 100644 index 000000000..51906d295 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/cpluff.pot @@ -0,0 +1,1119 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR Johannes Lehtinen +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: johannes.lehtinen@iki.fi\n" +"POT-Creation-Date: 2007-04-05 04:58+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: console/cmdinput_basic.c:49 +msgid "ERROR: Command line is too long.\n" +msgstr "" + +#: console/console.c:77 +msgid "displays available commands" +msgstr "" + +#: console/console.c:78 +msgid "sets the displayed log level" +msgstr "" + +#: console/console.c:79 +msgid "registers a plug-in collection" +msgstr "" + +#: console/console.c:80 +msgid "unregisters a plug-in collection" +msgstr "" + +#: console/console.c:81 +msgid "unregisters all plug-in collections" +msgstr "" + +#: console/console.c:82 +msgid "loads and installs a plug-in from the specified path" +msgstr "" + +#: console/console.c:83 +msgid "scans plug-ins in the registered plug-in collections" +msgstr "" + +#: console/console.c:84 +msgid "sets context startup arguments" +msgstr "" + +#: console/console.c:85 +msgid "starts a plug-in" +msgstr "" + +#: console/console.c:86 +msgid "runs one plug-in run function" +msgstr "" + +#: console/console.c:87 +msgid "runs plug-in run functions until all work is done" +msgstr "" + +#: console/console.c:88 +msgid "stops a plug-in" +msgstr "" + +#: console/console.c:89 +msgid "stops all plug-ins" +msgstr "" + +#: console/console.c:90 +msgid "uninstalls a plug-in" +msgstr "" + +#: console/console.c:91 +msgid "uninstalls all plug-ins" +msgstr "" + +#: console/console.c:92 +msgid "lists the installed plug-ins" +msgstr "" + +#: console/console.c:93 +msgid "lists the installed extension points" +msgstr "" + +#: console/console.c:94 +msgid "lists the installed extensions" +msgstr "" + +#: console/console.c:95 +msgid "shows static plug-in information" +msgstr "" + +#: console/console.c:96 console/console.c:97 +msgid "quits the program" +msgstr "" + +#: console/console.c:103 +msgid "enables upgrades of installed plug-ins" +msgstr "" + +#: console/console.c:104 +msgid "stops all plug-ins on first upgrade" +msgstr "" + +#: console/console.c:105 +msgid "stops all plug-ins on first install or upgrade" +msgstr "" + +#: console/console.c:106 +msgid "restarts the currently active plug-ins after the scan" +msgstr "" + +#: console/console.c:112 +msgid "detailed debug messages" +msgstr "" + +#: console/console.c:113 +msgid "informational messages" +msgstr "" + +#: console/console.c:114 +msgid "warnings about possible problems" +msgstr "" + +#: console/console.c:115 +msgid "error messages" +msgstr "" + +#: console/console.c:116 +msgid "disable logging" +msgstr "" + +#: console/console.c:153 +msgid "Command has too many arguments.\n" +msgstr "" + +#: console/console.c:176 +msgid "The following commands are available:\n" +msgstr "" + +#. TRANSLATORS: A tag for debug level log entries. +#: console/console.c:187 loader/loader.c:212 +msgid "DEBUG" +msgstr "" + +#. TRANSLATORS: A tag for info level log entries. +#: console/console.c:191 loader/loader.c:217 +msgid "INFO" +msgstr "" + +#. TRANSLATORS: A tag for warning level log entries. +#: console/console.c:195 loader/loader.c:222 +msgid "WARNING" +msgstr "" + +#. TRANSLATORS: A tag for error level log entries. +#: console/console.c:199 loader/loader.c:227 +msgid "ERROR" +msgstr "" + +#. TRANSLATORS: A tag for unknown severity level. +#: console/console.c:203 loader/loader.c:232 +msgid "UNKNOWN" +msgstr "" + +#. TRANSLATORS: Used when displaying log messages originating +#. from console activities. +#: console/console.c:211 +msgid "console" +msgstr "" + +#. TRANSLATORS: Usage instructions for setting log level +#: console/console.c:218 +#, c-format +msgid "Usage: %s <level>\n" +msgstr "" + +#: console/console.c:228 +#, c-format +msgid "Unknown log level %s.\n" +msgstr "" + +#: console/console.c:229 +msgid "Available log levels are:\n" +msgstr "" + +#. TRANSLATORS: The first %s is the log level name and the second the localized log level description. +#: console/console.c:240 console/console.c:893 +#, c-format +msgid "Using display log level %s (%s).\n" +msgstr "" + +#. TRANSLATORS: Return status for a successfull API call +#: console/console.c:249 +msgid "success" +msgstr "" + +#: console/console.c:251 +msgid "insufficient system resources" +msgstr "" + +#: console/console.c:253 +msgid "an unknown object was specified" +msgstr "" + +#: console/console.c:255 +msgid "an input or output error" +msgstr "" + +#: console/console.c:257 +msgid "a malformed plug-in descriptor" +msgstr "" + +#: console/console.c:259 +msgid "a plug-in or symbol conflicts with an existing one" +msgstr "" + +#: console/console.c:261 +msgid "unsatisfiable dependencies" +msgstr "" + +#: console/console.c:263 +msgid "a plug-in runtime library encountered an error" +msgstr "" + +#: console/console.c:265 +msgid "unknown error code" +msgstr "" + +#: console/console.c:270 +#, c-format +msgid "API function %s failed with error code %d (%s).\n" +msgstr "" + +#. TRANSLATORS: Usage instructions for registering a plug-in collection +#. TRANSLATORS: Usage instructions for unregistering a plug-in collection +#. TRANSLATORS: Usage instructios for loading a plug-in +#: console/console.c:281 console/console.c:292 console/console.c:315 +#, c-format +msgid "Usage: %s <path>\n" +msgstr "" + +#: console/console.c:285 +#, c-format +msgid "Registered a plug-in collection in path %s.\n" +msgstr "" + +#: console/console.c:295 +#, c-format +msgid "Unregistered a plug-in collection in path %s.\n" +msgstr "" + +#. TRANSLATORS: Usage instructions for unregistering all plug-in collections +#. TRANSLATORS: Usage instructions for listing plug-ins +#. TRANSLATORS: Usage instructions for listing extension points +#. TRANSLATORS: Usage instructions for listing extensions +#. TRANSLATORS: Usage instructions for running one plug-in run function +#. TRANSLATORS: Usage instructions for running plug-in run functions until all work is done +#. TRANSLATORS: Usage instructions for stopping all plug-ins +#. TRANSLATORS: Usage instructions for uninstalling all plug-ins +#: console/console.c:302 console/console.c:387 console/console.c:682 +#: console/console.c:707 console/console.c:786 console/console.c:800 +#: console/console.c:823 console/console.c:846 +#, c-format +msgid "Usage: %s\n" +msgstr "" + +#: console/console.c:305 +msgid "Unregistered all plug-in collections.\n" +msgstr "" + +#: console/console.c:322 +#, c-format +msgid "Installed plug-in %s.\n" +msgstr "" + +#: console/console.c:343 +#, c-format +msgid "Unknown flag %s.\n" +msgstr "" + +#. TRANSLATORS: Usage instructions for scanning plug-ins +#: console/console.c:345 +#, c-format +msgid "Usage: %s [<flag>...]\n" +msgstr "" + +#: console/console.c:346 +msgid "Available flags are:\n" +msgstr "" + +#: console/console.c:358 +msgid "Plug-ins loaded.\n" +msgstr "" + +#: console/console.c:364 +msgid "uninstalled" +msgstr "" + +#: console/console.c:366 +msgid "installed" +msgstr "" + +#: console/console.c:368 +msgid "resolved" +msgstr "" + +#: console/console.c:370 +msgid "starting" +msgstr "" + +#: console/console.c:372 +msgid "stopping" +msgstr "" + +#: console/console.c:374 +msgid "active" +msgstr "" + +#: console/console.c:376 +msgid "unknown" +msgstr "" + +#: console/console.c:392 +msgid "Installed plug-ins:\n" +msgstr "" + +#: console/console.c:394 console/console.c:689 console/console.c:714 +msgid "IDENTIFIER" +msgstr "" + +#: console/console.c:395 +msgid "VERSION" +msgstr "" + +#: console/console.c:396 +msgid "STATE" +msgstr "" + +#: console/console.c:397 console/console.c:690 console/console.c:715 +msgid "NAME" +msgstr "" + +#: console/console.c:421 console/console.c:539 console/console.c:762 +msgid "Memory allocation failed.\n" +msgstr "" + +#. TRANSLATORS: Usage instructions for showing plug-in information +#. TRANSLATORS: Usage instructions for starting a plug-in +#. TRANSLATORS: Usage instructions for stopping a plug-in +#. TRANSLATORS: Usage instructions for uninstalling a plug-in +#: console/console.c:611 console/console.c:774 console/console.c:812 +#: console/console.c:835 +#, c-format +msgid "Usage: %s <plugin>\n" +msgstr "" + +#: console/console.c:687 +msgid "Installed extension points:\n" +msgstr "" + +#: console/console.c:712 +msgid "Installed extensions:\n" +msgstr "" + +#: console/console.c:719 +msgid ".<anonymous>" +msgstr "" + +#. TRANSLATORS: Usage instructions for setting context arguments +#: console/console.c:760 +#, c-format +msgid "Usage: %s [<arg>...]\n" +msgstr "" + +#: console/console.c:765 +msgid "Plug-in context startup arguments have been set.\n" +msgstr "" + +#: console/console.c:778 +#, c-format +msgid "Started plug-in %s.\n" +msgstr "" + +#: console/console.c:790 +msgid "Ran one plug-in run function. There are pending run functions.\n" +msgstr "" + +#: console/console.c:792 +msgid "Ran one plug-in run function. No more pending run functions.\n" +msgstr "" + +#: console/console.c:803 +msgid "Ran plug-in run functions. No more pending run functions.\n" +msgstr "" + +#: console/console.c:816 +#, c-format +msgid "Stopped plug-in %s.\n" +msgstr "" + +#: console/console.c:826 +msgid "Stopped all plug-ins.\n" +msgstr "" + +#: console/console.c:839 +#, c-format +msgid "Uninstalled plug-in %s.\n" +msgstr "" + +#: console/console.c:849 +msgid "Uninstalled all plug-ins.\n" +msgstr "" + +#. TRANSLATORS: This is a version string displayed on startup. +#: console/console.c:877 +#, c-format +msgid "C-Pluff Console, version %s\n" +msgstr "" + +#. TRANSLATORS: This is a version string displayed on startup. +#. The first %s is version and the second %s is platform type. +#: console/console.c:881 loader/loader.c:332 +#, c-format +msgid "C-Pluff Library, version %s for %s\n" +msgstr "" + +#: console/console.c:896 +msgid "Type \"help\" for help on available commands.\n" +msgstr "" + +#. TRANSLATORS: This is the input prompt for cpluff-console. +#: console/console.c:900 +msgid "C-Pluff Console > " +msgstr "" + +#: console/console.c:928 +#, c-format +msgid "Unknown command %s.\n" +msgstr "" + +#: libcpluff/context.c:270 +msgid "Only the main program can destroy a plug-in context." +msgstr "" + +#: libcpluff/context.c:358 +#, c-format +msgid "" +"The plug-in collection in path %s could not be registered due to " +"insufficient memory." +msgstr "" + +#: libcpluff/context.c:360 +#, c-format +msgid "The plug-in collection in path %s was registered." +msgstr "" + +#: libcpluff/context.c:393 +#, c-format +msgid "The plug-in collection in path %s was unregistered." +msgstr "" + +#: libcpluff/context.c:402 +msgid "All plug-in collections were unregistered." +msgstr "" + +#: libcpluff/context.c:416 +#, c-format +msgid "At least one startup argument must be given in call to function %s." +msgstr "" + +#: libcpluff/context.c:447 +#, c-format +msgid "Function %s was called from within a logger invocation." +msgstr "" + +#: libcpluff/context.c:451 +#, c-format +msgid "Function %s was called from within an event listener invocation." +msgstr "" + +#: libcpluff/context.c:455 +#, c-format +msgid "Function %s was called from within a plug-in start function invocation." +msgstr "" + +#: libcpluff/context.c:459 +#, c-format +msgid "Function %s was called from within a plug-in stop function invocation." +msgstr "" + +#: libcpluff/context.c:462 +#, c-format +msgid "" +"Function %s was called from within a plug-in create function invocation." +msgstr "" + +#: libcpluff/context.c:465 +#, c-format +msgid "" +"Function %s was called from within a plug-in destroy function invocation." +msgstr "" + +#. TRANSLATORS: The context owner (when it is a plug-in) used in some strings. +#. Search for "context owner" to find these strings. +#: libcpluff/context.c:515 +#, c-format +msgid "Plug-in %s" +msgstr "" + +#. TRANSLATORS: The context owner (when it is the main program) used in some strings. +#. Search for "context owner" to find these strings. +#: libcpluff/context.c:519 +msgid "The main program" +msgstr "" + +#: libcpluff/cpluff.c:173 +#, c-format +msgid "C-Pluff: FATAL ERROR: %s\n" +msgstr "" + +#: libcpluff/cpluff.c:181 +#, c-format +msgid "Argument %s has illegal NULL value in call to function %s." +msgstr "" + +#: libcpluff/logging.c:131 +msgid "Logger could not be registered due to insufficient memory." +msgstr "" + +#. TRANSLATORS: %s is the context owner +#: libcpluff/logging.c:135 +#, c-format +msgid "%s registered a logger." +msgstr "" + +#. TRANSLATORS: %s is the context owner +#: libcpluff/logging.c:172 +#, c-format +msgid "%s unregistered a logger." +msgstr "" + +#: libcpluff/logging.c:183 +msgid "Encountered a recursive logging request within a logger invocation." +msgstr "" + +#: libcpluff/logging.c:241 +#, c-format +msgid "Illegal severity value in call to %s." +msgstr "" + +#: libcpluff/pcontrol.c:121 +#, c-format +msgid "" +"Plug-in %s could not be installed because a plug-in with the same identifier " +"is already installed." +msgstr "" + +#: libcpluff/pcontrol.c:161 +#, c-format +msgid "" +"Plug-in %s could not be installed because extension point %s conflicts with " +"an already installed extension point." +msgstr "" + +#: libcpluff/pcontrol.c:229 +#, c-format +msgid "Plug-in %s could not be installed due to insufficient system resources." +msgstr "" + +#: libcpluff/pcontrol.c:293 +#, c-format +msgid "" +"Plug-in %s could not be resolved due to version incompatibility with C-Pluff." +msgstr "" + +#: libcpluff/pcontrol.c:304 +#, c-format +msgid "" +"Plug-in %s runtime library could not be loaded due to insufficient memory." +msgstr "" + +#: libcpluff/pcontrol.c:319 libcpluff/pcontrol.c:332 libcpluff/psymbol.c:188 +msgid "Unspecified error." +msgstr "" + +#: libcpluff/pcontrol.c:321 +#, c-format +msgid "Plug-in %s runtime library %s could not be opened: %s" +msgstr "" + +#: libcpluff/pcontrol.c:334 +#, c-format +msgid "" +"Plug-in %s symbol %s containing plug-in runtime information could not be " +"resolved: %s" +msgstr "" + +#: libcpluff/pcontrol.c:340 +#, c-format +msgid "Plug-in %s is missing a constructor or destructor function." +msgstr "" + +#: libcpluff/pcontrol.c:387 +#, c-format +msgid "" +"Plug-in %s could not be resolved due to version incompatibility with plug-in " +"%s." +msgstr "" + +#: libcpluff/pcontrol.c:397 +#, c-format +msgid "" +"Plug-in %s could not be resolved because it depends on plug-in %s which is " +"not installed." +msgstr "" + +#: libcpluff/pcontrol.c:463 +#, c-format +msgid "" +"Plug-in %s could not be resolved because it depends on plug-in %s which " +"could not be resolved." +msgstr "" + +#: libcpluff/pcontrol.c:505 +#, c-format +msgid "Plug-in %s could not be resolved because of insufficient memory." +msgstr "" + +#: libcpluff/pcontrol.c:709 libcpluff/pcontrol.c:800 libcpluff/pcontrol.c:836 +#, c-format +msgid "Plug-in %s could not be started due to insufficient memory." +msgstr "" + +#: libcpluff/pcontrol.c:714 +#, c-format +msgid "Plug-in %s failed to start due to plug-in runtime error." +msgstr "" + +#: libcpluff/pcontrol.c:732 +#, c-format +msgid "Detected a runtime plug-in dependency loop: %s" +msgstr "" + +#: libcpluff/pcontrol.c:734 +#, c-format +msgid "Detected a static plug-in dependency loop: %s" +msgstr "" + +#: libcpluff/pcontrol.c:858 +#, c-format +msgid "Unknown plug-in %s could not be started." +msgstr "" + +#: libcpluff/pcontrol.c:1003 +#, c-format +msgid "Unknown plug-in %s could not be stopped." +msgstr "" + +#: libcpluff/pcontrol.c:1214 +#, c-format +msgid "Unknown plug-in %s could not be uninstalled." +msgstr "" + +#: libcpluff/pinfo.c:102 +#, c-format +msgid "An information object at address %p was registered." +msgstr "" + +#: libcpluff/pinfo.c:124 +#, c-format +msgid "" +"Reference count of the information object at address %p increased to %d." +msgstr "" + +#: libcpluff/pinfo.c:126 +#, c-format +msgid "" +"Reference count of an unknown information object at address %p could not be " +"increased." +msgstr "" + +#: libcpluff/pinfo.c:142 +#, c-format +msgid "The information object at address %p was unregistered." +msgstr "" + +#: libcpluff/pinfo.c:145 +#, c-format +msgid "" +"Reference count of the information object at address %p decreased to %d." +msgstr "" + +#: libcpluff/pinfo.c:148 +#, c-format +msgid "Could not release an unknown information object at address %p." +msgstr "" + +#: libcpluff/pinfo.c:169 +#, c-format +msgid "" +"An unreleased information object was encountered at address %p with " +"reference count %d when destroying the associated plug-in context. Not " +"releasing the object." +msgstr "" + +#: libcpluff/pinfo.c:186 +msgid "" +"The plug-in identifier argument to cp_get_plugin_info must not be NULL when " +"the main program calls it." +msgstr "" + +#: libcpluff/pinfo.c:197 +#, c-format +msgid "Could not return information about unknown plug-in %s." +msgstr "" + +#: libcpluff/pinfo.c:267 +msgid "Plug-in information could not be returned due to insufficient memory." +msgstr "" + +#: libcpluff/pinfo.c:358 +msgid "" +"Extension point information could not be returned due to insufficient memory." +msgstr "" + +#: libcpluff/pinfo.c:474 +msgid "Extension information could not be returned due to insufficient memory." +msgstr "" + +#: libcpluff/pinfo.c:571 +msgid "A plug-in listener could not be registered due to insufficient memory." +msgstr "" + +#. TRANSLATORS: %s is the context owner +#: libcpluff/pinfo.c:575 +#, c-format +msgid "%s registered a plug-in listener." +msgstr "" + +#. TRANSLATORS: %s is the context owner +#: libcpluff/pinfo.c:597 +#, c-format +msgid "%s unregistered a plug-in listener." +msgstr "" + +#: libcpluff/pinfo.c:614 +#, c-format +msgid "Plug-in %s has been uninstalled." +msgstr "" + +#: libcpluff/pinfo.c:618 +#, c-format +msgid "Plug-in %s has been installed." +msgstr "" + +#: libcpluff/pinfo.c:620 +#, c-format +msgid "Plug-in %s runtime library has been unloaded." +msgstr "" + +#: libcpluff/pinfo.c:625 +#, c-format +msgid "Plug-in %s runtime library has been loaded." +msgstr "" + +#: libcpluff/pinfo.c:627 +#, c-format +msgid "Plug-in %s has been stopped." +msgstr "" + +#: libcpluff/pinfo.c:631 +#, c-format +msgid "Plug-in %s is starting." +msgstr "" + +#: libcpluff/pinfo.c:634 +#, c-format +msgid "Plug-in %s is stopping." +msgstr "" + +#: libcpluff/pinfo.c:637 +#, c-format +msgid "Plug-in %s has been started." +msgstr "" + +#: libcpluff/ploader.c:162 +#, c-format +msgid "Suspicious plug-in descriptor content in %s, line %d, column %d (%s)." +msgstr "" + +#: libcpluff/ploader.c:169 +#, c-format +msgid "Invalid plug-in descriptor content in %s, line %d, column %d (%s)." +msgstr "" + +#: libcpluff/ploader.c:189 +#, c-format +msgid "" +"Insufficient system resources to parse plug-in descriptor content in %s, " +"line %d, column %d." +msgstr "" + +#: libcpluff/ploader.c:243 +#, c-format +msgid "required attribute %s for element %s has an empty value" +msgstr "" + +#: libcpluff/ploader.c:249 +#, c-format +msgid "required attribute %s missing for element %s" +msgstr "" + +#: libcpluff/ploader.c:283 +#, c-format +msgid "ignoring unknown attribute %s for element %s" +msgstr "" + +#: libcpluff/ploader.c:376 +#, c-format +msgid "ignoring unexpected element %s and its contents" +msgstr "" + +#: libcpluff/ploader.c:759 +#, c-format +msgid "unknown boolean value: %s" +msgstr "" + +#: libcpluff/ploader.c:969 +#, c-format +msgid "unexpected closing tag for %s" +msgstr "" + +#: libcpluff/ploader.c:1085 +#, c-format +msgid "XML parsing error in %s, line %d, column %d (%s)." +msgstr "" + +#: libcpluff/ploader.c:1130 +#, c-format +msgid "Plug-in descriptor in %s is invalid." +msgstr "" + +#: libcpluff/ploader.c:1134 +#, c-format +msgid "An I/O error occurred while loading a plug-in descriptor from %s." +msgstr "" + +#: libcpluff/ploader.c:1138 +#, c-format +msgid "Insufficient system resources to load a plug-in descriptor from %s." +msgstr "" + +#: libcpluff/ploader.c:1142 +#, c-format +msgid "Failed to load a plug-in descriptor from %s." +msgstr "" + +#: libcpluff/pscan.c:60 +msgid "Plug-in scan is starting." +msgstr "" + +#: libcpluff/pscan.c:108 +#, c-format +msgid "" +"Could not check possible plug-in location %s%c%s due to insufficient system " +"resources." +msgstr "" + +#: libcpluff/pscan.c:140 +#, c-format +msgid "" +"Plug-in %s version %s could not be loaded due to insufficient system " +"resources." +msgstr "" + +#: libcpluff/pscan.c:152 +#, c-format +msgid "Could not read plug-in directory %s: %s" +msgstr "" + +#: libcpluff/pscan.c:158 +#, c-format +msgid "Could not open plug-in directory %s: %s" +msgstr "" + +#: libcpluff/pscan.c:272 +msgid "Plug-in scan has completed successfully." +msgstr "" + +#: libcpluff/pscan.c:275 +msgid "Could not scan plug-ins due to insufficient system resources." +msgstr "" + +#: libcpluff/pscan.c:278 +msgid "Could not scan plug-ins." +msgstr "" + +#: libcpluff/psymbol.c:79 +msgid "Only plug-ins can define context specific symbols." +msgstr "" + +#: libcpluff/psymbol.c:115 +#, c-format +msgid "Plug-in %s could not define symbol %s due to insufficient memory." +msgstr "" + +#: libcpluff/psymbol.c:118 +#, c-format +msgid "Plug-in %s tried to redefine symbol %s." +msgstr "" + +#: libcpluff/psymbol.c:163 +#, c-format +msgid "Symbol %s in unknown plug-in %s could not be resolved." +msgstr "" + +#: libcpluff/psymbol.c:171 +#, c-format +msgid "" +"Symbol %s in plug-in %s could not be resolved because the plug-in could not " +"be started." +msgstr "" + +#: libcpluff/psymbol.c:190 +#, c-format +msgid "Symbol %s in plug-in %s could not be resolved: %s" +msgstr "" + +#: libcpluff/psymbol.c:271 +#, c-format +msgid "" +"Symbol %s in plug-in %s could not be resolved due to insufficient memory." +msgstr "" + +#: libcpluff/psymbol.c:298 +#, c-format +msgid "Could not release unknown symbol at address %p." +msgstr "" + +#. TRANSLATORS: First %s is the context owner +#: libcpluff/psymbol.c:317 +#, c-format +msgid "%s released the symbol at address %p defined by plug-in %s." +msgstr "" + +#: libcpluff/psymbol.c:329 +#, c-format +msgid "A dynamic dependency from plug-in %s to plug-in %s was removed." +msgstr "" + +#: libcpluff/serial.c:60 +msgid "Only plug-ins can register run functions." +msgstr "" + +#: libcpluff/serial.c:64 +msgid "Only starting or active plug-ins can register run functions." +msgstr "" + +#: libcpluff/serial.c:111 +msgid "Could not register a run function due to insufficient memory." +msgstr "" + +#: libcpluff/thread_posix.c:114 +#, c-format +msgid "Could not lock a mutex due to error %d." +msgstr "" + +#: libcpluff/thread_posix.c:122 +#, c-format +msgid "Could not unlock a mutex due to error %d." +msgstr "" + +#: libcpluff/thread_posix.c:134 libcpluff/thread_posix.c:186 +#, c-format +msgid "Could not wait for a condition variable due to error %d." +msgstr "" + +#: libcpluff/thread_posix.c:159 libcpluff/thread_posix.c:181 +#, c-format +msgid "Could not signal a condition variable due to error %d." +msgstr "" + +#: libcpluff/thread_posix.c:163 libcpluff/thread_windows.c:206 +msgid "Internal C-Pluff error: Unauthorized attempt at unlocking a mutex." +msgstr "" + +#: libcpluff/thread_posix.c:194 libcpluff/thread_windows.c:240 +msgid "Internal C-Pluff error: Unauthorized attempt at waiting on a mutex." +msgstr "" + +#: libcpluff/thread_posix.c:210 +#, c-format +msgid "Could not broadcast a condition variable due to error %d." +msgstr "" + +#: libcpluff/thread_posix.c:214 libcpluff/thread_windows.c:254 +msgid "Internal C-Pluff error: Unauthorized attempt at signaling a mutex." +msgstr "" + +#: libcpluff/thread_windows.c:122 +msgid "unknown error" +msgstr "" + +#: libcpluff/thread_windows.c:134 +#, c-format +msgid "Could not lock a mutex due to error %ld: %s" +msgstr "" + +#: libcpluff/thread_windows.c:143 +#, c-format +msgid "Could not release a mutex due to error %ld: %s" +msgstr "" + +#: libcpluff/thread_windows.c:152 +#, c-format +msgid "Could not wait for an event due to error %ld: %s" +msgstr "" + +#: libcpluff/thread_windows.c:161 +#, c-format +msgid "Could not set an event due to error %ld: %s" +msgstr "" + +#: libcpluff/thread_windows.c:170 +#, c-format +msgid "Could not reset an event due to error %ld: %s" +msgstr "" + +#. TRANSLATORS: A formatting string for loader error messages. +#: loader/loader.c:121 +#, c-format +msgid "C-Pluff Loader: ERROR: %s\n" +msgstr "" + +#: loader/loader.c:152 +msgid "Memory allocation failed." +msgstr "" + +#. TRANSLATORS: This is a version string displayed on startup. +#: loader/loader.c:192 loader/loader.c:328 +#, c-format +msgid "C-Pluff Loader, version %s\n" +msgstr "" + +#: loader/loader.c:194 +msgid "" +"usage: cpluff-loader <option>... [--] <arguments passed to plug-ins>\n" +"options:\n" +" -h print this help text\n" +" -c DIR add plug-in collection in directory DIR\n" +" -p DIR add plug-in in directory DIR\n" +" -s PID start plug-in PID\n" +" -v be more verbose (repeat for increased verbosity)\n" +" -q be quiet\n" +" -V print C-Pluff version number and exit\n" +msgstr "" + +#. TRANSLATORS: A formatting string for log messages caused by plug-in activity. +#: loader/loader.c:239 +#, c-format +msgid "C-Pluff: %s: [%s] %s\n" +msgstr "" + +#. TRANSLATORS: A formatting string for log messages caused by loader activity. +#: loader/loader.c:242 +#, c-format +msgid "C-Pluff: %s: [loader] %s\n" +msgstr "" + +#: loader/loader.c:264 +msgid "The C-Pluff initialization failed." +msgstr "" + +#: loader/loader.c:299 loader/loader.c:307 +msgid "Quiet and verbose modes are mutually exclusive." +msgstr "" + +#: loader/loader.c:320 +msgid "Unrecognized option or argument. Try option -h for help." +msgstr "" + +#: loader/loader.c:338 +msgid "No plug-ins to load. Try option -h for help." +msgstr "" + +#: loader/loader.c:343 +msgid "Plug-in context creation failed." +msgstr "" + +#: loader/loader.c:376 +#, c-format +msgid "Failed to load a plug-in from path %s." +msgstr "" + +#: loader/loader.c:379 +#, c-format +msgid "Failed to install plug-in %s." +msgstr "" + +#: loader/loader.c:388 +#, c-format +msgid "Failed to register a plug-in collection at path %s." +msgstr "" + +#: loader/loader.c:393 +msgid "Failed to load and install plug-ins from plug-in collections." +msgstr "" + +#: loader/loader.c:400 +#, c-format +msgid "Failed to start plug-in %s." +msgstr "" diff --git a/service/protocol-plugin/lib/cpluff/po/en@boldquot.gmo b/service/protocol-plugin/lib/cpluff/po/en@boldquot.gmo Binary files differnew file mode 100644 index 000000000..cb7eb13cf --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/en@boldquot.gmo diff --git a/service/protocol-plugin/lib/cpluff/po/en@boldquot.header b/service/protocol-plugin/lib/cpluff/po/en@boldquot.header new file mode 100644 index 000000000..fedb6a06d --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/en@boldquot.header @@ -0,0 +1,25 @@ +# All this catalog "translates" are quotation characters. +# The msgids must be ASCII and therefore cannot contain real quotation +# characters, only substitutes like grave accent (0x60), apostrophe (0x27) +# and double quote (0x22). These substitutes look strange; see +# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html +# +# This catalog translates grave accent (0x60) and apostrophe (0x27) to +# left single quotation mark (U+2018) and right single quotation mark (U+2019). +# It also translates pairs of apostrophe (0x27) to +# left single quotation mark (U+2018) and right single quotation mark (U+2019) +# and pairs of quotation mark (0x22) to +# left double quotation mark (U+201C) and right double quotation mark (U+201D). +# +# When output to an UTF-8 terminal, the quotation characters appear perfectly. +# When output to an ISO-8859-1 terminal, the single quotation marks are +# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to +# grave/acute accent (by libiconv), and the double quotation marks are +# transliterated to 0x22. +# When output to an ASCII terminal, the single quotation marks are +# transliterated to apostrophes, and the double quotation marks are +# transliterated to 0x22. +# +# This catalog furthermore displays the text between the quotation marks in +# bold face, assuming the VT100/XTerm escape sequences. +# diff --git a/service/protocol-plugin/lib/cpluff/po/en@quot.gmo b/service/protocol-plugin/lib/cpluff/po/en@quot.gmo Binary files differnew file mode 100644 index 000000000..a17a26782 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/en@quot.gmo diff --git a/service/protocol-plugin/lib/cpluff/po/en@quot.header b/service/protocol-plugin/lib/cpluff/po/en@quot.header new file mode 100644 index 000000000..a9647fc35 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/en@quot.header @@ -0,0 +1,22 @@ +# All this catalog "translates" are quotation characters. +# The msgids must be ASCII and therefore cannot contain real quotation +# characters, only substitutes like grave accent (0x60), apostrophe (0x27) +# and double quote (0x22). These substitutes look strange; see +# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html +# +# This catalog translates grave accent (0x60) and apostrophe (0x27) to +# left single quotation mark (U+2018) and right single quotation mark (U+2019). +# It also translates pairs of apostrophe (0x27) to +# left single quotation mark (U+2018) and right single quotation mark (U+2019) +# and pairs of quotation mark (0x22) to +# left double quotation mark (U+201C) and right double quotation mark (U+201D). +# +# When output to an UTF-8 terminal, the quotation characters appear perfectly. +# When output to an ISO-8859-1 terminal, the single quotation marks are +# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to +# grave/acute accent (by libiconv), and the double quotation marks are +# transliterated to 0x22. +# When output to an ASCII terminal, the single quotation marks are +# transliterated to apostrophes, and the double quotation marks are +# transliterated to 0x22. +# diff --git a/service/protocol-plugin/lib/cpluff/po/fi.gmo b/service/protocol-plugin/lib/cpluff/po/fi.gmo Binary files differnew file mode 100644 index 000000000..6fe5056e5 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/fi.gmo diff --git a/service/protocol-plugin/lib/cpluff/po/insert-header.sin b/service/protocol-plugin/lib/cpluff/po/insert-header.sin new file mode 100644 index 000000000..b26de01f6 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/insert-header.sin @@ -0,0 +1,23 @@ +# Sed script that inserts the file called HEADER before the header entry. +# +# At each occurrence of a line starting with "msgid ", we execute the following +# commands. At the first occurrence, insert the file. At the following +# occurrences, do nothing. The distinction between the first and the following +# occurrences is achieved by looking at the hold space. +/^msgid /{ +x +# Test if the hold space is empty. +s/m/m/ +ta +# Yes it was empty. First occurrence. Read the file. +r HEADER +# Output the file's contents by reading the next line. But don't lose the +# current line while doing this. +g +N +bb +:a +# The hold space was nonempty. Following occurrences. Do nothing. +x +:b +} diff --git a/service/protocol-plugin/lib/cpluff/po/quot.sed b/service/protocol-plugin/lib/cpluff/po/quot.sed new file mode 100644 index 000000000..0122c4631 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/quot.sed @@ -0,0 +1,6 @@ +s/"\([^"]*\)"/“\1”/g +s/`\([^`']*\)'/‘\1’/g +s/ '\([^`']*\)' / ‘\1’ /g +s/ '\([^`']*\)'$/ ‘\1’/g +s/^'\([^`']*\)' /‘\1’ /g +s/“”/""/g diff --git a/service/protocol-plugin/lib/cpluff/po/remove-potcdate.sin b/service/protocol-plugin/lib/cpluff/po/remove-potcdate.sin new file mode 100644 index 000000000..2436c49e7 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/remove-potcdate.sin @@ -0,0 +1,19 @@ +# Sed script that remove the POT-Creation-Date line in the header entry +# from a POT file. +# +# The distinction between the first and the following occurrences of the +# pattern is achieved by looking at the hold space. +/^"POT-Creation-Date: .*"$/{ +x +# Test if the hold space is empty. +s/P/P/ +ta +# Yes it was empty. First occurrence. Remove the line. +g +d +bb +:a +# The hold space was nonempty. Following occurrences. Do nothing. +x +:b +} diff --git a/service/protocol-plugin/lib/cpluff/po/stamp-po b/service/protocol-plugin/lib/cpluff/po/stamp-po new file mode 100644 index 000000000..9788f7023 --- /dev/null +++ b/service/protocol-plugin/lib/cpluff/po/stamp-po @@ -0,0 +1 @@ +timestamp |