mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Merge pull request #3589 from k0uki/fix_ja_pluralization_rules
pluralizationRules for Japanese translation
This commit is contained in:
commit
8b79337ca4
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
//= depend_on 'client.ja.yml'
|
||||
//= require locales/i18n
|
||||
<%= JsLocaleHelper.output_locale(:ja) %>
|
||||
|
||||
I18n.pluralizationRules['ja'] = function (n) {
|
||||
return n === 0 ? ["zero", "none", "other"] : "other";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue