summaryrefslogtreecommitdiff
path: root/tests/IT-uses-external-dtds.pot
diff options
context:
space:
mode:
authorGalen Charlton <gmc@esilibrary.com>2012-08-29 10:21:37 -0400
committerGalen Charlton <gmc@esilibrary.com>2012-08-29 10:26:00 -0400
commit34cc26b03424cd3ac72c041c8b576000ce2011d2 (patch)
treefbe0837643085d1b8b29e275a0feaca3ff679ba1 /tests/IT-uses-external-dtds.pot
parent7ee29a46d229bde60c86703730b24d5ac49a1e75 (diff)
downloaditstool-34cc26b03424cd3ac72c041c8b576000ce2011d2.tar.gz
add --load-dtd option
This option tells itstool to load external DTDs when parsing the document to be translated. This prevents errors when the document includes entity references defined in those DTDs. Note that externally-defined entity refs still cannot be used in translated strings in the PO files. Also note that this adds test cases that require either network access or updating the local XML catalog to including the DocBook DTDs. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Diffstat (limited to 'tests/IT-uses-external-dtds.pot')
-rw-r--r--tests/IT-uses-external-dtds.pot21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/IT-uses-external-dtds.pot b/tests/IT-uses-external-dtds.pot
new file mode 100644
index 0000000..bc8afaf
--- /dev/null
+++ b/tests/IT-uses-external-dtds.pot
@@ -0,0 +1,21 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2012-08-29 09:51-0400\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2
+msgctxt "_"
+msgid "translator-credits"
+msgstr ""
+
+#. (itstool) path: bookinfo/title
+#: tests/IT-uses-external-dtds.xml:5
+msgid "The history of Leonard “Bones” McCoy"
+msgstr ""
+