summaryrefslogtreecommitdiffstats
path: root/t/cfg/single-nopo
diff options
context:
space:
mode:
Diffstat (limited to 't/cfg/single-nopo')
-rw-r--r--t/cfg/single-nopo/_output3
-rw-r--r--t/cfg/single-nopo/_output-noupdate3
-rw-r--r--t/cfg/single-nopo/_single.fr.po39
-rw-r--r--t/cfg/single-nopo/po4a.conf5
-rw-r--r--t/cfg/single-nopo/single.man.15
-rw-r--r--t/cfg/single-nopo/single.pot39
6 files changed, 94 insertions, 0 deletions
diff --git a/t/cfg/single-nopo/_output b/t/cfg/single-nopo/_output
new file mode 100644
index 0000000..f8bf8c3
--- /dev/null
+++ b/t/cfg/single-nopo/_output
@@ -0,0 +1,3 @@
+Updating single.pot: (4 entries)
+Creating an empty PO file in single.fr.po.
+Discard single.man.fr.1 (0 of 4 strings; only 0% translated; need 80%).
diff --git a/t/cfg/single-nopo/_output-noupdate b/t/cfg/single-nopo/_output-noupdate
new file mode 100644
index 0000000..2237271
--- /dev/null
+++ b/t/cfg/single-nopo/_output-noupdate
@@ -0,0 +1,3 @@
+NOT updating single.pot as requested (--no-update).
+NOT updating the POT file single.pot as requested (--no-update).
+PO file single.fr.po for language fr is missing -- skipping.
diff --git a/t/cfg/single-nopo/_single.fr.po b/t/cfg/single-nopo/_single.fr.po
new file mode 100644
index 0000000..1772779
--- /dev/null
+++ b/t/cfg/single-nopo/_single.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/single-nopo/po4a.conf b/t/cfg/single-nopo/po4a.conf
new file mode 100644
index 0000000..da28633
--- /dev/null
+++ b/t/cfg/single-nopo/po4a.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single.pot fr:single.fr.po
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single.man.1 fr:single.man.fr.1
diff --git a/t/cfg/single-nopo/single.man.1 b/t/cfg/single-nopo/single.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-nopo/single.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-nopo/single.pot b/t/cfg/single-nopo/single.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-nopo/single.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: 2005-04-24 2:54+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
+#: 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 ""