diff options
author | Bruno Haible <bruno@clisp.org> | 2007-09-10 00:27:34 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:15:04 +0200 |
commit | 5bb62c8d4d5d0ce2791e3bf9dd2a36a1d104e0e5 (patch) | |
tree | 048c04e276572cdfde8b945269957bcfdf2b202c /gettext-tools/tests/format-qt-1 | |
parent | ffa2b60ec6ab23fc6838943f4a2701dc070be808 (diff) | |
download | external_gettext-5bb62c8d4d5d0ce2791e3bf9dd2a36a1d104e0e5.zip external_gettext-5bb62c8d4d5d0ce2791e3bf9dd2a36a1d104e0e5.tar.gz external_gettext-5bb62c8d4d5d0ce2791e3bf9dd2a36a1d104e0e5.tar.bz2 |
Add support for Qt 4 format strings.
Diffstat (limited to 'gettext-tools/tests/format-qt-1')
-rwxr-xr-x | gettext-tools/tests/format-qt-1 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gettext-tools/tests/format-qt-1 b/gettext-tools/tests/format-qt-1 index 74df988..e2207bc 100755 --- a/gettext-tools/tests/format-qt-1 +++ b/gettext-tools/tests/format-qt-1 @@ -13,16 +13,28 @@ cat <<\EOF > f-qt-1.data "abc%1def" # Valid: one argument "abc%9def" +# Valid: one argument specified by two digits +"abc%09def" +# Valid: one argument specified by two digits +"abc%99def" # Valid: unterminated "abc%1def%" +# Valid: unterminated +"abc%1def%L" # Valid: non-digit "abc%1def%x" # Valid: zero "abc%1def%0" +# Valid: zero specified by two digits +"abc%1def%00" # Valid: permutation "abc%2def%1" -# Invalid: multiple uses of same argument +# Valid: multiple uses of same argument "abc%2def%1ghi%2" +# Valid: an argument with locale-dependency flag +"abc%L1def" +# Valid: an argument with locale-dependency flag and two digits +"abc%L12def" EOF : ${XGETTEXT=xgettext} |