diff options
Diffstat (limited to 't/cfg/single-podirectory-emptypot-emptypo')
7 files changed, 94 insertions, 0 deletions
diff --git a/t/cfg/single-podirectory-emptypot-emptypo/_fr.po.expected b/t/cfg/single-podirectory-emptypot-emptypo/_fr.po.expected new file mode 100644 index 0000000..3d5100f --- /dev/null +++ b/t/cfg/single-podirectory-emptypot-emptypo/_fr.po.expected @@ -0,0 +1,39 @@ +# French translations for po package +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the po package. +# Automatically generated, 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: po 4a\n" +"POT-Creation-Date: 2024-01-04 22:50+0100\n" +"PO-Revision-Date: 2024-01-04 22:50+0100\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 +#: single.man.1:1 +#, no-wrap +msgid "test1" +msgstr "" + +#. type: SH +#: single.man.1:2 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: Plain text +#: single.man.1:4 +msgid "test - just a test" +msgstr "" + +#. type: Plain text +#: single.man.1:5 +msgid "Hello" +msgstr "" diff --git a/t/cfg/single-podirectory-emptypot-emptypo/_output b/t/cfg/single-podirectory-emptypot-emptypo/_output new file mode 100644 index 0000000..53b4fa7 --- /dev/null +++ b/t/cfg/single-podirectory-emptypot-emptypo/_output @@ -0,0 +1,6 @@ +Using '.' as a po_directory. +Found language 'fr' in the provided po_directory: ./fr.po +Found POT file './single.pot' in the provided po_directory. +Updating ./single.pot: (4 entries) +Creating an empty PO file in fr.po. +Discard single.man.fr.1 (0 of 4 strings; only 0% translated; need 80%). diff --git a/t/cfg/single-podirectory-emptypot-emptypo/_single.pot.expected b/t/cfg/single-podirectory-emptypot-emptypo/_single.pot.expected new file mode 100644 index 0000000..430a879 --- /dev/null +++ b/t/cfg/single-podirectory-emptypot-emptypo/_single.pot.expected @@ -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/single-podirectory-emptypot-emptypo/fr.po b/t/cfg/single-podirectory-emptypot-emptypo/fr.po new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/cfg/single-podirectory-emptypot-emptypo/fr.po diff --git a/t/cfg/single-podirectory-emptypot-emptypo/po4a.conf b/t/cfg/single-podirectory-emptypot-emptypo/po4a.conf new file mode 100644 index 0000000..a34f60a --- /dev/null +++ b/t/cfg/single-podirectory-emptypot-emptypo/po4a.conf @@ -0,0 +1,5 @@ +#comment +[po_directory] . +[options] opt:"--msgmerge-opt --silent" + +[type:man] single.man.1 fr:single.man.fr.1 diff --git a/t/cfg/single-podirectory-emptypot-emptypo/single.man.1 b/t/cfg/single-podirectory-emptypot-emptypo/single.man.1 new file mode 100644 index 0000000..2178e17 --- /dev/null +++ b/t/cfg/single-podirectory-emptypot-emptypo/single.man.1 @@ -0,0 +1,5 @@ +.TH test1 1 +.SH NAME +test \- just a test + +Hello diff --git a/t/cfg/single-podirectory-emptypot-emptypo/single.pot b/t/cfg/single-podirectory-emptypot-emptypo/single.pot new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/t/cfg/single-podirectory-emptypot-emptypo/single.pot |