#! /bin/sh . "${srcdir=.}/init.sh"; path_prepend_ . ../src # Test checking of Ruby format strings. cat <<\EOF > f-r-2.data # Valid: %% doesn't count msgid "abc%%def" msgstr "xyz" # Invalid: invalid msgstr msgid "abc%%def" msgstr "xyz%" # Valid: same arguments, with different widths (argument list) msgid "abc%2sdef" msgstr "xyz%3s" # Valid: same arguments, with different widths (argument list) msgid "abc%2sdef" msgstr "xyz%1$3s" # Valid: same arguments, with different widths (named) msgid "abc%2sdef" msgstr "xyz%3s" # Valid: same arguments, with different widths (named) msgid "abc%5s%