diff options
author | Shaun McCance <shaunm@gnome.org> | 2012-09-11 16:47:19 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2012-09-11 16:47:19 -0400 |
commit | 2d37295f5ccdafc3372ea0e576400524fc688e45 (patch) | |
tree | 07b235da626e1378859082916d115d727223b223 | |
parent | 0e6a42ffd5fe7cdac8197f22b89e57fe55926687 (diff) | |
download | itstool-2d37295f5ccdafc3372ea0e576400524fc688e45.tar.gz |
Updating test files for --no-builtins
-rw-r--r-- | tests/IT-locNote-inline.pot | 5 | ||||
-rw-r--r-- | tests/IT-locNote-multiples.pot | 5 | ||||
-rw-r--r-- | tests/IT-placeholder-1.ll.xml | 2 | ||||
-rw-r--r-- | tests/LocNote1.pot | 20 | ||||
-rw-r--r-- | tests/LocNote2.pot | 5 | ||||
-rw-r--r-- | tests/Translate3.ll.wrong.xml | 2 | ||||
-rw-r--r-- | tests/Translate3.ll.xml | 2 | ||||
-rw-r--r-- | tests/Translate4.ll.xml | 2 |
8 files changed, 39 insertions, 4 deletions
diff --git a/tests/IT-locNote-inline.pot b/tests/IT-locNote-inline.pot index be1ab7c..cb29c26 100644 --- a/tests/IT-locNote-inline.pot +++ b/tests/IT-locNote-inline.pot @@ -9,6 +9,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#. (itstool) path: locNoteRule/locNote +#: tests/IT-locNote-inline.xml:6 +msgid "This is the inline comment." +msgstr "" + #. (itstool) path: body/block #. This is the block comment #. diff --git a/tests/IT-locNote-multiples.pot b/tests/IT-locNote-multiples.pot index d67538d..fa2b62b 100644 --- a/tests/IT-locNote-multiples.pot +++ b/tests/IT-locNote-multiples.pot @@ -9,6 +9,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#. (itstool) path: locNoteRule/locNote +#: tests/IT-locNote-multiples.xml:6 +msgid "This is the generic block comment" +msgstr "" + #. (itstool) path: block/block #. Specific comment #1 #. diff --git a/tests/IT-placeholder-1.ll.xml b/tests/IT-placeholder-1.ll.xml index 986cd19..efb529e 100644 --- a/tests/IT-placeholder-1.ll.xml +++ b/tests/IT-placeholder-1.ll.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<book xmlns:its="http://www.w3.org/2005/11/its" its:version="1.0" lang="test"> +<book xmlns:its="http://www.w3.org/2005/11/its" its:version="1.0"> <body> <p>Voici le premier paragraphe. Il contient une note liée à son dernier mot<note><p>Voici une note.</p></note>.</p> </body> diff --git a/tests/LocNote1.pot b/tests/LocNote1.pot index c2ae789..e9ba94c 100644 --- a/tests/LocNote1.pot +++ b/tests/LocNote1.pot @@ -9,6 +9,26 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#. (itstool) path: locNoteRule/locNote +#: tests/LocNote1.xml:5 +msgid "This text will be displayed over the image." +msgstr "" + +#. (itstool) path: locNoteRule/locNote +#: tests/LocNote1.xml:8 +msgid "Do not translate the word \"Chobe\"" +msgstr "" + +#. (itstool) path: locNote/code +#: tests/LocNote1.xml:11 +msgid "{0}" +msgstr "" + +#. (itstool) path: locNoteRule/locNote +#: tests/LocNote1.xml:11 +msgid "The variable <_:code-1/> has three possible values: 'printer', 'stacker' and 'stapler options'." +msgstr "" + #. (itstool) path: body/msg #: tests/LocNote1.xml:17 msgid "This is a hippoptamus: <_:img-1/>." diff --git a/tests/LocNote2.pot b/tests/LocNote2.pot index 8ab05e9..95cf676 100644 --- a/tests/LocNote2.pot +++ b/tests/LocNote2.pot @@ -9,6 +9,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#. (itstool) path: locNoteRule/locNote +#: tests/LocNote2.xml:6 +msgid "Do not translate the word \"Chobe\"" +msgstr "" + #. (itstool) path: body/msg #: tests/LocNote2.xml:11 msgid "This is a hippoptamus: <_:img-1/>." diff --git a/tests/Translate3.ll.wrong.xml b/tests/Translate3.ll.wrong.xml index 3c8c7b2..d111f2b 100644 --- a/tests/Translate3.ll.wrong.xml +++ b/tests/Translate3.ll.wrong.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:its="http://www.w3.org/2005/11/its" xsi:noNamespaceSchemaLocation="EX-ways-to-use-its-5.xsd" its:version="1.0" lang="test"> +<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:its="http://www.w3.org/2005/11/its" xsi:noNamespaceSchemaLocation="EX-ways-to-use-its-5.xsd" its:version="1.0"> <head> <title>La vie d'un simple homme</title> </head> diff --git a/tests/Translate3.ll.xml b/tests/Translate3.ll.xml index a8376c3..8dc1e7f 100644 --- a/tests/Translate3.ll.xml +++ b/tests/Translate3.ll.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:its="http://www.w3.org/2005/11/its" xsi:noNamespaceSchemaLocation="EX-ways-to-use-its-5.xsd" its:version="1.0" lang="test"> +<book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:its="http://www.w3.org/2005/11/its" xsi:noNamespaceSchemaLocation="EX-ways-to-use-its-5.xsd" its:version="1.0"> <head> <title>La vie d'un simple homme</title> </head> diff --git a/tests/Translate4.ll.xml b/tests/Translate4.ll.xml index 7394181..873d1b5 100644 --- a/tests/Translate4.ll.xml +++ b/tests/Translate4.ll.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<book xmlns:its="http://www.w3.org/2005/11/its" its:version="1.0" lang="test"> +<book xmlns:its="http://www.w3.org/2005/11/its" its:version="1.0"> <head> <title>La vie d'un simple homme</title> </head> |