summaryrefslogtreecommitdiffstats
path: root/po/bad.po.test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:29:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:29:01 +0000
commit35a96bde514a8897f6f0fcc41c5833bf63df2e2a (patch)
tree657d15a03cc46bd099fc2c6546a7a4ad43815d9f /po/bad.po.test
parentInitial commit. (diff)
downloadinkscape-upstream.tar.xz
inkscape-upstream.zip
Adding upstream version 1.0.2.upstream/1.0.2upstream
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."