* gettext-tools/tests/format-javascript-1: Add test for multiple uses of
same argument.
* gettext-tools/tests/format-javascript-2: Use proper flag to activate
javascript format checker.
"abc%+1$d"
# Invalid: mixing of numbered and unnumbered arguments
"abc%d%2$x"
+# Valid: multiple uses of same argument
+"abc%2$xdef%1$sghi%2$x"
EOF
: ${XGETTEXT=xgettext}
msgid "abc%2sdef"
msgstr "xyz%3s"
# Invalid: too few arguments
-msgid "abc%sdef%u"
+msgid "abc%sdef%d"
msgstr "xyz%s"
# Invalid: too many arguments
-msgid "abc%udef"
-msgstr "xyz%uvw%c"
+msgid "abc%ddef"
+msgstr "xyz%dvw%c"
# Valid: type compatibility
msgid "abc%o"
msgstr "xyz%d"
read msgstr_line
n=`expr $n + 1`
cat <<EOF > f-js-2-$n.po
-#, python-format
+#, javascript-format
${msgid_line}
${msgstr_line}
EOF