From 35a96bde514a8897f6f0fcc41c5833bf63df2e2a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:29:01 +0200 Subject: Adding upstream version 1.0.2. Signed-off-by: Daniel Baumann --- po/bad.po.test | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 po/bad.po.test (limited to 'po/bad.po.test') diff --git a/po/bad.po.test b/po/bad.po.test new file mode 100644 index 0000000..a3f5a42 --- /dev/null +++ b/po/bad.po.test @@ -0,0 +1,85 @@ +# A test case for check-markup. Contains 13 bad entries, 4 good entries. +msgid "" +msgstr "" + +msgid "bad1: odd number of quotes" +msgstr """ + +msgid "bad2: unclosed" +msgstr " + +msgid "bad3: no msgstr line" + +msgid "bad4: no msgstr value" +msgstr + +msgid "bad5: escaped backslash doesn't escape quote" +msgstr "\\"" + +msgid "VALID: quote is escaped" +msgstr "\"" + +msgid "bad6" +msgstr "x" + +msgid "bad7" +msgstr ">" + +msgid "bad8" +msgstr "a>" + +msgid "bad9" +msgstr "a" + +msgid "bad10" +msgstr "<" + +msgid "bad11" +msgstr "a<" + +msgid "bad12" +msgstr "a" + +msgid "bad13" +msgstr "a<>" + +msgid "bad14" +msgstr "a" + +msgid "bad15" +msgstr "a" + +msgid "bad16" +msgstr "aa" + +msgid "VALID" +msgstr "aa" + +msgid "VALID" +# some +# comments +msgstr "" + +msgid "VALID" +msgstr "" +# some +# comments + +#, fuzzy +#~ msgid "VALID" +#~ msgstr "dead string" + +msgid "bad17" +msgstr "hi" + +msgid "VALID" +msgstr "hi" + +msgid "bad18" +msgstr "hi" + +msgid "bad19: trailing whitespace" +msgstr "tabs etc. after string." -- cgit v1.2.3