2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-10 01:42:47 +08:00

pluralizationRules for Japanese translation

This commit is contained in:
k0uki 2015-07-05 21:07:03 +09:00
parent df55596907
commit 612a318db4

View file

@ -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";
};