summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/hello-java
Commit message (Collapse)AuthorAgeFilesLines
* po: In the Makefiles, enable --quiet by default when possible.Bruno Haible2023-03-141-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | This is possible because msgmerge became faster - through an index-based fuzzy search (msgl-fsearch.c) in 2006, - through OpenMP parallelization in 2006, - through processor speedups over the years. The only case where msgmerge is still slow is when a compendium is in use. Suggested by Marcus Müller <marcus_savannah@hostalia.de> in <https://lists.gnu.org/archive/html/bug-gnulib/2023-03/msg00034.html>. * gettext-runtime/po/Makefile.in.in ($(POFILES), update-po): If msgmerge has version ≥ 0.11, pass option --quiet. * gettext-runtime/po/Makevars (MSGMERGE_OPTIONS): Don't suggest --quiet any more. * gettext-tools/po/Makevars (MSGMERGE_OPTIONS): Likewise. * gettext-tools/examples/hello-*/po/Makevars (MSGMERGE_OPTIONS): Likewise. * gettext-tools/examples/hello-*/po/Makefile.am ($(POFILES), update-po): If msgmerge has version ≥ 0.11, pass option --quiet. (MSGMERGE_OPTIONS): Don't suggest --quiet any more. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile: Likewise. * gettext-tools/examples/po/Makefile.am ($(POFILES), update-po): Pass option --quiet to msgmerge. (MSGMERGE_OPTIONS): Don't suggest --quiet any more.
* Merge from 0.21.x branch: Prepare for 0.21.1 release: Update translations.Bruno Haible2022-10-101-1/+1
| | | | | | | | | * gettext-runtime/po/*.po: Update from TP. * gettext-tools/po/*.po: Likewise. * gettext-tools/examples/po/*.po: Likewise. * gettext-tools/examples/po/LINGUAS: Add 'ka'. * gettext-tools/examples/hello-*/po/LINGUAS: Likewise. * gettext-tools/examples/Makefile.am (EXAMPLESPOFILES): Add ka.po.
* Update translations (from the TP).Bruno Haible2020-07-261-1/+1
| | | | | | | | | * gettext-runtime/po/*.po: Update. * gettext-tools/po/*.po: Update. * gettext-tools/examples/po/*.po: Update. * gettext-tools/examples/po/LINGUAS: Add 'nn'. * gettext-tools/examples/hello-*/po/LINGUAS: Likewise. * gettext-tools/examples/Makefile.am (EXAMPLESPOFILES): Add nn.po.
* examples: Improve code style.Bruno Haible2020-04-271-3/+3
| | | | * gettext-tools/examples/hello-*/configure.ac: Improve quoting.
* Merge from 0.20.x branch: Update translations (from the TP).Bruno Haible2020-04-141-1/+1
| | | | | | | | | * gettext-runtime/po/*.po: Update. * gettext-tools/po/*.po: Update. * gettext-tools/examples/po/*.po: Update. * gettext-tools/examples/po/LINGUAS: Add 'sq'. * gettext-tools/examples/hello-*/po/LINGUAS: Likewise. * gettext-tools/examples/Makefile.am (EXAMPLESPOFILES): Add sq.po.
* po: Emit a warning when creating a tarball without POT file.Bruno Haible2020-04-111-1/+6
| | | | | | * gettext-runtime/po/Makefile.in.in (dist2): Emit a warning when the POT file does not exist. * gettext-tools/examples/hello-*/po/Makefile.am (distdir1): Likewise.
* Update bug reporting instructions.Bruno Haible2019-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Tell users to report bugs in the bug tracker or by email. Use the mailing list address, not the alias. * gettext-runtime/libasprintf/README: Likewise. * gettext-tools/doc/gettext.texi (Introduction): Likewise. (Plural forms): Use the mailing list address, not the alias. * configure.ac (AC_INIT): Use the mailing list address, not the alias. * gettext-runtime/configure.ac (AC_INIT): Likewise. * gettext-tools/configure.ac (AC_INIT): Likewise. * gettext-tools/examples/configure.ac (AC_INIT): Likewise. * gettext-runtime/po/Makevars (MSGID_BUGS_ADDRESS): Use the mailing list address, not the alias. * gettext-tools/po/Makevars (MSGID_BUGS_ADDRESS): Likewise. * gettext-tools/examples/po/Makefile.am (MSGID_BUGS_ADDRESS): Likewise. * gettext-tools/examples/hello-*/po/Makevars (MSGID_BUGS_ADDRESS): Likewise. * gettext-tools/examples/hello-*/po/Makefile.am (MSGID_BUGS_ADDRESS): Likewise. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile (MSGID_BUGS_ADDRESS): Likewise. * gettext-tools/examples/hello-c++-kde/hello.cc (main): Likewise. * gettext-runtime/src/envsubst.c (main): Move URL out of translatable string. (usage): Tell users to report bugs in the bug tracker or by email. Use the mailing list address, not the alias. * gettext-runtime/src/gettext.c: Likewise. * gettext-runtime/src/ngettext.c: Likewise. * gettext-tools/src/cldr-plurals.c: Likewise. * gettext-tools/src/hostname.c: Likewise. * gettext-tools/src/msgattrib.c: Likewise. * gettext-tools/src/msgcat.c: Likewise. * gettext-tools/src/msgcmp.c: Likewise. * gettext-tools/src/msgcomm.c: Likewise. * gettext-tools/src/msgconv.c: Likewise. * gettext-tools/src/msgen.c: Likewise. * gettext-tools/src/msgexec.c: Likewise. * gettext-tools/src/msgfilter.c: Likewise. * gettext-tools/src/msgfmt.c: Likewise. * gettext-tools/src/msggrep.c: Likewise. * gettext-tools/src/msginit.c: Likewise. * gettext-tools/src/msgmerge.c: Likewise. * gettext-tools/src/msgunfmt.c: Likewise. * gettext-tools/src/msguniq.c: Likewise. * gettext-tools/src/recode-sr-latin.c: Likewise. * gettext-tools/src/urlget.c: Likewise. * gettext-tools/src/xgettext.c: Likewise. * gettext-tools/tests/tstgettext.c: Likewise. * gettext-tools/tests/tstngettext.c: Likewise. * gettext-tools/misc/autopoint.in (func_usage): Tell users to report bugs in the bug tracker or by email. Use the mailing list address, not the alias. * gettext-tools/misc/convert-archive.in (func_usage): Likewise. * gettext-tools/misc/gettextize.in (func_usage): Likewise.
* po: Make it possible to override xgettext options from Makefile.in.in.Bruno Haible2019-04-281-2/+4
| | | | | | | | | | | | * gettext-runtime/po/Makefile.in.in ($(DOMAIN).pot-update): List the XGETTEXT_OPTIONS and the XGETTEXT_EXTRA_OPTIONS after all other options. * gettext-tools/examples/po/Makefile.am ($(DOMAIN).pot-update): Likewise. * gettext-tools/examples/hello-*/po/Makefile.am ($(DOMAIN).pot-update): Likewise. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile ($(DOMAIN).pot-update): Likewise. * NEWS: Mention the change. * gettext-tools/doc/gettext.texi (po/Makevars): Fix typo.
* Update translations (from the TP).Bruno Haible2019-04-141-1/+1
| | | | | | | | | | * gettext-runtime/po/*.po: Update. * gettext-runtime/po/LINGUAS: Add 'ast'. * gettext-tools/po/*.po: Update. * gettext-tools/examples/po/*.po: Update. * gettext-tools/examples/po/LINGUAS: Add 'ta'. * gettext-tools/examples/hello-*/po/LINGUAS: Likewise. * gettext-tools/examples/Makefile.am (EXAMPLESPOFILES): Add ta.po.
* po, examples: Change .po -> .gmo rules to consider the newest changes to the ↵Bruno Haible2018-10-251-7/+29
| | | | | | | | | | | | | | | | | | | | POT file. Reported by Claude Paroz <claude@2xlibre.net> in <https://savannah.gnu.org/bugs/?50910>. * gettext-runtime/m4/po.m4 (AM_PO_SUBDIRS): Set MSGMERGE_FOR_MSGFMT_OPTION. * gettext-runtime/po/Makefile.in.in (MSGMERGE): Use GNU msgmerge, even if not first in $PATH. (MSGMERGE_FOR_MSGFMT_OPTION): New variable. (.po.gmo): Depend on the POT file. Use msgmerge on the fly, to take into account the most recent POT file changes. * gettext-tools/examples/hello-*/po/Makefile.am: Likewise, also for the .po.qm, update-properties, update-classes targets. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile (MSGMERGE_FOR_MSGFMT_OPTION): New variable. ($(STRINGSFILES)): Depend on the POT file. Use msgmerge on the fly, to take into account the most recent POT file changes.
* po, examples: Put stamp-po in the source directory.Bruno Haible2018-10-241-16/+16
| | | | | | | | | | | | Rationale: <https://www.gnu.org/prep/standards/html_node/Makefile-Basics.html>. * gettext-runtime/po/Makefile.in.in: Use $(srcdir)/stamp-po instead of stamp-po. Talk about "version control system", not CVS. * gettext-tools/examples/hello-*/po/Makefile.am: Likewise. * gettext-tools/examples/po/Makefile.am: Likewise. * gettext-tools/examples/check-examples (func_check_dist_vpath): Verify the stamp-po file does not exist in the build dir, except when using the older Makefile.in.in infrastructure.
* po: Make "make maintainer-clean" erase the .pot file.Bruno Haible2018-10-241-1/+3
| | | | | | | | | | | | | | | | Rationale: <https://www.gnu.org/prep/standards/html_node/Standard-Targets.html> <https://www.gnu.org/software/automake/manual/html_node/Clean.html> * NEWS: Mention the change. * gettext-runtime/po/Makefile.in.in (maintainer-clean): Remove the .pot file. * gettext-tools/examples/hello-*/po/Makefile.am (MAINTAINERCLEANFILES): Add the .pot file. * gettext-tools/examples/po/Makefile.am (MAINTAINERCLEANFILES): Likewise. * gettext-tools/examples/check-examples (func_check_maintainerclean, func_check_maintainerclean_vpath): Verify the .pot file is removed after 'make maintainer-clean', except when using the older Makefile.in.in infrastructure.
* po, examples: Use case-insensitive search for "GNU <PACKAGE_NAME>".Bruno Haible2018-10-241-2/+2
| | | | | | | | | | | | Reported by Akim Demaille <akim@lrde.epita.fr> in <https://lists.gnu.org/archive/html/bug-gettext/2018-10/msg00020.html>. * gettext-runtime/po/Makefile.in.in ($(DOMAIN).pot-update): Use a case-insensitive search for "GNU <PACKAGE_NAME>". * gettext-tools/examples/hello-*/po/Makefile.am ($(DOMAIN).pot-update): Likewise. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile ($(DOMAIN).pot-update): Likewise.
* examples: Add support for msgmerge --previous.Bruno Haible2018-10-241-6/+10
| | | | | | | | This mirrors the Makefile.in.in change from 2016-07-01. * gettext-tools/examples/hello-*/po/Makefile.am ($(POFILES), update-po): Use option --previous when the msgmerge program supports it. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile: Likewise.
* examples: Support reading header comments from file.Bruno Haible2018-10-241-0/+6
| | | | | | | | | This mirrors the Makefile.in.in change from 2015-09-01 with the amendment from today. * gettext-tools/examples/hello-*/po/Makefile.am ($(DOMAIN).pot-update): Replace header entry with the content of $(DOMAIN).pot-header, if exists. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile: Likewise.
* examples: Make it possible to pass custom options to msginit.Bruno Haible2018-10-241-0/+6
| | | | | | | This mirrors the Makevars change from 2014-10-08. * gettext-tools/examples/hello-*/po/Makefile.am (MSGINIT_OPTIONS): New variable. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile: Likewise.
* examples: Add an option to claim the package as GNU/non-GNU.Bruno Haible2018-10-241-9/+24
| | | | | | | | | | | | This mirrors the Makefile.in.in and Makevars change from 2014-05-01. Reported by David Shea at <https://savannah.gnu.org/bugs/?40520>. * gettext-runtime/po/Makefile.in.in ($(DOMAIN).pot-update): Tweak whitespace. * gettext-tools/examples/hello-*/po/Makefile.am (PACKAGE_GNU): New variable. ($(DOMAIN).pot-update): Don't search for "GNU packagename" if $(PACKAGE_GNU) is set. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile: Likewise.
* examples: Avoid grepping through monster files.Bruno Haible2018-10-241-1/+9
| | | | | | | | | | This mirrors the Makefile.in.in change from 2010-06-12. Reported by Jim Meyering <jim@meyering.net>. * gettext-tools/examples/hello-*/po/Makefile.am (($(DOMAIN).pot-update): When GNU find is available, avoid grepping through monster files. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile: Likewise.
* examples: Modernize configure.ac.Bruno Haible2018-10-191-3/+3
| | | | | * gettext-tools/examples/hello-*/configure.ac: Use the recommended AC_INIT and AM_INIT_AUTOMAKE syntax. Require automake >= 1.11.
* examples: hello-java*: Fix 'make distcheck'.Bruno Haible2018-10-191-5/+38
| | | | | | | * gettext-tools/examples/hello-java*/po/Makefile.am (update-properties): Create the new .properties files in the build dir and move them to $(srcdir) only if the new contents differs from the old contents. (update-classes): Likewise, also for .class files.
* examples: Fix 'make dist' failures in VPATH builds.Bruno Haible2018-10-181-0/+1
| | | | | * gettext-tools/examples/hello-*/po/Makefile.am (distdir1): Invoke target 'stamp-po' after having done target 'update-po'.
* examples: hello-java*: Fix "make dist".Bruno Haible2018-10-183-15/+15
| | | | | | | | | | | | | | * gettext-runtime/m4/po.m4 (AM_POSTPROCESS_PO_MAKEFILE): Change PROPERTIESFILES and CLASSFILES to contain files in $(srcdir), not in $(top_srcdir). * gettext-tools/examples/hello-java*/Makefile.am (hello.jar): Fetch the catalogs from the po/ directory. * gettext-tools/examples/hello-java*/po/Makefile.am (MAINTAINERCLEANFILES): Add the .properties and the .class files. (EXTRA_DIST): Add the .properties files. (update-properties, update-classes): Generate the .properties and .class files in the po/ directory, not in the top-level directory. * gettext-tools/examples/hello-java*/autoclean.sh: Remove the catalogs in the po/ directory, not in the top-level directory.
* examples: Fix 'make' failures in VPATH builds.Bruno Haible2018-10-182-16/+10
| | | | | | | | | | | | | | | * gettext-tools/examples/hello-java*/Makefile.am (hello_RESOURCES, MAINTAINERCLEANFILES): Remove variables. (hello.jar): Use two jar commands, to combine .class files from the build dir with .properties files from the source dir. * gettext-tools/examples/hello-java*/po/Makefile.am (update-properties, update-classes): Reference the .pot file in the source dir, not in the build dir. (echo-catalogs): Include the fallback catalog. * gettext-tools/examples/hello-pascal/Makefile.am (hello_SOURCES): Add $(srcdir) prefix. (hello$(EXEEXT)): Use -o option to specify where the object file and the executable file shall be created.
* examples: hello-java: Fix 'make' failure.Bruno Haible2018-10-171-1/+1
| | | | * gettext-tools/examples/hello-java/po/Makefile.am (stamp-po): Fix syntax error.
* examples: Remove left-over files.Bruno Haible2018-10-151-0/+1
| | | | * gettext-tools/examples/hello-*/autoclean.sh: Remove left-over files.
* examples: Clean up autoconf left-over.Bruno Haible2018-10-151-0/+1
| | | | | * gettext-tools/examples/hello-*/autoclean.sh: Remove the 'autom4te.cache' directory.
* Add support for recent Java versions.Bruno Haible2018-03-241-1/+1
| | | | | | | | | | | | | | | | | | Reported by Emmanuel Bourg <ebourg@apache.org> at <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892733> via Santiago Vila. * gettext-runtime/configure.ac: Require a Java compiler that supports source-version 1.5 and target-version 1.6 (such as Java 6 or newer, or GCJ 4.3 or newer). * gettext-tools/src/write-java.c (msgdomain_write_java): Likewise * gettext-tools/examples/hello-java-qtjambi/configure.ac: Likewise. * gettext-tools/configure.ac: Require a Java compiler that supports source-version 1.5 (such as Java 5 or newer, or GCJ 4.3 or newer). * gettext-tools/examples/hello-java/configure.ac: Likewise. * gettext-tools/examples/hello-java-awt/configure.ac: Likewise. * gettext-tools/examples/hello-java-swing/configure.ac: Likewise. * NEWS: Mention the change.
* Remove the ability to compile the Java programs to native executables.Bruno Haible2017-05-045-89/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ability relied on GCJ, and GCJ was removed from GCC in version 7.1. * gnulib-local/modules/gcj: Remove file. * gnulib-local/m4/gcj.m4: Remove file. * gnulib-local/Makefile.am (EXTRA_DIST): Remove both. * gnulib-local/m4/java.m4 (gt_JAVA_CHOICE): Map value 'bytecode' to 'yes'. * autogen.sh (GNULIB_MODULES_TOOLS_OTHER): Remove 'gcj'. * gettext-tools/configure.ac: Don't invoke gt_GCJ. Don't set BUILDJAVAEXE. * gettext-tools/src/Makefile.am (DEFS): Remove USEJEXE, GETTEXTJEXEDIR defines. (GCJ, GCJFLAGS): Remove variables. (USEJAVA, USEJEXE): Assume BUILDJAVAEXE is false. (all-java-*, install-data-java-*, installdirs-java-*, uninstall-java-*): Remove targets that assume BUILDJAVAEXE = true. Rename remaining targets. (install-exec-java-*): Remove targets. * gettext-tools/src/read-java.c (msgdomain_read_java: Assume USEJEXE is false. * gettext-tools/src/urlget.c (fetch): Likewise. * gettext-tools/tests/msgunfmt-java-1: Don't set GETTEXTJEXEDIR. * PACKAGING (Java support): Drop text about native executables. * gettext-tools/m4/Makefile.am (examplesbuildaux_DATA): Remove gcj.m4. * gettext-tools/examples/hello-java*/autogen.sh: Don't copy gcj.m4. * gettext-tools/examples/hello-java*/autoclean.sh: Don't remove m4/gcj.m4. * gettext-tools/examples/hello-java*/m4/Makefile.am (EXTRA_DIST): Remove gcj.m4. * gettext-tools/examples/hello-java*/configure.ac: Don't invoke gt_GCJ, AC_PROG_RANLIB. Remove option --enable-java-exe. Don't set BUILDJAVAEXE. Don't set USEJEXE. * gettext-tools/examples/hello-java*/Makefile.am (GCJ, GCJFLAGS, AR, RANLIB): Remove variables. [USEJEXE]: Remove section.
* Merge all .gitignore files into a single .gitignore file.Bruno Haible2016-12-111-3/+0
|
* Update translations from Translation ProjectDaiki Ueno2014-06-091-1/+1
|
* examples: Quote shell variables in hello-java*/configureDaiki Ueno2014-04-211-1/+1
| | | | | | | | | | When running from xsmallpot.sh, embedded shell-script snippets are stripped off from configure.ac and some variables are not set. Make sure to quote them to avoid error. * hello-java/configure.ac: Quote $BUILDJAVA. * hello-java-awt/configure.ac: Quote $BUILDJAVAEXE and $BUILDJAVA. * hello-java-qtjambi/configure.ac: Likewise. * hello-java-swing/configure.ac: Likewise.
* Use $(MKDIR_P) instead of obsolete $(mkdir_p).Daiki Ueno2013-06-101-11/+11
| | | | | Suggested by Stefano Lattarini in <https://lists.gnu.org/archive/html/bug-gettext/2013-04/msg00044.html>.
* Updated translations.Bruno Haible2012-12-081-1/+1
|
* Updated translations.Bruno Haible2011-06-071-1/+1
|
* New Bulgarian translations.Bruno Haible2010-02-071-1/+1
|
* New Asturian translations.Bruno Haible2009-12-191-1/+1
|
* Silence the msgmerge invocations.Bruno Haible2009-08-161-6/+12
|
* Remove obsolete CVS infrastructure.Bruno Haible2009-08-141-1/+0
|
* Ignore all files that are automatically generated and distributed andBruno Haible2009-08-041-0/+3
| | | | not under version control.
* New Latvian translations.Bruno Haible2009-07-291-1/+1
|
* Pass --verbose to msgfmt when producing statistics.Bruno Haible2009-06-231-4/+4
|
* New Maltese translations.Bruno Haible2009-06-231-1/+1
|
* Introduce a new header entry field 'Language'.Bruno Haible2009-06-231-4/+17
|
* Put all non-option arguments after all option arguments.Bruno Haible2009-06-231-1/+1
|
* New Kirghiz translations.Bruno Haible2009-06-231-1/+1
|
* Consider the XGETTEXT_EXTRA_OPTIONS variable.Bruno Haible2009-06-231-2/+2
|
* New Finnish translations.Bruno Haible2009-06-231-1/+1
|
* Don't pass --package-name option to xgettext older than 0.16.2.Bruno Haible2009-06-231-7/+18
|
* Pass the package name and version to xgettext.Bruno Haible2009-06-231-0/+7
|
* Fix copy&paste mistake.Bruno Haible2009-06-231-1/+1
|