refactor(common): update generated i18n data (#18907)

PR Close #18907
This commit is contained in:
Victor Berchet 2017-08-23 17:10:48 -07:00 committed by Miško Hevery
parent 832876d0a1
commit 6970396c01
517 changed files with 1672 additions and 2757 deletions

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'af-NA',
[
@ -41,10 +39,10 @@ export default [
,
],
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'R', 'Suid-Afrikaanse rand',
function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
}
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'R', 'Suid-Afrikaanse rand', function(n: number):
number {
if (n === 1)
return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'af',
[
@ -41,10 +39,10 @@ export default [
,
],
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'R', 'Suid-Afrikaanse rand',
function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
}
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'R', 'Suid-Afrikaanse rand', function(n: number):
number {
if (n === 1)
return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'agq',
[
@ -43,5 +41,5 @@ export default [
],
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], 'FCFA', 'CFA Fàlâŋ BEAC',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ak',
[
@ -44,8 +42,8 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'GH₵', 'Ghana Sidi',
function(n: number):
Plural {
if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One;
return Plural.Other;
number {
if (n === Math.floor(n) && n >= 0 && n <= 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'am',
[
@ -41,11 +39,11 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'ብር', 'የኢትዮጵያ ብር', function(n: number):
Plural {
number {
let i =
Math.floor(Math.abs(n));
if (i === 0 || n === 1)
return Plural.One;
return Plural.Other;
return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-AE',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'د.إ.', 'درهم إماراتي',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-BH',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'د.ب.', 'دينار بحريني',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-DJ',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'Fdj', 'فرنك جيبوتي',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-DZ',
[
@ -42,12 +40,12 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'د.ج.', 'دينار جزائري',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-EG',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ج.م.', 'جنيه مصري',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-EH',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'د.م.', 'درهم مغربي',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-ER',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'Nfk', 'ناكفا أريتري',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-IL',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '₪', 'شيكل إسرائيلي جديد',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-IQ',
[
@ -53,12 +51,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'د.ع.', 'دينار عراقي',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-JO',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'د.أ.', 'دينار أردني',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-KM',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ف.ج.ق.', 'فرنك جزر القمر',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-KW',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'د.ك.', 'دينار كويتي',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-LB',
[
@ -42,12 +40,12 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ل.ل.', 'جنيه لبناني',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-LY',
[
@ -42,12 +40,12 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'د.ل.', 'دينار ليبي',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-MA',
[
@ -42,12 +40,12 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'د.م.', 'درهم مغربي',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-MR',
[
@ -42,12 +40,12 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'أ.م.', 'أوقية موريتانية',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-OM',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ر.ع.', 'ريال عماني',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-PS',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '₪', 'شيكل إسرائيلي جديد',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-QA',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ر.ق.', 'ريال قطري',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-SA',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '٪', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ر.س.', 'ريال سعودي',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-SD',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ج.س.', 'جنيه سوداني',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-SO',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '٪', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'S', 'شلن صومالي',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-SS',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '£', 'جنيه جنوب السودان',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-SY',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ل.س.', 'ليرة سورية',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-TD',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'FCFA', 'فرنك وسط أفريقي',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-TN',
[
@ -42,12 +40,12 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'د.ت.', 'دينار تونسي',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar-YE',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ر.ي.', 'ريال يمني',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ar',
[
@ -42,12 +40,12 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ج.م.', 'جنيه مصري',
function(n: number):
Plural {
if (n === 0) return Plural.Zero;
if (n === 1) return Plural.One;
if (n === 2) return Plural.Two;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return 3;
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'as',
[
@ -47,9 +45,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], '₹', 'INR',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n));
if (i === 0 || n === 1) return Plural.One;
return Plural.Other;
if (i === 0 || n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'asa',
[
@ -41,10 +39,10 @@ export default [
,
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'TSh', 'shilingi ya Tandhania',
function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
}
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'TSh', 'shilingi ya Tandhania', function(n: number):
number {
if (n === 1)
return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ast', [['a', 'p'], ['AM', 'PM'], ['de la mañana', 'de la tarde']],
[['a', 'p'], ['AM', 'PM'], ['mañana', 'tarde']],
@ -47,9 +45,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ND', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'az-Cyrl',
[
@ -53,5 +51,5 @@ export default [
],
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '₼', 'AZN',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'az-Latn',
[
@ -52,10 +50,10 @@ export default [
,
],
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '₼', 'Azərbaycan Manatı',
function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
}
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '₼', 'Azərbaycan Manatı', function(n: number):
number {
if (n === 1)
return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'az',
[
@ -52,10 +50,10 @@ export default [
,
],
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '₼', 'Azərbaycan Manatı',
function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
}
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '₼', 'Azərbaycan Manatı', function(n: number):
number {
if (n === 1)
return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bas',
[
@ -42,5 +40,5 @@ export default [
],
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'FCFA', 'Frǎŋ CFA (BEAC)',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'be',
[
@ -54,14 +52,14 @@ export default [
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'Br', 'беларускі рубель',
function(n: number):
Plural {
if (n % 10 === 1 && !(n % 100 === 11)) return Plural.One;
number {
if (n % 10 === 1 && !(n % 100 === 11)) return 1;
if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 4 &&
!(n % 100 >= 12 && n % 100 <= 14))
return Plural.Few;
return 3;
if (n % 10 === 0 || n % 10 === Math.floor(n % 10) && n % 10 >= 5 && n % 10 <= 9 ||
n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 14)
return Plural.Many;
return Plural.Other;
return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bem',
[
@ -45,8 +43,8 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'K', 'ZMW', function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
number {
if (n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bez',
[
@ -46,10 +44,10 @@ export default [
,
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], 'TSh', 'Shilingi ya Hutanzania',
function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
}
['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], 'TSh', 'Shilingi ya Hutanzania', function(n: number):
number {
if (n === 1)
return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bg', [['am', 'pm'], , ['пр.об.', 'сл.об.']],
[
@ -41,9 +39,8 @@ export default [
],
[',', ' ', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '0.00 ¤', '#E0'], 'лв.', 'Български лев', function(n: number):
Plural {
if (n === 1)
return Plural.One;
return Plural.Other;
number {
if (n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bm',
[
@ -42,5 +40,5 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'CFA', 'sefa Fraŋ (BCEAO)',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bn-IN',
[
@ -60,9 +58,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], '₹', 'ভারতীয় রুপি',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n));
if (i === 0 || n === 1) return Plural.One;
return Plural.Other;
if (i === 0 || n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bn',
[
@ -60,9 +58,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], '৳', 'বাংলাদেশী টাকা',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n));
if (i === 0 || n === 1) return Plural.One;
return Plural.Other;
if (i === 0 || n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bo-IN',
[
@ -54,5 +52,5 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '₹', 'རྒྱ་གར་སྒོར་',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bo',
[
@ -54,5 +52,5 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '¥', 'ཡུ་ཨན་',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'br',
[
@ -60,16 +58,14 @@ export default [
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'euro',
function(n: number):
Plural {
if (n % 10 === 1 && !(n % 100 === 11 || n % 100 === 71 || n % 100 === 91))
return Plural.One;
if (n % 10 === 2 && !(n % 100 === 12 || n % 100 === 72 || n % 100 === 92))
return Plural.Two;
number {
if (n % 10 === 1 && !(n % 100 === 11 || n % 100 === 71 || n % 100 === 91)) return 1;
if (n % 10 === 2 && !(n % 100 === 12 || n % 100 === 72 || n % 100 === 92)) return 2;
if (n % 10 === Math.floor(n % 10) && (n % 10 >= 3 && n % 10 <= 4 || n % 10 === 9) &&
!(n % 100 >= 10 && n % 100 <= 19 || n % 100 >= 70 && n % 100 <= 79 ||
n % 100 >= 90 && n % 100 <= 99))
return Plural.Few;
if (!(n === 0) && n % 1e6 === 0) return Plural.Many;
return Plural.Other;
return 3;
if (!(n === 0) && n % 1e6 === 0) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'brx',
[
@ -45,9 +43,8 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], '₹', 'रां', function(n: number):
Plural {
if (n === 1)
return Plural.One;
return Plural.Other;
number {
if (n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bs-Cyrl',
[
@ -42,5 +40,5 @@ export default [
],
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'КМ', 'Конвертибилна марка',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bs-Latn',
[
@ -47,16 +45,16 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'KM', 'Bosanskohercegovačka konvertibilna marka',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11))
return Plural.One;
return 1;
if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&
!(i % 100 >= 12 && i % 100 <= 14) ||
f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 &&
!(f % 100 >= 12 && f % 100 <= 14))
return Plural.Few;
return Plural.Other;
return 3;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'bs',
[
@ -47,16 +45,16 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'KM', 'Bosanskohercegovačka konvertibilna marka',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11))
return Plural.One;
return 1;
if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&
!(i % 100 >= 12 && i % 100 <= 14) ||
f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 &&
!(f % 100 >= 12 && f % 100 <= 14))
return Plural.Few;
return Plural.Other;
return 3;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ca-AD',
[
@ -56,9 +54,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ca-ES-VALENCIA',
[
@ -56,9 +54,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ca-FR',
[
@ -56,9 +54,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ca-IT',
[
@ -56,9 +54,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ca',
[
@ -56,9 +54,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ce',
[
@ -46,9 +44,8 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'Терхьаш дац', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '₽', 'Российн сом', function(n: number):
Plural {
if (n === 1)
return Plural.One;
return Plural.Other;
number {
if (n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'cgg',
[
@ -42,10 +40,10 @@ export default [
,
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'USh', 'Eshiringi ya Uganda',
function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
}
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'USh', 'Eshiringi ya Uganda', function(n: number):
number {
if (n === 1)
return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'chr',
[
@ -42,8 +40,8 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'US ', function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
number {
if (n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ckb-IR',
[
@ -45,8 +43,8 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'IRR', 'IRR', function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
number {
if (n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ckb',
[
@ -45,8 +43,8 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'IQD', 'IQD', function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
number {
if (n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'cs',
[
@ -54,11 +52,11 @@ export default [
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'Kč', 'česká koruna',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0) return Plural.Few;
if (!(v === 0)) return Plural.Many;
return Plural.Other;
if (i === 1 && v === 0) return 1;
if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0) return 3;
if (!(v === 0)) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'cu',
[
@ -42,5 +40,5 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '₽', 'RUB',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'cy',
[
@ -63,17 +61,12 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '£', 'Punt Prydain', function(n: number):
Plural {
if (n === 0)
return Plural.Zero;
if (n === 1)
return Plural.One;
if (n === 2)
return Plural.Two;
if (n === 3)
return Plural.Few;
if (n === 6)
return Plural.Many;
return Plural.Other;
number {
if (n === 0) return 0;
if (n === 1) return 1;
if (n === 2) return 2;
if (n === 3) return 3;
if (n === 6) return 4;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'da-GL',
[
@ -54,10 +52,10 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'kr.', 'dansk krone',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)),
t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0;
if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return Plural.One;
return Plural.Other;
if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'da',
[
@ -54,10 +52,10 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'kr.', 'dansk krone',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)),
t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0;
if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return Plural.One;
return Plural.Other;
if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'dav',
[
@ -46,5 +44,5 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'Ksh', 'Shilingi ya Kenya',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'de-AT',
[
@ -58,9 +56,9 @@ export default [
[',', ' ', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':', '.'],
['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], '€', 'Euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'de-BE',
[
@ -61,9 +59,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'Euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'de-CH',
[
@ -61,9 +59,9 @@ export default [
['.', '', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00;¤-#,##0.00', '#E0'], 'CHF', 'Schweizer Franken',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'de-IT',
[
@ -61,9 +59,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'Euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'de-LI',
[
@ -58,9 +56,9 @@ export default [
['.', '', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'CHF', 'Schweizer Franken',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'de-LU',
[
@ -58,9 +56,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'Euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'de',
[
@ -61,9 +59,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'Euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'dje',
[
@ -42,5 +40,5 @@ export default [
],
['.', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], 'CFA', 'CFA Fraŋ (BCEAO)',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'dsb',
[
@ -56,14 +54,14 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
if (v === 0 && i % 100 === 1 || f % 100 === 1) return Plural.One;
if (v === 0 && i % 100 === 2 || f % 100 === 2) return Plural.Two;
if (v === 0 && i % 100 === 1 || f % 100 === 1) return 1;
if (v === 0 && i % 100 === 2 || f % 100 === 2) return 2;
if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 ||
f % 100 === Math.floor(f % 100) && f % 100 >= 3 && f % 100 <= 4)
return Plural.Few;
return Plural.Other;
return 3;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'dua',
[
@ -42,5 +40,5 @@ export default [
],
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'FCFA', 'XAF',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'dyo',
[
@ -42,5 +40,5 @@ export default [
],
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'CFA', 'seefa yati BCEAO',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'dz',
[
@ -53,5 +51,5 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##,##0.###', '#,##,##0 %', '¤#,##,##0.00', '#E0'], '₹', 'རྒྱ་གར་གྱི་དངུལ་ རུ་པི',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ebu',
[
@ -43,5 +41,5 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'Ksh', 'Shilingi ya Kenya',
function(n: number): Plural { return Plural.Other;}
function(n: number): number { return 5;}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ee-TG',
[
@ -43,8 +41,8 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'mnn', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'CFA', 'ɣetoɖofe afrikaga CFA franc BCEAO',
function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
number {
if (n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'ee',
[
@ -42,9 +40,8 @@ export default [
],
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'mnn', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'GH₵', 'ghana siɖi', function(n: number):
Plural {
if (n === 1)
return Plural.One;
return Plural.Other;
number {
if (n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'el-CY',
[
@ -53,8 +51,8 @@ export default [
],
[',', '.', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'Ευρώ', function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
number {
if (n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'el',
[
@ -53,8 +51,8 @@ export default [
],
[',', '.', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'Ευρώ', function(n: number):
Plural {
if (n === 1) return Plural.One;
return Plural.Other;
number {
if (n === 1) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-001',
[
@ -46,9 +44,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], ,
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-150',
[
@ -46,9 +44,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], ,
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-AG',
[
@ -46,9 +44,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'East Caribbean Dollar',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-AI',
[
@ -46,9 +44,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'East Caribbean Dollar',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-AS',
[
@ -46,9 +44,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'US Dollar',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-AT',
[
@ -46,9 +44,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], '€', 'Euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-AU',
[
@ -44,9 +42,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'Australian Dollar',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-BB',
[
@ -46,9 +44,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'Barbadian Dollar',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-BE',
[
@ -46,9 +44,9 @@ export default [
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'Euro',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-BI',
[
@ -46,9 +44,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'FBu', 'Burundian Franc',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-BM',
[
@ -46,9 +44,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'Bermudan Dollar',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-BS',
[
@ -46,9 +44,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'Bahamian Dollar',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

View File

@ -9,8 +9,6 @@
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
import {Plural} from '@angular/common';
export default [
'en-BW',
[
@ -46,9 +44,9 @@ export default [
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'P', 'Botswanan Pula',
function(n: number):
Plural {
number {
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
if (i === 1 && v === 0) return Plural.One;
return Plural.Other;
if (i === 1 && v === 0) return 1;
return 5;
}
];

Some files were not shown because too many files have changed in this diff Show More