diff options
Diffstat (limited to 't/cfg/split-potin')
-rw-r--r-- | t/cfg/split-potin/_first.man.de | 16 | ||||
-rw-r--r-- | t/cfg/split-potin/_first.man.fr | 16 | ||||
-rw-r--r-- | t/cfg/split-potin/_output | 7 | ||||
-rw-r--r-- | t/cfg/split-potin/_second.man.de | 16 | ||||
-rw-r--r-- | t/cfg/split-potin/_second.man.fr | 16 | ||||
-rw-r--r-- | t/cfg/split-potin/diff_output | 11 | ||||
-rw-r--r-- | t/cfg/split-potin/first-filtered.man | 7 | ||||
-rw-r--r-- | t/cfg/split-potin/first.man | 11 | ||||
-rw-r--r-- | t/cfg/split-potin/first.man.de.po | 44 | ||||
-rw-r--r-- | t/cfg/split-potin/first.man.fr.po | 44 | ||||
-rw-r--r-- | t/cfg/split-potin/first.man.pot | 44 | ||||
-rw-r--r-- | t/cfg/split-potin/po4a.conf | 6 | ||||
-rw-r--r-- | t/cfg/split-potin/second-filtered.man | 8 | ||||
-rw-r--r-- | t/cfg/split-potin/second.man | 12 | ||||
-rw-r--r-- | t/cfg/split-potin/second.man.de.po | 44 | ||||
-rw-r--r-- | t/cfg/split-potin/second.man.fr.po | 44 | ||||
-rw-r--r-- | t/cfg/split-potin/second.man.pot | 44 |
17 files changed, 390 insertions, 0 deletions
diff --git a/t/cfg/split-potin/_first.man.de b/t/cfg/split-potin/_first.man.de new file mode 100644 index 0000000..f2c73ac --- /dev/null +++ b/t/cfg/split-potin/_first.man.de @@ -0,0 +1,16 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH erste 1 +.SH NAME +erste \- eine erste Testdatei + +Ein zufälliger Text. + +Mehr zufälliger Text, der keinen Sinn ergibt. + +.SH "Not Translated" + +This section should not end up in the PO files to not get translated. diff --git a/t/cfg/split-potin/_first.man.fr b/t/cfg/split-potin/_first.man.fr new file mode 100644 index 0000000..250a45d --- /dev/null +++ b/t/cfg/split-potin/_first.man.fr @@ -0,0 +1,16 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH premier 1 +.SH NOM +premier \- un premier fichier de test + +Un texte au hasard. + +Plus de texte dénué de sens au hasard. + +.SH "Not Translated" + +This section should not end up in the PO files to not get translated. diff --git a/t/cfg/split-potin/_output b/t/cfg/split-potin/_output new file mode 100644 index 0000000..9fe5e33 --- /dev/null +++ b/t/cfg/split-potin/_output @@ -0,0 +1,7 @@ +Split mode, creating a temporary POT: (9 entries) +Updating the translation in language de: 9 translated messages. +Updating the translation in language fr: 9 translated messages. +first.man.de is 71.42% translated (5 of 7 strings). +second.man.de is 71.42% translated (5 of 7 strings). +first.man.fr is 71.42% translated (5 of 7 strings). +second.man.fr is 71.42% translated (5 of 7 strings). diff --git a/t/cfg/split-potin/_second.man.de b/t/cfg/split-potin/_second.man.de new file mode 100644 index 0000000..198dc49 --- /dev/null +++ b/t/cfg/split-potin/_second.man.de @@ -0,0 +1,16 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH zweite 1 +.SH NAME +zweite \- eine zweite Testdatei + +Dies ist ein Testabsatz. Ein kurzer. + +Ein weiterer Eintrag. + +.SH "Not Translated" + +This section should not end up in the PO files to not get translated. diff --git a/t/cfg/split-potin/_second.man.fr b/t/cfg/split-potin/_second.man.fr new file mode 100644 index 0000000..cc22d85 --- /dev/null +++ b/t/cfg/split-potin/_second.man.fr @@ -0,0 +1,16 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH second 1 +.SH NOM +second \- un second fichier de test + +Ceci est un paragraphe de test. Un court. + +Une autre entrée. + +.SH "Not Translated" + +This section should not end up in the PO files to not get translated. diff --git a/t/cfg/split-potin/diff_output b/t/cfg/split-potin/diff_output new file mode 100644 index 0000000..53b5855 --- /dev/null +++ b/t/cfg/split-potin/diff_output @@ -0,0 +1,11 @@ +--- cfg/split-nopo/_output-noupdate 2020-04-17 17:20:05.150242241 +0200 ++++ - 2020-04-17 17:24:16.593316616 +0200 +@@ -0,0 +1,8 @@ ++Split mode, creating a temporary POT. ++ (9 entries) ++The translation of master file 'first.man' in language 'de' is missing (file: first.man.de.po) -- skipping. ++The translation of master file 'second.man' in language 'de' is missing (file: second.man.de.po) -- skipping. ++The translation of master file 'first.man' in language 'fr' is missing (file: first.man.fr.po) -- skipping. ++The translation of master file 'second.man' in language 'fr' is missing (file: second.man.fr.po) -- skipping. ++PO file for language de is missing -- skipping. ++PO file for language fr is missing -- skipping. diff --git a/t/cfg/split-potin/first-filtered.man b/t/cfg/split-potin/first-filtered.man new file mode 100644 index 0000000..7283dc8 --- /dev/null +++ b/t/cfg/split-potin/first-filtered.man @@ -0,0 +1,7 @@ +.TH first 1 +.SH NAME +first \- a first test file + +Some random text. + +More random text that does not make sense. diff --git a/t/cfg/split-potin/first.man b/t/cfg/split-potin/first.man new file mode 100644 index 0000000..49a7da6 --- /dev/null +++ b/t/cfg/split-potin/first.man @@ -0,0 +1,11 @@ +.TH first 1 +.SH NAME +first \- a first test file + +Some random text. + +More random text that does not make sense. + +.SH "Not Translated" + +This section should not end up in the PO files to not get translated. diff --git a/t/cfg/split-potin/first.man.de.po b/t/cfg/split-potin/first.man.de.po new file mode 100644 index 0000000..ddf4157 --- /dev/null +++ b/t/cfg/split-potin/first.man.de.po @@ -0,0 +1,44 @@ +# German translations for po package +# Copyright (C) 2020 Free Software Foundation, Inc. +# This file is distributed under the same license as the po package. +# Automatically generated, 2020. +# +msgid "" +msgstr "" +"Project-Id-Version: po 4a\n" +"POT-Creation-Date: 2020-04-17 16:59+0200\n" +"PO-Revision-Date: 2020-04-17 16:59+0200\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: TH +#: first.man:1 +#, no-wrap +msgid "first" +msgstr "erste" + +#. type: SH +#: first.man:2 second.man:2 +#, no-wrap +msgid "NAME" +msgstr "NAME" + +#. type: Plain text +#: first.man:4 +msgid "first - a first test file" +msgstr "erste - eine erste Testdatei" + +#. type: Plain text +#: first.man:6 +msgid "Some random text." +msgstr "Ein zufälliger Text." + +#. type: Plain text +#: first.man:7 +msgid "More random text that does not make sense." +msgstr "Mehr zufälliger Text, der keinen Sinn ergibt." diff --git a/t/cfg/split-potin/first.man.fr.po b/t/cfg/split-potin/first.man.fr.po new file mode 100644 index 0000000..14f078b --- /dev/null +++ b/t/cfg/split-potin/first.man.fr.po @@ -0,0 +1,44 @@ +# French translations for po package +# Copyright (C) 2020 Free Software Foundation, Inc. +# This file is distributed under the same license as the po package. +# Automatically generated, 2020. +# +msgid "" +msgstr "" +"Project-Id-Version: po 4a\n" +"POT-Creation-Date: 2020-04-17 16:59+0200\n" +"PO-Revision-Date: 2020-04-17 16:59+0200\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. type: TH +#: first.man:1 +#, no-wrap +msgid "first" +msgstr "premier" + +#. type: SH +#: first.man:2 second.man:2 +#, no-wrap +msgid "NAME" +msgstr "NOM" + +#. type: Plain text +#: first.man:4 +msgid "first - a first test file" +msgstr "premier - un premier fichier de test" + +#. type: Plain text +#: first.man:6 +msgid "Some random text." +msgstr "Un texte au hasard." + +#. type: Plain text +#: first.man:7 +msgid "More random text that does not make sense." +msgstr "Plus de texte dénué de sens au hasard." diff --git a/t/cfg/split-potin/first.man.pot b/t/cfg/split-potin/first.man.pot new file mode 100644 index 0000000..ab025af --- /dev/null +++ b/t/cfg/split-potin/first.man.pot @@ -0,0 +1,44 @@ +# 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: 2020-04-17 16:59+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: TH +#: first.man:1 +#, no-wrap +msgid "first" +msgstr "" + +#. type: SH +#: first.man:2 second.man:2 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: Plain text +#: first.man:4 +msgid "first - a first test file" +msgstr "" + +#. type: Plain text +#: first.man:6 +msgid "Some random text." +msgstr "" + +#. type: Plain text +#: first.man:7 +msgid "More random text that does not make sense." +msgstr "" diff --git a/t/cfg/split-potin/po4a.conf b/t/cfg/split-potin/po4a.conf new file mode 100644 index 0000000..ed42214 --- /dev/null +++ b/t/cfg/split-potin/po4a.conf @@ -0,0 +1,6 @@ +[po4a_langs] fr de +[po4a_paths] $master.pot $lang:$master.$lang.po +[options] --msgmerge-opt --silent --keep 0 + +[type:man] first.man $lang:first.man.$lang pot_in:first-filtered.man +[type:man] second.man $lang:second.man.$lang pot_in:second-filtered.man diff --git a/t/cfg/split-potin/second-filtered.man b/t/cfg/split-potin/second-filtered.man new file mode 100644 index 0000000..966b73a --- /dev/null +++ b/t/cfg/split-potin/second-filtered.man @@ -0,0 +1,8 @@ +.TH second 1 +.SH NAME +second \- a second test file + +This is a test paragraph. +A short one. + +Another entry. diff --git a/t/cfg/split-potin/second.man b/t/cfg/split-potin/second.man new file mode 100644 index 0000000..5c57cdd --- /dev/null +++ b/t/cfg/split-potin/second.man @@ -0,0 +1,12 @@ +.TH second 1 +.SH NAME +second \- a second test file + +This is a test paragraph. +A short one. + +Another entry. + +.SH "Not Translated" + +This section should not end up in the PO files to not get translated. diff --git a/t/cfg/split-potin/second.man.de.po b/t/cfg/split-potin/second.man.de.po new file mode 100644 index 0000000..ed8b0a0 --- /dev/null +++ b/t/cfg/split-potin/second.man.de.po @@ -0,0 +1,44 @@ +# German translations for po package +# Copyright (C) 2020 Free Software Foundation, Inc. +# This file is distributed under the same license as the po package. +# Automatically generated, 2020. +# +msgid "" +msgstr "" +"Project-Id-Version: po 4a\n" +"POT-Creation-Date: 2020-04-17 16:59+0200\n" +"PO-Revision-Date: 2020-04-17 16:59+0200\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: SH +#: first.man:2 second.man:2 +#, no-wrap +msgid "NAME" +msgstr "NAME" + +#. type: TH +#: second.man:1 +#, no-wrap +msgid "second" +msgstr "zweite" + +#. type: Plain text +#: second.man:4 +msgid "second - a second test file" +msgstr "zweite - eine zweite Testdatei" + +#. type: Plain text +#: second.man:7 +msgid "This is a test paragraph. A short one." +msgstr "Dies ist ein Testabsatz. Ein kurzer." + +#. type: Plain text +#: second.man:8 +msgid "Another entry." +msgstr "Ein weiterer Eintrag." diff --git a/t/cfg/split-potin/second.man.fr.po b/t/cfg/split-potin/second.man.fr.po new file mode 100644 index 0000000..772d720 --- /dev/null +++ b/t/cfg/split-potin/second.man.fr.po @@ -0,0 +1,44 @@ +# French translations for po package +# Copyright (C) 2020 Free Software Foundation, Inc. +# This file is distributed under the same license as the po package. +# Automatically generated, 2020. +# +msgid "" +msgstr "" +"Project-Id-Version: po 4a\n" +"POT-Creation-Date: 2020-04-17 16:59+0200\n" +"PO-Revision-Date: 2020-04-17 16:59+0200\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. type: SH +#: first.man:2 second.man:2 +#, no-wrap +msgid "NAME" +msgstr "NOM" + +#. type: TH +#: second.man:1 +#, no-wrap +msgid "second" +msgstr "second" + +#. type: Plain text +#: second.man:4 +msgid "second - a second test file" +msgstr "second - un second fichier de test" + +#. type: Plain text +#: second.man:7 +msgid "This is a test paragraph. A short one." +msgstr "Ceci est un paragraphe de test. Un court." + +#. type: Plain text +#: second.man:8 +msgid "Another entry." +msgstr "Une autre entrée." diff --git a/t/cfg/split-potin/second.man.pot b/t/cfg/split-potin/second.man.pot new file mode 100644 index 0000000..1e6995b --- /dev/null +++ b/t/cfg/split-potin/second.man.pot @@ -0,0 +1,44 @@ +# 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: 2020-04-17 16:59+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: SH +#: first.man:2 second.man:2 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: TH +#: second.man:1 +#, no-wrap +msgid "second" +msgstr "" + +#. type: Plain text +#: second.man:4 +msgid "second - a second test file" +msgstr "" + +#. type: Plain text +#: second.man:7 +msgid "This is a test paragraph. A short one." +msgstr "" + +#. type: Plain text +#: second.man:8 +msgid "Another entry." +msgstr "" |