[Desktop Entry]
Type=Application
Name =Foo
+
Comment[foo]=Already translated comment
Comment= \sThis is a \nmultiline comment; for testing
+# This is a comment and must be preserved
Keywords=Keyword1;Keyword2;Key\;word3;
EOF
Name[de]=German\nfoo
Name[fr]=French\nfoo
Name=Foo
+
Comment[foo]=Already translated comment
Comment[de]=German \ncomment
Comment[fr]=French \ncomment
Comment=\sThis is a \nmultiline comment; for testing
+# This is a comment and must be preserved
Keywords[de]=one;two;thr\;ee;
Keywords[fr]=one;two;thr\;ee;
Keywords=Keyword1;Keyword2;Key\;word3;
cat <<\EOF > xg-vala-1.vala
int main (string[] args) {
- var s1 = "Simple string, no gettext needed";
+ var s1 = "Simple string, " + " no gettext needed";
+ var c1 = '\'';
+ // This is a C++ style comment
var s2 = _("Extract this first string");
var s3 = "Prefix _(" + _("Extract this second string") + ") Postfix";
fourth string""");
var s5 = _("Extract this \u2464th string");
+
+ var s6 = /_("This is a regex literal and must not be extracted!")/i;
return 0;
}
EOF
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#. This is a C++ style comment
msgid "Extract this first string"
msgstr ""