summaryrefslogtreecommitdiffstats
path: root/t/cfg/multiple-nopo
diff options
context:
space:
mode:
Diffstat (limited to 't/cfg/multiple-nopo')
-rw-r--r--t/cfg/multiple-nopo/_multiple.de.po39
-rw-r--r--t/cfg/multiple-nopo/_multiple.es.po39
-rw-r--r--t/cfg/multiple-nopo/_multiple.fr.po39
-rw-r--r--t/cfg/multiple-nopo/_multiple.it.po39
-rw-r--r--t/cfg/multiple-nopo/_output9
-rw-r--r--t/cfg/multiple-nopo/_output-noupdate6
-rw-r--r--t/cfg/multiple-nopo/multiple.man.15
-rw-r--r--t/cfg/multiple-nopo/multiple.pot39
-rw-r--r--t/cfg/multiple-nopo/po4a.conf5
9 files changed, 220 insertions, 0 deletions
diff --git a/t/cfg/multiple-nopo/_multiple.de.po b/t/cfg/multiple-nopo/_multiple.de.po
new file mode 100644
index 0000000..073f261
--- /dev/null
+++ b/t/cfg/multiple-nopo/_multiple.de.po
@@ -0,0 +1,39 @@
+# 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-13 01:07+0200\n"
+"PO-Revision-Date: 2020-04-13 01:07+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
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopo/_multiple.es.po b/t/cfg/multiple-nopo/_multiple.es.po
new file mode 100644
index 0000000..d33f627
--- /dev/null
+++ b/t/cfg/multiple-nopo/_multiple.es.po
@@ -0,0 +1,39 @@
+# Spanish 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-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: es\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
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopo/_multiple.fr.po b/t/cfg/multiple-nopo/_multiple.fr.po
new file mode 100644
index 0000000..1772779
--- /dev/null
+++ b/t/cfg/multiple-nopo/_multiple.fr.po
@@ -0,0 +1,39 @@
+# 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: 2005-04-24 2:54+0200\n"
+"PO-Revision-Date: 2005-04-24 2:54+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
+#: t-05-config/test00_man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopo/_multiple.it.po b/t/cfg/multiple-nopo/_multiple.it.po
new file mode 100644
index 0000000..7182364
--- /dev/null
+++ b/t/cfg/multiple-nopo/_multiple.it.po
@@ -0,0 +1,39 @@
+# Italian 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-13 01:08+0200\n"
+"PO-Revision-Date: 2020-04-13 01:08+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"Language: it\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
+#: cfg/multiple-nopotpo/multiple.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/multiple-nopotpo/multiple.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/multiple-nopotpo/multiple.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopo/_output b/t/cfg/multiple-nopo/_output
new file mode 100644
index 0000000..f3b2472
--- /dev/null
+++ b/t/cfg/multiple-nopo/_output
@@ -0,0 +1,9 @@
+Updating multiple.pot: (4 entries)
+Creating an empty PO file in multiple.de.po.
+Creating an empty PO file in multiple.es.po.
+Creating an empty PO file in multiple.fr.po.
+Creating an empty PO file in multiple.it.po.
+Discard multiple.man.de.1 (0 of 4 strings; only 0% translated; need 80%).
+Discard multiple.man.es.1 (0 of 4 strings; only 0% translated; need 80%).
+Discard multiple.man.fr.1 (0 of 4 strings; only 0% translated; need 80%).
+Discard multiple.man.it.1 (0 of 4 strings; only 0% translated; need 80%).
diff --git a/t/cfg/multiple-nopo/_output-noupdate b/t/cfg/multiple-nopo/_output-noupdate
new file mode 100644
index 0000000..d3cc84a
--- /dev/null
+++ b/t/cfg/multiple-nopo/_output-noupdate
@@ -0,0 +1,6 @@
+NOT updating multiple.pot as requested (--no-update).
+NOT updating the POT file multiple.pot as requested (--no-update).
+PO file multiple.de.po for language de is missing -- skipping.
+PO file multiple.es.po for language es is missing -- skipping.
+PO file multiple.fr.po for language fr is missing -- skipping.
+PO file multiple.it.po for language it is missing -- skipping.
diff --git a/t/cfg/multiple-nopo/multiple.man.1 b/t/cfg/multiple-nopo/multiple.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/multiple-nopo/multiple.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/multiple-nopo/multiple.pot b/t/cfg/multiple-nopo/multiple.pot
new file mode 100644
index 0000000..430a879
--- /dev/null
+++ b/t/cfg/multiple-nopo/multiple.pot
@@ -0,0 +1,39 @@
+# 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-06 02:01+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
+#: cfg/single-nopotpo/single.man.1:1
+#, no-wrap
+msgid "test1"
+msgstr ""
+
+#. type: SH
+#: cfg/single-nopotpo/single.man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:4
+msgid "test - just a test"
+msgstr ""
+
+#. type: Plain text
+#: cfg/single-nopotpo/single.man.1:5
+msgid "Hello"
+msgstr ""
diff --git a/t/cfg/multiple-nopo/po4a.conf b/t/cfg/multiple-nopo/po4a.conf
new file mode 100644
index 0000000..1edb0aa
--- /dev/null
+++ b/t/cfg/multiple-nopo/po4a.conf
@@ -0,0 +1,5 @@
+[po4a_langs] fr de es it
+[po4a_paths] multiple.pot $lang:multiple.$lang.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] multiple.man.1 $lang:multiple.man.$lang.1