-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored a bit too, so we can use interfaces to take Mo and Po files added fixtures found that the parser for Po files have a bug... but it works... so not touched
- Loading branch information
Josef Fröhle
committed
Mar 24, 2018
1 parent
8c36835
commit cd46239
Showing
23 changed files
with
1,726 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
msgid "" | ||
msgstr "" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"Project-Id-Version: \n" | ||
"POT-Creation-Date: \n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: Josef Fröhle <[email protected]>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: de\n" | ||
"X-Generator: Poedit 2.0.6\n" | ||
"X-Poedit-SourceCharset: UTF-8\n" | ||
|
||
# Initial comment | ||
# Headers below | ||
msgid "language" | ||
msgstr "de" | ||
|
||
# Some comment | ||
msgid "My text" | ||
msgstr "Translated text" | ||
|
||
# More comments | ||
msgid "Another string" | ||
msgstr "" | ||
|
||
# Multi-line msgid | ||
msgid "" | ||
"multi\n" | ||
"line\n" | ||
"id" | ||
msgstr "id with multiline content" | ||
|
||
# Multi-line msgid_plural | ||
msgid "" | ||
"multi\n" | ||
"line\n" | ||
"plural\n" | ||
"id" | ||
msgstr "plural id with multiline content" | ||
|
||
# Multi-line string | ||
msgid "Multi-line" | ||
msgstr "" | ||
"Multi \n" | ||
"line" | ||
|
||
msgid "One with var: %s" | ||
msgid_plural "Several with vars: %s" | ||
msgstr[0] "This one is the singular: %s" | ||
msgstr[1] "This one is the plural: %s" | ||
|
||
msgctxt "Ctx" | ||
msgid "One with var: %s" | ||
msgid_plural "Several with vars: %s" | ||
msgstr[0] "This one is the singular in a Ctx context: %s" | ||
msgstr[1] "This one is the plural in a Ctx context: %s" | ||
|
||
msgid "Some random" | ||
msgstr "Some random translation" | ||
|
||
msgctxt "Ctx" | ||
msgid "Some random in a context" | ||
msgstr "Some random translation in a context" | ||
|
||
msgid "Empty translation" | ||
msgstr "" | ||
|
||
msgid "Empty plural form singular" | ||
msgid_plural "Empty plural form" | ||
msgstr[0] "Singular translated" | ||
msgstr[1] "" | ||
|
||
msgid "More" | ||
msgstr "More translation" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
msgid "" | ||
msgstr "" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"Project-Id-Version: \n" | ||
"POT-Creation-Date: \n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: Josef Fröhle <[email protected]>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: de_DE\n" | ||
"X-Generator: Poedit 2.0.6\n" | ||
"X-Poedit-SourceCharset: UTF-8\n" | ||
|
||
# Initial comment | ||
# Headers below | ||
msgid "language" | ||
msgstr "de_DE" | ||
|
||
# Some comment | ||
msgid "My text" | ||
msgstr "Translated text" | ||
|
||
# More comments | ||
msgid "Another string" | ||
msgstr "" | ||
|
||
# Multi-line msgid | ||
msgid "" | ||
"multi\n" | ||
"line\n" | ||
"id" | ||
msgstr "id with multiline content" | ||
|
||
# Multi-line msgid_plural | ||
msgid "" | ||
"multi\n" | ||
"line\n" | ||
"plural\n" | ||
"id" | ||
msgstr "plural id with multiline content" | ||
|
||
# Multi-line string | ||
msgid "Multi-line" | ||
msgstr "" | ||
"Multi \n" | ||
"line" | ||
|
||
msgid "One with var: %s" | ||
msgid_plural "Several with vars: %s" | ||
msgstr[0] "This one is the singular: %s" | ||
msgstr[1] "This one is the plural: %s" | ||
|
||
msgctxt "Ctx" | ||
msgid "One with var: %s" | ||
msgid_plural "Several with vars: %s" | ||
msgstr[0] "This one is the singular in a Ctx context: %s" | ||
msgstr[1] "This one is the plural in a Ctx context: %s" | ||
|
||
msgid "Some random" | ||
msgstr "Some random translation" | ||
|
||
msgctxt "Ctx" | ||
msgid "Some random in a context" | ||
msgstr "Some random translation in a context" | ||
|
||
msgid "Empty translation" | ||
msgstr "" | ||
|
||
msgid "Empty plural form singular" | ||
msgid_plural "Empty plural form" | ||
msgstr[0] "Singular translated" | ||
msgstr[1] "" | ||
|
||
msgid "More" | ||
msgstr "More translation" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
msgid "" | ||
msgstr "" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"Project-Id-Version: \n" | ||
"POT-Creation-Date: \n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: Josef Fröhle <[email protected]>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: en_US\n" | ||
"X-Generator: Poedit 2.0.6\n" | ||
"X-Poedit-SourceCharset: UTF-8\n" | ||
|
||
# Initial comment | ||
# Headers below | ||
msgid "language" | ||
msgstr "en_AU" | ||
|
||
# Some comment | ||
msgid "My text" | ||
msgstr "Translated text" | ||
|
||
# More comments | ||
msgid "Another string" | ||
msgstr "" | ||
|
||
# Multi-line msgid | ||
msgid "multilineid" | ||
msgstr "id with multiline content" | ||
|
||
# Multi-line msgid_plural | ||
msgid "multilinepluralid" | ||
msgstr "plural id with multiline content" | ||
|
||
# Multi-line string | ||
msgid "Multi-line" | ||
msgstr "Multi line" | ||
|
||
msgid "One with var: %s" | ||
msgid_plural "Several with vars: %s" | ||
msgstr[0] "This one is the singular: %s" | ||
msgstr[1] "This one is the plural: %s" | ||
|
||
msgctxt "Ctx" | ||
msgid "One with var: %s" | ||
msgid_plural "Several with vars: %s" | ||
msgstr[0] "This one is the singular in a Ctx context: %s" | ||
msgstr[1] "This one is the plural in a Ctx context: %s" | ||
|
||
msgid "Some random" | ||
msgstr "Some random translation" | ||
|
||
msgctxt "Ctx" | ||
msgid "Some random in a context" | ||
msgstr "Some random translation in a context" | ||
|
||
msgid "Empty translation" | ||
msgstr "" | ||
|
||
msgid "Empty plural form singular" | ||
msgid_plural "Empty plural form" | ||
msgstr[0] "Singular translated" | ||
msgstr[1] "" | ||
|
||
msgid "More" | ||
msgstr "More translation" |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
msgid "" | ||
msgstr "" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"Project-Id-Version: \n" | ||
"POT-Creation-Date: \n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: Josef Fröhle <[email protected]>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: en_US\n" | ||
"X-Generator: Poedit 2.0.6\n" | ||
"X-Poedit-SourceCharset: UTF-8\n" | ||
|
||
# Initial comment | ||
# Headers below | ||
msgid "language" | ||
msgstr "en_US" | ||
|
||
# Some comment | ||
msgid "My text" | ||
msgstr "Translated text" | ||
|
||
# More comments | ||
msgid "Another string" | ||
msgstr "" | ||
|
||
# Multi-line msgid | ||
msgid "multilineid" | ||
msgstr "id with multiline content" | ||
|
||
# Multi-line msgid_plural | ||
msgid "multilinepluralid" | ||
msgstr "plural id with multiline content" | ||
|
||
# Multi-line string | ||
msgid "Multi-line" | ||
msgstr "Multi line" | ||
|
||
msgid "One with var: %s" | ||
msgid_plural "Several with vars: %s" | ||
msgstr[0] "This one is the singular: %s" | ||
msgstr[1] "This one is the plural: %s" | ||
|
||
msgctxt "Ctx" | ||
msgid "One with var: %s" | ||
msgid_plural "Several with vars: %s" | ||
msgstr[0] "This one is the singular in a Ctx context: %s" | ||
msgstr[1] "This one is the plural in a Ctx context: %s" | ||
|
||
msgid "Some random" | ||
msgstr "Some random translation" | ||
|
||
msgctxt "Ctx" | ||
msgid "Some random in a context" | ||
msgstr "Some random translation in a context" | ||
|
||
msgid "Empty translation" | ||
msgstr "" | ||
|
||
msgid "Empty plural form singular" | ||
msgid_plural "Empty plural form" | ||
msgstr[0] "Singular translated" | ||
msgstr[1] "" | ||
|
||
msgid "More" | ||
msgstr "More translation" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
msgid "" | ||
msgstr "" | ||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||
"Project-Id-Version: \n" | ||
"POT-Creation-Date: \n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: Josef Fröhle <[email protected]>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: fr\n" | ||
"X-Generator: Poedit 2.0.6\n" | ||
"X-Poedit-SourceCharset: UTF-8\n" | ||
|
||
# Initial comment | ||
# Headers below | ||
msgid "language" | ||
msgstr "fr" | ||
|
||
# Some comment | ||
msgid "My text" | ||
msgstr "Translated text" | ||
|
||
# More comments | ||
msgid "Another string" | ||
msgstr "" | ||
|
||
# Multi-line msgid | ||
msgid "" | ||
"multi\n" | ||
"line\n" | ||
"id" | ||
msgstr "id with multiline content" | ||
|
||
# Multi-line msgid_plural | ||
msgid "" | ||
"multi\n" | ||
"line\n" | ||
"plural\n" | ||
"id" | ||
msgstr "plural id with multiline content" | ||
|
||
# Multi-line string | ||
msgid "Multi-line" | ||
msgstr "" | ||
"Multi \n" | ||
"line" | ||
|
||
msgid "One with var: %s" | ||
msgid_plural "Several with vars: %s" | ||
msgstr[0] "This one is the singular: %s" | ||
msgstr[1] "This one is the plural: %s" | ||
|
||
msgctxt "Ctx" | ||
msgid "One with var: %s" | ||
msgid_plural "Several with vars: %s" | ||
msgstr[0] "This one is the singular in a Ctx context: %s" | ||
msgstr[1] "This one is the plural in a Ctx context: %s" | ||
|
||
msgid "Some random" | ||
msgstr "Some random translation" | ||
|
||
msgctxt "Ctx" | ||
msgid "Some random in a context" | ||
msgstr "Some random translation in a context" | ||
|
||
msgid "Empty translation" | ||
msgstr "" | ||
|
||
msgid "Empty plural form singular" | ||
msgid_plural "Empty plural form" | ||
msgstr[0] "Singular translated" | ||
msgstr[1] "" | ||
|
||
msgid "More" | ||
msgstr "More translation" |
Oops, something went wrong.