]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Test interpretation of [ ].
authorBruno Haible <bruno@clisp.org>
Sat, 16 Aug 2008 10:15:35 +0000 (10:15 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:47 +0000 (12:15 +0200)
gettext-tools/tests/ChangeLog
gettext-tools/tests/xgettext-python-1

index 90a202bbd3072f472dea20a50b365a292880e51f..6e16723a2c72e5461a72f06d4f51f9a1589521ea 100644 (file)
@@ -1,3 +1,8 @@
+2008-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * xgettext-python-1: Test that strings inside [ ] are not extracted for
+       an outer gettext call.
+
 2008-08-15  Bruno Haible  <bruno@clisp.org>
 
        * format-python-2: Check that %.0s normally behaves like %s.
index 9ea20dc3b55fdbeff8dd6e4d9ed5e55e10679114..fbfbfc903a7142e546175c01e723fbd56e3d646c 100755 (executable)
@@ -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"