diff options
Diffstat (limited to 't/charset')
36 files changed, 624 insertions, 0 deletions
diff --git a/t/charset/asciidoc/CharsetLatin1.adoc b/t/charset/asciidoc/CharsetLatin1.adoc new file mode 100644 index 0000000..dec9258 --- /dev/null +++ b/t/charset/asciidoc/CharsetLatin1.adoc @@ -0,0 +1,17 @@ +Title +======= + +Title +------- + +Title level +~~~~~~~~~~~~~ + +Title level +^^^^^^^^^^^^^ + +Title level ++++++++++++++ + +Latin1 is sometimes easier than UTF-8 in Perl :( +But po4a produces UTF-8 POT files anyway.
\ No newline at end of file diff --git a/t/charset/asciidoc/CharsetLatin1.norm b/t/charset/asciidoc/CharsetLatin1.norm new file mode 100644 index 0000000..3ce7205 --- /dev/null +++ b/t/charset/asciidoc/CharsetLatin1.norm @@ -0,0 +1,16 @@ +Title é +======= + +Title é +------- + +Title level é +~~~~~~~~~~~~~ + +Title level é +^^^^^^^^^^^^^ + +Title level é ++++++++++++++ + +Latin1 is sometimes easier than UTF-8 in Perl :( But po4a produces UTF-8 POT files anyway. diff --git a/t/charset/asciidoc/CharsetLatin1.po b/t/charset/asciidoc/CharsetLatin1.po new file mode 100644 index 0000000..6bc1b56 --- /dev/null +++ b/t/charset/asciidoc/CharsetLatin1.po @@ -0,0 +1,38 @@ +# 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-28 11:51+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: Title - +#: CharsetLatin1.adoc:2 CharsetLatin1.adoc:5 +#, no-wrap +msgid "Title é" +msgstr "TITLE É" + +#. type: Title + +#: CharsetLatin1.adoc:8 CharsetLatin1.adoc:11 CharsetLatin1.adoc:14 +#, no-wrap +msgid "Title level é" +msgstr "TITLE LEVEL É" + +#. type: Plain text +#: CharsetLatin1.adoc:17 +msgid "" +"Latin1 is sometimes easier than UTF-8 in Perl :( But po4a produces UTF-8 POT " +"files anyway." +msgstr "" +"LATIN1 IS SOMETIMES EASIER THAN UTF-8 IN PERL :( BUT PO4A PRODUCES UTF-8 POT " +"FILES ANYWAY." diff --git a/t/charset/asciidoc/CharsetLatin1.pot b/t/charset/asciidoc/CharsetLatin1.pot new file mode 100644 index 0000000..996fda6 --- /dev/null +++ b/t/charset/asciidoc/CharsetLatin1.pot @@ -0,0 +1,36 @@ +# 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-28 11:51+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: Title - +#: CharsetLatin1.adoc:2 CharsetLatin1.adoc:5 +#, no-wrap +msgid "Title é" +msgstr "" + +#. type: Title + +#: CharsetLatin1.adoc:8 CharsetLatin1.adoc:11 CharsetLatin1.adoc:14 +#, no-wrap +msgid "Title level é" +msgstr "" + +#. type: Plain text +#: CharsetLatin1.adoc:17 +msgid "" +"Latin1 is sometimes easier than UTF-8 in Perl :( But po4a produces UTF-8 POT " +"files anyway." +msgstr "" diff --git a/t/charset/asciidoc/CharsetLatin1.trans b/t/charset/asciidoc/CharsetLatin1.trans new file mode 100644 index 0000000..839fe46 --- /dev/null +++ b/t/charset/asciidoc/CharsetLatin1.trans @@ -0,0 +1,16 @@ +TITLE É +======= + +TITLE É +------- + +TITLE LEVEL É +~~~~~~~~~~~~~ + +TITLE LEVEL É +^^^^^^^^^^^^^ + +TITLE LEVEL É ++++++++++++++ + +LATIN1 IS SOMETIMES EASIER THAN UTF-8 IN PERL :( BUT PO4A PRODUCES UTF-8 POT FILES ANYWAY. diff --git a/t/charset/asciidoc/CharsetUtf.adoc b/t/charset/asciidoc/CharsetUtf.adoc new file mode 100644 index 0000000..06e58b8 --- /dev/null +++ b/t/charset/asciidoc/CharsetUtf.adoc @@ -0,0 +1,16 @@ +Title … +======= + +Title … +------- + +Title level … +~~~~~~~~~~~~~ + +Title level … +^^^^^^^^^^^^^ + +Title level … ++++++++++++++ + +UTF-8 is sometimes difficult in Perl ☹️ diff --git a/t/charset/asciidoc/CharsetUtf.norm b/t/charset/asciidoc/CharsetUtf.norm new file mode 100644 index 0000000..06e58b8 --- /dev/null +++ b/t/charset/asciidoc/CharsetUtf.norm @@ -0,0 +1,16 @@ +Title … +======= + +Title … +------- + +Title level … +~~~~~~~~~~~~~ + +Title level … +^^^^^^^^^^^^^ + +Title level … ++++++++++++++ + +UTF-8 is sometimes difficult in Perl ☹️ diff --git a/t/charset/asciidoc/CharsetUtf.po b/t/charset/asciidoc/CharsetUtf.po new file mode 100644 index 0000000..044273a --- /dev/null +++ b/t/charset/asciidoc/CharsetUtf.po @@ -0,0 +1,34 @@ +# 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-28 11:43+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: Title - +#: CharsetUtf.adoc:2 CharsetUtf.adoc:5 +#, no-wrap +msgid "Title …" +msgstr "TITLE …" + +#. type: Title + +#: CharsetUtf.adoc:8 CharsetUtf.adoc:11 CharsetUtf.adoc:14 +#, no-wrap +msgid "Title level …" +msgstr "TITLE LEVEL …" + +#. type: Plain text +#: CharsetUtf.adoc:16 +msgid "UTF-8 is sometimes difficult in Perl ☹️" +msgstr "UTF-8 IS SOMETIMES DIFFICULT IN PERL ☹️" diff --git a/t/charset/asciidoc/CharsetUtf.pot b/t/charset/asciidoc/CharsetUtf.pot new file mode 100644 index 0000000..9d7605d --- /dev/null +++ b/t/charset/asciidoc/CharsetUtf.pot @@ -0,0 +1,34 @@ +# 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-28 11:43+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: Title - +#: CharsetUtf.adoc:2 CharsetUtf.adoc:5 +#, no-wrap +msgid "Title …" +msgstr "" + +#. type: Title + +#: CharsetUtf.adoc:8 CharsetUtf.adoc:11 CharsetUtf.adoc:14 +#, no-wrap +msgid "Title level …" +msgstr "" + +#. type: Plain text +#: CharsetUtf.adoc:16 +msgid "UTF-8 is sometimes difficult in Perl ☹️" +msgstr "" diff --git a/t/charset/asciidoc/CharsetUtf.trans b/t/charset/asciidoc/CharsetUtf.trans new file mode 100644 index 0000000..28fdced --- /dev/null +++ b/t/charset/asciidoc/CharsetUtf.trans @@ -0,0 +1,16 @@ +TITLE … +======= + +TITLE … +------- + +TITLE LEVEL … +~~~~~~~~~~~~~ + +TITLE LEVEL … +^^^^^^^^^^^^^ + +TITLE LEVEL … ++++++++++++++ + +UTF-8 IS SOMETIMES DIFFICULT IN PERL ☹️ diff --git a/t/charset/asciidoc/CharsetUtfBOM.adoc b/t/charset/asciidoc/CharsetUtfBOM.adoc new file mode 100644 index 0000000..f9138b8 --- /dev/null +++ b/t/charset/asciidoc/CharsetUtfBOM.adoc @@ -0,0 +1,16 @@ +Title … +======= + +Title … +------- + +Title level … +~~~~~~~~~~~~~ + +Title level … +^^^^^^^^^^^^^ + +Title level … ++++++++++++++ + +UTF-8 is sometimes difficult in Perl ☹️ diff --git a/t/charset/asciidoc/CharsetUtfBOM.po b/t/charset/asciidoc/CharsetUtfBOM.po new file mode 100644 index 0000000..7cdcc17 --- /dev/null +++ b/t/charset/asciidoc/CharsetUtfBOM.po @@ -0,0 +1,34 @@ +# 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-28 11:43+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: Title - +#: CharsetUtfBOM.adoc:2 CharsetUtfBOM.adoc:5 +#, no-wrap +msgid "Title …" +msgstr "TITLE …" + +#. type: Title + +#: CharsetUtfBOM.adoc:8 CharsetUtfBOM.adoc:11 CharsetUtfBOM.adoc:14 +#, no-wrap +msgid "Title level …" +msgstr "TITLE LEVEL …" + +#. type: Plain text +#: CharsetUtfBOM.adoc:16 +msgid "UTF-8 is sometimes difficult in Perl ☹️" +msgstr "UTF-8 IS SOMETIMES DIFFICULT IN PERL ☹️" diff --git a/t/charset/asciidoc/CharsetUtfBOM.pot b/t/charset/asciidoc/CharsetUtfBOM.pot new file mode 100644 index 0000000..0a83f64 --- /dev/null +++ b/t/charset/asciidoc/CharsetUtfBOM.pot @@ -0,0 +1,34 @@ +# 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-28 11:43+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: Title - +#: CharsetUtfBOM.adoc:2 CharsetUtfBOM.adoc:5 +#, no-wrap +msgid "Title …" +msgstr "" + +#. type: Title + +#: CharsetUtfBOM.adoc:8 CharsetUtfBOM.adoc:11 CharsetUtfBOM.adoc:14 +#, no-wrap +msgid "Title level …" +msgstr "" + +#. type: Plain text +#: CharsetUtfBOM.adoc:16 +msgid "UTF-8 is sometimes difficult in Perl ☹️" +msgstr "" diff --git a/t/charset/input-ascii/_ascii.up.pod b/t/charset/input-ascii/_ascii.up.pod new file mode 100644 index 0000000..20f0135 --- /dev/null +++ b/t/charset/input-ascii/_ascii.up.pod @@ -0,0 +1,18 @@ + + ***************************************************** + * GENERATED FILE, DO NOT EDIT * + * THIS IS NO SOURCE FILE, BUT RESULT OF COMPILATION * + ***************************************************** + +This file was generated by po4a(7). Do not store it (in VCS, for example), +but store the PO file used as source file by po4a-translate. + +In fact, consider this as a binary, and the PO file as a regular .c file: +If the PO get lost, keeping this translation up-to-date will be harder. + +=encoding UTF-8 + +=head1 TEST TITLE + +BLABLABLA LELELELE + diff --git a/t/charset/input-ascii/_output b/t/charset/input-ascii/_output new file mode 100644 index 0000000..c1b820f --- /dev/null +++ b/t/charset/input-ascii/_output @@ -0,0 +1,3 @@ +Updating ascii.pot: (2 entries) +Updating ascii.up.po: 2 translated messages. +ascii.up.pod is 100% translated (2 strings). diff --git a/t/charset/input-ascii/ascii.pod b/t/charset/input-ascii/ascii.pod new file mode 100644 index 0000000..e0c5ba6 --- /dev/null +++ b/t/charset/input-ascii/ascii.pod @@ -0,0 +1,4 @@ +=head1 Test title + +blablabla +lelelele diff --git a/t/charset/input-ascii/ascii.pot b/t/charset/input-ascii/ascii.pot new file mode 100644 index 0000000..c47d6c9 --- /dev/null +++ b/t/charset/input-ascii/ascii.pot @@ -0,0 +1,27 @@ +# 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-08 21:15+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: =head1 +#: charset/input/input-ascii.pod:1 +msgid "Test title" +msgstr "" + +#. type: textblock +#: charset/input/input-ascii.pod:3 +msgid "blablabla lelelele" +msgstr "" diff --git a/t/charset/input-ascii/ascii.up.po b/t/charset/input-ascii/ascii.up.po new file mode 100644 index 0000000..b6a663c --- /dev/null +++ b/t/charset/input-ascii/ascii.up.po @@ -0,0 +1,26 @@ +# Language up 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: 2020-04-08 20:41+0200\n" +"PO-Revision-Date: 2020-04-08 20:41+0200\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: up\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: =head1 +#: charset/input/input-ascii.pod:1 +msgid "Test title" +msgstr "TEST TITLE" + +#. type: textblock +#: charset/input/input-ascii.pod:3 +msgid "blablabla lelelele" +msgstr "BLABLABLA LELELELE" diff --git a/t/charset/input-ascii/po4a.conf b/t/charset/input-ascii/po4a.conf new file mode 100644 index 0000000..2fbd321 --- /dev/null +++ b/t/charset/input-ascii/po4a.conf @@ -0,0 +1,4 @@ +[po4a_paths] ascii.pot up:ascii.up.po +[options] opt:"--msgmerge-opt --silent" + +[type:pod] ascii.pod up:ascii.up.pod diff --git a/t/charset/input-iso8859/_iso8859.up.pod b/t/charset/input-iso8859/_iso8859.up.pod new file mode 100644 index 0000000..091122b --- /dev/null +++ b/t/charset/input-iso8859/_iso8859.up.pod @@ -0,0 +1,18 @@ + + ***************************************************** + * GENERATED FILE, DO NOT EDIT * + * THIS IS NO SOURCE FILE, BUT RESULT OF COMPILATION * + ***************************************************** + +This file was generated by po4a(7). Do not store it (in VCS, for example), +but store the PO file used as source file by po4a-translate. + +In fact, consider this as a binary, and the PO file as a regular .c file: +If the PO get lost, keeping this translation up-to-date will be harder. + +=encoding UTF-8 + +=head1 TÍTULO DE PRUEBA + +BLÈBLEBLE LÁLALALA + diff --git a/t/charset/input-iso8859/_output b/t/charset/input-iso8859/_output new file mode 100644 index 0000000..6056d6c --- /dev/null +++ b/t/charset/input-iso8859/_output @@ -0,0 +1,3 @@ +Updating iso8859.pot: (2 entries) +Updating iso8859.up.po: 2 translated messages. +iso8859.up.pod is 100% translated (2 strings). diff --git a/t/charset/input-iso8859/iso8859.pod b/t/charset/input-iso8859/iso8859.pod new file mode 100644 index 0000000..dfbe5e1 --- /dev/null +++ b/t/charset/input-iso8859/iso8859.pod @@ -0,0 +1,4 @@ +=head1 Ttulo de prueba + +blbleble +llalala diff --git a/t/charset/input-iso8859/iso8859.pot b/t/charset/input-iso8859/iso8859.pot new file mode 100644 index 0000000..b48cae2 --- /dev/null +++ b/t/charset/input-iso8859/iso8859.pot @@ -0,0 +1,27 @@ +# 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-11 17:44+0200\n" +"PO-Revision-Date: 2020-04-09 17:33+0200\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: =head1 +#: charset/input/iso8859.pod:1 +msgid "Título de prueba" +msgstr "" + +#. type: textblock +#: charset/input/iso8859.pod:3 +msgid "blèbleble lálalala" +msgstr "" diff --git a/t/charset/input-iso8859/iso8859.up.po b/t/charset/input-iso8859/iso8859.up.po new file mode 100644 index 0000000..8a0a58b --- /dev/null +++ b/t/charset/input-iso8859/iso8859.up.po @@ -0,0 +1,26 @@ +# Language up 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: 2020-04-11 17:44+0200\n" +"PO-Revision-Date: 2020-04-09 17:33+0200\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: up\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: =head1 +#: charset/input/iso8859.pod:1 +msgid "Título de prueba" +msgstr "TÍTULO DE PRUEBA" + +#. type: textblock +#: charset/input/iso8859.pod:3 +msgid "blèbleble lálalala" +msgstr "BLÈBLEBLE LÁLALALA" diff --git a/t/charset/input-iso8859/po4a.conf b/t/charset/input-iso8859/po4a.conf new file mode 100644 index 0000000..fe0124d --- /dev/null +++ b/t/charset/input-iso8859/po4a.conf @@ -0,0 +1,4 @@ +[po4a_paths] iso8859.pot up:iso8859.up.po +[options] opt:"--msgmerge-opt --silent --master-charset ISO-8859-1" + +[type:pod] iso8859.pod up:iso8859.up.pod diff --git a/t/charset/input-utf8/_output b/t/charset/input-utf8/_output new file mode 100644 index 0000000..1c6e038 --- /dev/null +++ b/t/charset/input-utf8/_output @@ -0,0 +1,3 @@ +Updating utf8.pot: (2 entries) +Updating utf8.up.po: 2 translated messages. +utf8.up.pod is 100% translated (2 strings). diff --git a/t/charset/input-utf8/_utf8.up.pod b/t/charset/input-utf8/_utf8.up.pod new file mode 100644 index 0000000..091122b --- /dev/null +++ b/t/charset/input-utf8/_utf8.up.pod @@ -0,0 +1,18 @@ + + ***************************************************** + * GENERATED FILE, DO NOT EDIT * + * THIS IS NO SOURCE FILE, BUT RESULT OF COMPILATION * + ***************************************************** + +This file was generated by po4a(7). Do not store it (in VCS, for example), +but store the PO file used as source file by po4a-translate. + +In fact, consider this as a binary, and the PO file as a regular .c file: +If the PO get lost, keeping this translation up-to-date will be harder. + +=encoding UTF-8 + +=head1 TÍTULO DE PRUEBA + +BLÈBLEBLE LÁLALALA + diff --git a/t/charset/input-utf8/po4a.conf b/t/charset/input-utf8/po4a.conf new file mode 100644 index 0000000..2968bb5 --- /dev/null +++ b/t/charset/input-utf8/po4a.conf @@ -0,0 +1,4 @@ +[po4a_paths] utf8.pot up:utf8.up.po +[options] opt:"--msgmerge-opt --silent --master-charset UTF-8" + +[type:pod] utf8.pod up:utf8.up.pod diff --git a/t/charset/input-utf8/utf8.pod b/t/charset/input-utf8/utf8.pod new file mode 100644 index 0000000..4d65bf6 --- /dev/null +++ b/t/charset/input-utf8/utf8.pod @@ -0,0 +1,4 @@ +=head1 Título de prueba + +blèbleble +lálalala diff --git a/t/charset/input-utf8/utf8.pot b/t/charset/input-utf8/utf8.pot new file mode 100644 index 0000000..b69a8bf --- /dev/null +++ b/t/charset/input-utf8/utf8.pot @@ -0,0 +1,27 @@ +# 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-12 00:26+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: =head1 +#: charset/input-utf8/utf8.pod:1 +msgid "Título de prueba" +msgstr "" + +#. type: textblock +#: charset/input-utf8/utf8.pod:3 +msgid "blèbleble lálalala" +msgstr "" diff --git a/t/charset/input-utf8/utf8.up.po b/t/charset/input-utf8/utf8.up.po new file mode 100644 index 0000000..7041296 --- /dev/null +++ b/t/charset/input-utf8/utf8.up.po @@ -0,0 +1,26 @@ +# Language up 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: 2020-04-12 00:24+0200\n" +"PO-Revision-Date: 2020-04-12 00:24+0200\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: up\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: =head1 +#: charset/input-utf8/utf8.pod:1 +msgid "Título de prueba" +msgstr "TÍTULO DE PRUEBA" + +#. type: textblock +#: charset/input-utf8/utf8.pod:3 +msgid "blèbleble lálalala" +msgstr "BLÈBLEBLE LÁLALALA" diff --git a/t/charset/yaml/utf8.norm b/t/charset/yaml/utf8.norm new file mode 100644 index 0000000..444e273 --- /dev/null +++ b/t/charset/yaml/utf8.norm @@ -0,0 +1,3 @@ +--- +meta: + lang: 日本語 diff --git a/t/charset/yaml/utf8.po b/t/charset/yaml/utf8.po new file mode 100644 index 0000000..36cd1ee --- /dev/null +++ b/t/charset/yaml/utf8.po @@ -0,0 +1,23 @@ +# 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: 2021-02-08 08:18+0100\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: Hash Value: meta lang +#: utf8.yaml:1 +#, no-wrap +msgid "日本語" +msgstr "UPPER CASE" diff --git a/t/charset/yaml/utf8.pot b/t/charset/yaml/utf8.pot new file mode 100644 index 0000000..7dcea62 --- /dev/null +++ b/t/charset/yaml/utf8.pot @@ -0,0 +1,23 @@ +# 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: 2021-02-08 08:18+0100\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: Hash Value: meta lang +#: utf8.yaml:1 +#, no-wrap +msgid "日本語" +msgstr "" diff --git a/t/charset/yaml/utf8.trans b/t/charset/yaml/utf8.trans new file mode 100644 index 0000000..d8afa3a --- /dev/null +++ b/t/charset/yaml/utf8.trans @@ -0,0 +1,3 @@ +--- +meta: + lang: 'UPPER CASE' diff --git a/t/charset/yaml/utf8.yaml b/t/charset/yaml/utf8.yaml new file mode 100644 index 0000000..444e273 --- /dev/null +++ b/t/charset/yaml/utf8.yaml @@ -0,0 +1,3 @@ +--- +meta: + lang: 日本語 |