Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added support for contextual translations
* Changed behavior or parameters replacement
- Loading branch information
Showing
4 changed files
with
129 additions
and
39 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
exports.fr = { | ||
'guy': 'mec', | ||
'You have %n% messages': "[0]Vous n'avez aucun message|[1]Vous avez un message|[2-+Inf]Vous avez %n% messages" | ||
'x': 'x (en français)', | ||
'You have {n} messages': "[0]Vous n'avez aucun message|[1]Vous avez un message|[2-+Inf]Vous avez {n} messages", | ||
'Hello, {name}': "Bonjour, {name}", | ||
'female:Hello, {name}': "Bonjour, mademoiselle {name}", | ||
'male:Hello, {name}': "Bonjour, monsieur {name}" | ||
}; | ||
|
||
exports.en = { | ||
'guy': 'some guy' | ||
'x': 'x (in English)' | ||
}; | ||
|
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