xgettext-awk-1 xgettext-awk-2 \
xgettext-c-2 xgettext-c-3 xgettext-c-4 xgettext-c-5 \
xgettext-c-6 xgettext-c-7 xgettext-c-9 \
- xgettext-c-14 \
xgettext-c-16 xgettext-c-18 xgettext-c-19 \
xgettext-c-21 xgettext-c-23 xgettext-c-24 xgettext-c-25 \
xgettext-c-format-1 xgettext-c-format-2 xgettext-c-format-3 \
- xgettext-c-format-4 \
+ xgettext-c-format-4 xgettext-c-format-5 \
xgettext-c-ctxt-1 xgettext-c-ctxt-2 xgettext-c-ctxt-3 \
xgettext-c-c++-1 xgettext-c-c++-2 \
xgettext-csharp-1 xgettext-csharp-2 xgettext-csharp-3 \
# Test C++ support: test boost-format.
-cat <<\EOF > xg-c-14.cc
+cat <<\EOF > xg-c-format-5.cc
// These are recognized as boost-format because of the keyword 'format'.
format(gettext("%s on, %s off"));
format(gettext("%1$d on, %2$d off"));
EOF
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-c-14.tmp --boost xg-c-14.cc || Exit 1
-LC_ALL=C tr -d '\r' < xg-c-14.tmp.po > xg-c-14.po || Exit 1
+${XGETTEXT} --omit-header --no-location -d xg-c-format-5.tmp --boost xg-c-format-5.cc || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-format-5.tmp.po > xg-c-format-5.po || Exit 1
# The first 4 are not marked as c-format, because they are known as
# boost-format. The last 4 are governed by the heuristic. The first two
# among them are valid c-format strings. The last one is a valid but unlikely
# c-format string, therefore the heuristic doesn't mark it.
-cat <<\EOF > xg-c-14.ok
+cat <<\EOF > xg-c-format-5.ok
#, boost-format
msgid "%s on, %s off"
msgstr ""
EOF
: ${DIFF=diff}
-${DIFF} xg-c-14.ok xg-c-14.po
+${DIFF} xg-c-format-5.ok xg-c-format-5.po
result=$?
exit $result