summaryrefslogtreecommitdiffstats
path: root/t/cfg/single-podirectory
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-podirectory
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-podirectory')
-rw-r--r--t/cfg/single-podirectory/_output6
-rw-r--r--t/cfg/single-podirectory/_single.man.fr.110
-rw-r--r--t/cfg/single-podirectory/po/fr.po39
-rw-r--r--t/cfg/single-podirectory/po/single.pot39
-rw-r--r--t/cfg/single-podirectory/po4a.conf5
-rw-r--r--t/cfg/single-podirectory/single.man.15
6 files changed, 104 insertions, 0 deletions
diff --git a/t/cfg/single-podirectory/_output b/t/cfg/single-podirectory/_output
new file mode 100644
index 0000000..0a9d135
--- /dev/null
+++ b/t/cfg/single-podirectory/_output
@@ -0,0 +1,6 @@
+Using 'po' as a po_directory.
+Found language 'fr' in the provided po_directory: po/fr.po
+Found POT file 'po/single.pot' in the provided po_directory.
+Updating po/single.pot: (4 entries)
+Updating po/fr.po: 4 translated messages.
+single.man.fr.1 is 100% translated (4 strings).
diff --git a/t/cfg/single-podirectory/_single.man.fr.1 b/t/cfg/single-podirectory/_single.man.fr.1
new file mode 100644
index 0000000..873acf4
--- /dev/null
+++ b/t/cfg/single-podirectory/_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-podirectory/po/fr.po b/t/cfg/single-podirectory/po/fr.po
new file mode 100644
index 0000000..c1e3251
--- /dev/null
+++ b/t/cfg/single-podirectory/po/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-podirectory/po/single.pot b/t/cfg/single-podirectory/po/single.pot
new file mode 100644
index 0000000..c6480a4
--- /dev/null
+++ b/t/cfg/single-podirectory/po/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 ""
diff --git a/t/cfg/single-podirectory/po4a.conf b/t/cfg/single-podirectory/po4a.conf
new file mode 100644
index 0000000..732d6c5
--- /dev/null
+++ b/t/cfg/single-podirectory/po4a.conf
@@ -0,0 +1,5 @@
+[po_directory] po
+
+[options] opt:"--msgmerge-opt --silent"
+
+[type:man] single.man.1 $lang:single.man.$lang.1
diff --git a/t/cfg/single-podirectory/single.man.1 b/t/cfg/single-podirectory/single.man.1
new file mode 100644
index 0000000..2178e17
--- /dev/null
+++ b/t/cfg/single-podirectory/single.man.1
@@ -0,0 +1,5 @@
+.TH test1 1
+.SH NAME
+test \- just a test
+
+Hello