summaryrefslogtreecommitdiffstats
path: root/po/bad.po.test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:50:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:50:49 +0000
commitc853ffb5b2f75f5a889ed2e3ef89b818a736e87a (patch)
tree7d13a0883bb7936b84d6ecdd7bc332b41ed04bee /po/bad.po.test
parentInitial commit. (diff)
downloadinkscape-c853ffb5b2f75f5a889ed2e3ef89b818a736e87a.tar.xz
inkscape-c853ffb5b2f75f5a889ed2e3ef89b818a736e87a.zip
Adding upstream version 1.3+ds.upstream/1.3+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'po/bad.po.test')
-rw-r--r--po/bad.po.test85
1 files changed, 85 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."