diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 11:26:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 11:26:17 +0000 |
commit | 5df6c2aefebe3d2abcc939a88e294876d59f03ca (patch) | |
tree | 63fb332a0f21ddb91cb789c80cf64e134d373463 /t/cfg/split-yaml | |
parent | Initial commit. (diff) | |
download | po4a-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/split-yaml')
-rw-r--r-- | t/cfg/split-yaml/_index.md | 3 | ||||
-rw-r--r-- | t/cfg/split-yaml/_index.vi.md | 3 | ||||
-rw-r--r-- | t/cfg/split-yaml/_output | 4 | ||||
-rw-r--r-- | t/cfg/split-yaml/content.pot | 27 | ||||
-rw-r--r-- | t/cfg/split-yaml/content.vi.po | 27 | ||||
-rw-r--r-- | t/cfg/split-yaml/en.yaml | 6 | ||||
-rw-r--r-- | t/cfg/split-yaml/i18n.pot | 35 | ||||
-rw-r--r-- | t/cfg/split-yaml/i18n.vi.po | 35 | ||||
-rw-r--r-- | t/cfg/split-yaml/po4a.cfg | 5 | ||||
-rw-r--r-- | t/cfg/split-yaml/vi.yaml | 7 |
10 files changed, 152 insertions, 0 deletions
diff --git a/t/cfg/split-yaml/_index.md b/t/cfg/split-yaml/_index.md new file mode 100644 index 0000000..c5a04d0 --- /dev/null +++ b/t/cfg/split-yaml/_index.md @@ -0,0 +1,3 @@ +Happy birthday. + +Happy new year. diff --git a/t/cfg/split-yaml/_index.vi.md b/t/cfg/split-yaml/_index.vi.md new file mode 100644 index 0000000..6210788 --- /dev/null +++ b/t/cfg/split-yaml/_index.vi.md @@ -0,0 +1,3 @@ +Chúc mừng sinh nhật. + +Chúc mừng năm mới. diff --git a/t/cfg/split-yaml/_output b/t/cfg/split-yaml/_output new file mode 100644 index 0000000..1530d95 --- /dev/null +++ b/t/cfg/split-yaml/_output @@ -0,0 +1,4 @@ +Split mode, creating a temporary POT: (5 entries) +Updating the translation in language vi: 5 translated messages. +_index.vi.md is 100% translated (2 strings). +vi.yaml is 100% translated (3 strings). diff --git a/t/cfg/split-yaml/content.pot b/t/cfg/split-yaml/content.pot new file mode 100644 index 0000000..8b92b77 --- /dev/null +++ b/t/cfg/split-yaml/content.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: 2021-02-08 09:11+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: Plain text +#: _index.md:2 +msgid "Happy birthday." +msgstr "" + +#. type: Plain text +#: _index.md:3 +msgid "Happy new year." +msgstr "" diff --git a/t/cfg/split-yaml/content.vi.po b/t/cfg/split-yaml/content.vi.po new file mode 100644 index 0000000..1c38c19 --- /dev/null +++ b/t/cfg/split-yaml/content.vi.po @@ -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: 2021-02-08 09:11+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: Plain text +#: _index.md:2 +msgid "Happy birthday." +msgstr "Chúc mừng sinh nhật." + +#. type: Plain text +#: _index.md:3 +msgid "Happy new year." +msgstr "Chúc mừng năm mới." diff --git a/t/cfg/split-yaml/en.yaml b/t/cfg/split-yaml/en.yaml new file mode 100644 index 0000000..f5d1fa8 --- /dev/null +++ b/t/cfg/split-yaml/en.yaml @@ -0,0 +1,6 @@ +translated-by: + other: 'Translated by' +translations: + other: Languages +select-your-language: + other: 'Select your language' diff --git a/t/cfg/split-yaml/i18n.pot b/t/cfg/split-yaml/i18n.pot new file mode 100644 index 0000000..7e50912 --- /dev/null +++ b/t/cfg/split-yaml/i18n.pot @@ -0,0 +1,35 @@ +# 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 09:11+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: select-your-language other +#: en.yaml:0 +#, no-wrap +msgid "Select your language" +msgstr "" + +#. type: Hash Value: translated-by other +#: en.yaml:0 +#, no-wrap +msgid "Translated by" +msgstr "" + +#. type: Hash Value: translations other +#: en.yaml:0 +#, no-wrap +msgid "Languages" +msgstr "" diff --git a/t/cfg/split-yaml/i18n.vi.po b/t/cfg/split-yaml/i18n.vi.po new file mode 100644 index 0000000..06c78f5 --- /dev/null +++ b/t/cfg/split-yaml/i18n.vi.po @@ -0,0 +1,35 @@ +# 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 09:08+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: select-your-language other +#: en.yaml:0 +#, no-wrap +msgid "Select your language" +msgstr "Chọn ngôn ngữ" + +#. type: Hash Value: translated-by other +#: en.yaml:0 +#, no-wrap +msgid "Translated by" +msgstr "Dịch bởi" + +#. type: Hash Value: translations other +#: en.yaml:0 +#, no-wrap +msgid "Languages" +msgstr "Ngôn ngữ" diff --git a/t/cfg/split-yaml/po4a.cfg b/t/cfg/split-yaml/po4a.cfg new file mode 100644 index 0000000..e3458f6 --- /dev/null +++ b/t/cfg/split-yaml/po4a.cfg @@ -0,0 +1,5 @@ +[po4a_langs] vi +[po4a_paths] $master.pot $lang:$master.$lang.po +[type: text] _index.md $lang:_index.$lang.md pot=content opt:"-o markdown" +[type: yaml] en.yaml $lang:$lang.yaml pot=i18n +[options] -M utf-8 -L utf-8 diff --git a/t/cfg/split-yaml/vi.yaml b/t/cfg/split-yaml/vi.yaml new file mode 100644 index 0000000..972e020 --- /dev/null +++ b/t/cfg/split-yaml/vi.yaml @@ -0,0 +1,7 @@ +--- +select-your-language: + other: 'Chọn ngôn ngữ' +translated-by: + other: 'Dịch bởi' +translations: + other: 'Ngôn ngữ' |