From 31c8b5763fd7d8efbbe34e0100b31f2437baada2 Mon Sep 17 00:00:00 2001 From: Kane York Date: Wed, 14 Jan 2015 10:39:31 -0800 Subject: [PATCH] Set Turkish pluralization rules Turkish does not have different forms for singulars next to numerals https://meta.discourse.org/t/turkish-translation-missing-many-singular-strings/23334/ --- app/assets/javascripts/locales/tr_TR.js.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/javascripts/locales/tr_TR.js.erb b/app/assets/javascripts/locales/tr_TR.js.erb index 1f7fa13c9ba..f5dc5386446 100644 --- a/app/assets/javascripts/locales/tr_TR.js.erb +++ b/app/assets/javascripts/locales/tr_TR.js.erb @@ -1,3 +1,5 @@ //= depend_on 'client.tr_TR.yml' //= require locales/i18n <%= JsLocaleHelper.output_locale(:tr_TR) %> + +I18n.pluralizationRules['tr_TR'] = function(n) { return "other"; }