This repository has been archived by the owner on May 16, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #66 - Gettext adapter cannot translate plurals when the target …
…language has only one plural form
- Loading branch information
1 parent
a382a5e
commit 4a7f3c8
Showing
6 changed files
with
82 additions
and
1 deletion.
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
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.
18 changes: 18 additions & 0 deletions
18
tests/Zend/Translate/Adapter/_files/translation_plural_fr.po
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,18 @@ | ||
msgid "" | ||
msgstr "" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Plural-Forms: nplurals=2; plural=n > 1;\n" | ||
"Project-Id-Version: \n" | ||
"POT-Creation-Date: \n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: fr\n" | ||
"X-Generator: Poedit 1.6.3\n" | ||
|
||
msgid "There is %d message" | ||
msgid_plural "There are %d messages" | ||
msgstr[0] "Il ya %d message" | ||
msgstr[1] "Il ya %d messages" |
Binary file not shown.
17 changes: 17 additions & 0 deletions
17
tests/Zend/Translate/Adapter/_files/translation_plural_tr.po
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,17 @@ | ||
msgid "" | ||
msgstr "" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Plural-Forms: nplurals=1; plural=0;\n" | ||
"Project-Id-Version: \n" | ||
"POT-Creation-Date: \n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: tr\n" | ||
"X-Generator: Poedit 1.6.3\n" | ||
|
||
msgid "There is %d message" | ||
msgid_plural "There are %d message" | ||
msgstr[0] "%d mesaj var" |