summaryrefslogtreecommitdiffstats
path: root/t/fmt/sgml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
commit5df6c2aefebe3d2abcc939a88e294876d59f03ca (patch)
tree63fb332a0f21ddb91cb789c80cf64e134d373463 /t/fmt/sgml
parentInitial commit. (diff)
downloadpo4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.tar.xz
po4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.zip
Adding upstream version 0.72.upstream/0.72
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/fmt/sgml')
-rw-r--r--t/fmt/sgml/attributes-order.norm39
-rw-r--r--t/fmt/sgml/attributes-order.po46
-rw-r--r--t/fmt/sgml/attributes-order.pot46
-rw-r--r--t/fmt/sgml/attributes-order.sgml21
-rw-r--r--t/fmt/sgml/attributes-order.trans39
-rw-r--r--t/fmt/sgml/basic.norm50
-rw-r--r--t/fmt/sgml/basic.po114
-rw-r--r--t/fmt/sgml/basic.pot111
-rw-r--r--t/fmt/sgml/basic.sgml51
-rw-r--r--t/fmt/sgml/basic.trans50
-rw-r--r--t/fmt/sgml/entity.pot22
11 files changed, 589 insertions, 0 deletions
diff --git a/t/fmt/sgml/attributes-order.norm b/t/fmt/sgml/attributes-order.norm
new file mode 100644
index 0000000..1d97864
--- /dev/null
+++ b/t/fmt/sgml/attributes-order.norm
@@ -0,0 +1,39 @@
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"><refentry>
+ <refnamediv>
+ <refname>test</refname>
+ <refpurpose>test refentry</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>refsect1</title>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ </refsect1>
+ <refsect1 id="next">
+ <title>another refsect1</title>
+ <para>
+ tetrahedron
+ </para>
+ </refsect1>
+</refentry>
diff --git a/t/fmt/sgml/attributes-order.po b/t/fmt/sgml/attributes-order.po
new file mode 100644
index 0000000..3a19d0e
--- /dev/null
+++ b/t/fmt/sgml/attributes-order.po
@@ -0,0 +1,46 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2021-11-17 08:55+0100\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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: <refname></refname>
+#: attributes-order.sgml:5
+#, no-wrap
+msgid "test"
+msgstr "TEST"
+
+#. type: <refpurpose></refpurpose>
+#: attributes-order.sgml:6
+#, no-wrap
+msgid "test refentry"
+msgstr "TEST REFENTRY"
+
+#. type: <title></title>
+#: attributes-order.sgml:9
+#, no-wrap
+msgid "refsect1"
+msgstr "REFSECT1"
+
+#. type: <title></title>
+#: attributes-order.sgml:18
+#, no-wrap
+msgid "another refsect1"
+msgstr "ANOTHER REFSECT1"
+
+#. type: <para></para>
+#: attributes-order.sgml:19
+msgid "tetrahedron"
+msgstr "TETRAHEDRON"
diff --git a/t/fmt/sgml/attributes-order.pot b/t/fmt/sgml/attributes-order.pot
new file mode 100644
index 0000000..7e30ec9
--- /dev/null
+++ b/t/fmt/sgml/attributes-order.pot
@@ -0,0 +1,46 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2021-11-17 08:55+0100\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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: <refname></refname>
+#: attributes-order.sgml:5
+#, no-wrap
+msgid "test"
+msgstr ""
+
+#. type: <refpurpose></refpurpose>
+#: attributes-order.sgml:6
+#, no-wrap
+msgid "test refentry"
+msgstr ""
+
+#. type: <title></title>
+#: attributes-order.sgml:9
+#, no-wrap
+msgid "refsect1"
+msgstr ""
+
+#. type: <title></title>
+#: attributes-order.sgml:18
+#, no-wrap
+msgid "another refsect1"
+msgstr ""
+
+#. type: <para></para>
+#: attributes-order.sgml:19
+msgid "tetrahedron"
+msgstr ""
diff --git a/t/fmt/sgml/attributes-order.sgml b/t/fmt/sgml/attributes-order.sgml
new file mode 100644
index 0000000..0a675c6
--- /dev/null
+++ b/t/fmt/sgml/attributes-order.sgml
@@ -0,0 +1,21 @@
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
+
+<refentry>
+ <refnamediv>
+ <refname>test</refname>
+ <refpurpose>test refentry</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>refsect1</title>
+ <para><link linkend="next" OS="linux" vendor="billy" Lang="en-US"></link></para>
+ <para><link linkend="next" OS="linux" vendor="billy" Lang="en-US"></link></para>
+ <para><link linkend="next" OS="linux" vendor="billy" Lang="en-US"></link></para>
+ <para><link linkend="next" OS="linux" vendor="billy" Lang="en-US"></link></para>
+ <para><link linkend="next" OS="linux" vendor="billy" Lang="en-US"></link></para>
+ <para><link linkend="next" OS="linux" vendor="billy" Lang="en-US"></link></para>
+ </refsect1>
+ <refsect1 id="next">
+ <title>another refsect1</title>
+ <para>tetrahedron</para>
+ </refsect1>
+</refentry>
diff --git a/t/fmt/sgml/attributes-order.trans b/t/fmt/sgml/attributes-order.trans
new file mode 100644
index 0000000..99f93b3
--- /dev/null
+++ b/t/fmt/sgml/attributes-order.trans
@@ -0,0 +1,39 @@
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"><refentry>
+ <refnamediv>
+ <refname>TEST</refname>
+ <refpurpose>TEST REFENTRY</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>REFSECT1</title>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ <para>
+ <link lang="en-US" linkend="next" os="linux" vendor="billy"></link>
+
+ </para>
+ </refsect1>
+ <refsect1 id="next">
+ <title>ANOTHER REFSECT1</title>
+ <para>
+ TETRAHEDRON
+ </para>
+ </refsect1>
+</refentry>
diff --git a/t/fmt/sgml/basic.norm b/t/fmt/sgml/basic.norm
new file mode 100644
index 0000000..b42bfdf
--- /dev/null
+++ b/t/fmt/sgml/basic.norm
@@ -0,0 +1,50 @@
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+ <!ENTITY dhfirstname "<firstname>fname</firstname>">
+ <!ENTITY dhsurname "<surname>Surname</surname>">
+ <!ENTITY dhemail "<email>email@1.com</email>">
+ <!ENTITY dhuemail "<email>email@2.com</email>">
+ <!ENTITY dhusername "Jane Doe">
+ <!ENTITY dhuusername "John Doe">
+]>
+<refentry>
+ <refentryinfo>
+<address>
+ &dhemail; and &dhuemail;
+ </address>
+
+ <author>
+ &dhfirstname; &dhsurname;
+ </author>
+ <copyright>
+ <year>2004, 2007</year>
+ <holder>&dhusername; and &dhuusername;</holder>
+ </copyright>
+ </refentryinfo>
+ <refnamediv>
+ <refname>test</refname>
+ <refpurpose>test refentry</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>refsect1</title>
+ <para>
+ Help Options:
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term><option>-?</option> <option>--help</option></term>
+ <listitem>
+ <para>
+ Show help options.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ Test test1 test2 test3 test4.
+ </para>
+ <para>
+ Test test1 test2 test3 test4.
+ </para>
+ </refsect1>
+</refentry>
diff --git a/t/fmt/sgml/basic.po b/t/fmt/sgml/basic.po
new file mode 100644
index 0000000..fbbe1a0
--- /dev/null
+++ b/t/fmt/sgml/basic.po
@@ -0,0 +1,114 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2021-11-16 22:40+0100\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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: definition of entity &dhfirstname;
+#, no-wrap
+msgid "<firstname>fname</firstname>"
+msgstr "<firstname>FNAME</firstname>"
+
+#. type: definition of entity &dhsurname;
+#, no-wrap
+msgid "<surname>Surname</surname>"
+msgstr "<surname>SURNAME</surname>"
+
+#. type: definition of entity &dhemail;
+#, no-wrap
+msgid "<email>email@1.com</email>"
+msgstr "<email>EMAIL@1.COM</email>"
+
+#. type: definition of entity &dhuemail;
+#, no-wrap
+msgid "<email>email@2.com</email>"
+msgstr "<email>EMAIL@2.COM</email>"
+
+#. type: definition of entity &dhusername;
+#, no-wrap
+msgid "Jane Doe"
+msgstr "JANE DOE"
+
+#. type: definition of entity &dhuusername;
+#, no-wrap
+msgid "John Doe"
+msgstr "JOHN DOE"
+
+#. type: <address></address>
+#: basic.sgml:13
+#, no-wrap
+msgid ""
+"<address>\n"
+" &dhemail; and &dhuemail;\n"
+" "
+msgstr ""
+"<address>\n"
+" &dhemail; AND &dhuemail;\n"
+" "
+
+#. type: <author></author>
+#: basic.sgml:21
+msgid "&dhfirstname; &dhsurname;"
+msgstr "&dhfirstname; &dhsurname;"
+
+#. type: <copyright><holder>
+#: basic.sgml:25
+msgid "<year>2004, 2007</year>"
+msgstr "<year>2004, 2007</year>"
+
+#. type: <holder></holder>
+#: basic.sgml:25
+#, no-wrap
+msgid "&dhusername; and &dhuusername;"
+msgstr "&dhusername; and &dhuusername;"
+
+#. type: <refname></refname>
+#: basic.sgml:30
+#, no-wrap
+msgid "test"
+msgstr "TEST"
+
+#. type: <refpurpose></refpurpose>
+#: basic.sgml:31
+#, no-wrap
+msgid "test refentry"
+msgstr "TEST REFENTRY"
+
+#. type: <title></title>
+#: basic.sgml:34
+#, no-wrap
+msgid "refsect1"
+msgstr "REFSECT1"
+
+#. type: <para></para>
+#: basic.sgml:35
+msgid "Help Options:"
+msgstr "HELP OPTIONS:"
+
+#. type: <term></term>
+#: basic.sgml:38
+#, no-wrap
+msgid "<option>-?</option> <option>--help</option>"
+msgstr ""
+
+#. type: <para></para>
+#: basic.sgml:40
+msgid "Show help options."
+msgstr "SHOW HELP OPTIONS."
+
+#. type: <para></para>
+#: basic.sgml:46 basic.sgml:48
+msgid "Test test1 test2 test3 test4."
+msgstr "TEST TEST1 TEST2 TEST3 TEST4."
diff --git a/t/fmt/sgml/basic.pot b/t/fmt/sgml/basic.pot
new file mode 100644
index 0000000..ece2a0b
--- /dev/null
+++ b/t/fmt/sgml/basic.pot
@@ -0,0 +1,111 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2021-11-16 22:40+0100\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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: definition of entity &dhfirstname;
+#, no-wrap
+msgid "<firstname>fname</firstname>"
+msgstr ""
+
+#. type: definition of entity &dhsurname;
+#, no-wrap
+msgid "<surname>Surname</surname>"
+msgstr ""
+
+#. type: definition of entity &dhemail;
+#, no-wrap
+msgid "<email>email@1.com</email>"
+msgstr ""
+
+#. type: definition of entity &dhuemail;
+#, no-wrap
+msgid "<email>email@2.com</email>"
+msgstr ""
+
+#. type: definition of entity &dhusername;
+#, no-wrap
+msgid "Jane Doe"
+msgstr ""
+
+#. type: definition of entity &dhuusername;
+#, no-wrap
+msgid "John Doe"
+msgstr ""
+
+#. type: <address></address>
+#: basic.sgml:13
+#, no-wrap
+msgid ""
+"<address>\n"
+" &dhemail; and &dhuemail;\n"
+" "
+msgstr ""
+
+#. type: <author></author>
+#: basic.sgml:21
+msgid "&dhfirstname; &dhsurname;"
+msgstr ""
+
+#. type: <copyright><holder>
+#: basic.sgml:25
+msgid "<year>2004, 2007</year>"
+msgstr ""
+
+#. type: <holder></holder>
+#: basic.sgml:25
+#, no-wrap
+msgid "&dhusername; and &dhuusername;"
+msgstr ""
+
+#. type: <refname></refname>
+#: basic.sgml:30
+#, no-wrap
+msgid "test"
+msgstr ""
+
+#. type: <refpurpose></refpurpose>
+#: basic.sgml:31
+#, no-wrap
+msgid "test refentry"
+msgstr ""
+
+#. type: <title></title>
+#: basic.sgml:34
+#, no-wrap
+msgid "refsect1"
+msgstr ""
+
+#. type: <para></para>
+#: basic.sgml:35
+msgid "Help Options:"
+msgstr ""
+
+#. type: <term></term>
+#: basic.sgml:38
+#, no-wrap
+msgid "<option>-?</option> <option>--help</option>"
+msgstr ""
+
+#. type: <para></para>
+#: basic.sgml:40
+msgid "Show help options."
+msgstr ""
+
+#. type: <para></para>
+#: basic.sgml:46 basic.sgml:48
+msgid "Test test1 test2 test3 test4."
+msgstr ""
diff --git a/t/fmt/sgml/basic.sgml b/t/fmt/sgml/basic.sgml
new file mode 100644
index 0000000..abd7640
--- /dev/null
+++ b/t/fmt/sgml/basic.sgml
@@ -0,0 +1,51 @@
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+ <!ENTITY dhfirstname "<firstname>fname</firstname>">
+ <!ENTITY dhsurname "<surname>Surname</surname>">
+ <!ENTITY dhemail "<email>email@1.com</email>">
+ <!ENTITY dhuemail "<email>email@2.com</email>">
+ <!ENTITY dhusername "Jane Doe">
+ <!ENTITY dhuusername "John Doe">
+]>
+
+<refentry>
+ <refentryinfo>
+ <address>
+ &dhemail; and &dhuemail;
+ </address>
+ <author>
+ &dhfirstname;
+ &dhsurname;
+ <!--
+ and
+ &dhufirstname;
+ &dhusurname; -->
+ </author>
+ <copyright>
+ <year>2004, 2007</year>
+ <holder>&dhusername; and &dhuusername;</holder>
+ </copyright>
+
+ </refentryinfo>
+ <refnamediv>
+ <refname>test</refname>
+ <refpurpose>test refentry</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>refsect1</title>
+ <para>Help Options:</para>
+ <variablelist>
+ <varlistentry>
+ <term><option>-?</option> <option>--help</option></term>
+ <listitem>
+ <para>Show help options.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>Test test1 test2
+ test3
+test4.</para>
+ <para>
+ Test test1 test2 test3 test4.
+ </para>
+ </refsect1>
+</refentry>
diff --git a/t/fmt/sgml/basic.trans b/t/fmt/sgml/basic.trans
new file mode 100644
index 0000000..3090a00
--- /dev/null
+++ b/t/fmt/sgml/basic.trans
@@ -0,0 +1,50 @@
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+ <!ENTITY dhfirstname "<firstname>FNAME</firstname>">
+ <!ENTITY dhsurname "<surname>SURNAME</surname>">
+ <!ENTITY dhemail "<email>EMAIL@1.COM</email>">
+ <!ENTITY dhuemail "<email>EMAIL@2.COM</email>">
+ <!ENTITY dhusername "JANE DOE">
+ <!ENTITY dhuusername "JOHN DOE">
+]>
+<refentry>
+ <refentryinfo>
+<address>
+ &dhemail; AND &dhuemail;
+ </address>
+
+ <author>
+ &dhfirstname; &dhsurname;
+ </author>
+ <copyright>
+ <year>2004, 2007</year>
+ <holder>&dhusername; and &dhuusername;</holder>
+ </copyright>
+ </refentryinfo>
+ <refnamediv>
+ <refname>TEST</refname>
+ <refpurpose>TEST REFENTRY</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>REFSECT1</title>
+ <para>
+ HELP OPTIONS:
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term><option>-?</option> <option>--help</option></term>
+ <listitem>
+ <para>
+ SHOW HELP OPTIONS.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ TEST TEST1 TEST2 TEST3 TEST4.
+ </para>
+ <para>
+ TEST TEST1 TEST2 TEST3 TEST4.
+ </para>
+ </refsect1>
+</refentry>
diff --git a/t/fmt/sgml/entity.pot b/t/fmt/sgml/entity.pot
new file mode 100644
index 0000000..4d0336c
--- /dev/null
+++ b/t/fmt/sgml/entity.pot
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2004-04-27 16:26+0200\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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: definition of entity &myentity;
+#, no-wrap
+msgid "mydeclaration"
+msgstr ""