mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:37:55 +08:00
pluralizationRules for Japanese translation
This commit is contained in:
parent
df55596907
commit
612a318db4
|
@ -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 New Issue
Block a user