diff options
Diffstat (limited to '')
26 files changed, 529 insertions, 0 deletions
diff --git a/t/cfg/args-alias-redef/_man.de.1 b/t/cfg/args-alias-redef/_man.de.1 new file mode 100644 index 0000000..f7abf19 --- /dev/null +++ b/t/cfg/args-alias-redef/_man.de.1 @@ -0,0 +1,12 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH test1 1 +.SH NAME +test \- just a test + +Hallo + +World diff --git a/t/cfg/args-alias-redef/_man.es.1 b/t/cfg/args-alias-redef/_man.es.1 new file mode 100644 index 0000000..658c6f6 --- /dev/null +++ b/t/cfg/args-alias-redef/_man.es.1 @@ -0,0 +1,12 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH test1 1 +.SH NAME +test \- apenas una prueba + +Hola + +Mundo diff --git a/t/cfg/args-alias-redef/_man.fr.1 b/t/cfg/args-alias-redef/_man.fr.1 new file mode 100644 index 0000000..7c16cd5 --- /dev/null +++ b/t/cfg/args-alias-redef/_man.fr.1 @@ -0,0 +1,12 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH test1 1 +.SH NAME +test \- juste un test + +Bonjour + +Monde diff --git a/t/cfg/args-alias-redef/_man.it.1 b/t/cfg/args-alias-redef/_man.it.1 new file mode 100644 index 0000000..1845fd7 --- /dev/null +++ b/t/cfg/args-alias-redef/_man.it.1 @@ -0,0 +1,12 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH test1 1 +.SH NOME +test \- appena una prova + +Ciao + +Mondo diff --git a/t/cfg/args-alias-redef/_output b/t/cfg/args-alias-redef/_output new file mode 100644 index 0000000..b6bfe99 --- /dev/null +++ b/t/cfg/args-alias-redef/_output @@ -0,0 +1,6 @@ +NOT creating args.pot as requested (--no-update). +NOT updating the POT file args.pot as requested (--no-update). +man.de.1 is 20% translated (1 of 5 strings). +Discard man.es.1 (3 of 5 strings; only 60% translated; need 70%). +man.fr.1 is 80% translated (4 of 5 strings). +man.it.1 is 100% translated (5 strings). diff --git a/t/cfg/args-alias-redef/args.de.po b/t/cfg/args-alias-redef/args.de.po new file mode 100644 index 0000000..f9e9a1b --- /dev/null +++ b/t/cfg/args-alias-redef/args.de.po @@ -0,0 +1,43 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2005-04-24 0:48+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: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: t-05-config/test2_man.1:1 +#, no-wrap +msgid "test1" +msgstr "" + +#. type: SH +#: t-05-config/test2_man.1:2 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: Plain text +#: t-05-config/test2_man.1:4 +msgid "test - just a test" +msgstr "" + +#. type: Plain text +#: t-05-config/test2_man.1:6 +msgid "Hello" +msgstr "Hallo" + +#. type: Plain text +#: t-05-config/test2_man.1:7 +msgid "World" +msgstr "" diff --git a/t/cfg/args-alias-redef/args.es.po b/t/cfg/args-alias-redef/args.es.po new file mode 100644 index 0000000..8a75616 --- /dev/null +++ b/t/cfg/args-alias-redef/args.es.po @@ -0,0 +1,43 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2005-04-24 0:48+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: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: ENCODING\n" + +#. type: TH +#: t-05-config/test2_man.1:1 +#, no-wrap +msgid "test1" +msgstr "" + +#. type: SH +#: t-05-config/test2_man.1:2 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: Plain text +#: t-05-config/test2_man.1:4 +msgid "test - just a test" +msgstr "test - apenas una prueba" + +#. type: Plain text +#: t-05-config/test2_man.1:6 +msgid "Hello" +msgstr "Hola" + +#. type: Plain text +#: t-05-config/test2_man.1:7 +msgid "World" +msgstr "Mundo" diff --git a/t/cfg/args-alias-redef/args.fr.po b/t/cfg/args-alias-redef/args.fr.po new file mode 100644 index 0000000..d690c75 --- /dev/null +++ b/t/cfg/args-alias-redef/args.fr.po @@ -0,0 +1,43 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: po 4a\n" +"POT-Creation-Date: 2005-04-24 0:48+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: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: t-05-config/test2_man.1:1 +#, no-wrap +msgid "test1" +msgstr "test1" + +#. type: SH +#: t-05-config/test2_man.1:2 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: Plain text +#: t-05-config/test2_man.1:4 +msgid "test - just a test" +msgstr "test - juste un test" + +#. type: Plain text +#: t-05-config/test2_man.1:6 +msgid "Hello" +msgstr "Bonjour" + +#. type: Plain text +#: t-05-config/test2_man.1:7 +msgid "World" +msgstr "Monde" diff --git a/t/cfg/args-alias-redef/args.it.po b/t/cfg/args-alias-redef/args.it.po new file mode 100644 index 0000000..e046d74 --- /dev/null +++ b/t/cfg/args-alias-redef/args.it.po @@ -0,0 +1,43 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2005-04-24 0:48+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: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: t-05-config/test2_man.1:1 +#, no-wrap +msgid "test1" +msgstr "test1" + +#. type: SH +#: t-05-config/test2_man.1:2 +#, no-wrap +msgid "NAME" +msgstr "NOME" + +#. type: Plain text +#: t-05-config/test2_man.1:4 +msgid "test - just a test" +msgstr "test - appena una prova" + +#. type: Plain text +#: t-05-config/test2_man.1:6 +msgid "Hello" +msgstr "Ciao" + +#. type: Plain text +#: t-05-config/test2_man.1:7 +msgid "World" +msgstr "Mondo" diff --git a/t/cfg/args-alias-redef/man.1 b/t/cfg/args-alias-redef/man.1 new file mode 100644 index 0000000..a1394ba --- /dev/null +++ b/t/cfg/args-alias-redef/man.1 @@ -0,0 +1,7 @@ +.TH test1 1 +.SH NAME +test \- just a test + +Hello + +World diff --git a/t/cfg/args-alias-redef/po4a.conf b/t/cfg/args-alias-redef/po4a.conf new file mode 100644 index 0000000..fc40940 --- /dev/null +++ b/t/cfg/args-alias-redef/po4a.conf @@ -0,0 +1,11 @@ +# This file redefines aliases to 'man' to enrich its definition. +# This was initially not thought as possible, but debhelper relies on it, so make it work. + +[po4a_langs] fr es it de +[po4a_paths] args.pot $lang:args.$lang.po + +[po4a_alias:man] man opt:"--keep 0" +[po4a_alias:man] man opt_es:"--keep 70" +[po4a_alias:man] man opt_ja:"--keep 100" + +[type:man] man.1 $lang:man.$lang.1 diff --git a/t/cfg/args-alias/_man.de.1 b/t/cfg/args-alias/_man.de.1 new file mode 100644 index 0000000..f7abf19 --- /dev/null +++ b/t/cfg/args-alias/_man.de.1 @@ -0,0 +1,12 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH test1 1 +.SH NAME +test \- just a test + +Hallo + +World diff --git a/t/cfg/args-alias/_man.es.1 b/t/cfg/args-alias/_man.es.1 new file mode 100644 index 0000000..658c6f6 --- /dev/null +++ b/t/cfg/args-alias/_man.es.1 @@ -0,0 +1,12 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH test1 1 +.SH NAME +test \- apenas una prueba + +Hola + +Mundo diff --git a/t/cfg/args-alias/_man.fr.1 b/t/cfg/args-alias/_man.fr.1 new file mode 100644 index 0000000..7c16cd5 --- /dev/null +++ b/t/cfg/args-alias/_man.fr.1 @@ -0,0 +1,12 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH test1 1 +.SH NAME +test \- juste un test + +Bonjour + +Monde diff --git a/t/cfg/args-alias/_man.fr.2 b/t/cfg/args-alias/_man.fr.2 new file mode 100644 index 0000000..7c16cd5 --- /dev/null +++ b/t/cfg/args-alias/_man.fr.2 @@ -0,0 +1,12 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH test1 1 +.SH NAME +test \- juste un test + +Bonjour + +Monde diff --git a/t/cfg/args-alias/_man.it.1 b/t/cfg/args-alias/_man.it.1 new file mode 100644 index 0000000..1845fd7 --- /dev/null +++ b/t/cfg/args-alias/_man.it.1 @@ -0,0 +1,12 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH test1 1 +.SH NOME +test \- appena una prova + +Ciao + +Mondo diff --git a/t/cfg/args-alias/_man.it.2 b/t/cfg/args-alias/_man.it.2 new file mode 100644 index 0000000..1845fd7 --- /dev/null +++ b/t/cfg/args-alias/_man.it.2 @@ -0,0 +1,12 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH test1 1 +.SH NOME +test \- appena una prova + +Ciao + +Mondo diff --git a/t/cfg/args-alias/_output b/t/cfg/args-alias/_output new file mode 100644 index 0000000..da4af66 --- /dev/null +++ b/t/cfg/args-alias/_output @@ -0,0 +1,10 @@ +NOT creating args.pot as requested (--no-update). +NOT updating the POT file args.pot as requested (--no-update). +man.de.1 is 20% translated (1 of 5 strings). +Discard man.de.2 (1 of 5 strings; only 20% translated; need 80%). +Discard man.es.1 (3 of 5 strings; only 60% translated; need 70%). +Discard man.es.2 (3 of 5 strings; only 60% translated; need 80%). +man.fr.1 is 80% translated (4 of 5 strings). +man.fr.2 is 80% translated (4 of 5 strings). +man.it.1 is 100% translated (5 strings). +man.it.2 is 100% translated (5 strings). diff --git a/t/cfg/args-alias/_output-keep100 b/t/cfg/args-alias/_output-keep100 new file mode 100644 index 0000000..cacbc50 --- /dev/null +++ b/t/cfg/args-alias/_output-keep100 @@ -0,0 +1,10 @@ +NOT creating args.pot as requested (--no-update). +NOT updating the POT file args.pot as requested (--no-update). +Discard man.de.1 (1 of 5 strings; only 20% translated; need 100%). +Discard man.de.2 (1 of 5 strings; only 20% translated; need 100%). +Discard man.es.1 (3 of 5 strings; only 60% translated; need 100%). +Discard man.es.2 (3 of 5 strings; only 60% translated; need 100%). +Discard man.fr.1 (4 of 5 strings; only 80% translated; need 100%). +Discard man.fr.2 (4 of 5 strings; only 80% translated; need 100%). +man.it.1 is 100% translated (5 strings). +man.it.2 is 100% translated (5 strings). diff --git a/t/cfg/args-alias/args.de.po b/t/cfg/args-alias/args.de.po new file mode 100644 index 0000000..f9e9a1b --- /dev/null +++ b/t/cfg/args-alias/args.de.po @@ -0,0 +1,43 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2005-04-24 0:48+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: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: t-05-config/test2_man.1:1 +#, no-wrap +msgid "test1" +msgstr "" + +#. type: SH +#: t-05-config/test2_man.1:2 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: Plain text +#: t-05-config/test2_man.1:4 +msgid "test - just a test" +msgstr "" + +#. type: Plain text +#: t-05-config/test2_man.1:6 +msgid "Hello" +msgstr "Hallo" + +#. type: Plain text +#: t-05-config/test2_man.1:7 +msgid "World" +msgstr "" diff --git a/t/cfg/args-alias/args.es.po b/t/cfg/args-alias/args.es.po new file mode 100644 index 0000000..8a75616 --- /dev/null +++ b/t/cfg/args-alias/args.es.po @@ -0,0 +1,43 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2005-04-24 0:48+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: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: ENCODING\n" + +#. type: TH +#: t-05-config/test2_man.1:1 +#, no-wrap +msgid "test1" +msgstr "" + +#. type: SH +#: t-05-config/test2_man.1:2 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: Plain text +#: t-05-config/test2_man.1:4 +msgid "test - just a test" +msgstr "test - apenas una prueba" + +#. type: Plain text +#: t-05-config/test2_man.1:6 +msgid "Hello" +msgstr "Hola" + +#. type: Plain text +#: t-05-config/test2_man.1:7 +msgid "World" +msgstr "Mundo" diff --git a/t/cfg/args-alias/args.fr.po b/t/cfg/args-alias/args.fr.po new file mode 100644 index 0000000..d690c75 --- /dev/null +++ b/t/cfg/args-alias/args.fr.po @@ -0,0 +1,43 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: po 4a\n" +"POT-Creation-Date: 2005-04-24 0:48+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: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: t-05-config/test2_man.1:1 +#, no-wrap +msgid "test1" +msgstr "test1" + +#. type: SH +#: t-05-config/test2_man.1:2 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: Plain text +#: t-05-config/test2_man.1:4 +msgid "test - just a test" +msgstr "test - juste un test" + +#. type: Plain text +#: t-05-config/test2_man.1:6 +msgid "Hello" +msgstr "Bonjour" + +#. type: Plain text +#: t-05-config/test2_man.1:7 +msgid "World" +msgstr "Monde" diff --git a/t/cfg/args-alias/args.it.po b/t/cfg/args-alias/args.it.po new file mode 100644 index 0000000..e046d74 --- /dev/null +++ b/t/cfg/args-alias/args.it.po @@ -0,0 +1,43 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2005-04-24 0:48+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: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: TH +#: t-05-config/test2_man.1:1 +#, no-wrap +msgid "test1" +msgstr "test1" + +#. type: SH +#: t-05-config/test2_man.1:2 +#, no-wrap +msgid "NAME" +msgstr "NOME" + +#. type: Plain text +#: t-05-config/test2_man.1:4 +msgid "test - just a test" +msgstr "test - appena una prova" + +#. type: Plain text +#: t-05-config/test2_man.1:6 +msgid "Hello" +msgstr "Ciao" + +#. type: Plain text +#: t-05-config/test2_man.1:7 +msgid "World" +msgstr "Mondo" diff --git a/t/cfg/args-alias/man.1 b/t/cfg/args-alias/man.1 new file mode 100644 index 0000000..a1394ba --- /dev/null +++ b/t/cfg/args-alias/man.1 @@ -0,0 +1,7 @@ +.TH test1 1 +.SH NAME +test \- just a test + +Hello + +World diff --git a/t/cfg/args-alias/man.2 b/t/cfg/args-alias/man.2 new file mode 100644 index 0000000..a1394ba --- /dev/null +++ b/t/cfg/args-alias/man.2 @@ -0,0 +1,7 @@ +.TH test1 1 +.SH NAME +test \- just a test + +Hello + +World diff --git a/t/cfg/args-alias/po4a.conf b/t/cfg/args-alias/po4a.conf new file mode 100644 index 0000000..1a1a40e --- /dev/null +++ b/t/cfg/args-alias/po4a.conf @@ -0,0 +1,7 @@ +[po4a_langs] fr es it de +[po4a_paths] args.pot $lang:args.$lang.po + +[po4a_alias:man-all] man opt:"--keep 0" opt_es:"--keep 70" + +[type:man-all] man.1 $lang:man.$lang.1 +[type:man] man.2 $lang:man.$lang.2 |