summaryrefslogtreecommitdiffstats
path: root/t/cfg/single
diff options
context:
space:
mode:
Diffstat (limited to 't/cfg/single')
-rw-r--r--t/cfg/single/_output3
-rw-r--r--t/cfg/single/_single.man.fr.110
-rw-r--r--t/cfg/single/single-noupdate.output2
-rw-r--r--t/cfg/single/single.conf5
-rw-r--r--t/cfg/single/single.fr.po39
-rw-r--r--t/cfg/single/single.man.15
-rw-r--r--t/cfg/single/single.pot39
7 files changed, 103 insertions, 0 deletions
diff --git a/t/cfg/single/_output b/t/cfg/single/_output
new file mode 100644
index 0000000..c63e3db
--- /dev/null
+++ b/t/cfg/single/_output
@@ -0,0 +1,3 @@
+Updating single.pot: (4 entries)
+Updating single.fr.po: 4 translated messages.
+single.man.fr.1 is 100% translated (4 strings).
diff --git a/t/cfg/single/_single.man.fr.1 b/t/cfg/single/_single.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/single/_single.man.fr.1
@@ -0,0 +1,10 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
diff --git a/t/cfg/single/single-noupdate.output b/t/cfg/single/single-noupdate.output
new file mode 100644
index 0000000..7661d8c
--- /dev/null
+++ b/t/cfg/single/single-noupdate.output
@@ -0,0 +1,2 @@
+Updating cfg/single-nopo/single.pot:
+ (4 entries)
diff --git a/t/cfg/single/single.conf b/t/cfg/single/single.conf
new file mode 100644
index 0000000..da28633
--- /dev/null
+++ b/t/cfg/single/single.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/single.fr.po b/t/cfg/single/single.fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/single/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 "test1"
+
+#. type: SH
+#: t-05-config/test00_man.1:2
+#, no-wrap
+msgid "NAME"
+msgstr "NOM"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:4
+msgid "test - just a test"
+msgstr "test - juste un test"
+
+#. type: Plain text
+#: t-05-config/test00_man.1:5
+msgid "Hello"
+msgstr "Bonjour"
diff --git a/t/cfg/single/single.man.1 b/t/cfg/single/single.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single/single.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single/single.pot b/t/cfg/single/single.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single/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 ""