Installing gettext-0.19.8.1, I'm seeing a test failure:
FAIL: xgettext-its-2
====================
FAIL xgettext-its-2 (exit status: 1)
When I trace the script with "sh -x", I can see that xgettext gives an error
message in German:
+ xgettext -o /dev/null input.a
xgettext: Warnung: Typ der Datei »input.a« mit Suffix »a« ist unbekannt; C wird
versucht
Fixed by setting the environment variable LC_MESSAGES=C, to force an
English message.
By the way, the 3rd and 4th test in this file is redundant. search-path.c says:
1. $GETTEXTDATADIR or GETTEXTDATADIR
2. $GETTEXTDATADIRS
3. $XDG_DATA_DIRS, where each element is suffixed with "gettext"
4. $GETTEXTDATADIR or GETTEXTDATADIR, suffixed with PACKAGE_SUFFIX */
Therefore:
- Setting GETTEXTDATADIRS while GETTEXTDATADIR is still set cannot have any
effect.
- Setting XDG_DATA_DIRS while GETTEXTDATADIR or GETTEXTDATADIRS is still set
cannot have any effect.
Fixed as well.
Bruno