diff options
| author | christos <christos@NetBSD.org> | 2005-04-29 14:59:33 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2005-04-29 14:59:33 +0000 |
| commit | 7a27fa0d628db127ef99d5d7693cabac225371a0 (patch) | |
| tree | 2e20b30dd1880af6997bca68de483c5182c818a7 /gnu/dist/gettext/gettext-tools/examples/hello-java | |
| parent | f44c5b012e777648a772746694546a82b874ffd5 (diff) | |
ftp ftp.gnu.org
Diffstat (limited to 'gnu/dist/gettext/gettext-tools/examples/hello-java')
29 files changed, 1095 insertions, 0 deletions
diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/Hello.java b/gnu/dist/gettext/gettext-tools/examples/hello-java/Hello.java new file mode 100644 index 00000000000..a92f18c8a01 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/Hello.java @@ -0,0 +1,38 @@ +// Example for use of GNU gettext. +// Copyright (C) 2003 Free Software Foundation, Inc. +// This file is in the public domain. +// +// Source code of the Java program. + +import java.util.*; +import java.io.*; +import java.text.*; +import gnu.gettext.*; + +public class Hello { + public static void main (String[] args) { + ResourceBundle catalog = ResourceBundle.getBundle("hello-java"); + System.out.println(GettextResource.gettext(catalog,"Hello, world!")); + System.out.println( + MessageFormat.format( + GettextResource.gettext(catalog, + "This program is running as process number {0}."), + new Object[] { getPid() })); + } + + /* Return the process ID of the current process. */ + private static String getPid () { + try { + String[] args = new String[] { "/bin/sh", "-c", "echo $PPID" }; + Process p = Runtime.getRuntime().exec(args); + InputStream p_out = p.getInputStream(); + String s = (new BufferedReader(new InputStreamReader(p_out))).readLine(); + p.destroy(); + if (s != null) + return s; + } catch (IOException e) { + e.printStackTrace(); + } + return "???"; + } +} diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/INSTALL b/gnu/dist/gettext/gettext-tools/examples/hello-java/INSTALL new file mode 100644 index 00000000000..99cf9c80855 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/INSTALL @@ -0,0 +1,11 @@ +This example relies on: + - a Java implementation + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/Makefile.am b/gnu/dist/gettext/gettext-tools/examples/hello-java/Makefile.am new file mode 100644 index 00000000000..9b3424c5829 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/Makefile.am @@ -0,0 +1,166 @@ +# Example for use of GNU gettext. +# Copyright (C) 2003 Free Software Foundation, Inc. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_JAVAPROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = Hello.java +hello_CLASSES = Hello.class + +# The entry point of the 'hello' program. +hello_MAINCLASS = Hello + +# The link dependencies of the 'hello' program. +hello_JAVALIBS = @LIBINTL_JAR@ + +# The resources of the 'hello' program, excluding message catalogs, but +# including the fallback message catalog. +hello_RESOURCES = hello-java.properties + +# Resources that are generated from PO files. +MAINTAINERCLEANFILES = hello-java*.properties + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh + + +# ----------------- General rules for compiling Java programs ----------------- + +jardir = $(datadir)/$(PACKAGE) +pkgdatadir = $(datadir)/$(PACKAGE) +pkglibdir = $(libdir)/$(PACKAGE) + +GCJ = @GCJ@ +GCJFLAGS = @GCJFLAGS@ +JAR = @JAR@ +JAVACOMP = $(SHELL) javacomp.sh +AR = ar +RANLIB = @RANLIB@ + +EXTRA_DIST += $(hello_SOURCES) +CLEANFILES = +DISTCLEANFILES = javacomp.sh javaexec.sh + + +if USEJEXE + + +# Rules for compiling Java programs as native code. + +all-local: $(hello_MAINCLASS)$(EXEEXT) hello-resources.jar hello.sh + +# Does not work yet with GCC 3.3. +#$(hello_MAINCLASS)$(EXEEXT): $(srcdir)/Hello.java +# CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(GCJ) $(GCJFLAGS) $(srcdir)/Hello.java $(hello_JAVALIBS) --main=$(hello_MAINCLASS) -o $@ + +$(hello_MAINCLASS)$(EXEEXT): Hello.$(OBJEXT) libintl.a + $(GCJ) $(GCJFLAGS) Hello.$(OBJEXT) libintl.a --main=$(hello_MAINCLASS) -o $@ + +Hello.$(OBJEXT): $(srcdir)/Hello.java + CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(GCJ) $(GCJFLAGS) -c $(srcdir)/Hello.java -o $@ + +libintl.a: + rm -rf tmpdir + mkdir tmpdir + cd tmpdir && $(JAR) xf @LIBINTL_JAR@ && \ + for f in `find . -name '*.class' -print`; do \ + $(GCJ) $(GCJFLAGS) -c $$f -o `echo $$f | sed -e 's,^\./,,' -e 's,\.class$$,,' -e 's,/,.,g'`.$(OBJEXT) || exit 1; \ + done && \ + rm -f ../libintl.a && \ + ar cru ../libintl.a `find . -name '*.$(OBJEXT)' -print` + rm -rf tmpdir + $(RANLIB) $@ + +hello-resources.jar: + catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \ + $(JAR) cf $@ $(hello_RESOURCES) $$catalogs + +hello.sh: + { echo '#!/bin/sh'; \ + echo "CLASSPATH='$(jardir)/hello-resources.jar'\$${CLASSPATH+\"@CLASSPATH_SEPARATOR@\$$CLASSPATH\"}"; \ + echo "export CLASSPATH"; \ + echo "exec '$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)' \"\$$@\""; \ + } > $@ + +install-exec-local: all-local + $(mkinstalldirs) $(DESTDIR)$(bindir) + $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello + $(mkinstalldirs) $(DESTDIR)$(pkglibdir) + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $(hello_MAINCLASS)$(EXEEXT) $(DESTDIR)$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT) + +install-data-local: all-local + $(mkinstalldirs) $(DESTDIR)$(jardir) + $(INSTALL_DATA) hello-resources.jar $(DESTDIR)$(jardir)/hello-resources.jar + +installdirs-local: + $(mkinstalldirs) $(DESTDIR)$(bindir) + $(mkinstalldirs) $(DESTDIR)$(pkglibdir) + $(mkinstalldirs) $(DESTDIR)$(jardir) + +uninstall-local: + rm -f $(DESTDIR)$(bindir)/hello + rm -f $(DESTDIR)$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT) + rm -f $(DESTDIR)$(jardir)/hello-resources.jar + +CLEANFILES += $(hello_MAINCLASS)$(EXEEXT) *.$(OBJEXT) *.a tmpdir hello-resources.jar hello.sh + + +else + + +# Rules for compiling Java programs as jar libraries. +# This is the preferred mode during development, because you can easily test +# the program without installing it, simply by doing "java -jar hello.jar". + +all-local: hello.jar hello.sh + +hello.jar: $(hello_CLASSES) + { echo "Manifest-Version: 1.0"; echo "Main-Class: $(hello_MAINCLASS)"; echo 'Class-Path: @LIBINTL_JAR@'; } > Manifest.mf + catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \ + $(JAR) cfm $@ Manifest.mf Hello*.class $(hello_RESOURCES) $$catalogs + rm -f Manifest.mf + +Hello.class: $(srcdir)/Hello.java + CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(JAVACOMP) -d . $(srcdir)/Hello.java + +hello.sh: + { echo '#!/bin/sh'; \ + echo "CLASSPATH='$(jardir)/hello.jar@CLASSPATH_SEPARATOR@$(hello_JAVALIBS)'\$${CLASSPATH+\"@CLASSPATH_SEPARATOR@\$$CLASSPATH\"}"; \ + echo "export CLASSPATH"; \ + echo "exec /bin/sh '$(pkgdatadir)/javaexec.sh' $(hello_MAINCLASS) \"\$$@\""; \ + } > $@ + +install-exec-local: all-local + $(mkinstalldirs) $(DESTDIR)$(bindir) + $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello + +install-data-local: all-local + $(mkinstalldirs) $(DESTDIR)$(jardir) + $(INSTALL_DATA) hello.jar $(DESTDIR)$(jardir)/hello.jar + $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) + $(INSTALL_DATA) javaexec.sh $(DESTDIR)$(pkgdatadir)/javaexec.sh + +installdirs-local: + $(mkinstalldirs) $(DESTDIR)$(jardir) + $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) + +uninstall-local: + rm -f $(DESTDIR)$(bindir)/hello + rm -f $(DESTDIR)$(jardir)/hello.jar + rm -f $(DESTDIR)$(pkgdatadir)/javaexec.sh + +CLEANFILES += hello.jar Hello*.class Manifest.mf hello.sh + + +endif diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/autoclean.sh b/gnu/dist/gettext/gettext-tools/examples/hello-java/autoclean.sh new file mode 100644 index 00000000000..7a343842c05 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/autoclean.sh @@ -0,0 +1,37 @@ +#!/bin/sh +# Example for use of GNU gettext. +# Copyright (C) 2003 Free Software Foundation, Inc. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean + +# Brought in by explicit copy. +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f po/remove-potcdate.sin + +# Brought in by explicit copy. +rm -f m4/gcj.m4 +rm -f m4/javacomp.m4 +rm -f m4/javaexec.m4 +rm -f javacomp.sh.in +rm -f javaexec.sh.in + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f po/Makefile.in +rm -f install-sh +rm -f mkinstalldirs +rm -f missing +rm -f po/*.pot +rm -f po/stamp-po +rm -f hello-java*.properties diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/autogen.sh b/gnu/dist/gettext/gettext-tools/examples/hello-java/autogen.sh new file mode 100644 index 00000000000..4eccce8a7b3 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/autogen.sh @@ -0,0 +1,47 @@ +#!/bin/sh +# Example for use of GNU gettext. +# Copyright (C) 2003-2005 Free Software Foundation, Inc. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4 +cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin + +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/gcj.m4 m4/gcj.m4 +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/javacomp.m4 m4/javacomp.m4 +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/javaexec.m4 m4/javaexec.m4 +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/javacomp.sh.in javacomp.sh.in +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/javaexec.sh.in javaexec.sh.in + +aclocal -I m4 + +autoconf + +automake -a -c + +./configure +cd po +make update-po +cd .. +make distclean diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/configure.ac b/gnu/dist/gettext/gettext-tools/examples/hello-java/configure.ac new file mode 100644 index 00000000000..b0932521d22 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/configure.ac @@ -0,0 +1,69 @@ +dnl Example for use of GNU gettext. +dnl Copyright (C) 2003 Free Software Foundation, Inc. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT +AC_CONFIG_SRCDIR(Hello.java) +AM_INIT_AUTOMAKE(hello-java, 0) + +dnl Check whether we can build native executable. +AC_ARG_ENABLE(java-exe, + [ --disable-java-exe compile Java to bytecode only, not to native code], + :, enable_java_exe=yes) +gt_GCJ +if test "$enable_java_exe" != no && test -n "$HAVE_GCJ"; then + BUILDJAVAEXE=yes +else + BUILDJAVAEXE=no +fi +AC_SUBST(BUILDJAVAEXE) +AM_CONDITIONAL([USEJEXE], [test "$BUILDJAVAEXE" = yes]) +AC_PROG_RANLIB + +dnl Check whether we can build Java programs at all. +gt_JAVACOMP +AC_CHECK_PROG(JAR, jar, jar) +if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then + BUILDJAVA=yes +else + BUILDJAVA=no +fi +AC_SUBST(BUILDJAVA) + +dnl Check whether we can execute Java programs. +gt_JAVAEXEC +if test -n "$HAVE_JAVAEXEC" && test $BUILDJAVA = yes; then + TESTJAVA=yes +else + TESTJAVA=no +fi +AC_SUBST(TESTJAVA) + +dnl Checks for compiler output filename suffixes. +AC_OBJEXT +AC_EXEEXT + +dnl Checks for needed libraries. +AM_PATH_PROG_WITH_TEST([GETTEXT_WITH_LIBINTL_JAR], [gettext], + [{ basedir=`echo "$ac_dir" | sed -e 's,/bin$,,'`; test -r "$basedir"/share/gettext/libintl.jar; }]) +if test -z "$GETTEXT_WITH_LIBINTL_JAR"; then + echo "Required library libintl.jar not found." 1>&2 + exit 1 +fi +changequote(,)dnl +basedir=`echo "$GETTEXT_WITH_LIBINTL_JAR" | sed -e 's,/[^/]*$,,' | sed -e 's,/bin$,,'` +changequote([, ])dnl +LIBINTL_JAR="$basedir"/share/gettext/libintl.jar +AC_SUBST([LIBINTL_JAR]) + +dnl Support for the po directory. +AM_PO_SUBDIRS + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([javacomp.sh]) +AC_CONFIG_FILES([javaexec.sh]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE]) +AC_OUTPUT diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/m4/Makefile.am b/gnu/dist/gettext/gettext-tools/examples/hello-java/m4/Makefile.am new file mode 100644 index 00000000000..20c951f962c --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/m4/Makefile.am @@ -0,0 +1,3 @@ +EXTRA_DIST = \ + nls.m4 po.m4 \ + gcj.m4 javacomp.m4 javaexec.m4 diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/LINGUAS b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/LINGUAS new file mode 100644 index 00000000000..49ccf62236f --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/LINGUAS @@ -0,0 +1,6 @@ +# Example for use of GNU gettext. +# Copyright (C) 2003-2005 Free Software Foundation, Inc. +# This file is in the public domain. +# +# Set of available languages. +af ca de el es fr ga it ja nl pl ro ru sk sr sv tr uk vi zh_CN diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/Makefile.am b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/Makefile.am new file mode 100644 index 00000000000..6358f24777c --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/Makefile.am @@ -0,0 +1,235 @@ +# Example for use of GNU gettext. +# Copyright (C) 2003-2005 Free Software Foundation, Inc. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# List of files which contain translatable strings. +POTFILES = \ + Hello.java + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = + +# 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 = Yoyodyne, Inc. + +# 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 = bug-gnu-gettext@gnu.org + +MSGMERGE = msgmerge +MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGCAT = msgcat +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) +POTFILES_DEPS = @POTFILES_DEPS@ + +# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po) +POFILES = @POFILES@ +# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update) +UPDATEPOFILES = @UPDATEPOFILES@ +# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop) +DUMMYPOFILES = @DUMMYPOFILES@ +# This is computed as $(foreach lang, $(LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties) +PROPERTIESFILES = @PROPERTIESFILES@ +# This is computed as $(foreach lang, $(LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class) +CLASSFILES = @CLASSFILES@ + +# This is computed as +# $(foreach lang, user-specified subset of $(LINGUAS), $(DOMAIN)_$(lang).properties) +CATALOGS = @JAVACATALOGS@ + +SUFFIXES = .po .sed .sin .nop .po-create .po-update + +.sin.sed: + sed -e '/^#/d' $< > t-$@ + mv t-$@ $@ + + +all-local: stamp-po + +# $(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 $(PROPERTIESFILES) 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 -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) \ + $(MAKE) update-properties + @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_DEPS) remove-potcdate.sed + if test -n '$(MSGID_BUGS_ADDRESS)'; 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) \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(POTFILES) + 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 + + +html ID: + +MOSTLYCLEANFILES = +MOSTLYCLEANFILES += remove-potcdate.sed +MOSTLYCLEANFILES += stamp-poT +MOSTLYCLEANFILES += core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po + +MAINTAINERCLEANFILES = stamp-po + +EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) + +# Hidden from automake, but really activated. Works around an automake-1.5 bug. +#distdir: distdir1 +distdir1: + $(MAKE) update-po + if test -f $(srcdir)/$(DOMAIN).pot; then \ + for file in $(DOMAIN).pot stamp-po; do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + cp -p $$d/$$file $(distdir)/$$file || exit 1; \ + done; \ + fi + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-properties + +# 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$$//'`; \ + 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-properties: Makefile $(DOMAIN).pot $(POFILES) + @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \ + $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; } + @for f in $(POFILES); do \ + lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \ + echo "$(GMSGFMT) -c --statistics -o /dev/null $(srcdir)/$${lang}.po"; \ + $(GMSGFMT) -c --statistics -o /dev/null $(srcdir)/$${lang}.po || exit 1; \ + echo "$(MSGCAT) --properties-output -o $(top_srcdir)/$(DOMAIN)_$$lang.properties $(srcdir)/$${lang}.po"; \ + $(MSGCAT) --properties-output -o $(top_srcdir)/$(DOMAIN)_$$lang.properties.tmp $(srcdir)/$${lang}.po || exit 1; \ + mv $(top_srcdir)/$(DOMAIN)_$$lang.properties.tmp $(top_srcdir)/$(DOMAIN)_$$lang.properties || exit 1; \ + done + +# Alternatively, we could create classes instead of properties files. +update-classes: Makefile $(DOMAIN).pot $(POFILES) + @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \ + $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; } + @for f in $(POFILES); do \ + lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \ + echo "$(GMSGFMT) -c --statistics -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po"; \ + $(GMSGFMT) -c --statistics -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po || exit 1; \ + done + +echo-catalogs: + @echo $(CATALOGS) diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/af.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/af.po new file mode 100644 index 00000000000..0285af0115b --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/af.po @@ -0,0 +1,24 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer <ysbeer@af.org.za>\n" +"Language-Team: Afrikaans <i18n@af.org.za>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Hierdie program loop as prosesnommer {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ca.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ca.po new file mode 100644 index 00000000000..9a7df96a135 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ca.po @@ -0,0 +1,25 @@ +# Catalan messages for GNU hello-java. +# Copyright (C) 2003 Free Software Foundation, Inc. +# This file is distributed under the same license as the hello-java package. +# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.13.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-18 10:41+0100\n" +"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n" +"Language-Team: Catalan <ca@dodds.net>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Aquest programa està corrent amb el número de procés {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/de.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/de.po new file mode 100644 index 00000000000..492340f6b01 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/de.po @@ -0,0 +1,26 @@ +# German messages for hello-java. +# Copyright © 2003 Free Software Foundation, Inc. +# This file is distributed under the same license as the hello-java package. +# Bruno Haible <bruno@clisp.org>, 2003. +# Karl Eichwalder <ke@gnu.franken.de>, 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.13.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-18 10:09+0100\n" +"Last-Translator: Karl Eichwalder <ke@gnu.franken.de>\n" +"Language-Team: German <de@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Dieses Programm läuft mit der Prozess-Nummer {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/el.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/el.po new file mode 100644 index 00000000000..0462d899c28 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/el.po @@ -0,0 +1,24 @@ +# Greek translation of hello-java +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis <simos74@gmx.net>, 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n" +"Language-Team: Greek <nls@tux.hellug.gr>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3.1\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/es.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/es.po new file mode 100644 index 00000000000..8446dbaeacc --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/es.po @@ -0,0 +1,24 @@ +# Mensajes en espaol para GNU gettext. +# Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +# Max de Mendizbal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, +# 2001, 2002, 2003, 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-java-0.14\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2004-01-29 13:59-0600\n" +"Last-Translator: Max de Mendizbal <max@upn.mx>\n" +"Language-Team: Spanish <es@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Hola, mundo!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Este programa est corriendo como el proceso nmero {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/fr.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/fr.po new file mode 100644 index 00000000000..015e0ec7039 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/fr.po @@ -0,0 +1,24 @@ +# Messages franais pour GNU gettext. +# Copyright 2003 Free Software Foundation, Inc. +# Michel Robitaille <robitail@iro.umontreal.ca>, traducteur depuis/since 1996. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-java 0.13.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-18 08:00-0500\n" +"Last-Translator: Michel Robitaille <robitail@IRO.UMontreal.CA>\n" +"Language-Team: French <traduc@traduc.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Bonjour, le monde!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Ce programme est excut en tant que processus numro {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ga.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ga.po new file mode 100644 index 00000000000..f54c8570c36 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ga.po @@ -0,0 +1,24 @@ +# Irish translations for hello-java. +# Copyright (C) 2004 Yoyodyne, Inc. +# This file is distributed under the same license as the hello-java package. +# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2005-02-07 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n" +"Language-Team: Irish <ga@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "T an clr seo rith mar phriseas {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/it.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/it.po new file mode 100644 index 00000000000..287a94262f0 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/it.po @@ -0,0 +1,24 @@ +# Italian messages for hello-java. +# Copyright (C) 2005 Yoyodyne, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo <m.colombo@ed.ac.uk>, 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.14.3\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2005-04-06 11:53+0100\n" +"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n" +"Language-Team: Italian <tp@lists.linux.it>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Salve, mondo!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Questo programma è in esecuzione con numero di processo {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ja.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ja.po new file mode 100644 index 00000000000..fdd706a92dd --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ja.po @@ -0,0 +1,23 @@ +# Translation of `hello-java' messages to Japanese. +# Copyright (C) 2003 Free Software Foundation, Inc. +# Masahito Yamaga <ma@yama-ga.com>, 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-java 0.13.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-20 00:24+0900\n" +"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n" +"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr ", ˤ!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Υץϥץֹ {0} ưƤޤ." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/nl.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/nl.po new file mode 100644 index 00000000000..542a34e398c --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/nl.po @@ -0,0 +1,25 @@ +# Dutch translation of hello-java. +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the hello-java package. +# Elros Cyriatan <cyriatan@fastmail.fm>, 2004. +# +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.13.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2004-01-04 20:50+0100\n" +"Last-Translator: Elros Cyriatan <cyriatan@fastmail.fm>\n" +"Language-Team: Dutch <vertaling@nl.linux.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Dit programma draait als proces nummer {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/pl.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/pl.po new file mode 100644 index 00000000000..34e60292e76 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/pl.po @@ -0,0 +1,24 @@ +# Polish translations for the GNU gettext messages, hello-java domain +# Copyright (C) 2003 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafa Maszkowski <rzm@icm.edu.pl>, 2003 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-18 12:00+0100\n" +"Last-Translator: Rafa Maszkowski <rzm@icm.edu.pl>\n" +"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Witaj wiecie!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Ten program dziaa jako proces o numerze {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ro.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ro.po new file mode 100644 index 00000000000..d85a0428be1 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ro.po @@ -0,0 +1,24 @@ +# Mesajele n limba romn pentru pachetul hello-java-0.13-pre1. +# Copyright (C) 2003 Free Software Foundation, Inc. +# Acest fiier este distribuit sub aceeai licen ca pachetul hello-java. +# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.13-pre1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2003-11-22 11:15+0200\n" +"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n" +"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Salut, lume! (Hello, world!)" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Acest program este rulat ca procesul numrul {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ru.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ru.po new file mode 100644 index 00000000000..86c7641178a --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/ru.po @@ -0,0 +1,26 @@ +# Translation of hello-java-0.14.1.po to Russian +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the hello-java package. +# Copyright (C) 2004 Yoyodyne, Inc. +# Pavel Maryanov <acid_jack@ukr.net>, 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2004-11-17 10:08+0200\n" +"Last-Translator: Pavel Maryanov <acid_jack@ukr.net>\n" +"Language-Team: Russian <ru@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=KOI8-R\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr ", !" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr " {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/sk.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/sk.po new file mode 100644 index 00000000000..edaeacd0cba --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/sk.po @@ -0,0 +1,24 @@ +# Slovak translations GNU for hello-java package. +# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the GNU hello-java package. +# Marcel Telka <marcel@telka.sk>, 2003, 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-java 0.14-pre1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2004-01-22 00:19+0100\n" +"Last-Translator: Marcel Telka <marcel@telka.sk>\n" +"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Tento program beží ako proces s číslom {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/sr.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/sr.po new file mode 100644 index 00000000000..3a978f7354a --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/sr.po @@ -0,0 +1,23 @@ +# Serbian translation of hello-java. +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the `hello-java' package. +# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.14\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2004-01-31 00:47-0500\n" +"Last-Translator: Aleksandar Jelenak <jelenak@netlinkplus.net>\n" +"Language-Team: Serbian <sr@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Здраво свима!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Овај програм се извршава као процес број {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/sv.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/sv.po new file mode 100644 index 00000000000..a171d6af0c9 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/sv.po @@ -0,0 +1,23 @@ +# Swedish messages for hello-java. +# Copyright 2003 Free Software Foundation, Inc. +# Jan Djrv <jan.h.d@swipnet.se>, 2003 +# Revision: 1.6 +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.13.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-20 22:33+0100\n" +"Last-Translator: Jan Djrv <jan.h.d@swipnet.se>\n" +"Language-Team: Swedish <sv@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Hej vrlden!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Detta program kr som process nummer {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/tr.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/tr.po new file mode 100644 index 00000000000..aacb8a4573d --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/tr.po @@ -0,0 +1,24 @@ +# Turkish translations for Gnu Gettext Package. +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.14-pre1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2004-01-21 06:17+0300\n" +"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n" +"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.0\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Merhaba Dünyalı!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Bu yazılım, {0} süreç kimliği ile çalışıyor." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/uk.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/uk.po new file mode 100644 index 00000000000..0a65a8c0c53 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/uk.po @@ -0,0 +1,24 @@ +# Ukrainian translation to hello-java +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the hello-java package. +# Maxim V. Dziumanenko <mvd@mylinux.com.ua>, 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2004-06-29 20:24+0200\n" +"Last-Translator: Maxim V. Dziumanenko <mvd@mylinux.com.ua>\n" +"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Привіт, світ!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Ця програма виконується як процес з номером {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/vi.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/vi.po new file mode 100644 index 00000000000..d243adcfb40 --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/vi.po @@ -0,0 +1,24 @@ +# Vietnamese Translation for hello-java-0.14.3. +# Copyright © 2005 Yoyodyne, Inc. +# Copyright © 2005 Free Software Foundation, Inc. +# Clytie Siddall <clytie@riverland.net.au>, 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.14.3\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2005-04-06 14:09+0930\n" +"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n" +"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net> \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "Chương trình này đang chạy với số xử lý {0}." diff --git a/gnu/dist/gettext/gettext-tools/examples/hello-java/po/zh_CN.po b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/zh_CN.po new file mode 100644 index 00000000000..6a7d650ee7f --- /dev/null +++ b/gnu/dist/gettext/gettext-tools/examples/hello-java/po/zh_CN.po @@ -0,0 +1,24 @@ +# zh_CN translation for hello-java. +# Copyright (C) 2003 Free Software Foundation, Inc. +# This file is distributed under the same license as the hello-java package. +# Funda Wang <fundawang@linux.net.cn>, 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-java 0.13.1\n" +"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-18 19:07+0800\n" +"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n" +"Language-Team: Chinese (simplified) <i18n-translation@lists.linux.net.cn>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: Hello.java:15 +msgid "Hello, world!" +msgstr "世界你好!" + +#: Hello.java:19 +#, java-format +msgid "This program is running as process number {0}." +msgstr "此程序正以进程号 {0} 运行。" |
