summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* po: Support reading header comments from fileDaiki Ueno2015-09-012-0/+10
| | | | | * Makefile.in.in ($(DOMAIN).pot-update): Replace header comment with the content of $(DOMAIN).pot-header, if exists.
* intl: fix memory leak in _nl_load_domainPaul Eggert2015-08-272-2/+10
| | | | | | * loadmsgcat.c (_nl_load_domain): Free data after a read failure. See: https://sourceware.org/bugzilla/show_bug.cgi?id=18871
* xgettext: Replace PACKAGE placeholder if possibleDaiki Ueno2015-08-242-2/+8
| | | | | * xgettext.c (construct_header): Replace PACKAGE placeholder in the header comment.
* xgettext: Add support for AppData XML filesPhilip Withnall2015-08-2110-3/+582
| | | | | | | | | | | AppData files are used to describe an application for package management, and are described here: http://people.freedesktop.org/~hughsient/appdata/ They may also currently be translated using intltool or itstool: http://people.freedesktop.org/~hughsient/appdata/#translation
* tests: Use check_PROGRAMSDaiki Ueno2015-08-212-1/+6
| | | | | * gettext-tools/tests/Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS, to defer the compilation until required.
* autopoint: Respect AM_GNU_GETTEXT_REQUIRE_VERSIONDaiki Ueno2015-08-219-15/+138
| | | | | | | | | | * gettext-runtime/m4/gettext.m4 (AM_GNU_GETTEXT_REQUIRE_VERSION): New macro. Bump serial to 67. * gettext-tools/doc/autopoint.texi: Mention AM_GNU_GETTEXT_REQUIRE_VERSION. * gettext-tools/misc/gettextize.in: Check if AM_GNU_GETTEXT_VERSION is used. * gettext-tools/misc/autopoint.in: Respect AM_GNU_GETTEXT_REQUIRE_VERSION. * gettext-tools/tests/autopoint-2: Check AM_GNU_GETTEXT_REQUIRE_VERSION.
* xgettext: Allow multiple --copyright-holderDaiki Ueno2015-08-212-6/+75
| | | | | | | | | | Feature requested by Francesco Poli in: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682580>. * xgettext.c (default_copyright_holder): New constant, renamed from copyright_holder. (copyright_holder): Define as a variable. (main): Allow multiple --copyright-holder options. (construct_header): Support multiple --copyright-holder options.
* intl: Pacify compilation with pre-C99 compilersDaiki Ueno2015-08-212-1/+11
| | | | | | | | | * loadmsgcat.c (_nl_load_domain): Move the call to __libc_lock_define_initialized_recursive to the end of local variable declarations to avoid extra ';' being expanded to an empty statement. Reported by pan7 in: <http://savannah.gnu.org/support/?108864>.
* cldr-plurals: Fix trivial resource leakDaiki Ueno2015-08-152-0/+6
| | | | | * cldr-plurals.c (main): Close FP after use. Reported by Denis Denisov.
* build: Substitute archive version with configureDaiki Ueno2015-07-289-33/+34
| | | | | | | | | | | | * gettext-tools/configure.ac (ARCHIVE_VERSION): New substituted variable. * gettext-tools/misc/gettextize.in (archive_version): New variable, set to ARCHIVE_VERSION. Use it as the argument of AM_GNU_GETTEXT_VERSION. * gettext-tools/tests/init-env.in (ARCHIVE_VERSION): New substituted variable. * gettext-tools/tests/autopoint-2: Use ARCHIVE_VERSION, instead of the hard-coded version string. * gettext-tools/tests/autopoint-3: Likewise.
* NEWS: Fix typoDaiki Ueno2015-07-271-1/+1
|
* gettextize: Use a crafted version stringDaiki Ueno2015-07-273-2/+18
| | | | | | | | | | Reported by Max Lin in: <https://lists.gnu.org/archive/html/bug-gettext/2015-07/msg00024.html>. * gettextize.in: Replace AM_GNU_GETTEXT_VERSION invocation with "$gettext_version" rather than "$version". This makes it easier to maintain a minor release without being affected by the actual version number generated by git-version-gen. (gettext_version): New variable.
* po-mode: Fix to accept four-part msgfmt version numberPeter Eisentraut2015-07-272-1/+8
|
* cldr-plurals: Fix --enable-relocatable compilationVáclav Slavík2015-07-212-0/+12
| | | | | | | | | Compilation of the cldr-plurals tool was broken in the relocatable case because of missing CPPFLAGS/LDFLAGS. Add the same flags used by other tools to the makefile. * gettext-tools/src/Makefile.am (cldr_plurals_CPPFLAGS) (cldr_plurals_LDFLAGS): Adjust for --enable-relocatable compilation.
* maint: Add more files to .gitignoreDaiki Ueno2015-07-151-0/+1
|
* gnulib-local: Fix Java compilation on mingwDaiki Ueno2015-07-142-0/+21
| | | | | | * lib/clean-temp.c.diff: New file, from m4. Suggested by Eric Blake in: <https://lists.gnu.org/archive/html/bug-gnulib/2013-09/msg00044.html>.
* build: Import stpcpy as well to libgettextpoDaiki Ueno2015-07-122-1/+3
|
* build: Avoid link error on Mac OS X < 10.6Daiki Ueno2015-07-122-0/+8
| | | | | | Reported by Ryan Schmidt in: <http://savannah.gnu.org/bugs/?45527>. * autogen.sh (GNULIB_MODULES_LIBGETTEXTPO): Add stpncpy.
* NEWS: Fix the release date of 0.19.5Daiki Ueno2015-07-101-1/+1
|
* Release 0.19.5Daiki Ueno2015-07-1027-0/+108
|
* Update translationsDaiki Ueno2015-07-1054-12805/+12352
|
* tests: Update minimum version of autopointDaiki Ueno2015-07-103-2/+7
| | | | | | * gettext-tools/tests/autopoint-2 (required_gettext_version): Update to 0.19.5. * gettext-tools/tests/autopoint-3 (required_gettext_version): Likewise.
* intl: Check for getlocalename_lDaiki Ueno2015-07-102-1/+12
| | | | | * intl.m4 (gt_INTL_SUBDIR_CORE): Check also for getlocalename_l. Bump serial to 29.
* intl: Update from gnulibDaiki Ueno2015-07-102-2/+7
| | | | * localename.c: Update from gnulib.
* Update gnulibDaiki Ueno2015-07-091-0/+0
|
* THANKS: UpdateDaiki Ueno2015-06-291-0/+1
|
* msginit: Remove obsolete country codesDaiki Ueno2015-06-292-2/+10
| | | | | | | | | * gettext-tools/src/msginit.c (catalogname_for_locale): Remove sr_YU, which were removed from ISO 3166-1:1997. Add comment saying that pap_AN, which were removed from ISO 3166-1:2006, can be removed in the future. Reported by Jakub Wilk in: <https://lists.gnu.org/archive/html/bug-gettext/2015-06/msg00057.html>.
* xgettext: Fix the last change to literalstringDaiki Ueno2015-06-252-11/+22
| | | | | | | * gettext-tools/src/x-c.c (literalstring_parse): Bail out if C == NUL. Also adjust the loop invariant in Unicode literal handling. Reported by Hanno Boeck in: <http://savannah.gnu.org/bugs/?45391>.
* maint: Add more files to .gitignoreDaiki Ueno2015-06-257-4/+17
|
* tests: Remove garbage added for debuggingDaiki Ueno2015-06-252-3/+3
|
* tests: Fix the last commitDaiki Ueno2015-06-251-2/+2
|
* xgettext: Make literal parser robust against NULDaiki Ueno2015-06-255-14/+77
| | | | | | | | | | | | | * gettext-tools/src/x-c.c (literalstring_parse): Add more NUL checks. Change the loop invariant so that C always points to the character previously pointed by P. Reported by Hanno Boeck in: <http://savannah.gnu.org/bugs/?45391>. * gettext-tools/tests/xg-c-21.c (main): New file. * gettext-tools/tests/xgettext-c-21 (result): New file. * gettext-tools/tests/Makefile.am (TESTS): Add new test. (EXTRA_DIST): Add xg-c-21.c.
* build: Export syntax_check_name to W32Daiki Ueno2015-06-252-0/+6
| | | | | * woe32dll/gettextsrc-exports.c: Export syntax_check_name. Reported by Michele Locati.
* xgettext: avoid out-of-bounds read in literalsDaiki Ueno2015-06-242-0/+9
| | | | | | * gettext-tools/src/x-c.c (literalstring_parse): Check if the next character of a backslash is NUL. Reported by Hanno Boeck in: <http://savannah.gnu.org/bugs/?45391>.
* build: Export formatstring_kde_kuit to W32Daiki Ueno2015-06-242-0/+6
| | | | | * woe32dll/gettextsrc-exports.c: Export formatstring_kde_kuit. Reported by Vincent Torri.
* tests: Skip lang-bash test for Mac OS X's bashDaiki Ueno2015-06-242-0/+17
| | | | * lang-bash: Skip if "bash --help" isn't localized on Mac OS X.
* Fix reporter creditDaiki Ueno2015-06-242-1/+2
|
* autopoint: Update for 0.19.5Daiki Ueno2015-06-242-1/+5
| | | | * autopoint.in: Update for 0.19.5.
* tests: Don't rely on echo -nDaiki Ueno2015-06-242-1/+19
| | | | | | * gettext-tools/tests/msgfilter-8: Port the "echo -n" equivalent from gettext-2. Reported by paul zimmermann in: <https://lists.gnu.org/archive/html/bug-gettext/2015-06/msg00019.html>.
* tests: Skip CLDR tests when libexpat is missingDaiki Ueno2015-06-243-0/+18
| | | | | * gettext-tools/tests/cldr-plurals-1: Skip if XML is not supported. * gettext-tools/tests/msginit-4: Likewise.
* tests: Skip KUIT tests when libexpat is missingDaiki Ueno2015-06-243-2/+32
| | | | | | * format-kde-kuit-1: Skip if KDE KUIT format is not supported. * format-kde-kuit-2: Likewise. Suggested by Chusslove Illich.
* build: Fix error when expat is not availableDaiki Ueno2015-06-232-2/+6
| | | | | * cldr-plurals.c (main): Fix unmatched braces when !(DYNLOAD_LIBEXPAT || HAVE_LIBEXPAT).
* build: Fix build failure on SolarisDaiki Ueno2015-06-232-2/+9
| | | | | | | | * gettext-tools/src/cldr-plurals.c: Include "basename.h". (main): Place optind on the right hand side of the expression, to work around build failure on Solaris. Reported by Dagobert Michelsen in: <https://lists.gnu.org/archive/html/bug-gettext/2015-06/msg00015.html>.
* build: Clean leftover of "make uninstall"Daiki Ueno2015-06-232-0/+5
| | | | * Makefile.am (uninstall-local): Remove cldr-plurals.
* build: Fix test failure on VPATH buildDaiki Ueno2015-06-232-2/+6
| | | | | * msginit-4: Don't check Project-Id-Version: field, since we can't use the project-id script when $builddir != $srcdir.
* build: Add missing headers in distributionDaiki Ueno2015-06-232-1/+7
| | | | * Makefile.am (noinst_HEADERS): Add cldr-plural.h and cldr-plural-exp.h.
* m4, help2man: Update from gnulibDaiki Ueno2015-06-2313-12/+37
| | | | | | | | | | | | | | | | | | | | | | * gettext-runtime/m4/codeset.m4: Update copyright year. * gettext-runtime/m4/gettext.m4: Likewise. * gettext-runtime/m4/iconv.m4: Likewise. * gettext-runtime/m4/intl.m4: Likewise. * gettext-runtime/m4/intldir.m4: Likewise. * gettext-runtime/m4/intlmacosx.m4: Likewise. * gettext-runtime/m4/lcmessage.m4: Likewise. * gettext-runtime/m4/nls.m4: Likewise. * gettext-runtime/m4/po.m4: Likewise. * gettext-runtime/m4/extern-inline.m4: Likewise. Port the following change: 2015-04-29 Paul Eggert <eggert@cs.ucla.edu> extern-inline: no need for workaround in GCC 5.1 * doc/extern-inline.texi (extern inline): * m4/extern-inline.m4 (gl_EXTERN_INLINE): GCC bugs 54113 and 63877 are fixed in GCC 5.1, so don't work around these bugs in GCC 5.1 and later. Maybe in a decade or two we can remove these workarounds. * gettext-tools/man/help2man: Update copyright year.
* doc: Update gettext-tools/ABOUT-NLS tooDaiki Ueno2015-06-232-1066/+1198
|
* Prepare for 0.19.5Daiki Ueno2015-06-233-3/+3
|
* intl: Update locale.aliasDaiki Ueno2015-06-232-2/+23
| | | | | | | | | | | | * locale.alias: Update from glibc: 2015-05-22 Paul Eggert <eggert@cs.ucla.edu> Remove obsolete aliases that broke 'locale -a' [BZ #18412] * intl/locale.alias: Remove obsolete aliases "bokmål" and "français" which caused 'locale -a' to output Latin-1 data in UTF-8 locales, breaking some applications that use 'locale -a' output. Change the encoding of this file from Latin-1 to ASCII to avoid other potential problems with people grepping this file.