blob: a3f5a42e78cef082ceee7221b67439996114051b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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."
|