summaryrefslogtreecommitdiffstats
path: root/t/cfg/single-potin
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
commit5df6c2aefebe3d2abcc939a88e294876d59f03ca (patch)
tree63fb332a0f21ddb91cb789c80cf64e134d373463 /t/cfg/single-potin
parentInitial commit. (diff)
downloadpo4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.tar.xz
po4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.zip
Adding upstream version 0.72.upstream/0.72
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/cfg/single-potin')
-rw-r--r--t/cfg/single-potin/_output3
-rw-r--r--t/cfg/single-potin/_single.man.fr.115
-rw-r--r--t/cfg/single-potin/po4a.conf5
-rw-r--r--t/cfg/single-potin/single-filtered.man.15
-rw-r--r--t/cfg/single-potin/single.fr.po39
-rw-r--r--t/cfg/single-potin/single.man.110
-rw-r--r--t/cfg/single-potin/single.pot39
7 files changed, 116 insertions, 0 deletions
diff --git a/t/cfg/single-potin/_output b/t/cfg/single-potin/_output
new file mode 100644
index 0000000..ed431cd
--- /dev/null
+++ b/t/cfg/single-potin/_output
@@ -0,0 +1,3 @@
+Updating single.pot: (4 entries)
+Updating single.fr.po: 4 translated messages.
+single.man.fr.1 is 66.66% translated (4 of 6 strings).
diff --git a/t/cfg/single-potin/_single.man.fr.1 b/t/cfg/single-potin/_single.man.fr.1
new file mode 100644
index 0000000..f710e2f
--- /dev/null
+++ b/t/cfg/single-potin/_single.man.fr.1
@@ -0,0 +1,15 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH test1 1
+.SH NOM
+test \- juste un test
+
+Bonjour
+
+.SH "NOT TRANSLATED"
+
+The content of this section is not to be translated (not part of the
+filtered page).
diff --git a/t/cfg/single-potin/po4a.conf b/t/cfg/single-potin/po4a.conf
new file mode 100644
index 0000000..7117090
--- /dev/null
+++ b/t/cfg/single-potin/po4a.conf
@@ -0,0 +1,5 @@
+#comment
+[po4a_paths] single.pot fr:single.fr.po
+[options] --msgmerge-opt --silent --keep 0
+
+[type:man] single.man.1 fr:single.man.fr.1 pot_in:single-filtered.man.1
diff --git a/t/cfg/single-potin/single-filtered.man.1 b/t/cfg/single-potin/single-filtered.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-potin/single-filtered.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
diff --git a/t/cfg/single-potin/single.fr.po b/t/cfg/single-potin/single.fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/single-potin/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-potin/single.man.1 b/t/cfg/single-potin/single.man.1
new file mode 100644
index 0000000..2dbd733
--- /dev/null
+++ b/t/cfg/single-potin/single.man.1
@@ -0,0 +1,10 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello
+
+.SH "NOT TRANSLATED"
+
+The content of this section is not to be translated (not part of the
+filtered page).
diff --git a/t/cfg/single-potin/single.pot b/t/cfg/single-potin/single.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-potin/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 ""