summaryrefslogtreecommitdiffstats
path: root/po/bad.po.test
diff options
context:
space:
mode:
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."