summaryrefslogtreecommitdiffstats
path: root/t/cfg/split
diff options
context:
space:
mode:
Diffstat (limited to 't/cfg/split')
-rw-r--r--t/cfg/split/_first.man.de12
-rw-r--r--t/cfg/split/_first.man.fr12
-rw-r--r--t/cfg/split/_output7
-rw-r--r--t/cfg/split/_second.man.de12
-rw-r--r--t/cfg/split/_second.man.fr12
-rw-r--r--t/cfg/split/diff_output11
-rw-r--r--t/cfg/split/first.man7
-rw-r--r--t/cfg/split/first.man.de.po44
-rw-r--r--t/cfg/split/first.man.fr.po44
-rw-r--r--t/cfg/split/first.man.pot44
-rw-r--r--t/cfg/split/po4a.conf6
-rw-r--r--t/cfg/split/second.man8
-rw-r--r--t/cfg/split/second.man.de.po44
-rw-r--r--t/cfg/split/second.man.fr.po44
-rw-r--r--t/cfg/split/second.man.pot44
15 files changed, 351 insertions, 0 deletions
diff --git a/t/cfg/split/_first.man.de b/t/cfg/split/_first.man.de
new file mode 100644
index 0000000..3cfb621
--- /dev/null
+++ b/t/cfg/split/_first.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" 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.
diff --git a/t/cfg/split/_first.man.fr b/t/cfg/split/_first.man.fr
new file mode 100644
index 0000000..ee338ba
--- /dev/null
+++ b/t/cfg/split/_first.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" 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.
diff --git a/t/cfg/split/_output b/t/cfg/split/_output
new file mode 100644
index 0000000..2525bdf
--- /dev/null
+++ b/t/cfg/split/_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 100% translated (5 strings).
+second.man.de is 100% translated (5 strings).
+first.man.fr is 100% translated (5 strings).
+second.man.fr is 100% translated (5 strings).
diff --git a/t/cfg/split/_second.man.de b/t/cfg/split/_second.man.de
new file mode 100644
index 0000000..6d7e4a8
--- /dev/null
+++ b/t/cfg/split/_second.man.de
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" 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.
diff --git a/t/cfg/split/_second.man.fr b/t/cfg/split/_second.man.fr
new file mode 100644
index 0000000..6489f66
--- /dev/null
+++ b/t/cfg/split/_second.man.fr
@@ -0,0 +1,12 @@
+.\"*******************************************************************
+.\"
+.\" 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.
diff --git a/t/cfg/split/diff_output b/t/cfg/split/diff_output
new file mode 100644
index 0000000..53b5855
--- /dev/null
+++ b/t/cfg/split/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/first.man b/t/cfg/split/first.man
new file mode 100644
index 0000000..7283dc8
--- /dev/null
+++ b/t/cfg/split/first.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/first.man.de.po b/t/cfg/split/first.man.de.po
new file mode 100644
index 0000000..ddf4157
--- /dev/null
+++ b/t/cfg/split/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/first.man.fr.po b/t/cfg/split/first.man.fr.po
new file mode 100644
index 0000000..14f078b
--- /dev/null
+++ b/t/cfg/split/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/first.man.pot b/t/cfg/split/first.man.pot
new file mode 100644
index 0000000..ab025af
--- /dev/null
+++ b/t/cfg/split/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/po4a.conf b/t/cfg/split/po4a.conf
new file mode 100644
index 0000000..c8f3393
--- /dev/null
+++ b/t/cfg/split/po4a.conf
@@ -0,0 +1,6 @@
+[po4a_langs] fr de
+[po4a_paths] $master.pot $lang:$master.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] first.man $lang:first.man.$lang
+[type:man] second.man $lang:second.man.$lang
diff --git a/t/cfg/split/second.man b/t/cfg/split/second.man
new file mode 100644
index 0000000..966b73a
--- /dev/null
+++ b/t/cfg/split/second.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/second.man.de.po b/t/cfg/split/second.man.de.po
new file mode 100644
index 0000000..ed8b0a0
--- /dev/null
+++ b/t/cfg/split/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/second.man.fr.po b/t/cfg/split/second.man.fr.po
new file mode 100644
index 0000000..772d720
--- /dev/null
+++ b/t/cfg/split/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/second.man.pot b/t/cfg/split/second.man.pot
new file mode 100644
index 0000000..1e6995b
--- /dev/null
+++ b/t/cfg/split/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 ""