diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
commit | 35a96bde514a8897f6f0fcc41c5833bf63df2e2a (patch) | |
tree | 657d15a03cc46bd099fc2c6546a7a4ad43815d9f /po/bad.po.test | |
parent | Initial commit. (diff) | |
download | inkscape-35a96bde514a8897f6f0fcc41c5833bf63df2e2a.tar.xz inkscape-35a96bde514a8897f6f0fcc41c5833bf63df2e2a.zip |
Adding upstream version 1.0.2.upstream/1.0.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | po/bad.po.test | 85 | ||||
-rw-r--r-- | po/bad.po.test.exp | 74 |
2 files changed, 159 insertions, 0 deletions
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 "<b>x" + +msgid "bad7" +msgstr "<b>>" + +msgid "bad8" +msgstr "<b>a>" + +msgid "bad9" +msgstr "<i>a" + +msgid "bad10" +msgstr "<u><" + +msgid "bad11" +msgstr "<sub>a<" + +msgid "bad12" +msgstr "<b>a<b></b>" + +msgid "bad13" +msgstr "<b>a<>" + +msgid "bad14" +msgstr "<b>a<b>" + +msgid "bad15" +msgstr "<b>a</B>" + +msgid "bad16" +msgstr "<b>a</b" + +msgid "VALID" +msgstr "<b>a</b>" + +msgid "VALID" +msgstr "<b>a</b>a" + +msgid "VALID" +# some +# comments +msgstr "" + +msgid "VALID" +msgstr "" +# some +# comments + +#, fuzzy +#~ msgid "VALID" +#~ msgstr "dead string" + +msgid "bad17" +msgstr "<b face=\"bold\">hi</b>" + +msgid "VALID" +msgstr "<span weight=\"bold\">hi</span>" + +msgid "bad18" +msgstr "<span fdsa=\"bold\">hi</span>" + +msgid "bad19: trailing whitespace" +msgstr "tabs etc. after string." diff --git a/po/bad.po.test.exp b/po/bad.po.test.exp new file mode 100644 index 0000000..3959bde --- /dev/null +++ b/po/bad.po.test.exp @@ -0,0 +1,74 @@ +bad.po.test: Mismatched quotes: +msgid "bad1: odd number of quotes" +msgstr """ + +bad.po.test: Mismatched quotes: +msgid "bad2: unclosed" +msgstr " + +bad.po.test: Not in msg format: +msgid "bad3: no msgstr line" + +bad.po.test: Mismatched quotes: +msgid "bad4: no msgstr value" +msgstr + +bad.po.test: Mismatched quotes: +msgid "bad5: escaped backslash doesn't escape quote" +msgstr "\\"" + +bad.po.test: unclosed <b>: +msgid "bad6" +msgstr "<b>x" + +bad.po.test: unclosed <b>: +msgid "bad7" +msgstr "<b>>" + +bad.po.test: unclosed <b>: +msgid "bad8" +msgstr "<b>a>" + +bad.po.test: unclosed <i>: +msgid "bad9" +msgstr "<i>a" + +bad.po.test: unclosed <u>: +msgid "bad10" +msgstr "<u><" + +bad.po.test: unclosed <sub>: +msgid "bad11" +msgstr "<sub>a<" + +bad.po.test: unclosed <b>: +msgid "bad12" +msgstr "<b>a<b></b>" + +bad.po.test: unclosed <b>: +msgid "bad13" +msgstr "<b>a<>" + +bad.po.test: unclosed <b>: +msgid "bad14" +msgstr "<b>a<b>" + +bad.po.test: unclosed <b>: +msgid "bad15" +msgstr "<b>a</B>" + +bad.po.test: unclosed <b>: +msgid "bad16" +msgstr "<b>a</b" + +bad.po.test: <b> can't have attributes in Pango: +msgid "bad17" +msgstr "<b face=\"bold\">hi</b>" + +bad.po.test: Unexpected <span> attributes `fdsa="bold"': +msgid "bad18" +msgstr "<span fdsa=\"bold\">hi</span>" + +bad.po.test: Trailing whitespace: +msgid "bad19: trailing whitespace" +msgstr "tabs etc. after string." |