FIX: add missing MessageFormat files for fa_IR, pl_PL and tr_TR

This commit is contained in:
Neil Lalonde 2016-03-30 14:02:24 -04:00
parent 6f0137dec9
commit 44e41df76b
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,3 @@
MessageFormat.locale.fa_IR = function ( n ) {
return "other";
};

View File

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

View File

@ -0,0 +1,3 @@
MessageFormat.locale.tr_TR = function(n) {
return 'other';
};