diff --git a/app/assets/javascripts/locales/ja.js.erb b/app/assets/javascripts/locales/ja.js.erb index 2bb653952a6..b258ba577d5 100644 --- a/app/assets/javascripts/locales/ja.js.erb +++ b/app/assets/javascripts/locales/ja.js.erb @@ -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"; +};