summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/xgettext-12
Commit message (Collapse)AuthorAgeFilesLines
* tests: Use Exit instead of exit if init.sh is usedDaiki Ueno2016-06-081-2/+2
| | | | | * gettext-tools/tests/*: Use Exit instead of exit, as suggested by init.sh.
* xgettext: Allow plural extraction from a single argument functionDaiki Ueno2014-10-301-1/+14
| | | | | | | | | | | | | | The commit 8137d2b4 was a wrong fix since both singular/plural msgids may point to the same address for Qt4 plural forms. This reverts the commit and fix the original double-free problem in the right way. Thanks to Jesper Fehrlund for suggestions. * gettext-tools/src/xgettext.c (arglist_parser_remember_literal): Don't ignore plural argument even if ARGNUM1 equals to ARGNUM2. (arglist_parser_done): Make a copy of best_cp->msgid_plural when passing it to remember_a_message_plural, if it equals to best_cp->msgid. Also move code conversion logic earlier taking into account of the ownership transfer of best_cp->msgid. * gettext-tools/src/xgettext-12: Test a single argument function.
* tests: Add test for same ARGNUM1/ARGNUM2 given to xgettext -kDaiki Ueno2014-10-281-0/+28
| | | | | * xgettext-12: New file. * Makefile.am (TESTS): Add new test.
* Move xgettext-12 to xgettext-2.Bruno Haible2009-06-231-54/+0
|
* Move tests/xgettext-12 to gettext-tools/tests/xgettext-12.Bruno Haible2009-06-231-0/+54