diff --git a/lib/javascripts/locale/fa_IR.js b/lib/javascripts/locale/fa_IR.js new file mode 100644 index 00000000000..a830b2cdc16 --- /dev/null +++ b/lib/javascripts/locale/fa_IR.js @@ -0,0 +1,3 @@ +MessageFormat.locale.fa_IR = function ( n ) { + return "other"; +}; diff --git a/lib/javascripts/locale/pl_PL.js b/lib/javascripts/locale/pl_PL.js new file mode 100644 index 00000000000..05437893163 --- /dev/null +++ b/lib/javascripts/locale/pl_PL.js @@ -0,0 +1,15 @@ +MessageFormat.locale.pl_PL = function (n) { + if (n == 1) { + return 'one'; + } + if ((n % 10) >= 2 && (n % 10) <= 4 && + ((n % 100) < 12 || (n % 100) > 14) && n == Math.floor(n)) { + return 'few'; + } + if ((n % 10) === 0 || n != 1 && (n % 10) == 1 || + ((n % 10) >= 5 && (n % 10) <= 9 || (n % 100) >= 12 && (n % 100) <= 14) && + n == Math.floor(n)) { + return 'many'; + } + return 'other'; +}; diff --git a/lib/javascripts/locale/tr_TR.js b/lib/javascripts/locale/tr_TR.js new file mode 100644 index 00000000000..83d9c02c960 --- /dev/null +++ b/lib/javascripts/locale/tr_TR.js @@ -0,0 +1,3 @@ +MessageFormat.locale.tr_TR = function(n) { + return 'other'; +};