summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/hello-python
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-1/+1
| | | | * 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.
* po, examples: In the .po -> .gmo rules, really consider the newest changes ↵Bruno Haible2020-04-051-1/+2
| | | | | | | | | | | | | | to the POT file. Reported by Petr Ovtchenkov <ptr@void-ptr.info> in <https://lists.gnu.org/archive/html/bug-gnulib/2020-04/msg00000.html>. Helped by Paul Smith. * gettext-runtime/po/Makefile.in.in (.po.gmo): Write dependency on the POT file as a target rule, since inference rules don't support prerequisites. * gettext-tools/examples/hello-*/po/Makefile.am: Likewise, also for the .po.qm rule. * NEWS: Mention the fix.
* 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-4/+24
| | | | | | | | | | | | | | | | | | | | 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/+1
| | | | | | | | | | | | | | | | 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.
* po: Remove obsolete Makefile rules for .mo files.Bruno Haible2018-10-241-7/+1
| | | | | | | | | | | | | * gettext-runtime/po/Makefile.in.in (MSGFMT*): Remove variables. (.SUFFIXES): Remove .mo. (.po.mo): Remove rule. (distclean): Don't remove *.mo files. * gettext-tools/examples/hello-*/po/Makefile.am (.SUFFIXES): Remove .mo. (.po.mo): Remove rule. (DISTCLEANFILES): Remove *.mo. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile (.SUFFIXES): Remove .mo. * gettext-runtime/m4/po.m4 (AM_PO_SUBDIRS): Don't set MSGFMT_015.
* 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: Don't create unnecessary installation directories.Bruno Haible2018-10-241-2/+0
| | | | | | | | | This mirrors the Makefile.in.in change from 2009-06-09. Reported by Serge Pavlovsky <pal666@gmail.com>. * gettext-tools/examples/hello-*/po/Makefile.am (install-data-local-yes, installdirs-local-yes): Remove unnecessary MKDIR_P invocations.
* 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: 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: Clean up autoconf left-over.Bruno Haible2018-10-151-0/+1
| | | | | * gettext-tools/examples/hello-*/autoclean.sh: Remove the 'autom4te.cache' directory.
* 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
|
* Use $(MKDIR_P) instead of obsolete $(mkdir_p).Daiki Ueno2013-06-101-4/+4
| | | | | 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-2/+2
|
* 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
|
* Remove all "Copyright (C) ..." notices from files that are in the publicBruno Haible2009-06-237-7/+0
| | | | domain.
* New Malay translations.Bruno Haible2009-06-231-2/+2
|
* Updated translations. New Indonesian translations.Bruno Haible2009-06-231-1/+1
|
* Adapt to changed value of top_srcdir in the examples' main Makefile.Bruno Haible2009-06-231-2/+2
|
* New Chinese (Hong Kong) translations.Bruno Haible2009-06-231-1/+1
|
* Cleanup also Cygwin-style core dumps.Bruno Haible2009-06-231-1/+1
|