From: Bruno Haible Date: Sat, 16 Aug 2008 10:15:35 +0000 (+0000) Subject: Test interpretation of [ ]. X-Git-Tag: v0.18~377 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8df49dc054a23accf48cc82d2056d7267dcceeb8;p=thirdparty%2Fgettext.git Test interpretation of [ ]. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 90a202bbd..6e16723a2 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,8 @@ +2008-08-16 Bruno Haible + + * xgettext-python-1: Test that strings inside [ ] are not extracted for + an outer gettext call. + 2008-08-15 Bruno Haible * format-python-2: Check that %.0s normally behaves like %s. diff --git a/gettext-tools/tests/xgettext-python-1 b/gettext-tools/tests/xgettext-python-1 index 9ea20dc3b..fbfbfc903 100755 --- a/gettext-tools/tests/xgettext-python-1 +++ b/gettext-tools/tests/xgettext-python-1 @@ -22,6 +22,9 @@ _(u"abc\ # interpret_ansic = false, interpret_unicode = true _(ur"abc\ \\def\'ghi\"jkl\a\b\f\n\r\t\v x\040x\x7ey\u0142\U00010123\N{LATIN SMALL LETTER Z}"); + +# This will not be extracted. +_(CATEGORIES["default"]["name"]); EOF tmpfiles="$tmpfiles xg-py-1.err xg-py-1.tmp xg-py-1.pot"