2017-08-21 13:11:07 -04:00
|
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// THIS CODE IS GENERATED - DO NOT MODIFY
|
|
|
|
|
// See angular/tools/gulp-tasks/cldr/extract.js
|
|
|
|
|
|
|
|
|
|
import {registerLocaleData} from '../src/i18n/locale_data';
|
|
|
|
|
|
2018-04-13 17:35:20 -04:00
|
|
|
|
const u = undefined;
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_af(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_af = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'af', [['v', 'n'], ['vm.', 'nm.'], u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'D', 'W', 'D', 'V', 'S'], ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'],
|
|
|
|
|
['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
|
|
|
|
|
['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan.', 'Feb.', 'Mrt.', 'Apr.', 'Mei', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Des.'],
|
|
|
|
|
[
|
|
|
|
|
'Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September',
|
|
|
|
|
'Oktober', 'November', 'Desember'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['v.C.', 'n.C.'], u, ['voor Christus', 'na Christus']], 0, [6, 0],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['y-MM-dd', 'dd MMM y', 'dd MMMM y', 'EEEE dd MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'R', 'Suid-Afrikaanse rand', {
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'CAD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'JPY': ['JP¥', '¥'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'RON': [u, 'leu'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'USD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ZAR': ['R']
|
|
|
|
|
},
|
|
|
|
|
plural_af
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_am(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === 0 || n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_am = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'am', [['ጠ', 'ከ'], ['ጥዋት', 'ከሰዓት'], u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'], ['እሑድ', 'ሰኞ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'],
|
|
|
|
|
['እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ጃ', 'ፌ', 'ማ', 'ኤ', 'ሜ', 'ጁ', 'ጁ', 'ኦ', 'ሴ', 'ኦ', 'ኖ', 'ዲ'],
|
|
|
|
|
['ጃንዩ', 'ፌብሩ', 'ማርች', 'ኤፕሪ', 'ሜይ', 'ጁን', 'ጁላይ', 'ኦገስ', 'ሴፕቴ', 'ኦክቶ', 'ኖቬም', 'ዲሴም'],
|
|
|
|
|
[
|
|
|
|
|
'ጃንዩወሪ', 'ፌብሩወሪ', 'ማርች', 'ኤፕሪል', 'ሜይ', 'ጁን', 'ጁላይ', 'ኦገስት', 'ሴፕቴምበር', 'ኦክቶበር', 'ኖቬምበር',
|
|
|
|
|
'ዲሴምበር'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['ዓ/ዓ', 'ዓ/ም'], u, ['ዓመተ ዓለም', 'ዓመተ ምሕረት']], 0, [6, 0],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['dd/MM/y', 'd MMM y', 'd MMMM y', 'y MMMM d, EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'ብር', 'የኢትዮጵያ ብር', {
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'CNH': ['የቻይና ዩዋን'],
|
|
|
|
|
'ETB': ['ብር'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$']
|
|
|
|
|
},
|
|
|
|
|
plural_am
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ar(n: number): 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;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ar = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ar', [['ص', 'م'], u, u], [['ص', 'م'], u, ['صباحًا', 'مساءً']],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u,
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'],
|
|
|
|
|
[
|
|
|
|
|
'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر',
|
|
|
|
|
'نوفمبر', 'ديسمبر'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], 6, [5, 6],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'ج.م.\u200f', 'جنيه مصري', {
|
|
|
|
|
'AED': ['د.إ.\u200f'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ARS': [u, 'AR$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'AUD': ['AU$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BBD': [u, 'BB$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'BHD': ['د.ب.\u200f'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BMD': [u, 'BM$'],
|
|
|
|
|
'BND': [u, 'BN$'],
|
|
|
|
|
'BSD': [u, 'BS$'],
|
|
|
|
|
'BZD': [u, 'BZ$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'CAD': ['CA$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'CLP': [u, 'CL$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'CNY': ['CN¥'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'COP': [u, 'CO$'],
|
|
|
|
|
'CUP': [u, 'CU$'],
|
|
|
|
|
'DOP': [u, 'DO$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'DZD': ['د.ج.\u200f'],
|
|
|
|
|
'EGP': ['ج.م.\u200f', 'E£'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'FJD': [u, 'FJ$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'GBP': ['UK£'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'GYD': [u, 'GY$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'HKD': ['HK$'],
|
|
|
|
|
'IQD': ['د.ع.\u200f'],
|
|
|
|
|
'IRR': ['ر.إ.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'JMD': [u, 'JM$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'JOD': ['د.أ.\u200f'],
|
|
|
|
|
'JPY': ['JP¥'],
|
|
|
|
|
'KWD': ['د.ك.\u200f'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'KYD': [u, 'KY$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'LBP': ['ل.ل.\u200f', 'L£'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'LRD': [u, '$LR'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'LYD': ['د.ل.\u200f'],
|
|
|
|
|
'MAD': ['د.م.\u200f'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'MRU': ['أ.م.'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'MXN': ['MX$'],
|
|
|
|
|
'NZD': ['NZ$'],
|
|
|
|
|
'OMR': ['ر.ع.\u200f'],
|
|
|
|
|
'QAR': ['ر.ق.\u200f'],
|
|
|
|
|
'SAR': ['ر.س.\u200f'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'SBD': [u, 'SB$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SDD': ['د.س.\u200f'],
|
|
|
|
|
'SDG': ['ج.س.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'SRD': [u, 'SR$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SYP': ['ل.س.\u200f', '£'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TND': ['د.ت.\u200f'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'TTD': [u, 'TT$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'UYU': [u, 'UY$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XXX': ['***'],
|
|
|
|
|
'YER': ['ر.ي.\u200f']
|
|
|
|
|
},
|
|
|
|
|
plural_ar
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ar_DZ(n: number): 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;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ar_DZ = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ar-DZ', [['ص', 'م'], u, u], [['ص', 'م'], u, ['صباحًا', 'مساءً']],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u,
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'],
|
|
|
|
|
[
|
|
|
|
|
'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر',
|
|
|
|
|
'نوفمبر', 'ديسمبر'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], 6, [5, 6],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/y', 'd MMMM y', 'EEEE، d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
[',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'د.ج.\u200f', 'دينار جزائري', {
|
|
|
|
|
'AED': ['د.إ.\u200f'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ARS': [u, 'AR$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'AUD': ['AU$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BBD': [u, 'BB$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'BHD': ['د.ب.\u200f'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BMD': [u, 'BM$'],
|
|
|
|
|
'BND': [u, 'BN$'],
|
|
|
|
|
'BSD': [u, 'BS$'],
|
|
|
|
|
'BZD': [u, 'BZ$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'CAD': ['CA$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'CLP': [u, 'CL$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'CNY': ['CN¥'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'COP': [u, 'CO$'],
|
|
|
|
|
'CUP': [u, 'CU$'],
|
|
|
|
|
'DOP': [u, 'DO$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'DZD': ['د.ج.\u200f'],
|
|
|
|
|
'EGP': ['ج.م.\u200f', 'E£'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'FJD': [u, 'FJ$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'GBP': ['UK£'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'GYD': [u, 'GY$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'HKD': ['HK$'],
|
|
|
|
|
'IQD': ['د.ع.\u200f'],
|
|
|
|
|
'IRR': ['ر.إ.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'JMD': [u, 'JM$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'JOD': ['د.أ.\u200f'],
|
|
|
|
|
'JPY': ['JP¥'],
|
|
|
|
|
'KWD': ['د.ك.\u200f'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'KYD': [u, 'KY$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'LBP': ['ل.ل.\u200f', 'L£'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'LRD': [u, '$LR'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'LYD': ['د.ل.\u200f'],
|
|
|
|
|
'MAD': ['د.م.\u200f'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'MRU': ['أ.م.'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'MXN': ['MX$'],
|
|
|
|
|
'NZD': ['NZ$'],
|
|
|
|
|
'OMR': ['ر.ع.\u200f'],
|
|
|
|
|
'QAR': ['ر.ق.\u200f'],
|
|
|
|
|
'SAR': ['ر.س.\u200f'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'SBD': [u, 'SB$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SDD': ['د.س.\u200f'],
|
|
|
|
|
'SDG': ['ج.س.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'SRD': [u, 'SR$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SYP': ['ل.س.\u200f', '£'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TND': ['د.ت.\u200f'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'TTD': [u, 'TT$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'UYU': [u, 'UY$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XXX': ['***'],
|
|
|
|
|
'YER': ['ر.ي.\u200f']
|
|
|
|
|
},
|
|
|
|
|
plural_ar_DZ
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_az(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_az = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'az', [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
[
|
|
|
|
|
['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.e.', 'Ç.a.', 'Ç.', 'C.a.', 'C.', 'Ş.'],
|
|
|
|
|
['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'],
|
|
|
|
|
['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.']
|
|
|
|
|
],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['7', '1', '2', '3', '4', '5', '6'], ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'],
|
|
|
|
|
['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'],
|
|
|
|
|
['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'],
|
|
|
|
|
[
|
|
|
|
|
'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr',
|
|
|
|
|
'noyabr', 'dekabr'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'],
|
|
|
|
|
[
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'yanvar', 'Fevral', 'mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', 'Oktyabr',
|
|
|
|
|
'Noyabr', 'dekabr'
|
2017-08-31 06:13:49 -04:00
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['e.ə.', 'y.e.'], u, ['eramızdan əvvəl', 'yeni era']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd.MM.yy', 'd MMM y', 'd MMMM y', 'd MMMM y, EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '₼', 'Azərbaycan Manatı', {
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'AZN': ['₼'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'RON': [u, 'ley'],
|
|
|
|
|
'SYP': [u, 'S£'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$']
|
|
|
|
|
},
|
|
|
|
|
plural_az
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_be(n: number): 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 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 4;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_be = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'be', [['am', 'pm'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['н', 'п', 'а', 'с', 'ч', 'п', 'с'], ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'],
|
|
|
|
|
['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацвер', 'пятніца', 'субота'],
|
|
|
|
|
['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'],
|
|
|
|
|
['сту', 'лют', 'сак', 'кра', 'мая', 'чэр', 'ліп', 'жні', 'вер', 'кас', 'ліс', 'сне'],
|
|
|
|
|
[
|
|
|
|
|
'студзеня', 'лютага', 'сакавіка', 'красавіка', 'мая', 'чэрвеня', 'ліпеня', 'жніўня',
|
|
|
|
|
'верасня', 'кастрычніка', 'лістапада', 'снежня'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'],
|
|
|
|
|
['сту', 'лют', 'сак', 'кра', 'май', 'чэр', 'ліп', 'жні', 'вер', 'кас', 'ліс', 'сне'],
|
|
|
|
|
[
|
|
|
|
|
'студзень', 'люты', 'сакавік', 'красавік', 'май', 'чэрвень', 'ліпень', 'жнівень', 'верасень',
|
|
|
|
|
'кастрычнік', 'лістапад', 'снежань'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['да н.э.', 'н.э.'], u, ['да нараджэння Хрыстова', 'ад нараджэння Хрыстова']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d.MM.yy', 'd.MM.y', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss, zzzz'], ['{1}, {0}', u, '{1} \'у\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'Br', 'беларускі рубель', {
|
|
|
|
|
'AUD': ['A$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BBD': [u, 'Bds$'],
|
|
|
|
|
'BMD': [u, 'BD$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'BSD': [u, 'B$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'BYN': ['Br'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BZD': [u, 'BZ$'],
|
|
|
|
|
'CAD': [u, 'CA$'],
|
|
|
|
|
'CUC': [u, 'CUC$'],
|
|
|
|
|
'CUP': [u, '$MN'],
|
|
|
|
|
'DOP': [u, 'RD$'],
|
|
|
|
|
'FJD': [u, 'FJ$'],
|
|
|
|
|
'FKP': [u, 'FK£'],
|
|
|
|
|
'GYD': [u, 'G$'],
|
|
|
|
|
'ISK': [u, 'Íkr'],
|
|
|
|
|
'JMD': [u, 'J$'],
|
|
|
|
|
'KYD': [u, 'CI$'],
|
|
|
|
|
'LRD': [u, 'L$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'MXN': ['MX$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'NAD': [u, 'N$'],
|
|
|
|
|
'NZD': [u, 'NZ$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'RUB': ['₽', 'руб.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'SBD': [u, 'SI$'],
|
|
|
|
|
'SGD': [u, 'S$'],
|
|
|
|
|
'TTD': [u, 'TT$'],
|
|
|
|
|
'UYU': [u, '$U'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XCD': ['EC$']
|
|
|
|
|
},
|
|
|
|
|
plural_be
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_bg(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_bg = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'bg', [['am', 'pm'], u, ['пр.об.', 'сл.об.']], [['am', 'pm'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],
|
|
|
|
|
['неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота'],
|
|
|
|
|
['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['я', 'ф', 'м', 'а', 'м', 'ю', 'ю', 'а', 'с', 'о', 'н', 'д'],
|
|
|
|
|
['яну', 'фев', 'март', 'апр', 'май', 'юни', 'юли', 'авг', 'сеп', 'окт', 'ное', 'дек'],
|
|
|
|
|
[
|
|
|
|
|
'януари', 'февруари', 'март', 'април', 'май', 'юни', 'юли', 'август', 'септември', 'октомври',
|
|
|
|
|
'ноември', 'декември'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['пр.Хр.', 'сл.Хр.'], u, ['преди Христа', 'след Христа']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d.MM.yy \'г\'.', 'd.MM.y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], ['{1}, {0}', u, u, u],
|
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '0.00 ¤', '#E0'], 'лв.', 'Български лев', {
|
|
|
|
|
'ARS': [],
|
|
|
|
|
'AUD': [],
|
|
|
|
|
'BBD': [],
|
|
|
|
|
'BDT': [],
|
|
|
|
|
'BGN': ['лв.'],
|
|
|
|
|
'BMD': [],
|
|
|
|
|
'BND': [],
|
|
|
|
|
'BRL': [],
|
|
|
|
|
'BSD': [],
|
|
|
|
|
'BYN': [],
|
|
|
|
|
'BZD': [],
|
|
|
|
|
'CAD': [],
|
|
|
|
|
'CLP': [],
|
|
|
|
|
'CNY': [],
|
|
|
|
|
'COP': [],
|
|
|
|
|
'CRC': [],
|
|
|
|
|
'CUP': [],
|
|
|
|
|
'DOP': [],
|
|
|
|
|
'FJD': [],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'FKP': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'GBP': [u, '£'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'GIP': [],
|
|
|
|
|
'GYD': [],
|
|
|
|
|
'HKD': [],
|
|
|
|
|
'ILS': [],
|
|
|
|
|
'INR': [],
|
|
|
|
|
'JMD': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'JPY': [u, '¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'KHR': [],
|
|
|
|
|
'KRW': [],
|
|
|
|
|
'KYD': [],
|
|
|
|
|
'KZT': [],
|
|
|
|
|
'LAK': [],
|
|
|
|
|
'LRD': [],
|
|
|
|
|
'MNT': [],
|
|
|
|
|
'MXN': [],
|
|
|
|
|
'NAD': [],
|
|
|
|
|
'NGN': [],
|
|
|
|
|
'NZD': [],
|
|
|
|
|
'PHP': [],
|
|
|
|
|
'PYG': [],
|
|
|
|
|
'RON': [],
|
|
|
|
|
'SBD': [],
|
|
|
|
|
'SGD': [],
|
|
|
|
|
'SRD': [],
|
|
|
|
|
'SSP': [],
|
|
|
|
|
'TRY': [],
|
|
|
|
|
'TTD': [],
|
|
|
|
|
'TWD': [],
|
|
|
|
|
'UAH': [],
|
|
|
|
|
'USD': ['щ.д.', '$'],
|
|
|
|
|
'UYU': [],
|
|
|
|
|
'VND': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'XCD': [u, '$']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_bg
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_bn(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === 0 || n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_bn = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'bn', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', 'শুক্র', 'শনি'],
|
|
|
|
|
['রবিবার', 'সোমবার', 'মঙ্গলবার', 'বুধবার', 'বৃহস্পতিবার', 'শুক্রবার', 'শনিবার'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শনি']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', 'ন', 'ডি'],
|
|
|
|
|
[
|
|
|
|
|
'জানু', 'ফেব', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর',
|
|
|
|
|
'ডিসেম্বর'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর',
|
|
|
|
|
'নভেম্বর', 'ডিসেম্বর'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', 'অ', 'ন', 'ডি'],
|
|
|
|
|
[
|
|
|
|
|
'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', 'অক্টোবর',
|
|
|
|
|
'নভেম্বর', 'ডিসেম্বর'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], u, ['খ্রিস্টপূর্ব', 'খ্রীষ্টাব্দ']], 0, [6, 0],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], '৳', 'বাংলাদেশী টাকা',
|
|
|
|
|
{'BDT': ['৳'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, plural_bn
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_br(n: number): 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 3;
|
|
|
|
|
if (!(n === 0) && n % 1e6 === 0) return 4;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_br = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'br', [['am', 'gm'], ['A.M.', 'G.M.'], u], [['A.M.', 'G.M.'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Su', 'L', 'Mz', 'Mc', 'Y', 'G', 'Sa'], ['Sul', 'Lun', 'Meu.', 'Mer.', 'Yaou', 'Gwe.', 'Sad.'],
|
|
|
|
|
['Sul', 'Lun', 'Meurzh', 'Mercʼher', 'Yaou', 'Gwener', 'Sadorn'],
|
|
|
|
|
['Sul', 'Lun', 'Meu.', 'Mer.', 'Yaou', 'Gwe.', 'Sad.']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'],
|
|
|
|
|
[
|
|
|
|
|
'Gen.', 'Cʼhwe.', 'Meur.', 'Ebr.', 'Mae', 'Mezh.', 'Goue.', 'Eost', 'Gwen.', 'Here', 'Du',
|
|
|
|
|
'Kzu.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'Genver', 'Cʼhwevrer', 'Meurzh', 'Ebrel', 'Mae', 'Mezheven', 'Gouere', 'Eost', 'Gwengolo',
|
|
|
|
|
'Here', 'Du', 'Kerzu'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['a-raok J.K.', 'goude J.K.'], u, ['a-raok Jezuz-Krist', 'goude Jezuz-Krist']], 1, [6, 0],
|
|
|
|
|
['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['{1} {0}', '{1}, {0}', '{1} \'da\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'euro', {
|
|
|
|
|
'AUD': ['$A', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BRL': [u, 'R$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'CAD': ['$CA', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'EGP': [u, '£ E'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'GBP': ['£ RU', '£'],
|
|
|
|
|
'HKD': ['$ HK', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'LBP': [u, '£L'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'NZD': ['$ ZN', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'TOP': [u, '$ T'],
|
|
|
|
|
'TWD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'USD': ['$ SU', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'VND': [u, '₫'],
|
2019-11-11 17:03:58 -05:00
|
|
|
|
'XCD': [u, '$'],
|
|
|
|
|
'XXX': []
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_br
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_bs(n: number): 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 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 3;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_bs = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'bs', [['prijepodne', 'popodne'], ['AM', 'PM'], ['prijepodne', 'popodne']], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['N', 'P', 'U', 'S', 'Č', 'P', 'S'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'],
|
|
|
|
|
['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'],
|
|
|
|
|
['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'],
|
|
|
|
|
['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'],
|
|
|
|
|
['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'august', 'septembar', 'oktobar',
|
2017-08-31 06:13:49 -04:00
|
|
|
|
'novembar', 'decembar'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['prije nove ere', 'nove ere']], 1, [6, 0],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['d. M. y.', 'd. MMM y.', 'd. MMMM y.', 'EEEE, d. MMMM y.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, '{1} \'u\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'KM', 'Bosanskohercegovačka konvertibilna marka', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'BAM': ['KM'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'HRK': ['kn'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'RSD': ['din.'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'XCD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XPF': []
|
|
|
|
|
},
|
2018-01-29 16:22:06 -05:00
|
|
|
|
plural_bs
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ca(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ca = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'ca', [['a. m.', 'p. m.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'],
|
|
|
|
|
['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'],
|
|
|
|
|
['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'],
|
|
|
|
|
[
|
|
|
|
|
'de gen.', 'de febr.', 'de març', 'd’abr.', 'de maig', 'de juny', 'de jul.', 'd’ag.',
|
|
|
|
|
'de set.', 'd’oct.', 'de nov.', 'de des.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', 'd’agost',
|
|
|
|
|
'de setembre', 'd’octubre', 'de novembre', 'de desembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'],
|
|
|
|
|
[
|
|
|
|
|
'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'des.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre',
|
|
|
|
|
'novembre', 'desembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['aC', 'dC'], u, ['abans de Crist', 'després de Crist']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'd MMM y', 'd MMMM \'de\' y', 'EEEE, d MMMM \'de\' y'],
|
|
|
|
|
['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['{1} {0}', '{1}, {0}', '{1} \'a\' \'les\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'euro', {
|
|
|
|
|
'AUD': ['AU$', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'CNY': [u, '¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ESP': ['₧'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'MXN': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'USD': [u, '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'VEF': [u, 'Bs F'],
|
|
|
|
|
'XCD': [u, '$'],
|
|
|
|
|
'XXX': []
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_ca
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_chr(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_chr = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'chr', [['Ꮜ', 'Ꮢ'], ['ᏌᎾᎴ', 'ᏒᎯᏱᎢ'], ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ']], [['ᏌᎾᎴ', 'ᏒᎯᏱᎢ'], u, ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ']],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Ꮖ', 'Ꮙ', 'Ꮤ', 'Ꮶ', 'Ꮕ', 'Ꮷ', 'Ꭴ'], ['ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ'],
|
|
|
|
|
['ᎤᎾᏙᏓᏆᏍᎬ', 'ᎤᎾᏙᏓᏉᏅᎯ', 'ᏔᎵᏁᎢᎦ', 'ᏦᎢᏁᎢᎦ', 'ᏅᎩᏁᎢᎦ', 'ᏧᎾᎩᎶᏍᏗ', 'ᎤᎾᏙᏓᏈᏕᎾ'],
|
|
|
|
|
['ᏍᎬ', 'ᏅᎯ', 'ᏔᎵ', 'ᏦᎢ', 'ᏅᎩ', 'ᏧᎾ', 'ᏕᎾ']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Ꭴ', 'Ꭷ', 'Ꭰ', 'Ꭷ', 'Ꭰ', 'Ꮥ', 'Ꭻ', 'Ꭶ', 'Ꮪ', 'Ꮪ', 'Ꮕ', 'Ꭵ'],
|
|
|
|
|
['ᎤᏃ', 'ᎧᎦ', 'ᎠᏅ', 'ᎧᏬ', 'ᎠᏂ', 'ᏕᎭ', 'ᎫᏰ', 'ᎦᎶ', 'ᏚᎵ', 'ᏚᏂ', 'ᏅᏓ', 'ᎥᏍ'],
|
|
|
|
|
['ᎤᏃᎸᏔᏅ', 'ᎧᎦᎵ', 'ᎠᏅᏱ', 'ᎧᏬᏂ', 'ᎠᏂᏍᎬᏘ', 'ᏕᎭᎷᏱ', 'ᎫᏰᏉᏂ', 'ᎦᎶᏂ', 'ᏚᎵᏍᏗ', 'ᏚᏂᏅᏗ', 'ᏅᏓᏕᏆ', 'ᎥᏍᎩᏱ']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['BC', 'AD'], u, ['ᏧᏓᎷᎸ ᎤᎷᎯᏍᏗ ᎦᎶᏁᏛ', 'ᎠᏃ ᏙᎻᏂ']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} ᎤᎾᎢ {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'US ᎠᏕᎳ', {'JPY': ['JP¥', '¥']}, plural_chr
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_cs(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_cs = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'cs', [['dop.', 'odp.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['N', 'P', 'Ú', 'S', 'Č', 'P', 'S'], ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
|
|
|
|
|
['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
|
|
|
|
|
['ne', 'po', 'út', 'st', 'čt', 'pá', 'so']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'],
|
|
|
|
|
[
|
|
|
|
|
'ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', 'srpna', 'září', 'října',
|
|
|
|
|
'listopadu', 'prosince'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'],
|
|
|
|
|
[
|
|
|
|
|
'leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen',
|
|
|
|
|
'listopad', 'prosinec'
|
|
|
|
|
]
|
|
|
|
|
],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
[['př.n.l.', 'n.l.'], ['př. n. l.', 'n. l.'], ['před naším letopočtem', 'našeho letopočtu']], 1,
|
|
|
|
|
[6, 0], ['dd.MM.yy', 'd. M. y', 'd. MMMM y', 'EEEE d. MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'Kč', 'česká koruna', {
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'CSK': ['Kčs'],
|
|
|
|
|
'CZK': ['Kč'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'JPY': ['JP¥', '¥'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'RON': [u, 'L'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'VND': [u, '₫'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'XEU': ['ECU'],
|
|
|
|
|
'XXX': []
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_cs
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_cy(n: number): 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;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_cy = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'cy', [['b', 'h'], ['AM', 'PM'], ['yb', 'yh']], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'Ll', 'M', 'M', 'I', 'G', 'S'], ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwen', 'Sad'],
|
|
|
|
|
[
|
|
|
|
|
'Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener',
|
|
|
|
|
'Dydd Sadwrn'
|
|
|
|
|
],
|
|
|
|
|
['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['S', 'Ll', 'M', 'M', 'I', 'G', 'S'], ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'],
|
|
|
|
|
[
|
|
|
|
|
'Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener',
|
|
|
|
|
'Dydd Sadwrn'
|
|
|
|
|
],
|
|
|
|
|
['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['I', 'Ch', 'M', 'E', 'M', 'M', 'G', 'A', 'M', 'H', 'T', 'Rh'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['Ion', 'Chwef', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gorff', 'Awst', 'Medi', 'Hyd', 'Tach', 'Rhag'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi',
|
|
|
|
|
'Hydref', 'Tachwedd', 'Rhagfyr'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['I', 'Ch', 'M', 'E', 'M', 'M', 'G', 'A', 'M', 'H', 'T', 'Rh'],
|
|
|
|
|
['Ion', 'Chw', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gor', 'Awst', 'Medi', 'Hyd', 'Tach', 'Rhag'],
|
|
|
|
|
[
|
|
|
|
|
'Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi',
|
|
|
|
|
'Hydref', 'Tachwedd', 'Rhagfyr'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[['C', 'O'], ['CC', 'OC'], ['Cyn Crist', 'Oed Crist']], 1, [6, 0],
|
|
|
|
|
['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, '{1} \'am\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '£', 'Punt Prydain', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BDT': [u, 'TK'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'BWP': [],
|
|
|
|
|
'HKD': ['HK$'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'KRW': [u, '₩'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'XXX': [],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ZAR': [],
|
|
|
|
|
'ZMW': []
|
|
|
|
|
},
|
|
|
|
|
plural_cy
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_da(n: number): 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 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_da = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'da', [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'],
|
|
|
|
|
['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'],
|
|
|
|
|
['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'],
|
|
|
|
|
['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'],
|
|
|
|
|
['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],
|
|
|
|
|
[
|
|
|
|
|
'januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september',
|
|
|
|
|
'oktober', 'november', 'december'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], u], 1, [6, 0],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE \'den\' d. MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], ['{1} {0}', u, '{1} \'kl\'. {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'kr.', 'dansk krone', {
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'DKK': ['kr.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ISK': [u, 'kr.'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'JPY': ['JP¥', '¥'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'NOK': [u, 'kr.'],
|
|
|
|
|
'RON': [u, 'L'],
|
|
|
|
|
'SEK': [u, 'kr.'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_da
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_de(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_de = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'de', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'],
|
|
|
|
|
['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
|
|
|
|
|
['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
|
|
|
|
|
['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
|
|
|
|
|
['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
[
|
|
|
|
|
'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.'
|
|
|
|
|
],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober',
|
|
|
|
|
'November', 'Dezember'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
|
|
|
|
|
[
|
|
|
|
|
'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober',
|
|
|
|
|
'November', 'Dezember'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['v. Chr.', 'n. Chr.'], u, u], 1, [6, 0],
|
|
|
|
|
['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} \'um\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'Euro', {
|
|
|
|
|
'ATS': ['öS'],
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'BGM': ['BGK'],
|
|
|
|
|
'BGO': ['BGJ'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'CUC': [u, 'Cub$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'DEM': ['DM'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'FKP': [u, 'Fl£'],
|
|
|
|
|
'GNF': [u, 'F.G.'],
|
|
|
|
|
'KMF': [u, 'FC'],
|
|
|
|
|
'RON': [u, 'L'],
|
|
|
|
|
'RWF': [u, 'F.Rw'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SYP': [],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'XXX': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ZMW': [u, 'K']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_de
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_de_AT(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_de_AT = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'de-AT', [['AM', 'PM'], u, u], [['vm.', 'nm.'], ['AM', 'PM'], u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'],
|
|
|
|
|
['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
|
|
|
|
|
['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
|
|
|
|
|
['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
|
|
|
|
|
['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'],
|
|
|
|
|
[
|
|
|
|
|
'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober',
|
|
|
|
|
'November', 'Dezember'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
|
|
|
|
|
[
|
|
|
|
|
'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober',
|
|
|
|
|
'November', 'Dezember'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['v. Chr.', 'n. Chr.'], u, u], 1, [6, 0],
|
|
|
|
|
['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} \'um\' {0}', u],
|
2018-06-25 10:49:46 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':', u, '.'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], '€', 'Euro', {
|
|
|
|
|
'ATS': ['öS'],
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'BGM': ['BGK'],
|
|
|
|
|
'BGO': ['BGJ'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'CUC': [u, 'Cub$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'DEM': ['DM'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'FKP': [u, 'Fl£'],
|
|
|
|
|
'GNF': [u, 'F.G.'],
|
|
|
|
|
'KMF': [u, 'FC'],
|
|
|
|
|
'RON': [u, 'L'],
|
|
|
|
|
'RWF': [u, 'F.Rw'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SYP': [],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'XXX': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ZMW': [u, 'K']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_de_AT
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_de_CH(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_de_CH = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'de-CH', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'],
|
|
|
|
|
['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
|
|
|
|
|
['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
|
|
|
|
|
['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
[
|
|
|
|
|
'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.'
|
|
|
|
|
],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober',
|
|
|
|
|
'November', 'Dezember'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
|
|
|
|
|
[
|
|
|
|
|
'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober',
|
|
|
|
|
'November', 'Dezember'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['v. Chr.', 'n. Chr.'], u, u], 1, [6, 0],
|
|
|
|
|
['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} \'um\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', '’', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤ #,##0.00;¤-#,##0.00', '#E0'], 'CHF', 'Schweizer Franken', {
|
|
|
|
|
'ATS': ['öS'],
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'BGM': ['BGK'],
|
|
|
|
|
'BGO': ['BGJ'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'CUC': [u, 'Cub$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'DEM': ['DM'],
|
|
|
|
|
'EUR': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'FKP': [u, 'Fl£'],
|
|
|
|
|
'GNF': [u, 'F.G.'],
|
|
|
|
|
'KMF': [u, 'FC'],
|
|
|
|
|
'RON': [u, 'L'],
|
|
|
|
|
'RWF': [u, 'F.Rw'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SYP': [],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'XXX': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ZMW': [u, 'K']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_de_CH
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_el(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_el = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'el', [['πμ', 'μμ'], ['π.μ.', 'μ.μ.'], u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'],
|
|
|
|
|
['Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο'],
|
|
|
|
|
['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'],
|
|
|
|
|
['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ'],
|
|
|
|
|
[
|
|
|
|
|
'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', 'Μαΐου', 'Ιουνίου', 'Ιουλίου',
|
|
|
|
|
'Αυγούστου', 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'],
|
|
|
|
|
['Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ'],
|
|
|
|
|
[
|
|
|
|
|
'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος',
|
|
|
|
|
'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['π.Χ.', 'μ.Χ.'], u, ['προ Χριστού', 'μετά Χριστόν']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} - {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'Ευρώ',
|
|
|
|
|
{'GRD': ['Δρχ'], 'JPY': ['JP¥', '¥'], 'THB': ['฿']}, plural_el
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_en_AU(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_en_AU = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'en-AU', [['am', 'pm'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Su.', 'M.', 'Tu.', 'W.', 'Th.', 'F.', 'Sa.'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['Su', 'Mon', 'Tu', 'Wed', 'Th', 'Fri', 'Sat']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
|
|
|
|
|
'October', 'November', 'December'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} \'at\' {0}', u],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'Australian Dollar', {
|
|
|
|
|
'AUD': ['$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BDT': [u, 'Tk'],
|
|
|
|
|
'BOB': [u, '$b'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'CUP': [u, '₱'],
|
|
|
|
|
'EGP': [u, '£'],
|
|
|
|
|
'EUR': [u, '€'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'ISK': [u, 'Kr'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'PYG': [u, 'Gs'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SCR': ['Rs'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'SEK': [u, 'Kr'],
|
|
|
|
|
'TWD': [u, '$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'UYU': [u, '$U'],
|
|
|
|
|
'VND': [u, '₫'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XAF': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'XCD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XOF': [],
|
|
|
|
|
'XPF': ['CFP']
|
|
|
|
|
},
|
|
|
|
|
plural_en_AU
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_en_CA(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_en_CA = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'en-CA', [['am', 'pm'], ['a.m.', 'p.m.'], u], [['a.m.', 'pm'], ['a.m.', 'p.m.'], u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun.', 'Mon.', 'Tue.', 'Wed.', 'Thu.', 'Fri.', 'Sat.'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
|
|
|
['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-12-06 09:34:42 -05:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan.', 'Feb.', 'Mar.', 'Apr.', 'May', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Oct.', 'Nov.', 'Dec.'],
|
|
|
|
|
[
|
|
|
|
|
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
|
|
|
|
|
'October', 'November', 'December'
|
|
|
|
|
]
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u, [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['y-MM-dd', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} \'at\' {0}', u],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'Canadian Dollar',
|
|
|
|
|
{'CAD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, plural_en_CA
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_en_GB(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_en_GB = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'en-GB', [['a', 'p'], ['am', 'pm'], u], [['am', 'pm'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
|
|
|
['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
|
|
|
['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
|
|
|
|
[
|
|
|
|
|
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
|
|
|
|
|
'October', 'November', 'December'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} \'at\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '£', 'British Pound',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, plural_en_GB
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_en_IE(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_en_IE = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'en-IE', [['a', 'p'], ['am', 'pm'], ['a.m.', 'p.m.']], [['am', 'pm'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
|
|
|
['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
|
|
|
['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
|
|
|
|
[
|
|
|
|
|
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
|
|
|
|
|
'October', 'November', 'December'
|
|
|
|
|
]
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u, [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} \'at\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '€', 'Euro',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, plural_en_IE
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_en_IN(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_en_IN = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'en-IN', [['a', 'p'], ['am', 'pm'], u], [['am', 'pm'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
|
|
|
['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
|
|
|
['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
|
|
|
|
[
|
|
|
|
|
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
|
|
|
|
|
'October', 'November', 'December'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], 0, [0, 0],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['dd/MM/yy', 'dd-MMM-y', 'd MMMM y', 'EEEE, d MMMM, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} \'at\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '#E0'], '₹', 'Indian Rupee',
|
2018-01-29 15:47:58 -05:00
|
|
|
|
{'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, plural_en_IN
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_en_SG(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_en_SG = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'en-SG', [['a', 'p'], ['am', 'pm'], u], [['am', 'pm'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
|
|
|
['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
|
|
|
['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
|
|
|
|
[
|
|
|
|
|
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
|
|
|
|
|
'October', 'November', 'December'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} \'at\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'Singapore Dollar',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'SGD': ['$'], 'USD': ['US$', '$']}, plural_en_SG
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_en_ZA(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_en_ZA = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'en-ZA', [['a', 'p'], ['am', 'pm'], u], [['am', 'pm'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
|
|
|
['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
|
|
|
['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
|
|
|
|
[
|
|
|
|
|
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
|
|
|
|
|
'October', 'November', 'December'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['y/MM/dd', 'dd MMM y', 'dd MMMM y', 'EEEE, dd MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} \'at\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'R', 'South African Rand',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZAR': ['R']}, plural_en_ZA
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_es(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_es = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'es', [['a. m.', 'p. m.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'],
|
|
|
|
|
['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'],
|
|
|
|
|
['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.',
|
|
|
|
|
'dic.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre',
|
|
|
|
|
'octubre', 'noviembre', 'diciembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss (zzzz)'], ['{1} {0}', u, '{1}, {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'euro', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'EGP': [],
|
|
|
|
|
'ESP': ['₧'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'RON': [u, 'L'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'TWD': [u, 'NT$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'USD': ['US$', '$'],
|
|
|
|
|
'XAF': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'XCD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XOF': []
|
|
|
|
|
},
|
|
|
|
|
plural_es
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_es_419(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_es_419 = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'es-419', [['a. m.', 'p. m.'], ['a.m.', 'p.m.'], u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['d', 'l', 'm', 'm', 'j', 'v', 's'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'],
|
|
|
|
|
['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'],
|
|
|
|
|
['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'],
|
|
|
|
|
['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'],
|
|
|
|
|
['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre',
|
|
|
|
|
'octubre', 'noviembre', 'diciembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], 'EUR', 'euro', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ESP': ['₧'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'EUR': [u, '€'],
|
|
|
|
|
'FKP': [u, 'FK£'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'RON': [u, 'L'],
|
|
|
|
|
'SSP': [u, 'SD£'],
|
|
|
|
|
'SYP': [u, 'S£'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'VEF': [u, 'BsF'],
|
|
|
|
|
'VND': [u, '₫'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XAF': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'XCD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XOF': []
|
|
|
|
|
},
|
|
|
|
|
plural_es_419
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_es_MX(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_es_MX = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'es-MX', [['a. m.', 'p. m.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'],
|
|
|
|
|
['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'],
|
|
|
|
|
['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA']
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre',
|
|
|
|
|
'octubre', 'noviembre', 'diciembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u, [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], 0, [6, 0],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['dd/MM/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], '$', 'peso mexicano', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'BYN': [u, 'p.'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ESP': ['₧'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'EUR': [u, '€'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'MRO': ['MRU'],
|
|
|
|
|
'MRU': ['UM'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'MXN': ['$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'VND': [u, '₫'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XAF': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'XCD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XOF': []
|
|
|
|
|
},
|
|
|
|
|
plural_es_MX
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_es_US(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_es_US = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'es-US', [['a. m.', 'p. m.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'],
|
|
|
|
|
['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'],
|
|
|
|
|
['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', 'dic.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre',
|
|
|
|
|
'octubre', 'noviembre', 'diciembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], 0, [6, 0],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['d/M/y', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'],
|
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'],
|
|
|
|
|
['{1} {0}', u, '{1} \'a\' \'las\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], '$', 'dólar estadounidense', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'BYN': [u, 'p.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ESP': ['₧'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'EUR': [u, '€'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'VND': [u, '₫'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XAF': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'XCD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XOF': []
|
|
|
|
|
},
|
|
|
|
|
plural_es_US
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_et(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_et = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'et', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['P', 'E', 'T', 'K', 'N', 'R', 'L'], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev'],
|
|
|
|
|
['P', 'E', 'T', 'K', 'N', 'R', 'L']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'V', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', 'dets'],
|
|
|
|
|
[
|
|
|
|
|
'jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september',
|
|
|
|
|
'oktoober', 'november', 'detsember'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['eKr', 'pKr'], u, ['enne Kristust', 'pärast Kristust']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd.MM.yy', 'd. MMM y', 'd. MMMM y', 'EEEE, d. MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'euro',
|
|
|
|
|
{'AUD': ['AU$', '$'], 'EEK': ['kr'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_et
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_eu(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_eu = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'eu', [['g', 'a'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['I', 'A', 'A', 'A', 'O', 'O', 'L'], ['ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.'],
|
|
|
|
|
['igandea', 'astelehena', 'asteartea', 'asteazkena', 'osteguna', 'ostirala', 'larunbata'],
|
|
|
|
|
['ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.']
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['U', 'O', 'M', 'A', 'M', 'E', 'U', 'A', 'I', 'U', 'A', 'A'],
|
|
|
|
|
[
|
|
|
|
|
'urt.', 'ots.', 'mar.', 'api.', 'mai.', 'eka.', 'uzt.', 'abu.', 'ira.', 'urr.', 'aza.', 'abe.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'urtarrila', 'otsaila', 'martxoa', 'apirila', 'maiatza', 'ekaina', 'uztaila', 'abuztua',
|
|
|
|
|
'iraila', 'urria', 'azaroa', 'abendua'
|
|
|
|
|
]
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u, [['K.a.', 'K.o.'], u, ['K.a.', 'Kristo ondoren']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'yy/M/d', 'y(\'e\')\'ko\' MMM d(\'a\')', 'y(\'e\')\'ko\' MMMM\'ren\' d(\'a\')',
|
2017-12-06 09:34:42 -05:00
|
|
|
|
'y(\'e\')\'ko\' MMMM\'ren\' d(\'a\'), EEEE'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss (z)', 'HH:mm:ss (zzzz)'], ['{1} {0}', u, u, u],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
[',', '.', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '% #,##0', '#,##0.00 ¤', '#E0'], '€', 'euroa',
|
|
|
|
|
{'ESP': ['₧'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, plural_eu
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_fa(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === 0 || n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_fa = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'fa', [['ق', 'ب'], ['ق.ظ.', 'ب.ظ.'], ['قبل\u200cازظهر', 'بعدازظهر']], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'],
|
|
|
|
|
[
|
|
|
|
|
'ژانویهٔ', 'فوریهٔ', 'مارس', 'آوریل', 'مهٔ', 'ژوئن', 'ژوئیهٔ', 'اوت', 'سپتامبر', 'اکتبر',
|
|
|
|
|
'نوامبر', 'دسامبر'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'],
|
|
|
|
|
[
|
|
|
|
|
'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر',
|
|
|
|
|
'نوامبر', 'دسامبر'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
|
|
|
|
[['ق', 'م'], ['ق.م.', 'م.'], ['قبل از میلاد', 'میلادی']], 6, [5, 5],
|
|
|
|
|
['y/M/d', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['H:mm', 'H:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], ['{1}،\u200f {0}', u, '{1}، ساعت {0}', u],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['.', ',', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'ناعدد', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '\u200e¤ #,##0.00', '#E0'], 'ریال', 'ریال ایران', {
|
|
|
|
|
'AFN': ['؋'],
|
|
|
|
|
'CAD': ['$CA', '$'],
|
|
|
|
|
'CNY': ['¥CN', '¥'],
|
|
|
|
|
'HKD': ['$HK', '$'],
|
|
|
|
|
'IRR': ['ریال'],
|
|
|
|
|
'MXN': ['$MX', '$'],
|
|
|
|
|
'NZD': ['$NZ', '$'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'XCD': ['$EC', '$']
|
|
|
|
|
},
|
|
|
|
|
plural_fa
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_fi(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_fi = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'fi', [['ap.', 'ip.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'K', 'T', 'P', 'L'], ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'],
|
|
|
|
|
[
|
|
|
|
|
'sunnuntaina', 'maanantaina', 'tiistaina', 'keskiviikkona', 'torstaina', 'perjantaina',
|
|
|
|
|
'lauantaina'
|
|
|
|
|
],
|
|
|
|
|
['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'K', 'T', 'P', 'L'], ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'],
|
|
|
|
|
['sunnuntai', 'maanantai', 'tiistai', 'keskiviikko', 'torstai', 'perjantai', 'lauantai'],
|
|
|
|
|
['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['T', 'H', 'M', 'H', 'T', 'K', 'H', 'E', 'S', 'L', 'M', 'J'],
|
|
|
|
|
[
|
|
|
|
|
'tammik.', 'helmik.', 'maalisk.', 'huhtik.', 'toukok.', 'kesäk.', 'heinäk.', 'elok.',
|
|
|
|
|
'syysk.', 'lokak.', 'marrask.', 'jouluk.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'tammikuuta', 'helmikuuta', 'maaliskuuta', 'huhtikuuta', 'toukokuuta', 'kesäkuuta',
|
|
|
|
|
'heinäkuuta', 'elokuuta', 'syyskuuta', 'lokakuuta', 'marraskuuta', 'joulukuuta'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['T', 'H', 'M', 'H', 'T', 'K', 'H', 'E', 'S', 'L', 'M', 'J'],
|
|
|
|
|
[
|
|
|
|
|
'tammi', 'helmi', 'maalis', 'huhti', 'touko', 'kesä', 'heinä', 'elo', 'syys', 'loka',
|
|
|
|
|
'marras', 'joulu'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'tammikuu', 'helmikuu', 'maaliskuu', 'huhtikuu', 'toukokuu', 'kesäkuu', 'heinäkuu', 'elokuu',
|
|
|
|
|
'syyskuu', 'lokakuu', 'marraskuu', 'joulukuu'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[['eKr', 'jKr'], ['eKr.', 'jKr.'], ['ennen Kristuksen syntymää', 'jälkeen Kristuksen syntymän']],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
1, [6, 0], ['d.M.y', u, 'd. MMMM y', 'cccc d. MMMM y'],
|
|
|
|
|
['H.mm', 'H.mm.ss', 'H.mm.ss z', 'H.mm.ss zzzz'], ['{1} {0}', '{1} \'klo\' {0}', u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'epäluku', '.'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'euro', {
|
|
|
|
|
'AOA': [],
|
|
|
|
|
'ARS': [],
|
|
|
|
|
'AUD': [],
|
|
|
|
|
'BAM': [],
|
|
|
|
|
'BBD': [],
|
|
|
|
|
'BDT': [],
|
|
|
|
|
'BMD': [],
|
|
|
|
|
'BND': [],
|
|
|
|
|
'BOB': [],
|
|
|
|
|
'BRL': [],
|
|
|
|
|
'BSD': [],
|
|
|
|
|
'BWP': [],
|
|
|
|
|
'BYN': [],
|
|
|
|
|
'BZD': [],
|
|
|
|
|
'CAD': [],
|
|
|
|
|
'CLP': [],
|
|
|
|
|
'CNY': [],
|
|
|
|
|
'COP': [],
|
|
|
|
|
'CRC': [],
|
|
|
|
|
'CUC': [],
|
|
|
|
|
'CUP': [],
|
|
|
|
|
'CZK': [],
|
|
|
|
|
'DKK': [],
|
|
|
|
|
'DOP': [],
|
|
|
|
|
'EGP': [],
|
|
|
|
|
'ESP': [],
|
|
|
|
|
'FIM': ['mk'],
|
|
|
|
|
'FJD': [],
|
|
|
|
|
'FKP': [],
|
|
|
|
|
'GEL': [],
|
|
|
|
|
'GIP': [],
|
|
|
|
|
'GNF': [],
|
|
|
|
|
'GTQ': [],
|
|
|
|
|
'GYD': [],
|
|
|
|
|
'HKD': [],
|
|
|
|
|
'HNL': [],
|
|
|
|
|
'HRK': [],
|
|
|
|
|
'HUF': [],
|
|
|
|
|
'IDR': [],
|
|
|
|
|
'ILS': [],
|
|
|
|
|
'INR': [],
|
|
|
|
|
'ISK': [],
|
|
|
|
|
'JMD': [],
|
|
|
|
|
'KHR': [],
|
|
|
|
|
'KMF': [],
|
|
|
|
|
'KPW': [],
|
|
|
|
|
'KRW': [],
|
|
|
|
|
'KYD': [],
|
|
|
|
|
'KZT': [],
|
|
|
|
|
'LAK': [],
|
|
|
|
|
'LBP': [],
|
|
|
|
|
'LKR': [],
|
|
|
|
|
'LRD': [],
|
|
|
|
|
'LTL': [],
|
|
|
|
|
'LVL': [],
|
|
|
|
|
'MGA': [],
|
|
|
|
|
'MMK': [],
|
|
|
|
|
'MNT': [],
|
|
|
|
|
'MUR': [],
|
|
|
|
|
'MXN': [],
|
|
|
|
|
'MYR': [],
|
|
|
|
|
'NAD': [],
|
|
|
|
|
'NGN': [],
|
|
|
|
|
'NIO': [],
|
|
|
|
|
'NOK': [],
|
|
|
|
|
'NPR': [],
|
|
|
|
|
'NZD': [],
|
|
|
|
|
'PHP': [],
|
|
|
|
|
'PKR': [],
|
|
|
|
|
'PLN': [],
|
|
|
|
|
'PYG': [],
|
|
|
|
|
'RON': [],
|
|
|
|
|
'RUR': [],
|
|
|
|
|
'RWF': [],
|
|
|
|
|
'SBD': [],
|
|
|
|
|
'SEK': [],
|
|
|
|
|
'SGD': [],
|
|
|
|
|
'SHP': [],
|
|
|
|
|
'SRD': [],
|
|
|
|
|
'SSP': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'STN': [u, 'STD'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SYP': [],
|
|
|
|
|
'THB': [],
|
|
|
|
|
'TOP': [],
|
|
|
|
|
'TRY': [],
|
|
|
|
|
'TTD': [],
|
|
|
|
|
'TWD': [],
|
|
|
|
|
'UAH': [],
|
|
|
|
|
'UYU': [],
|
|
|
|
|
'VEF': [],
|
|
|
|
|
'VND': [],
|
|
|
|
|
'XCD': [],
|
|
|
|
|
'XPF': [],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'XXX': [],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ZAR': [],
|
|
|
|
|
'ZMW': []
|
|
|
|
|
},
|
|
|
|
|
plural_fi
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_fr(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === 0 || i === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_fr = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'fr', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],
|
|
|
|
|
['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'],
|
|
|
|
|
['di', 'lu', 'ma', 'me', 'je', 've', 'sa']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', 'nov.',
|
|
|
|
|
'déc.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre',
|
|
|
|
|
'octobre', 'novembre', 'décembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', '{1} \'à\' {0}', u, u],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
[',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'euro', {
|
|
|
|
|
'ARS': ['$AR', '$'],
|
|
|
|
|
'AUD': ['$AU', '$'],
|
|
|
|
|
'BEF': ['FB'],
|
|
|
|
|
'BMD': ['$BM', '$'],
|
|
|
|
|
'BND': ['$BN', '$'],
|
|
|
|
|
'BZD': ['$BZ', '$'],
|
|
|
|
|
'CAD': ['$CA', '$'],
|
|
|
|
|
'CLP': ['$CL', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'CNY': [u, '¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'COP': ['$CO', '$'],
|
|
|
|
|
'CYP': ['£CY'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'EGP': [u, '£E'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'FJD': ['$FJ', '$'],
|
|
|
|
|
'FKP': ['£FK', '£'],
|
|
|
|
|
'FRF': ['F'],
|
|
|
|
|
'GBP': ['£GB', '£'],
|
|
|
|
|
'GIP': ['£GI', '£'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'HKD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'IEP': ['£IE'],
|
|
|
|
|
'ILP': ['£IL'],
|
|
|
|
|
'ITL': ['₤IT'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KMF': [u, 'FC'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'LBP': ['£LB', '£L'],
|
|
|
|
|
'MTP': ['£MT'],
|
|
|
|
|
'MXN': ['$MX', '$'],
|
|
|
|
|
'NAD': ['$NA', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'NIO': [u, '$C'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'NZD': ['$NZ', '$'],
|
|
|
|
|
'RHD': ['$RH'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'RON': [u, 'L'],
|
|
|
|
|
'RWF': [u, 'FR'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SBD': ['$SB', '$'],
|
|
|
|
|
'SGD': ['$SG', '$'],
|
|
|
|
|
'SRD': ['$SR', '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'TOP': [u, '$T'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'TTD': ['$TT', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'TWD': [u, 'NT$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'USD': ['$US', '$'],
|
|
|
|
|
'UYU': ['$UY', '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'WST': ['$WS'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'XCD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XPF': ['FCFP'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ZMW': [u, 'Kw']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_fr
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_fr_CA(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === 0 || i === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_fr_CA = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'fr-CA', [['a', 'p'], ['a.m.', 'p.m.'], u], [['a.m.', 'p.m.'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],
|
|
|
|
|
['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'],
|
|
|
|
|
['di', 'lu', 'ma', 'me', 'je', 've', 'sa']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juill.', 'août', 'sept.', 'oct.', 'nov.',
|
|
|
|
|
'déc.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre',
|
|
|
|
|
'octobre', 'novembre', 'décembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], 0, [6, 0],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
[
|
|
|
|
|
'HH \'h\' mm', 'HH \'h\' mm \'min\' ss \'s\'', 'HH \'h\' mm \'min\' ss \'s\' z',
|
|
|
|
|
'HH \'h\' mm \'min\' ss \'s\' zzzz'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['{1} {0}', u, '{1} \'à\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '$', 'dollar canadien', {
|
|
|
|
|
'AUD': ['$ AU', '$'],
|
|
|
|
|
'BEF': ['FB'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BYN': [u, 'Br'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'CAD': ['$'],
|
|
|
|
|
'CYP': ['£CY'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'EGP': [u, '£E'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'FRF': ['F'],
|
|
|
|
|
'GEL': [],
|
|
|
|
|
'HKD': ['$ HK', '$'],
|
|
|
|
|
'IEP': ['£IE'],
|
|
|
|
|
'ILP': ['£IL'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ITL': ['₤IT'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'LBP': [u, '£L'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'MTP': ['£MT'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'MXN': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'NZD': ['$ NZ', '$'],
|
|
|
|
|
'RHD': ['$RH'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'RON': [u, 'L'],
|
|
|
|
|
'RWF': [u, 'FR'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SGD': ['$ SG', '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'TOP': [u, '$T'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'TWD': [u, 'NT$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'USD': ['$ US', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'VND': [u, '₫'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XAF': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'XCD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XOF': [],
|
|
|
|
|
'XPF': []
|
|
|
|
|
},
|
|
|
|
|
plural_fr_CA
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ga(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
if (n === 2) return 2;
|
|
|
|
|
if (n === Math.floor(n) && n >= 3 && n <= 6) return 3;
|
|
|
|
|
if (n === Math.floor(n) && n >= 7 && n <= 10) return 4;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ga = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'ga', [['r.n.', 'i.n.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['D', 'L', 'M', 'C', 'D', 'A', 'S'], ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
|
|
|
|
|
[
|
|
|
|
|
'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Sathairn'
|
|
|
|
|
],
|
|
|
|
|
['Do', 'Lu', 'Má', 'Cé', 'Dé', 'Ao', 'Sa']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['E', 'F', 'M', 'A', 'B', 'M', 'I', 'L', 'M', 'D', 'S', 'N'],
|
|
|
|
|
[
|
|
|
|
|
'Ean', 'Feabh', 'Márta', 'Aib', 'Beal', 'Meith', 'Iúil', 'Lún', 'MFómh', 'DFómh', 'Samh',
|
|
|
|
|
'Noll'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Meitheamh', 'Iúil', 'Lúnasa',
|
|
|
|
|
'Meán Fómhair', 'Deireadh Fómhair', 'Samhain', 'Nollaig'
|
|
|
|
|
]
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u, [['RC', 'AD'], u, ['Roimh Chríost', 'Anno Domini']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '€', 'Euro',
|
|
|
|
|
{'THB': ['฿'], 'TWD': ['NT$'], 'XXX': []}, plural_ga
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_gl(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_gl = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'gl', [['a.m.', 'p.m.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['d.', 'l.', 'm.', 'm.', 'x.', 'v.', 's.'],
|
|
|
|
|
['dom.', 'luns', 'mar.', 'mér.', 'xov.', 'ven.', 'sáb.'],
|
|
|
|
|
['domingo', 'luns', 'martes', 'mércores', 'xoves', 'venres', 'sábado'],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['do.', 'lu.', 'ma.', 'mé.', 'xo.', 've.', 'sá.']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['D', 'L', 'M', 'M', 'X', 'V', 'S'], ['Dom.', 'Luns', 'Mar.', 'Mér.', 'Xov.', 'Ven.', 'Sáb.'],
|
|
|
|
|
['Domingo', 'Luns', 'Martes', 'Mércores', 'Xoves', 'Venres', 'Sábado'],
|
|
|
|
|
['Do', 'Lu', 'Ma', 'Mé', 'Xo', 'Ve', 'Sá']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['x.', 'f.', 'm.', 'a.', 'm.', 'x.', 'x.', 'a.', 's.', 'o.', 'n.', 'd.'],
|
|
|
|
|
[
|
|
|
|
|
'xan.', 'feb.', 'mar.', 'abr.', 'maio', 'xuño', 'xul.', 'ago.', 'set.', 'out.', 'nov.', 'dec.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'xaneiro', 'febreiro', 'marzo', 'abril', 'maio', 'xuño', 'xullo', 'agosto', 'setembro',
|
|
|
|
|
'outubro', 'novembro', 'decembro'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['X', 'F', 'M', 'A', 'M', 'X', 'X', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'Xan.', 'Feb.', 'Mar.', 'Abr.', 'Maio', 'Xuño', 'Xul.', 'Ago.', 'Set.', 'Out.', 'Nov.', 'Dec.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'Xaneiro', 'Febreiro', 'Marzo', 'Abril', 'Maio', 'Xuño', 'Xullo', 'Agosto', 'Setembro',
|
|
|
|
|
'Outubro', 'Novembro', 'Decembro'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['a.C.', 'd.C.'], u, ['antes de Cristo', 'despois de Cristo']], 1, [6, 0],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['dd/MM/yy', 'd \'de\' MMM \'de\' y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{0}, {1}', u, '{0} \'do\' {1}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'euro', {
|
|
|
|
|
'BYN': [u, 'Br'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ESP': ['₧'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'KMF': [u, 'FC'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'MXN': ['$MX', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'RUB': [u, 'руб'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'XCD': [u, '$']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_gl
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_gsw(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_gsw = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'gsw', [['vorm.', 'nam.'], u, ['am Vormittag', 'am Namittag']],
|
|
|
|
|
[['vorm.', 'nam.'], u, ['Vormittag', 'Namittag']],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'],
|
|
|
|
|
['Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig'],
|
|
|
|
|
['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
|
|
|
|
|
[
|
|
|
|
|
'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber',
|
|
|
|
|
'Oktoober', 'Novämber', 'Dezämber'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['v. Chr.', 'n. Chr.'], u, u], 1, [6, 0],
|
|
|
|
|
['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['.', '’', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'CHF', 'Schwiizer Franke', {'ATS': ['öS']},
|
|
|
|
|
plural_gsw
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_gu(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === 0 || n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_gu = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'gu', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], ['રવિ', 'સોમ', 'મંગળ', 'બુધ', 'ગુરુ', 'શુક્ર', 'શનિ'],
|
|
|
|
|
['રવિવાર', 'સોમવાર', 'મંગળવાર', 'બુધવાર', 'ગુરુવાર', 'શુક્રવાર', 'શનિવાર'],
|
|
|
|
|
['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['જા', 'ફે', 'મા', 'એ', 'મે', 'જૂ', 'જુ', 'ઑ', 'સ', 'ઑ', 'ન', 'ડિ'],
|
|
|
|
|
['જાન્યુ', 'ફેબ્રુ', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટે', 'ઑક્ટો', 'નવે', 'ડિસે'],
|
|
|
|
|
[
|
|
|
|
|
'જાન્યુઆરી', 'ફેબ્રુઆરી', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટેમ્બર', 'ઑક્ટોબર', 'નવેમ્બર',
|
|
|
|
|
'ડિસેમ્બર'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['ઇ સ પુ', 'ઇસ'], ['ઈ.સ.પૂર્વે', 'ઈ.સ.'], ['ઈસવીસન પૂર્વે', 'ઇસવીસન']], 0, [0, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['hh:mm a', 'hh:mm:ss a', 'hh:mm:ss a z', 'hh:mm:ss a zzzz'], ['{1} {0}', u, '{1} એ {0} વાગ્યે', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '[#E0]'], '₹', 'ભારતીય રૂપિયા',
|
2018-04-13 17:35:20 -04:00
|
|
|
|
{'JPY': ['JP¥', '¥'], 'MUR': [u, 'રૂ.'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']},
|
2018-01-29 15:47:58 -05:00
|
|
|
|
plural_gu
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_haw(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_haw = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'haw', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6'],
|
|
|
|
|
['Lāpule', 'Poʻakahi', 'Poʻalua', 'Poʻakolu', 'Poʻahā', 'Poʻalima', 'Poʻaono'],
|
|
|
|
|
['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
['Ian.', 'Pep.', 'Mal.', 'ʻAp.', 'Mei', 'Iun.', 'Iul.', 'ʻAu.', 'Kep.', 'ʻOk.', 'Now.', 'Kek.'],
|
|
|
|
|
[
|
|
|
|
|
'Ianuali', 'Pepeluali', 'Malaki', 'ʻApelila', 'Mei', 'Iune', 'Iulai', 'ʻAukake', 'Kepakemapa',
|
|
|
|
|
'ʻOkakopa', 'Nowemapa', 'Kekemapa'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['BCE', 'CE'], u, u], 0, [6, 0], ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'USD', {'JPY': ['JP¥', '¥']}, plural_haw
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_hi(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === 0 || n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_hi = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'hi', [['am', 'pm'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'],
|
|
|
|
|
['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'],
|
|
|
|
|
['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ज', 'फ़', 'मा', 'अ', 'म', 'जू', 'जु', 'अ', 'सि', 'अ', 'न', 'दि'],
|
|
|
|
|
['जन॰', 'फ़र॰', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुल॰', 'अग॰', 'सित॰', 'अक्तू॰', 'नव॰', 'दिस॰'],
|
|
|
|
|
[
|
|
|
|
|
'जनवरी', 'फ़रवरी', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितंबर', 'अक्तूबर', 'नवंबर',
|
2018-09-07 14:26:11 -04:00
|
|
|
|
'दिसंबर'
|
2017-08-31 06:13:49 -04:00
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['ईसा-पूर्व', 'ईस्वी'], u, ['ईसा-पूर्व', 'ईसवी सन']], 0, [0, 0],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} को {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '[#E0]'], '₹', 'भारतीय रुपया',
|
2018-04-13 17:35:20 -04:00
|
|
|
|
{'JPY': ['JP¥', '¥'], 'RON': [u, 'लेई'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_hi
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_hr(n: number): 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 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 3;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_hr = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'hr', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['N', 'P', 'U', 'S', 'Č', 'P', 'S'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'],
|
|
|
|
|
['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'],
|
|
|
|
|
['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'],
|
|
|
|
|
['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'],
|
|
|
|
|
['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],
|
|
|
|
|
['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'],
|
|
|
|
|
[
|
|
|
|
|
'siječnja', 'veljače', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza',
|
|
|
|
|
'rujna', 'listopada', 'studenoga', 'prosinca'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],
|
|
|
|
|
['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'],
|
|
|
|
|
[
|
|
|
|
|
'siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan',
|
|
|
|
|
'listopad', 'studeni', 'prosinac'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[['pr.n.e.', 'AD'], ['pr. Kr.', 'po. Kr.'], ['prije Krista', 'poslije Krista']], 1, [6, 0],
|
|
|
|
|
['dd. MM. y.', 'd. MMM y.', 'd. MMMM y.', 'EEEE, d. MMMM y.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss (zzzz)'], ['{1} {0}', u, '{1} \'u\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'HRK', 'hrvatska kuna', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'EUR': [u, '€'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'VND': [u, '₫'],
|
|
|
|
|
'XCD': [u, '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'XPF': [],
|
|
|
|
|
'XXX': []
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_hr
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_hu(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_hu = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'hu', [['de.', 'du.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['V', 'H', 'K', 'Sz', 'Cs', 'P', 'Sz'], ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
|
|
|
|
|
['vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat'],
|
|
|
|
|
['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'Á', 'M', 'J', 'J', 'A', 'Sz', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'jan.', 'febr.', 'márc.', 'ápr.', 'máj.', 'jún.', 'júl.', 'aug.', 'szept.', 'okt.', 'nov.',
|
|
|
|
|
'dec.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus',
|
|
|
|
|
'szeptember', 'október', 'november', 'december'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['ie.', 'isz.'], ['i. e.', 'i. sz.'], ['Krisztus előtt', 'időszámításunk szerint']], 1,
|
|
|
|
|
[6, 0], ['y. MM. dd.', 'y. MMM d.', 'y. MMMM d.', 'y. MMMM d., EEEE'],
|
|
|
|
|
['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'Ft', 'magyar forint', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'EUR': [u, '€'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'HUF': ['Ft'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'VND': [u, '₫'],
|
|
|
|
|
'XCD': [u, '$']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_hu
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_hy(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === 0 || i === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_hy = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'hy', [['ա', 'հ'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Կ', 'Ե', 'Ե', 'Չ', 'Հ', 'Ո', 'Շ'], ['կիր', 'երկ', 'երք', 'չրք', 'հնգ', 'ուր', 'շբթ'],
|
|
|
|
|
['կիրակի', 'երկուշաբթի', 'երեքշաբթի', 'չորեքշաբթի', 'հինգշաբթի', 'ուրբաթ', 'շաբաթ'],
|
|
|
|
|
['կր', 'եկ', 'եք', 'չք', 'հգ', 'ու', 'շբ']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'],
|
|
|
|
|
['հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', 'հոկ', 'նոյ', 'դեկ'],
|
|
|
|
|
[
|
|
|
|
|
'հունվարի', 'փետրվարի', 'մարտի', 'ապրիլի', 'մայիսի', 'հունիսի', 'հուլիսի', 'օգոստոսի',
|
|
|
|
|
'սեպտեմբերի', 'հոկտեմբերի', 'նոյեմբերի', 'դեկտեմբերի'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'],
|
|
|
|
|
['հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', 'հոկ', 'նոյ', 'դեկ'],
|
|
|
|
|
[
|
|
|
|
|
'հունվար', 'փետրվար', 'մարտ', 'ապրիլ', 'մայիս', 'հունիս', 'հուլիս', 'օգոստոս', 'սեպտեմբեր',
|
|
|
|
|
'հոկտեմբեր', 'նոյեմբեր', 'դեկտեմբեր'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['մ.թ.ա.', 'մ.թ.'], u, ['Քրիստոսից առաջ', 'Քրիստոսից հետո']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd.MM.yy', 'dd MMM, y թ.', 'dd MMMM, y թ.', 'y թ. MMMM d, EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ՈչԹ', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '֏', 'հայկական դրամ',
|
|
|
|
|
{'AMD': ['֏'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_hy
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_in(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_in = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'id', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['M', 'S', 'S', 'R', 'K', 'J', 'S'], ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
|
|
|
|
|
['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'],
|
|
|
|
|
['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agu', 'Sep', 'Okt', 'Nov', 'Des'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September',
|
|
|
|
|
'Oktober', 'November', 'Desember'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['SM', 'M'], u, ['Sebelum Masehi', 'Masehi']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, dd MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'Rp', 'Rupiah Indonesia', {
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'IDR': ['Rp'],
|
|
|
|
|
'INR': ['Rs', '₹'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'USD': ['US$', '$'],
|
|
|
|
|
'XXX': []
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_in
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_is(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)),
|
|
|
|
|
t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0;
|
|
|
|
|
if (t === 0 && i % 10 === 1 && !(i % 100 === 11) || !(t === 0)) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_is = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'is', [['f.', 'e.'], ['f.h.', 'e.h.'], u], [['f.h.', 'e.h.'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'Þ', 'M', 'F', 'F', 'L'], ['sun.', 'mán.', 'þri.', 'mið.', 'fim.', 'fös.', 'lau.'],
|
|
|
|
|
[
|
|
|
|
|
'sunnudagur', 'mánudagur', 'þriðjudagur', 'miðvikudagur', 'fimmtudagur', 'föstudagur',
|
|
|
|
|
'laugardagur'
|
|
|
|
|
],
|
|
|
|
|
['su.', 'má.', 'þr.', 'mi.', 'fi.', 'fö.', 'la.']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'Á', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['jan.', 'feb.', 'mar.', 'apr.', 'maí', 'jún.', 'júl.', 'ágú.', 'sep.', 'okt.', 'nóv.', 'des.'],
|
|
|
|
|
[
|
|
|
|
|
'janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'september', 'október',
|
|
|
|
|
'nóvember', 'desember'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['f.k.', 'e.k.'], ['f.Kr.', 'e.Kr.'], ['fyrir Krist', 'eftir Krist']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d.M.y', 'd. MMM y', 'd. MMMM y', 'EEEE, d. MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} \'kl\'. {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'ISK', 'íslensk króna', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'EUR': [u, '€'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'INR': [u, '₹'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'JPY': ['JP¥', '¥'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'VND': [u, '₫']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_is
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_it(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_it = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'it', [['m.', 'p.'], ['AM', 'PM'], u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['D', 'L', 'M', 'M', 'G', 'V', 'S'], ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'],
|
|
|
|
|
['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'],
|
|
|
|
|
['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'],
|
|
|
|
|
[
|
|
|
|
|
'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre',
|
|
|
|
|
'ottobre', 'novembre', 'dicembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['aC', 'dC'], ['a.C.', 'd.C.'], ['avanti Cristo', 'dopo Cristo']], 1, [6, 0],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'euro', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'BYN': [u, 'Br'],
|
|
|
|
|
'EGP': [u, '£E'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NOK': [u, 'NKr'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_it
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_iw(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
if (i === 2 && v === 0) return 2;
|
|
|
|
|
if (v === 0 && !(n >= 0 && n <= 10) && n % 10 === 0) return 4;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_iw = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'he', [['לפנה״צ', 'אחה״צ'], u, u], [['לפנה״צ', 'אחה״צ'], ['AM', 'PM'], u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'],
|
|
|
|
|
['יום א׳', 'יום ב׳', 'יום ג׳', 'יום ד׳', 'יום ה׳', 'יום ו׳', 'שבת'],
|
|
|
|
|
['יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום שישי', 'יום שבת'],
|
|
|
|
|
['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
['ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳'],
|
|
|
|
|
[
|
|
|
|
|
'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר',
|
|
|
|
|
'נובמבר', 'דצמבר'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['לפנה״ס', 'לספירה'], u, ['לפני הספירה', 'לספירה']], 0, [5, 6],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d.M.y', 'd בMMM y', 'd בMMMM y', 'EEEE, d בMMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], ['{1}, {0}', u, '{1} בשעה {0}', u],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '\u200f#,##0.00 ¤;\u200f-#,##0.00 ¤', '#E0'], '₪', 'שקל חדש',
|
2019-11-07 13:01:44 -05:00
|
|
|
|
{'BYN': [u, 'р'], 'CNY': ['\u200eCN¥\u200e', '¥'], 'ILP': ['ל״י'], 'THB': ['฿'], 'TWD': ['NT$']},
|
|
|
|
|
plural_iw
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ja(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ja = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ja', [['午前', '午後'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['日', '月', '火', '水', '木', '金', '土'], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日'],
|
|
|
|
|
['日', '月', '火', '水', '木', '金', '土']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['BC', 'AD'], ['紀元前', '西暦'], u], 0, [6, 0], ['y/MM/dd', u, 'y年M月d日', 'y年M月d日EEEE'],
|
|
|
|
|
['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H時mm分ss秒 zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '¥', '日本円',
|
2019-11-07 13:01:44 -05:00
|
|
|
|
{'CNY': ['元', '¥'], 'JPY': ['¥'], 'RON': [u, 'レイ'], 'XXX': []}, plural_ja
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ka(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ka = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'ka', [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['კ', 'ო', 'ს', 'ო', 'ხ', 'პ', 'შ'], ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'],
|
|
|
|
|
['კვირა', 'ორშაბათი', 'სამშაბათი', 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', 'შაბათი'],
|
|
|
|
|
['კვ', 'ორ', 'სმ', 'ოთ', 'ხთ', 'პრ', 'შბ']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ი', 'თ', 'მ', 'ა', 'მ', 'ი', 'ი', 'ა', 'ს', 'ო', 'ნ', 'დ'],
|
|
|
|
|
['იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ'],
|
|
|
|
|
[
|
|
|
|
|
'იანვარი', 'თებერვალი', 'მარტი', 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', 'აგვისტო',
|
|
|
|
|
'სექტემბერი', 'ოქტომბერი', 'ნოემბერი', 'დეკემბერი'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['ძვ. წ.', 'ახ. წ.'], u, ['ძველი წელთაღრიცხვით', 'ახალი წელთაღრიცხვით']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd.MM.yy', 'd MMM. y', 'd MMMM, y', 'EEEE, dd MMMM, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'არ არის რიცხვი', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '₾', 'ქართული ლარი', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'GEL': ['₾'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'NZD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'VND': [u, '₫']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_ka
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_kk(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_kk = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'kk', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['Ж', 'Д', 'С', 'С', 'Б', 'Ж', 'С'], ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['жексенбі', 'дүйсенбі', 'сейсенбі', 'сәрсенбі', 'бейсенбі', 'жұма', 'сенбі'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'],
|
|
|
|
|
[
|
|
|
|
|
'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', 'қыр.', 'қаз.', 'қар.', 'жел.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', 'шілде', 'тамыз', 'қыркүйек',
|
|
|
|
|
'қазан', 'қараша', 'желтоқсан'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'],
|
|
|
|
|
[
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', 'қыр.', 'қаз.', 'қар.', 'жел.'
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'Қаңтар', 'Ақпан', 'Наурыз', 'Сәуір', 'Мамыр', 'Маусым', 'Шілде', 'Тамыз', 'Қыркүйек',
|
|
|
|
|
'Қазан', 'Қараша', 'Желтоқсан'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['б.з.д.', 'б.з.'], u, ['Біздің заманымызға дейін', 'біздің заманымыз']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd.MM.yy', 'y \'ж\'. dd MMM', 'y \'ж\'. d MMMM', 'y \'ж\'. d MMMM, EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'сан емес', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '₸', 'Қазақстан теңгесі',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'KZT': ['₸'], 'RUB': ['₽'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_kk
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_km(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_km = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'km', [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', 'សុក្រ', 'សៅរ៍'],
|
|
|
|
|
['អាទិត្យ', 'ច័ន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'], ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', 'សុក្រ', 'សៅរ៍'],
|
|
|
|
|
['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'], ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['ម', 'ក', 'ម', 'ម', 'ឧ', 'ម', 'ក', 'ស', 'ក', 'ត', 'វ', 'ធ'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', 'តុលា', 'វិច្ឆិកា', 'ធ្នូ'], u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['មុន គ.ស.', 'គ.ស.'], u, ['មុនគ្រិស្តសករាជ', 'គ្រិស្តសករាជ']], 0,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[6, 0], ['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'],
|
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['{1}, {0}', u, '{1} នៅម៉ោង {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], '៛', 'រៀលកម្ពុជា',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'KHR': ['៛'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_km
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_kn(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === 0 || n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_kn = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'kn', [['ಪೂ', 'ಅ'], ['ಪೂರ್ವಾಹ್ನ', 'ಅಪರಾಹ್ನ'], u], [['ಪೂರ್ವಾಹ್ನ', 'ಅಪರಾಹ್ನ'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ಭಾ', 'ಸೋ', 'ಮಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'],
|
|
|
|
|
['ಭಾನುವಾರ', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', 'ಬುಧವಾರ', 'ಗುರುವಾರ', 'ಶುಕ್ರವಾರ', 'ಶನಿವಾರ'],
|
|
|
|
|
['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-12-06 09:34:42 -05:00
|
|
|
|
[
|
|
|
|
|
['ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'],
|
|
|
|
|
['ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ'],
|
|
|
|
|
[
|
|
|
|
|
'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್',
|
|
|
|
|
'ಡಿಸೆಂಬರ್'
|
|
|
|
|
]
|
|
|
|
|
],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'],
|
|
|
|
|
['ಜನ', 'ಫೆಬ್ರ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ'],
|
|
|
|
|
[
|
|
|
|
|
'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್',
|
|
|
|
|
'ಡಿಸೆಂಬರ್'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], u, ['ಕ್ರಿಸ್ತ ಪೂರ್ವ', 'ಕ್ರಿಸ್ತ ಶಕ']], 0, [0, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['hh:mm a', 'hh:mm:ss a', 'hh:mm:ss a z', 'hh:mm:ss a zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '₹', 'ಭಾರತೀಯ ರೂಪಾಯಿ',
|
2018-04-13 17:35:20 -04:00
|
|
|
|
{'JPY': ['JP¥', '¥'], 'RON': [u, 'ಲೀ'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_kn
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ko(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ko = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ko', [['AM', 'PM'], u, ['오전', '오후']], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['일', '월', '화', '수', '목', '금', '토'], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'],
|
|
|
|
|
['일', '월', '화', '수', '목', '금', '토']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
|
|
|
|
[['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], u, u],
|
|
|
|
|
u, [['BC', 'AD'], u, ['기원전', '서기']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['yy. M. d.', 'y. M. d.', 'y년 M월 d일', 'y년 M월 d일 EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['a h:mm', 'a h:mm:ss', 'a h시 m분 s초 z', 'a h시 m분 s초 zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '₩', '대한민국 원',
|
2018-04-13 17:35:20 -04:00
|
|
|
|
{'AUD': ['AU$', '$'], 'JPY': ['JP¥', '¥'], 'RON': [u, 'L'], 'TWD': ['NT$'], 'USD': ['US$', '$']},
|
2018-01-29 15:47:58 -05:00
|
|
|
|
plural_ko
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ky(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ky = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ky', [['тң', 'тк'], u, ['таңкы', 'түштөн кийинки']], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Ж', 'Д', 'Ш', 'Ш', 'Б', 'Ж', 'И'],
|
|
|
|
|
['жек.', 'дүй.', 'шейш.', 'шарш.', 'бейш.', 'жума', 'ишм.'],
|
|
|
|
|
['жекшемби', 'дүйшөмбү', 'шейшемби', 'шаршемби', 'бейшемби', 'жума', 'ишемби'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['жш.', 'дш.', 'шш.', 'шр.', 'бш.', 'жм.', 'иш.']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'],
|
|
|
|
|
['янв.', 'фев.', 'мар.', 'апр.', 'май', 'июн.', 'июл.', 'авг.', 'сен.', 'окт.', 'ноя.', 'дек.'],
|
|
|
|
|
[
|
|
|
|
|
'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь',
|
|
|
|
|
'ноябрь', 'декабрь'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'],
|
|
|
|
|
['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'],
|
|
|
|
|
[
|
|
|
|
|
'Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь',
|
|
|
|
|
'Ноябрь', 'Декабрь'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['б.з.ч.', 'б.з.'], u, ['биздин заманга чейин', 'биздин заман']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'y-\'ж\'., d-MMM', 'y-\'ж\'., d-MMMM', 'y-\'ж\'., d-MMMM, EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'сан эмес', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'сом', 'Кыргызстан сому', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BMD': [u, 'BD$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'BSD': [u, 'B$'],
|
|
|
|
|
'BZD': [u, 'BZ$'],
|
|
|
|
|
'CAD': [u, 'C$'],
|
|
|
|
|
'DOP': [u, 'RD$'],
|
|
|
|
|
'EGP': [u, 'LE'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, 'HK$'],
|
|
|
|
|
'HRK': [u, 'Kn'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JMD': [u, 'J$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'KGS': ['сом'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'TTD': [u, 'TT$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'XCD': [u, '$']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_ky
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ln(n: number): number {
|
|
|
|
|
if (n === Math.floor(n) && n >= 0 && n <= 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ln = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ln', [['ntɔ́ngɔ́', 'mpókwa'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['e', 'y', 'm', 'm', 'm', 'm', 'p'], ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'],
|
|
|
|
|
[
|
|
|
|
|
'eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi',
|
|
|
|
|
'mokɔlɔ ya mítáno', 'mpɔ́sɔ'
|
|
|
|
|
],
|
|
|
|
|
['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'],
|
|
|
|
|
['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'],
|
|
|
|
|
[
|
|
|
|
|
'sánzá ya yambo', 'sánzá ya míbalé', 'sánzá ya mísáto', 'sánzá ya mínei', 'sánzá ya mítáno',
|
|
|
|
|
'sánzá ya motóbá', 'sánzá ya nsambo', 'sánzá ya mwambe', 'sánzá ya libwa', 'sánzá ya zómi',
|
|
|
|
|
'sánzá ya zómi na mɔ̌kɔ́', 'sánzá ya zómi na míbalé'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['libóso ya', 'nsima ya Y'], u, ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'FC', 'Falánga ya Kongó',
|
|
|
|
|
{'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, plural_ln
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_lo(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_lo = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'lo', [['ກ່ອນທ່ຽງ', 'ຫຼັງທ່ຽງ'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ອາ', 'ຈ', 'ອ', 'ພ', 'ພຫ', 'ສຸ', 'ສ'], ['ອາທິດ', 'ຈັນ', 'ອັງຄານ', 'ພຸດ', 'ພະຫັດ', 'ສຸກ', 'ເສົາ'],
|
|
|
|
|
['ວັນອາທິດ', 'ວັນຈັນ', 'ວັນອັງຄານ', 'ວັນພຸດ', 'ວັນພະຫັດ', 'ວັນສຸກ', 'ວັນເສົາ'],
|
|
|
|
|
['ອາ.', 'ຈ.', 'ອ.', 'ພ.', 'ພຫ.', 'ສຸ.', 'ສ.']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
[
|
|
|
|
|
'ມ.ກ.', 'ກ.ພ.', 'ມ.ນ.', 'ມ.ສ.', 'ພ.ພ.', 'ມິ.ຖ.', 'ກ.ລ.', 'ສ.ຫ.', 'ກ.ຍ.', 'ຕ.ລ.', 'ພ.ຈ.', 'ທ.ວ.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'ມັງກອນ', 'ກຸມພາ', 'ມີນາ', 'ເມສາ', 'ພຶດສະພາ', 'ມິຖຸນາ', 'ກໍລະກົດ', 'ສິງຫາ', 'ກັນຍາ', 'ຕຸລາ', 'ພະຈິກ',
|
|
|
|
|
'ທັນວາ'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['ກ່ອນ ຄ.ສ.', 'ຄ.ສ.'], u, ['ກ່ອນຄຣິດສັກກະລາດ', 'ຄຣິດສັກກະລາດ']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE ທີ d MMMM G y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['H:mm', 'H:mm:ss', 'H ໂມງ m ນາທີ ss ວິນາທີ z', 'H ໂມງ m ນາທີ ss ວິນາທີ zzzz'], ['{1}, {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞',
|
|
|
|
|
'ບໍ່ແມ່ນໂຕເລກ', ':'
|
|
|
|
|
],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00;¤-#,##0.00', '#'], '₭', 'ລາວ ກີບ',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'LAK': ['₭'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, plural_lo
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_lt(n: number): number {
|
|
|
|
|
let f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
|
|
|
|
|
if (n % 10 === 1 && !(n % 100 >= 11 && n % 100 <= 19)) return 1;
|
|
|
|
|
if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 9 &&
|
|
|
|
|
!(n % 100 >= 11 && n % 100 <= 19))
|
|
|
|
|
return 3;
|
|
|
|
|
if (!(f === 0)) return 4;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_lt = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'lt', [['pr. p.', 'pop.'], ['priešpiet', 'popiet'], u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'P', 'A', 'T', 'K', 'P', 'Š'], ['sk', 'pr', 'an', 'tr', 'kt', 'pn', 'št'],
|
|
|
|
|
[
|
|
|
|
|
'sekmadienis', 'pirmadienis', 'antradienis', 'trečiadienis', 'ketvirtadienis', 'penktadienis',
|
|
|
|
|
'šeštadienis'
|
|
|
|
|
],
|
|
|
|
|
['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'],
|
|
|
|
|
[
|
|
|
|
|
'saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.',
|
|
|
|
|
'lapkr.', 'gruod.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'sausio', 'vasario', 'kovo', 'balandžio', 'gegužės', 'birželio', 'liepos', 'rugpjūčio',
|
|
|
|
|
'rugsėjo', 'spalio', 'lapkričio', 'gruodžio'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'],
|
|
|
|
|
[
|
|
|
|
|
'saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.',
|
|
|
|
|
'lapkr.', 'gruod.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'sausis', 'vasaris', 'kovas', 'balandis', 'gegužė', 'birželis', 'liepa', 'rugpjūtis',
|
|
|
|
|
'rugsėjis', 'spalis', 'lapkritis', 'gruodis'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['pr. Kr.', 'po Kr.'], u, ['prieš Kristų', 'po Kristaus']], 1, [6, 0],
|
|
|
|
|
['y-MM-dd', u, 'y \'m\'. MMMM d \'d\'.', 'y \'m\'. MMMM d \'d\'., EEEE'],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'Euras', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'BDT': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'BYN': [u, 'Br'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ILS': [],
|
|
|
|
|
'INR': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'JPY': [u, '¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'KHR': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'KRW': [u, '₩'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'LAK': [],
|
|
|
|
|
'MNT': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'PLN': [u, 'zl'],
|
|
|
|
|
'PYG': [u, 'Gs'],
|
|
|
|
|
'RUB': [u, 'rb'],
|
|
|
|
|
'TWD': [u, '$'],
|
|
|
|
|
'USD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'VND': [],
|
|
|
|
|
'XAF': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'XCD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XOF': [],
|
|
|
|
|
'XPF': []
|
|
|
|
|
},
|
|
|
|
|
plural_lt
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_lv(n: number): number {
|
|
|
|
|
let v = n.toString().replace(/^[^.]*\.?/, '').length,
|
|
|
|
|
f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
|
|
|
|
|
if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 ||
|
|
|
|
|
v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19)
|
|
|
|
|
return 0;
|
|
|
|
|
if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) ||
|
|
|
|
|
!(v === 2) && f % 10 === 1)
|
|
|
|
|
return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_lv = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'lv', [['priekšp.', 'pēcp.'], u, ['priekšpusdienā', 'pēcpusdienā']],
|
|
|
|
|
[['priekšp.', 'pēcpusd.'], u, ['priekšpusdiena', 'pēcpusdiena']],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'P', 'O', 'T', 'C', 'P', 'S'],
|
|
|
|
|
['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'],
|
|
|
|
|
['svētdiena', 'pirmdiena', 'otrdiena', 'trešdiena', 'ceturtdiena', 'piektdiena', 'sestdiena'],
|
|
|
|
|
['Sv', 'Pr', 'Ot', 'Tr', 'Ce', 'Pk', 'Se']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['S', 'P', 'O', 'T', 'C', 'P', 'S'],
|
|
|
|
|
['Svētd.', 'Pirmd.', 'Otrd.', 'Trešd.', 'Ceturtd.', 'Piektd.', 'Sestd.'],
|
|
|
|
|
['Svētdiena', 'Pirmdiena', 'Otrdiena', 'Trešdiena', 'Ceturtdiena', 'Piektdiena', 'Sestdiena'],
|
|
|
|
|
['Sv', 'Pr', 'Ot', 'Tr', 'Ce', 'Pk', 'Se']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'janv.', 'febr.', 'marts', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', 'nov.',
|
|
|
|
|
'dec.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'janvāris', 'februāris', 'marts', 'aprīlis', 'maijs', 'jūnijs', 'jūlijs', 'augusts',
|
|
|
|
|
'septembris', 'oktobris', 'novembris', 'decembris'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['p.m.ē.', 'm.ē.'], u, ['pirms mūsu ēras', 'mūsu ērā']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd.MM.yy', 'y. \'gada\' d. MMM', 'y. \'gada\' d. MMMM', 'EEEE, y. \'gada\' d. MMMM'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NS', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'eiro',
|
|
|
|
|
{'AUD': ['AU$', '$'], 'LVL': ['Ls'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_lv
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_mk(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
|
|
|
|
|
f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
|
2018-06-25 11:17:56 -04:00
|
|
|
|
if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1;
|
2018-01-29 16:22:06 -05:00
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_mk = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'mk', [['претпл.', 'попл.'], u, ['претпладне', 'попладне']], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нед.', 'пон.', 'вт.', 'сре.', 'чет.', 'пет.', 'саб.'],
|
|
|
|
|
['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота'],
|
|
|
|
|
['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'],
|
|
|
|
|
['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота'],
|
|
|
|
|
['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'],
|
|
|
|
|
[
|
|
|
|
|
'јан.', 'фев.', 'мар.', 'апр.', 'мај', 'јун.', 'јул.', 'авг.', 'септ.', 'окт.', 'ноем.',
|
|
|
|
|
'дек.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'јануари', 'февруари', 'март', 'април', 'мај', 'јуни', 'јули', 'август', 'септември',
|
|
|
|
|
'октомври', 'ноември', 'декември'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['пр.н.е.', 'н.е.'], u, ['пред нашата ера', 'од нашата ера']], 1, [6, 0],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['d.M.yy', 'd.M.y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'ден.', 'Македонски денар', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'MKD': ['ден.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'USD': ['US$', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'VND': [u, '₫']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_mk
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ml(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ml = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ml', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ഞ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'],
|
|
|
|
|
['ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'],
|
|
|
|
|
[
|
2018-01-29 16:22:06 -05:00
|
|
|
|
'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', 'ചൊവ്വാഴ്ച', 'ബുധനാഴ്\u200cച', 'വ്യാഴാഴ്\u200cച',
|
|
|
|
|
'വെള്ളിയാഴ്\u200cച', 'ശനിയാഴ്\u200cച'
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
|
|
|
|
['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'],
|
|
|
|
|
['ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'],
|
|
|
|
|
[
|
2018-01-29 16:22:06 -05:00
|
|
|
|
'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', 'ചൊവ്വാഴ്\u200cച', 'ബുധനാഴ്\u200cച', 'വ്യാഴാഴ്\u200cച',
|
|
|
|
|
'വെള്ളിയാഴ്\u200cച', 'ശനിയാഴ്\u200cച'
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-09-07 14:26:11 -04:00
|
|
|
|
['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['ജ', 'ഫെ', 'മാ', 'ഏ', 'മെ', 'ജൂൺ', 'ജൂ', 'ഓ', 'സെ', 'ഒ', 'ന', 'ഡി'],
|
|
|
|
|
['ജനു', 'ഫെബ്രു', 'മാർ', 'ഏപ്രി', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', 'ഓഗ', 'സെപ്റ്റം', 'ഒക്ടോ', 'നവം', 'ഡിസം'],
|
|
|
|
|
[
|
2018-01-29 16:22:06 -05:00
|
|
|
|
'ജനുവരി', 'ഫെബ്രുവരി', 'മാർച്ച്', 'ഏപ്രിൽ', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', 'ഓഗസ്റ്റ്', 'സെപ്റ്റംബർ', 'ഒക്\u200cടോബർ',
|
|
|
|
|
'നവംബർ', 'ഡിസംബർ'
|
2017-08-31 06:13:49 -04:00
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['ക്രി.മു.', 'എഡി'], u, ['ക്രിസ്\u200cതുവിന് മുമ്പ്', 'ആന്നോ ഡൊമിനി']], 0, [0, 0],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['d/M/yy', 'y, MMM d', 'y, MMMM d', 'y, MMMM d, EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '₹', 'ഇന്ത്യൻ രൂപ', {'THB': ['฿'], 'TWD': ['NT$']},
|
|
|
|
|
plural_ml
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_mn(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_mn = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'mn', [['ү.ө.', 'ү.х.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', 'бямба'],
|
|
|
|
|
['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя']
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
[
|
|
|
|
|
['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], u,
|
|
|
|
|
['Ням', 'Даваа', 'Мягмар', 'Лхагва', 'Пүрэв', 'Баасан', 'Бямба'],
|
|
|
|
|
['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'],
|
|
|
|
|
[
|
|
|
|
|
'1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар',
|
|
|
|
|
'9-р сар', '10-р сар', '11-р сар', '12-р сар'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'нэгдүгээр сар', 'хоёрдугаар сар', 'гуравдугаар сар', 'дөрөвдүгээр сар', 'тавдугаар сар',
|
|
|
|
|
'зургаадугаар сар', 'долоодугаар сар', 'наймдугаар сар', 'есдүгээр сар', 'аравдугаар сар',
|
|
|
|
|
'арван нэгдүгээр сар', 'арван хоёрдугаар сар'
|
|
|
|
|
]
|
|
|
|
|
],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар',
|
|
|
|
|
'9-р сар', '10-р сар', '11-р сар', '12-р сар'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'Нэгдүгээр сар', 'Хоёрдугаар сар', 'Гуравдугаар сар', 'Дөрөвдүгээр сар', 'Тавдугаар сар',
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'Зургаадугаар сар', 'Долоодугаар сар', 'Наймдугаар сар', 'Есдүгээр сар', 'Аравдугаар сар',
|
2017-08-31 06:13:49 -04:00
|
|
|
|
'Арван нэгдүгээр сар', 'Арван хоёрдугаар сар'
|
|
|
|
|
]
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
[['МЭӨ', 'МЭ'], u, ['манай эриний өмнөх', 'манай эриний']], 1, [6, 0],
|
|
|
|
|
[
|
|
|
|
|
'y.MM.dd', 'y \'оны\' MMM\'ын\' d', 'y \'оны\' MMMM\'ын\' d',
|
|
|
|
|
'y \'оны\' MMMM\'ын\' d, EEEE \'гараг\''
|
|
|
|
|
],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss (z)', 'HH:mm:ss (zzzz)'], ['{1} {0}', u, u, u],
|
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
|
|
|
|
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], '₮', 'Монгол төгрөг',
|
2018-04-13 17:35:20 -04:00
|
|
|
|
{'JPY': ['JP¥', '¥'], 'MNT': ['₮'], 'SEK': [u, 'кр'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_mn
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_mo(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
if (!(v === 0) || n === 0 ||
|
|
|
|
|
!(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19)
|
|
|
|
|
return 3;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_mo = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ro-MD', [['a.m.', 'p.m.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['D', 'L', 'Ma', 'Mi', 'J', 'V', 'S'], ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
|
|
|
|
|
['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'],
|
|
|
|
|
['Du', 'Lu', 'Ma', 'Mi', 'Jo', 'Vi', 'Sâ']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', 'dec.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie',
|
|
|
|
|
'octombrie', 'noiembrie', 'decembrie'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['î.Hr.', 'd.Hr.'], u, ['înainte de Hristos', 'după Hristos']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd.MM.y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'L', 'leu moldovenesc', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'EUR': [u, '€'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'MDL': ['L'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'VND': [u, '₫'],
|
|
|
|
|
'XCD': [u, '$']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_mo
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_mr(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === 0 || n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_mr = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'mr', [['स', 'सं'], ['म.पू.', 'म.उ.'], u], [['म.पू.', 'म.उ.'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], ['रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', 'शनि'],
|
|
|
|
|
['रविवार', 'सोमवार', 'मंगळवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'],
|
|
|
|
|
['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['जा', 'फे', 'मा', 'ए', 'मे', 'जू', 'जु', 'ऑ', 'स', 'ऑ', 'नो', 'डि'],
|
|
|
|
|
['जाने', 'फेब्रु', 'मार्च', 'एप्रि', 'मे', 'जून', 'जुलै', 'ऑग', 'सप्टें', 'ऑक्टो', 'नोव्हें', 'डिसें'],
|
|
|
|
|
[
|
|
|
|
|
'जानेवारी', 'फेब्रुवारी', 'मार्च', 'एप्रिल', 'मे', 'जून', 'जुलै', 'ऑगस्ट', 'सप्टेंबर', 'ऑक्टोबर', 'नोव्हेंबर',
|
|
|
|
|
'डिसेंबर'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['इ. स. पू.', 'इ. स.'], u, ['ईसवीसनपूर्व', 'ईसवीसन']], 0, [0, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} रोजी {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##,##0.###', '#,##0%', '¤#,##0.00', '[#E0]'], '₹', 'भारतीय रुपया',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_mr
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ms(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ms = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ms', [['a', 'p'], ['PG', 'PTG'], u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['A', 'I', 'S', 'R', 'K', 'J', 'S'], ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'],
|
|
|
|
|
['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'],
|
|
|
|
|
['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'],
|
|
|
|
|
[
|
|
|
|
|
'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', 'Oktober',
|
|
|
|
|
'November', 'Disember'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['S.M.', 'TM'], u, u], 1, [6, 0], ['d/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'RM', 'Ringgit Malaysia', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'CAD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'JPY': ['JP¥', '¥'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'MXN': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'MYR': ['RM'],
|
|
|
|
|
'TWD': ['NT$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'USD': [u, '$']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_ms
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_mt(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
if (n === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 2 && n % 100 <= 10) return 3;
|
|
|
|
|
if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19) return 4;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_mt = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'mt', [['am', 'pm'], ['AM', 'PM'], u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Ħd', 'T', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'],
|
|
|
|
|
['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'],
|
|
|
|
|
['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['Ħd', 'Tn', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'],
|
|
|
|
|
['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'],
|
|
|
|
|
['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'Ġ', 'L', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'],
|
|
|
|
|
[
|
|
|
|
|
'Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru',
|
|
|
|
|
'Ottubru', 'Novembru', 'Diċembru'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['Jn', 'Fr', 'Mz', 'Ap', 'Mj', 'Ġn', 'Lj', 'Aw', 'St', 'Ob', 'Nv', 'Dċ'],
|
|
|
|
|
['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'],
|
|
|
|
|
[
|
|
|
|
|
'Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru',
|
|
|
|
|
'Ottubru', 'Novembru', 'Diċembru'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['QK', 'WK'], u, ['Qabel Kristu', 'Wara Kristu']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd/MM/y', 'dd MMM y', 'd \'ta\'’ MMMM y', 'EEEE, d \'ta\'’ MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '€', 'ewro',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, plural_mt
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_my(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_my = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'my', [['နံနက်', 'ညနေ'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['တ', 'တ', 'အ', 'ဗ', 'က', 'သ', 'စ'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ'], u, u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ဇ', 'ဖ', 'မ', 'ဧ', 'မ', 'ဇ', 'ဇ', 'ဩ', 'စ', 'အ', 'န', 'ဒ'],
|
|
|
|
|
['ဇန်', 'ဖေ', 'မတ်', 'ဧ', 'မေ', 'ဇွန်', 'ဇူ', 'ဩ', 'စက်', 'အောက်', 'နို', 'ဒီ'],
|
|
|
|
|
[
|
|
|
|
|
'ဇန်နဝါရီ', 'ဖေဖော်ဝါရီ', 'မတ်', 'ဧပြီ', 'မေ', 'ဇွန်', 'ဇူလိုင်', 'ဩဂုတ်', 'စက်တင်ဘာ', 'အောက်တိုဘာ', 'နိုဝင်ဘာ',
|
|
|
|
|
'ဒီဇင်ဘာ'
|
|
|
|
|
]
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u, [['ဘီစီ', 'အဒေီ'], u, ['ခရစ်တော် မပေါ်မီနှစ်', 'ခရစ်နှစ်']], 0, [6, 0],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['dd-MM-yy', 'y၊ MMM d', 'y၊ d MMMM', 'y၊ MMMM d၊ EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['B H:mm', 'B HH:mm:ss', 'z HH:mm:ss', 'zzzz HH:mm:ss'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ဂဏန်းမဟုတ်သော', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'K', 'မြန်မာ ကျပ်', {
|
|
|
|
|
'ANG': ['NAf'],
|
|
|
|
|
'AWG': ['Afl'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BBD': [u, 'Bds$'],
|
|
|
|
|
'BSD': [u, 'B$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'HTG': ['G'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'MMK': ['K'],
|
|
|
|
|
'PAB': ['B/.'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TTD': ['TT$', '$'],
|
|
|
|
|
'USD': ['US$', '$']
|
|
|
|
|
},
|
|
|
|
|
plural_my
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ne(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ne = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ne', [['पूर्वाह्न', 'अपराह्न'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], ['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि'],
|
|
|
|
|
['आइतबार', 'सोमबार', 'मङ्गलबार', 'बुधबार', 'बिहिबार', 'शुक्रबार', 'शनिबार'],
|
|
|
|
|
['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['जन', 'फेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर',
|
|
|
|
|
'डिसेम्बर'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
|
|
|
|
[
|
2018-09-07 14:26:11 -04:00
|
|
|
|
['जन', 'फेेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर',
|
|
|
|
|
'डिसेम्बर'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['ईसा पूर्व', 'सन्'], u, u], 0, [6, 0], ['yy/M/d', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'नेरू', 'नेपाली रूपैयाँ',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'NPR': ['नेरू', 'रू'], 'THB': ['฿'], 'USD': ['US$', '$']}, plural_ne
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_nl(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_nl = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'nl', [['a.m.', 'p.m.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
|
|
|
|
|
['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
|
|
|
|
|
['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],
|
|
|
|
|
[
|
|
|
|
|
'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september',
|
|
|
|
|
'oktober', 'november', 'december'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], 1, [6, 0],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['dd-MM-y', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, '{1} \'om\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], '€', 'Euro', {
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'CAD': ['C$', '$'],
|
|
|
|
|
'FJD': ['FJ$', '$'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'SBD': ['SI$', '$'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'XPF': [],
|
|
|
|
|
'XXX': []
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_nl
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_no(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_no = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'nb', [['a', 'p'], ['a.m.', 'p.m.'], u], [['a.m.', 'p.m.'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'],
|
|
|
|
|
['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'],
|
|
|
|
|
['sø.', 'ma.', 'ti.', 'on.', 'to.', 'fr.', 'lø.']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'],
|
|
|
|
|
[
|
|
|
|
|
'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober',
|
|
|
|
|
'november', 'desember'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'],
|
|
|
|
|
[
|
|
|
|
|
'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober',
|
|
|
|
|
'november', 'desember'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['f.Kr.', 'e.Kr.'], u, ['før Kristus', 'etter Kristus']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE d. MMMM y'],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['{1}, {0}', u, '{1} \'kl\'. {0}', '{1} {0}'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], 'kr', 'norske kroner', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'NOK': ['kr'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'RON': [u, 'L'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'VND': [u, '₫'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'XAF': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'XCD': [u, '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'XPF': [],
|
|
|
|
|
'XXX': []
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_no
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_or(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_or = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'or', [['ପୂ', 'ଅ'], ['AM', 'PM'], u], [['AM', 'ଅପରାହ୍ନ'], ['ପୂର୍ବାହ୍ନ', 'ଅପରାହ୍ନ'], u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ର', 'ସୋ', 'ମ', 'ବୁ', 'ଗୁ', 'ଶୁ', 'ଶ'], ['ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', 'ଶନି'],
|
2019-11-08 17:46:52 -05:00
|
|
|
|
['ରବିବାର', 'ସୋମବାର', 'ମଙ୍ଗଳବାର', 'ବୁଧବାର', 'ଗୁରୁବାର', 'ଶୁକ୍ରବାର', 'ଶନିବାର'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', 'ଶନି']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ଜା', 'ଫେ', 'ମା', 'ଅ', 'ମଇ', 'ଜୁ', 'ଜୁ', 'ଅ', 'ସେ', 'ଅ', 'ନ', 'ଡି'],
|
|
|
|
|
[
|
|
|
|
|
'ଜାନୁଆରୀ', 'ଫେବୃଆରୀ', 'ମାର୍ଚ୍ଚ', 'ଅପ୍ରେଲ', 'ମଇ', 'ଜୁନ', 'ଜୁଲାଇ', 'ଅଗଷ୍ଟ', 'ସେପ୍ଟେମ୍ବର', 'ଅକ୍ଟୋବର',
|
|
|
|
|
'ନଭେମ୍ବର', 'ଡିସେମ୍ବର'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['BC', 'AD'], u, ['ଖ୍ରୀଷ୍ଟପୂର୍ବ', 'ଖ୍ରୀଷ୍ଟାବ୍ଦ']], 0, [0, 0],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{0} ଠାରେ {1}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '₹', 'ଭାରତୀୟ ଟଙ୍କା', {}, plural_or
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_pa(n: number): number {
|
|
|
|
|
if (n === Math.floor(n) && n >= 0 && n <= 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_pa = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'pa', [['ਸ.', 'ਸ਼.'], ['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u], [['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], ['ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', 'ਸ਼ਨਿੱਚਰ'],
|
|
|
|
|
['ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ'],
|
|
|
|
|
['ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', 'ਸ਼ਨਿੱ']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', 'ਦ'],
|
|
|
|
|
['ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ'],
|
|
|
|
|
[
|
|
|
|
|
'ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', 'ਨਵੰਬਰ', 'ਦਸੰਬਰ'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['ਈ.ਪੂ.', 'ਸੰਨ'], ['ਈ. ਪੂ.', 'ਸੰਨ'], ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ']], 0, [0, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '[#E0]'], '₹', 'ਭਾਰਤੀ ਰੁਪਇਆ',
|
2019-11-07 13:01:44 -05:00
|
|
|
|
{'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$'], 'XXX': []}, plural_pa
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_pl(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&
|
|
|
|
|
!(i % 100 >= 12 && i % 100 <= 14))
|
|
|
|
|
return 3;
|
|
|
|
|
if (v === 0 && !(i === 1) && i % 10 === Math.floor(i % 10) && i % 10 >= 0 && i % 10 <= 1 ||
|
|
|
|
|
v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 ||
|
|
|
|
|
v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 12 && i % 100 <= 14)
|
|
|
|
|
return 4;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_pl = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'pl', [['a', 'p'], ['AM', 'PM'], u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['n', 'p', 'w', 'ś', 'c', 'p', 's'], ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'],
|
|
|
|
|
['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota'],
|
|
|
|
|
['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['N', 'P', 'W', 'Ś', 'C', 'P', 'S'], ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'],
|
|
|
|
|
['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota'],
|
|
|
|
|
['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['s', 'l', 'm', 'k', 'm', 'c', 'l', 's', 'w', 'p', 'l', 'g'],
|
|
|
|
|
['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'],
|
|
|
|
|
[
|
|
|
|
|
'stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'września',
|
|
|
|
|
'października', 'listopada', 'grudnia'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['S', 'L', 'M', 'K', 'M', 'C', 'L', 'S', 'W', 'P', 'L', 'G'],
|
|
|
|
|
['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'],
|
|
|
|
|
[
|
|
|
|
|
'styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', 'wrzesień',
|
|
|
|
|
'październik', 'listopad', 'grudzień'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['p.n.e.', 'n.e.'], u, ['przed naszą erą', 'naszej ery']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd.MM.y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'zł', 'złoty polski', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'PLN': ['zł'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'RON': [u, 'lej'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'VND': [u, '₫']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_pl
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_pt(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === Math.floor(i) && i >= 0 && i <= 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_pt = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'pt', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], ['dom.', 'seg.', 'ter.', 'qua.', 'qui.', 'sex.', 'sáb.'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira',
|
|
|
|
|
'sábado'
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['dom.', 'seg.', 'ter.', 'qua.', 'qui.', 'sex.', 'sáb.']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
[
|
|
|
|
|
'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.'
|
|
|
|
|
],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro',
|
|
|
|
|
'outubro', 'novembro', 'dezembro'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd/MM/y', 'd \'de\' MMM \'de\' y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'R$', 'Real brasileiro', {
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'PTE': ['Esc.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'RON': [u, 'L'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'SYP': [u, 'S£'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$']
|
|
|
|
|
},
|
|
|
|
|
plural_pt
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_pt_PT(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === Math.floor(i) && i >= 0 && i <= 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_pt_PT = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'pt-PT', [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']],
|
|
|
|
|
[['a.m.', 'p.m.'], u, ['manhã', 'tarde']],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['D', 'S', 'T', 'Q', 'Q', 'S', 'S'],
|
|
|
|
|
['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'],
|
|
|
|
|
[
|
|
|
|
|
'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira',
|
|
|
|
|
'sábado'
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
[
|
|
|
|
|
'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.'
|
|
|
|
|
],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro',
|
|
|
|
|
'outubro', 'novembro', 'dezembro'
|
|
|
|
|
]
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u, [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} \'às\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '€', 'euro', {
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'PTE': [''],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'RON': [u, 'L'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$']
|
|
|
|
|
},
|
|
|
|
|
plural_pt_PT
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ro(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
if (!(v === 0) || n === 0 ||
|
|
|
|
|
!(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19)
|
|
|
|
|
return 3;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ro = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ro', [['a.m.', 'p.m.'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['D', 'L', 'M', 'M', 'J', 'V', 'S'], ['dum.', 'lun.', 'mar.', 'mie.', 'joi', 'vin.', 'sâm.'],
|
|
|
|
|
['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'],
|
|
|
|
|
['du.', 'lu.', 'ma.', 'mi.', 'joi', 'vi.', 'sâ.']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', 'dec.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie',
|
|
|
|
|
'octombrie', 'noiembrie', 'decembrie'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['î.Hr.', 'd.Hr.'], u, ['înainte de Hristos', 'după Hristos']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd.MM.y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'RON', 'leu românesc', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'EUR': [u, '€'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'VND': [u, '₫'],
|
|
|
|
|
'XCD': [u, '$']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_ro
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ru(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1;
|
|
|
|
|
if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&
|
|
|
|
|
!(i % 100 >= 12 && i % 100 <= 14))
|
|
|
|
|
return 3;
|
|
|
|
|
if (v === 0 && i % 10 === 0 ||
|
|
|
|
|
v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 ||
|
|
|
|
|
v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14)
|
|
|
|
|
return 4;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ru = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ru', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'],
|
|
|
|
|
['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],
|
|
|
|
|
['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'],
|
|
|
|
|
['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'],
|
|
|
|
|
[
|
|
|
|
|
'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', 'сент.', 'окт.', 'нояб.',
|
|
|
|
|
'дек.'
|
|
|
|
|
],
|
|
|
|
|
[
|
2018-09-07 14:26:11 -04:00
|
|
|
|
'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября',
|
2017-08-31 06:13:49 -04:00
|
|
|
|
'октября', 'ноября', 'декабря'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'],
|
|
|
|
|
[
|
|
|
|
|
'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', 'авг.', 'сент.', 'окт.', 'нояб.',
|
|
|
|
|
'дек.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь',
|
|
|
|
|
'ноябрь', 'декабрь'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[['до н.э.', 'н.э.'], ['до н. э.', 'н. э.'], ['до Рождества Христова', 'от Рождества Христова']],
|
|
|
|
|
1, [6, 0], ['dd.MM.y', 'd MMM y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '₽', 'российский рубль', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'GEL': [u, 'ლ'],
|
|
|
|
|
'RON': [u, 'L'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'RUB': ['₽'],
|
|
|
|
|
'RUR': ['р.'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TMT': ['ТМТ'],
|
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'UAH': ['₴'],
|
|
|
|
|
'XXX': ['XXXX']
|
|
|
|
|
},
|
|
|
|
|
plural_ru
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_sh(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_sh = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'sr-Latn', [['a', 'p'], ['pre podne', 'po podne'], u], [['pre podne', 'po podne'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'],
|
|
|
|
|
['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'],
|
|
|
|
|
['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],
|
|
|
|
|
['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'],
|
|
|
|
|
[
|
|
|
|
|
'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar',
|
|
|
|
|
'novembar', 'decembar'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['pre nove ere', 'nove ere']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'RSD', 'Srpski dinar', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'BAM': ['KM'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BYN': [u, 'r.'],
|
|
|
|
|
'GEL': [u, 'ლ'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'NZD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'VND': [u, '₫']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_sh
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_si(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
|
|
|
|
|
if (n === 0 || n === 1 || i === 0 && f === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_si = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'si', [['පෙ', 'ප'], ['පෙ.ව.', 'ප.ව.'], u], [['පෙ.ව.', 'ප.ව.'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['ඉ', 'ස', 'අ', 'බ', 'බ්\u200dර', 'සි', 'සෙ'],
|
|
|
|
|
['ඉරිදා', 'සඳුදා', 'අඟහ', 'බදාදා', 'බ්\u200dරහස්', 'සිකු', 'සෙන'],
|
|
|
|
|
['ඉරිදා', 'සඳුදා', 'අඟහරුවාදා', 'බදාදා', 'බ්\u200dරහස්පතින්දා', 'සිකුරාදා', 'සෙනසුරාදා'],
|
|
|
|
|
['ඉරි', 'සඳු', 'අඟ', 'බදා', 'බ්\u200dරහ', 'සිකු', 'සෙන']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', 'නෙ', 'දෙ'],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['ජන', 'පෙබ', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', 'දෙසැ'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2018-01-29 16:22:06 -05:00
|
|
|
|
'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්',
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'නොවැම්බර්', 'දෙසැම්බර්'
|
2017-08-31 06:13:49 -04:00
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', 'නෙ', 'දෙ'],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['ජන', 'පෙබ', 'මාර්', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', 'දෙසැ'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2018-01-29 16:22:06 -05:00
|
|
|
|
'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්',
|
|
|
|
|
'නොවැම්බර්', 'දෙසැම්බර්'
|
2017-08-31 06:13:49 -04:00
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['ක්\u200dරි.පූ.', 'ක්\u200dරි.ව.'], u, ['ක්\u200dරිස්තු පූර්ව', 'ක්\u200dරිස්තු වර්ෂ']], 1, [6, 0],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#'], 'රු.', 'ශ්\u200dරී ලංකා රුපියල', {
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'LKR': ['රු.'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$'],
|
|
|
|
|
'XOF': ['සිෆ්එ']
|
|
|
|
|
},
|
|
|
|
|
plural_si
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_sk(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_sk = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'sk', [['AM', 'PM'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['n', 'p', 'u', 's', 'š', 'p', 's'], ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'],
|
|
|
|
|
['nedeľa', 'pondelok', 'utorok', 'streda', 'štvrtok', 'piatok', 'sobota'],
|
|
|
|
|
['ne', 'po', 'ut', 'st', 'št', 'pi', 'so']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],
|
|
|
|
|
['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'],
|
|
|
|
|
[
|
|
|
|
|
'januára', 'februára', 'marca', 'apríla', 'mája', 'júna', 'júla', 'augusta', 'septembra',
|
|
|
|
|
'októbra', 'novembra', 'decembra'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],
|
|
|
|
|
['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'],
|
|
|
|
|
[
|
|
|
|
|
'január', 'február', 'marec', 'apríl', 'máj', 'jún', 'júl', 'august', 'september', 'október',
|
|
|
|
|
'november', 'december'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['pred Kr.', 'po Kr.'], u, ['pred Kristom', 'po Kristovi']], 1, [6, 0],
|
|
|
|
|
['d. M. y', u, 'd. MMMM y', 'EEEE d. MMMM y'], ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'],
|
|
|
|
|
['{1} {0}', '{1}, {0}', u, u], [',', ' ', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'euro', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ILS': ['NIS', '₪'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'VND': [u, '₫'],
|
|
|
|
|
'XXX': []
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_sk
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_sl(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (v === 0 && i % 100 === 1) return 1;
|
|
|
|
|
if (v === 0 && i % 100 === 2) return 2;
|
|
|
|
|
if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || !(v === 0))
|
|
|
|
|
return 3;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_sl = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'sl', [['d', 'p'], ['dop.', 'pop.'], u], [['d', 'p'], ['dop.', 'pop.'], ['dopoldne', 'popoldne']],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['n', 'p', 't', 's', 'č', 'p', 's'], ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'],
|
|
|
|
|
['nedelja', 'ponedeljek', 'torek', 'sreda', 'četrtek', 'petek', 'sobota'],
|
|
|
|
|
['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],
|
|
|
|
|
['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'avg.', 'sep.', 'okt.', 'nov.', 'dec.'],
|
|
|
|
|
[
|
|
|
|
|
'januar', 'februar', 'marec', 'april', 'maj', 'junij', 'julij', 'avgust', 'september',
|
|
|
|
|
'oktober', 'november', 'december'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['pr. Kr.', 'po Kr.'], u, ['pred Kristusom', 'po Kristusu']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d. MM. yy', 'd. MMM y', 'dd. MMMM y', 'EEEE, dd. MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '−', 'e', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'evro', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'XCD': [u, '$']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_sl
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_sq(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_sq = [
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'sq', [['p.d.', 'm.d.'], u, ['e paradites', 'e pasdites']],
|
|
|
|
|
[['p.d.', 'm.d.'], u, ['paradite', 'pasdite']],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
|
|
|
|
[
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['d', 'h', 'm', 'm', 'e', 'p', 'sh'], ['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht'],
|
|
|
|
|
['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'],
|
|
|
|
|
['die', 'hën', 'mar', 'mër', 'enj', 'pre', 'sht']
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
|
|
|
|
[
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['j', 'sh', 'm', 'p', 'm', 'q', 'k', 'g', 'sh', 't', 'n', 'dh'],
|
|
|
|
|
['jan', 'shk', 'mar', 'pri', 'maj', 'qer', 'korr', 'gush', 'sht', 'tet', 'nën', 'dhj'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', 'tetor',
|
|
|
|
|
'nëntor', 'dhjetor'
|
|
|
|
|
]
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u, [['p.K.', 'mb.K.'], u, ['para Krishtit', 'mbas Krishtit']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d.M.yy', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a, z', 'h:mm:ss a, zzzz'], ['{1}, {0}', u, '{1} \'në\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'Lekë', 'Leku shqiptar', {
|
|
|
|
|
'ALL': ['Lekë'],
|
|
|
|
|
'AOA': [],
|
|
|
|
|
'ARS': [],
|
|
|
|
|
'AUD': ['A$', 'AUD'],
|
|
|
|
|
'BAM': [],
|
|
|
|
|
'BBD': [],
|
|
|
|
|
'BDT': [],
|
|
|
|
|
'BMD': [],
|
|
|
|
|
'BND': [],
|
|
|
|
|
'BOB': [],
|
|
|
|
|
'BRL': [],
|
|
|
|
|
'BSD': [],
|
|
|
|
|
'BWP': [],
|
|
|
|
|
'BYN': [],
|
|
|
|
|
'BZD': [],
|
|
|
|
|
'CAD': ['CA$', 'CAD'],
|
|
|
|
|
'CLP': [],
|
|
|
|
|
'CNY': ['CN¥', 'CNY'],
|
|
|
|
|
'COP': [],
|
|
|
|
|
'CRC': [],
|
|
|
|
|
'CUC': [],
|
|
|
|
|
'CUP': [],
|
|
|
|
|
'CZK': [],
|
|
|
|
|
'DKK': [],
|
|
|
|
|
'DOP': [],
|
|
|
|
|
'EGP': [],
|
|
|
|
|
'EUR': ['€', 'EUR'],
|
|
|
|
|
'FJD': [],
|
|
|
|
|
'FKP': [],
|
|
|
|
|
'GBP': ['£', 'GBP'],
|
|
|
|
|
'GEL': [],
|
|
|
|
|
'GIP': [],
|
|
|
|
|
'GNF': [],
|
|
|
|
|
'GTQ': [],
|
|
|
|
|
'GYD': [],
|
|
|
|
|
'HKD': ['HK$', 'HKS'],
|
|
|
|
|
'HNL': [],
|
|
|
|
|
'HRK': [],
|
|
|
|
|
'HUF': [],
|
|
|
|
|
'IDR': [],
|
|
|
|
|
'ILS': ['₪', 'ILS'],
|
|
|
|
|
'INR': ['₹', 'INR'],
|
|
|
|
|
'ISK': [],
|
|
|
|
|
'JMD': [],
|
|
|
|
|
'JPY': ['JP¥', 'JPY'],
|
|
|
|
|
'KHR': [],
|
|
|
|
|
'KMF': [],
|
|
|
|
|
'KPW': [],
|
|
|
|
|
'KRW': ['₩', 'KRW'],
|
|
|
|
|
'KYD': [],
|
|
|
|
|
'KZT': [],
|
|
|
|
|
'LAK': [],
|
|
|
|
|
'LBP': [],
|
|
|
|
|
'LKR': [],
|
|
|
|
|
'LRD': [],
|
|
|
|
|
'MGA': [],
|
|
|
|
|
'MMK': [],
|
|
|
|
|
'MNT': [],
|
|
|
|
|
'MUR': [],
|
|
|
|
|
'MXN': ['MX$', 'MXN'],
|
|
|
|
|
'MYR': [],
|
|
|
|
|
'NAD': [],
|
|
|
|
|
'NGN': [],
|
|
|
|
|
'NIO': [],
|
|
|
|
|
'NOK': [],
|
|
|
|
|
'NPR': [],
|
|
|
|
|
'NZD': ['NZ$', 'NZD'],
|
|
|
|
|
'PHP': [],
|
|
|
|
|
'PKR': [],
|
|
|
|
|
'PLN': [],
|
|
|
|
|
'PYG': [],
|
|
|
|
|
'RON': [],
|
|
|
|
|
'RUB': [],
|
|
|
|
|
'RWF': [],
|
|
|
|
|
'SBD': [],
|
|
|
|
|
'SEK': [],
|
|
|
|
|
'SGD': [],
|
|
|
|
|
'SHP': [],
|
|
|
|
|
'SRD': [],
|
|
|
|
|
'SSP': [],
|
|
|
|
|
'STN': [],
|
|
|
|
|
'SYP': [],
|
|
|
|
|
'THB': ['฿', 'THB'],
|
|
|
|
|
'TOP': [],
|
|
|
|
|
'TRY': [],
|
|
|
|
|
'TTD': [],
|
|
|
|
|
'TWD': ['NT$', 'TWD'],
|
|
|
|
|
'UAH': [],
|
|
|
|
|
'USD': ['US$', 'USD'],
|
|
|
|
|
'UYU': [],
|
|
|
|
|
'VND': ['₫', 'VND'],
|
|
|
|
|
'XCD': ['EC$', 'XCD'],
|
|
|
|
|
'ZAR': [],
|
|
|
|
|
'ZMW': []
|
|
|
|
|
},
|
|
|
|
|
plural_sq
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_sr(n: number): 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 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 3;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_sr = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'sr', [['a', 'p'], ['пре подне', 'по подне'], u], [['пре подне', 'по подне'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'],
|
|
|
|
|
['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'],
|
|
|
|
|
['не', 'по', 'ут', 'ср', 'че', 'пе', 'су']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'],
|
|
|
|
|
['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'],
|
|
|
|
|
[
|
|
|
|
|
'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар',
|
|
|
|
|
'новембар', 'децембар'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['пре нове ере', 'нове ере']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'RSD', 'Српски динар', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'BAM': ['КМ', 'KM'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'GEL': [u, 'ლ'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'NZD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'VND': [u, '₫']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_sr
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_sv(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_sv = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'sv', [['fm', 'em'], u, u], [['fm', 'em'], ['f.m.', 'e.m.'], ['förmiddag', 'eftermiddag']],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'O', 'T', 'F', 'L'], ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'],
|
|
|
|
|
['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'],
|
|
|
|
|
['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],
|
|
|
|
|
[
|
|
|
|
|
'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september',
|
|
|
|
|
'oktober', 'november', 'december'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['f.Kr.', 'e.Kr.'], u, ['före Kristus', 'efter Kristus']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', '\'kl\'. HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
[',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'kr', 'svensk krona', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'BBD': ['Bds$', '$'],
|
|
|
|
|
'BMD': ['BM$', '$'],
|
|
|
|
|
'BRL': ['BR$', 'R$'],
|
|
|
|
|
'BSD': ['BS$', '$'],
|
|
|
|
|
'BZD': ['BZ$', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'CNY': [u, '¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'DKK': ['Dkr', 'kr'],
|
|
|
|
|
'DOP': ['RD$', '$'],
|
|
|
|
|
'EEK': ['Ekr'],
|
|
|
|
|
'EGP': ['EG£', 'E£'],
|
|
|
|
|
'ESP': [],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'IEP': ['IE£'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'INR': [u, '₹'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ISK': ['Ikr', 'kr'],
|
|
|
|
|
'JMD': ['JM$', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'NOK': ['Nkr', 'kr'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'RON': [u, 'L'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'SEK': ['kr'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'TWD': [u, 'NT$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'USD': ['US$', '$'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'VND': [u, '₫']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_sv
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_sw(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_sw = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'sw', [['am', 'pm'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'T', 'W', 'T', 'F', 'S'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], u, u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'],
|
|
|
|
|
[
|
|
|
|
|
'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba',
|
|
|
|
|
'Oktoba', 'Novemba', 'Desemba'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'TSh', 'Shilingi ya Tanzania', {
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'KES': ['Ksh'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'TZS': ['TSh'],
|
|
|
|
|
'USD': ['US$', '$']
|
|
|
|
|
},
|
|
|
|
|
plural_sw
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ta(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ta = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ta', [['மு.ப', 'பி.ப'], ['முற்பகல்', 'பிற்பகல்'], u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'],
|
|
|
|
|
['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'],
|
|
|
|
|
['ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி'],
|
|
|
|
|
['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'],
|
|
|
|
|
['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'],
|
|
|
|
|
[
|
|
|
|
|
'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்',
|
|
|
|
|
'டிசம்பர்'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['கி.மு.', 'கி.பி.'], u, ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி']], 0, [0, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['a h:mm', 'a h:mm:ss', 'a h:mm:ss z', 'a h:mm:ss zzzz'], ['{1}, {0}', u, '{1} ’அன்று’ {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], '₹', 'இந்திய ரூபாய்',
|
|
|
|
|
{'THB': ['฿'], 'TWD': ['NT$']}, plural_ta
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_te(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_te = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'te', [['ఉ', 'సా'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['ఆ', 'సో', 'మ', 'బు', 'గు', 'శు', 'శ'], ['ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', 'శని'],
|
|
|
|
|
['ఆదివారం', 'సోమవారం', 'మంగళవారం', 'బుధవారం', 'గురువారం', 'శుక్రవారం', 'శనివారం'],
|
|
|
|
|
['ఆది', 'సోమ', 'మం', 'బుధ', 'గురు', 'శుక్ర', 'శని']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['జ', 'ఫి', 'మా', 'ఏ', 'మే', 'జూ', 'జు', 'ఆ', 'సె', 'అ', 'న', 'డి'],
|
|
|
|
|
['జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', 'జూన్', 'జులై', 'ఆగ', 'సెప్టెం', 'అక్టో', 'నవం', 'డిసెం'],
|
|
|
|
|
[
|
|
|
|
|
'జనవరి', 'ఫిబ్రవరి', 'మార్చి', 'ఏప్రిల్', 'మే', 'జూన్', 'జులై', 'ఆగస్టు', 'సెప్టెంబర్', 'అక్టోబర్', 'నవంబర్',
|
|
|
|
|
'డిసెంబర్'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['క్రీపూ', 'క్రీశ'], u, ['క్రీస్తు పూర్వం', 'క్రీస్తు శకం']], 0, [0, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd-MM-yy', 'd MMM, y', 'd MMMM, y', 'd, MMMM y, EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, '{1} {0}కి', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##,##0.###', '#,##0%', '¤#,##,##0.00', '#E0'], '₹', 'రూపాయి',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_te
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_th(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_th = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'th', [['a', 'p'], ['ก่อนเที่ยง', 'หลังเที่ยง'], u], [['ก่อนเที่ยง', 'หลังเที่ยง'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'], ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'],
|
|
|
|
|
['วันอาทิตย์', 'วันจันทร์', 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', 'วันศุกร์', 'วันเสาร์'],
|
|
|
|
|
['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
[
|
|
|
|
|
'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.',
|
|
|
|
|
'ธ.ค.'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน',
|
2017-08-31 06:13:49 -04:00
|
|
|
|
'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม'
|
|
|
|
|
]
|
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u, [['ก่อน ค.ศ.', 'ค.ศ.'], u, ['ปีก่อนคริสตกาล', 'คริสต์ศักราช']], 0, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d/M/yy', 'd MMM y', 'd MMMM G y', 'EEEEที่ d MMMM G y'],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'H นาฬิกา mm นาที ss วินาที z', 'H นาฬิกา mm นาที ss วินาที zzzz'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['{1} {0}', u, u, u], ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '฿', 'บาท',
|
|
|
|
|
{'AUD': ['AU$', '$'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$'], 'XXX': []}, plural_th
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_tl(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
|
|
|
|
|
f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
|
|
|
|
|
if (v === 0 && (i === 1 || i === 2 || i === 3) ||
|
|
|
|
|
v === 0 && !(i % 10 === 4 || i % 10 === 6 || i % 10 === 9) ||
|
|
|
|
|
!(v === 0) && !(f % 10 === 4 || f % 10 === 6 || f % 10 === 9))
|
|
|
|
|
return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_tl = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'fil', [['am', 'pm'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['Linggo', 'Lunes', 'Martes', 'Miyerkules', 'Huwebes', 'Biyernes', 'Sabado'],
|
|
|
|
|
['Li', 'Lu', 'Ma', 'Mi', 'Hu', 'Bi', 'Sa']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre',
|
|
|
|
|
'Oktubre', 'Nobyembre', 'Disyembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['E', 'P', 'M', 'A', 'M', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'],
|
|
|
|
|
['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'],
|
|
|
|
|
[
|
|
|
|
|
'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre',
|
|
|
|
|
'Oktubre', 'Nobyembre', 'Disyembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['BC', 'AD'], u, ['Before Christ', 'Anno Domini']], 0, [6, 0],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} \'nang\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '₱', 'Piso ng Pilipinas',
|
|
|
|
|
{'PHP': ['₱'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_tl
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_tr(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_tr = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'tr', [['öö', 'ös'], ['ÖÖ', 'ÖS'], u], [['ÖÖ', 'ÖS'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['P', 'P', 'S', 'Ç', 'P', 'C', 'C'], ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'],
|
|
|
|
|
['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'],
|
|
|
|
|
['Pa', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'],
|
|
|
|
|
['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'],
|
|
|
|
|
[
|
|
|
|
|
'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim',
|
|
|
|
|
'Kasım', 'Aralık'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['MÖ', 'MS'], u, ['Milattan Önce', 'Milattan Sonra']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['d.MM.y', 'd MMM y', 'd MMMM y', 'd MMMM y EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '%#,##0', '¤#,##0.00', '#E0'], '₺', 'Türk Lirası',
|
2018-04-13 17:35:20 -04:00
|
|
|
|
{'AUD': ['AU$', '$'], 'RON': [u, 'L'], 'THB': ['฿'], 'TRY': ['₺'], 'TWD': ['NT$']}, plural_tr
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_uk(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return 1;
|
|
|
|
|
if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&
|
|
|
|
|
!(i % 100 >= 12 && i % 100 <= 14))
|
|
|
|
|
return 3;
|
|
|
|
|
if (v === 0 && i % 10 === 0 ||
|
|
|
|
|
v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 ||
|
|
|
|
|
v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14)
|
|
|
|
|
return 4;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_uk = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'uk', [['дп', 'пп'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],
|
|
|
|
|
['неділя', 'понеділок', 'вівторок', 'середа', 'четвер', 'пʼятниця', 'субота'],
|
|
|
|
|
['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['с', 'л', 'б', 'к', 'т', 'ч', 'л', 'с', 'в', 'ж', 'л', 'г'],
|
|
|
|
|
[
|
|
|
|
|
'січ.', 'лют.', 'бер.', 'квіт.', 'трав.', 'черв.', 'лип.', 'серп.', 'вер.', 'жовт.', 'лист.',
|
|
|
|
|
'груд.'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'січня', 'лютого', 'березня', 'квітня', 'травня', 'червня', 'липня', 'серпня', 'вересня',
|
|
|
|
|
'жовтня', 'листопада', 'грудня'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'],
|
|
|
|
|
['січ', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'сер', 'вер', 'жов', 'лис', 'гру'],
|
|
|
|
|
[
|
|
|
|
|
'січень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'серпень',
|
|
|
|
|
'вересень', 'жовтень', 'листопад', 'грудень'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[['до н.е.', 'н.е.'], ['до н. е.', 'н. е.'], ['до нашої ери', 'нашої ери']], 1, [6, 0],
|
|
|
|
|
['dd.MM.yy', 'd MMM y \'р\'.', 'd MMMM y \'р\'.', 'EEEE, d MMMM y \'р\'.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1}, {0}', u, '{1} \'о\' {0}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'Е', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '₴', 'українська гривня', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'EUR': [u, '€'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'TWD': [u, '$'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'UAH': ['₴'],
|
|
|
|
|
'UAK': ['крб.'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'VND': [u, '₫'],
|
|
|
|
|
'XCD': [u, '$']
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_uk
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_ur(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_ur = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'ur', [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'],
|
|
|
|
|
u, u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
[
|
|
|
|
|
'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر',
|
|
|
|
|
'دسمبر'
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['قبل مسیح', 'عیسوی'], u, u], 0, [6, 0],
|
|
|
|
|
['d/M/yy', 'd MMM، y', 'd MMMM، y', 'EEEE، d MMMM، y'],
|
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u],
|
2018-01-29 16:22:06 -05:00
|
|
|
|
['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], 'Rs', 'پاکستانی روپیہ',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'PKR': ['Rs'], 'THB': ['฿'], 'TWD': ['NT$']}, plural_ur
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_uz(n: number): number {
|
|
|
|
|
if (n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_uz = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'uz', [['TO', 'TK'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Y', 'D', 'S', 'C', 'P', 'J', 'S'], ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'],
|
|
|
|
|
['yakshanba', 'dushanba', 'seshanba', 'chorshanba', 'payshanba', 'juma', 'shanba'],
|
|
|
|
|
['Ya', 'Du', 'Se', 'Ch', 'Pa', 'Ju', 'Sh']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avg', 'sen', 'okt', 'noy', 'dek'],
|
|
|
|
|
[
|
|
|
|
|
'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avgust', 'sentabr', 'oktabr',
|
|
|
|
|
'noyabr', 'dekabr'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyn', 'Iyl', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'],
|
|
|
|
|
[
|
|
|
|
|
'Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr',
|
|
|
|
|
'Noyabr', 'Dekabr'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['m.a.', 'milodiy'], u, ['miloddan avvalgi', 'milodiy']], 1, [6, 0],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['dd/MM/yy', 'd-MMM, y', 'd-MMMM, y', 'EEEE, d-MMMM, y'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], ['{1}, {0}', u, u, u],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'son emas', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'soʻm', 'O‘zbekiston so‘mi',
|
|
|
|
|
{'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'UZS': ['soʻm']}, plural_uz
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_vi(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_vi = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'vi', [['s', 'c'], ['SA', 'CH'], u], [['SA', 'CH'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
|
|
|
|
|
['CN', 'Th 2', 'Th 3', 'Th 4', 'Th 5', 'Th 6', 'Th 7'],
|
|
|
|
|
['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'],
|
|
|
|
|
['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
[
|
|
|
|
|
'thg 1', 'thg 2', 'thg 3', 'thg 4', 'thg 5', 'thg 6', 'thg 7', 'thg 8', 'thg 9', 'thg 10',
|
|
|
|
|
'thg 11', 'thg 12'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'tháng 1', 'tháng 2', 'tháng 3', 'tháng 4', 'tháng 5', 'tháng 6', 'tháng 7', 'tháng 8',
|
|
|
|
|
'tháng 9', 'tháng 10', 'tháng 11', 'tháng 12'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
[
|
|
|
|
|
'Thg 1', 'Thg 2', 'Thg 3', 'Thg 4', 'Thg 5', 'Thg 6', 'Thg 7', 'Thg 8', 'Thg 9', 'Thg 10',
|
|
|
|
|
'Thg 11', 'Thg 12'
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6', 'Tháng 7', 'Tháng 8',
|
|
|
|
|
'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['tr. CN', 'sau CN'], ['Trước CN', 'sau CN'], u], 1, [6, 0],
|
|
|
|
|
['dd/MM/y', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{0}, {1}', u, '{0} {1}', u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], '₫', 'Đồng Việt Nam', {
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'USD': ['US$', '$'],
|
|
|
|
|
'XXX': []
|
|
|
|
|
},
|
2018-01-29 15:47:58 -05:00
|
|
|
|
plural_vi
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_zh(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_zh = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'zh', [['上午', '下午'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['日', '一', '二', '三', '四', '五', '六'],
|
|
|
|
|
['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
|
|
|
|
|
['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
|
|
|
|
|
['周日', '周一', '周二', '周三', '周四', '周五', '周六']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
|
|
|
|
|
[
|
|
|
|
|
'一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月',
|
|
|
|
|
'十二月'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['公元前', '公元'], u, u], 0, [6, 0], ['y/M/d', 'y年M月d日', u, 'y年M月d日EEEE'],
|
|
|
|
|
['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '¥', '人民币', {
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'AUD': ['AU$', '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'CNY': ['¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ILR': ['ILS'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'KRW': ['₩', '₩'],
|
|
|
|
|
'TWD': ['NT$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'USD': ['US$', '$'],
|
|
|
|
|
'XXX': []
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_zh
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_zh_CN(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_zh_CN = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'zh-Hans', [['上午', '下午'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['日', '一', '二', '三', '四', '五', '六'],
|
|
|
|
|
['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
|
2018-09-07 14:26:11 -04:00
|
|
|
|
['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['周日', '周一', '周二', '周三', '周四', '周五', '周六']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
|
|
|
|
|
[
|
|
|
|
|
'一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月',
|
|
|
|
|
'十二月'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['公元前', '公元'], u, u], 0, [6, 0], ['y/M/d', 'y年M月d日', u, 'y年M月d日EEEE'],
|
|
|
|
|
['ah:mm', 'ah:mm:ss', 'z ah:mm:ss', 'zzzz ah:mm:ss'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '¥', '人民币', {
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'AUD': ['AU$', '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'CNY': ['¥'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'ILR': ['ILS'],
|
|
|
|
|
'JPY': ['JP¥', '¥'],
|
|
|
|
|
'KRW': ['₩', '₩'],
|
|
|
|
|
'TWD': ['NT$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'USD': ['US$', '$'],
|
|
|
|
|
'XXX': []
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural_zh_CN
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_zh_HK(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_zh_HK = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'zh-Hant-HK', [['上午', '下午'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['日', '一', '二', '三', '四', '五', '六'],
|
|
|
|
|
['週日', '週一', '週二', '週三', '週四', '週五', '週六'],
|
|
|
|
|
['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
|
|
|
|
|
['日', '一', '二', '三', '四', '五', '六']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
u, [['公元前', '公元'], u, u], 0, [6, 0], ['d/M/y', 'y年M月d日', u, 'y年M月d日EEEE'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'HK$', '港元',
|
2019-11-07 13:01:44 -05:00
|
|
|
|
{'AUD': ['AU$', '$'], 'RON': [u, 'L'], 'USD': ['US$', '$'], 'XXX': []}, plural_zh_HK
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_zh_TW(n: number): number {
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_zh_TW = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'zh-Hant', [['上午', '下午'], u, u], u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['日', '一', '二', '三', '四', '五', '六'],
|
|
|
|
|
['週日', '週一', '週二', '週三', '週四', '週五', '週六'],
|
|
|
|
|
['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
|
|
|
|
|
['日', '一', '二', '三', '四', '五', '六']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u
|
2017-08-31 06:13:49 -04:00
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u, [['西元前', '西元'], u, u], 0, [6, 0], ['y/M/d', 'y年M月d日', u, 'y年M月d日 EEEE'],
|
|
|
|
|
['ah:mm', 'ah:mm:ss', 'ah:mm:ss [z]', 'ah:mm:ss [zzzz]'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', '新台幣', {
|
|
|
|
|
'AUD': ['AU$', '$'],
|
|
|
|
|
'KRW': ['₩', '₩'],
|
|
|
|
|
'RON': [u, 'L'],
|
|
|
|
|
'TWD': ['$'],
|
|
|
|
|
'USD': ['US$', '$'],
|
|
|
|
|
'XXX': []
|
|
|
|
|
},
|
2018-01-29 15:47:58 -05:00
|
|
|
|
plural_zh_TW
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
2018-01-29 16:22:06 -05:00
|
|
|
|
function plural_zu(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n));
|
|
|
|
|
if (i === 0 || n === 1) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-31 06:13:49 -04:00
|
|
|
|
export const locale_zu = [
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'zu', [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'B', 'T', 'S', 'H', 'M'], ['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq'],
|
|
|
|
|
['ISonto', 'UMsombuluko', 'ULwesibili', 'ULwesithathu', 'ULwesine', 'ULwesihlanu', 'UMgqibelo'],
|
|
|
|
|
['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq']
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
u,
|
2017-08-31 06:13:49 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'E', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mas', 'Eph', 'Mey', 'Jun', 'Jul', 'Aga', 'Sep', 'Okt', 'Nov', 'Dis'],
|
|
|
|
|
[
|
2017-12-06 09:34:42 -05:00
|
|
|
|
'Januwari', 'Februwari', 'Mashi', 'Ephreli', 'Meyi', 'Juni', 'Julayi', 'Agasti', 'Septhemba',
|
|
|
|
|
'Okthoba', 'Novemba', 'Disemba'
|
2017-08-31 06:13:49 -04:00
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mas', 'Eph', 'Mey', 'Jun', 'Jul', 'Aga', 'Sep', 'Okt', 'Nov', 'Dis'],
|
|
|
|
|
[
|
|
|
|
|
'Januwari', 'Februwari', 'Mashi', 'Ephreli', 'Meyi', 'Juni', 'Julayi', 'Agasti', 'Septhemba',
|
|
|
|
|
'Okthoba', 'Novemba', 'Disemba'
|
|
|
|
|
]
|
|
|
|
|
],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
[['BC', 'AD'], u, u], 0, [6, 0], ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u],
|
2017-08-31 06:13:49 -04:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], 'R', 'i-South African Rand', {
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'BYN': [u, 'P.'],
|
|
|
|
|
'DKK': [u, 'Kr'],
|
|
|
|
|
'HRK': [u, 'Kn'],
|
|
|
|
|
'ISK': [u, 'Kr'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'JPY': ['JP¥', '¥'],
|
2018-04-13 17:35:20 -04:00
|
|
|
|
'NOK': [u, 'Kr'],
|
|
|
|
|
'PLN': [u, 'Zł'],
|
|
|
|
|
'SEK': [u, 'Kr'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
'THB': ['฿'],
|
|
|
|
|
'TWD': ['NT$'],
|
|
|
|
|
'ZAR': ['R']
|
|
|
|
|
},
|
|
|
|
|
plural_zu
|
2017-08-31 06:13:49 -04:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
2017-08-21 13:11:07 -04:00
|
|
|
|
let l: any;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
let locales: string[] = [];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
|
2017-08-29 18:29:21 -04:00
|
|
|
|
switch (goog.LOCALE) {
|
2017-08-21 13:11:07 -04:00
|
|
|
|
case 'af':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_af;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['af'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'am':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_am;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['am'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ar':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ar;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ar'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ar-DZ':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'ar_DZ':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ar_DZ;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ar-DZ', 'ar_DZ'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'az':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_az;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['az'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'be':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_be;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['be'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'bg':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_bg;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['bg'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'bn':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_bn;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['bn'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'br':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_br;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['br'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'bs':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_bs;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['bs'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ca':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ca;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ca'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'chr':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_chr;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['chr'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'cs':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_cs;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['cs'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'cy':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_cy;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['cy'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'da':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_da;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['da'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'de':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_de;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['de'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'de-AT':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'de_AT':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_de_AT;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['de-AT', 'de_AT'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'de-CH':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'de_CH':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_de_CH;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['de-CH', 'de_CH'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'el':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_el;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['el'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'en-AU':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'en_AU':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_en_AU;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['en-AU', 'en_AU'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'en-CA':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'en_CA':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_en_CA;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['en-CA', 'en_CA'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'en-GB':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'en_GB':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_en_GB;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['en-GB', 'en_GB'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'en-IE':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'en_IE':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_en_IE;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['en-IE', 'en_IE'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'en-IN':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'en_IN':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_en_IN;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['en-IN', 'en_IN'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'en-SG':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'en_SG':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_en_SG;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['en-SG', 'en_SG'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'en-ZA':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'en_ZA':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_en_ZA;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['en-ZA', 'en_ZA'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'es':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_es;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['es'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'es-419':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'es_419':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_es_419;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['es-419', 'es_419'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'es-MX':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'es_MX':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_es_MX;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['es-MX', 'es_MX'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'es-US':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'es_US':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_es_US;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['es-US', 'es_US'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'et':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_et;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['et'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'eu':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_eu;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['eu'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'fa':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_fa;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['fa'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'fi':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_fi;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['fi'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'fr':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_fr;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['fr'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'fr-CA':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'fr_CA':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_fr_CA;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['fr-CA', 'fr_CA'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ga':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ga;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ga'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'gl':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_gl;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['gl'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'gsw':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_gsw;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['gsw'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'gu':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_gu;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['gu'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'haw':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_haw;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['haw'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'hi':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_hi;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['hi'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'hr':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_hr;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['hr'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'hu':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_hu;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['hu'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'hy':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_hy;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['hy'];
|
2017-08-29 14:54:43 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'in':
|
2017-08-21 13:11:07 -04:00
|
|
|
|
case 'id':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_in;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['in', 'id'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'is':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_is;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['is'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'it':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_it;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['it'];
|
2017-08-29 14:54:43 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'iw':
|
|
|
|
|
case 'he':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_iw;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['iw', 'he'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ja':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ja;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ja'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ka':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ka;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ka'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'kk':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_kk;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['kk'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'km':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_km;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['km'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'kn':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_kn;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['kn'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ko':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ko;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ko'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ky':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ky;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ky'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ln':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ln;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ln'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'lo':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_lo;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['lo'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'lt':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_lt;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['lt'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'lv':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_lv;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['lv'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'mk':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_mk;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['mk'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ml':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ml;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ml'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'mn':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_mn;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['mn'];
|
2017-08-29 14:54:43 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'mo':
|
|
|
|
|
case 'ro-MD':
|
2017-08-29 18:29:21 -04:00
|
|
|
|
case 'ro_MD':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_mo;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['mo', 'ro-MD', 'ro_MD'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'mr':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_mr;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['mr'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ms':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ms;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ms'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'mt':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_mt;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['mt'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'my':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_my;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['my'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ne':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ne;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ne'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'nl':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_nl;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['nl'];
|
2017-08-29 14:54:43 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'no':
|
|
|
|
|
case 'nb':
|
|
|
|
|
case 'no-NO':
|
2017-08-29 18:29:21 -04:00
|
|
|
|
case 'no_NO':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_no;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['no', 'nb', 'no-NO', 'no_NO'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'or':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_or;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['or'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'pa':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_pa;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['pa'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'pl':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_pl;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['pl'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'pt':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'pt-BR':
|
2017-08-29 18:29:21 -04:00
|
|
|
|
case 'pt_BR':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_pt;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['pt', 'pt-BR', 'pt_BR'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'pt-PT':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'pt_PT':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_pt_PT;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['pt-PT', 'pt_PT'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ro':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ro;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ro'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ru':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ru;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ru'];
|
2017-08-29 14:54:43 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'sh':
|
|
|
|
|
case 'sr-Latn':
|
2017-08-29 18:29:21 -04:00
|
|
|
|
case 'sr_Latn':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_sh;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['sh', 'sr-Latn', 'sr_Latn'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'si':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_si;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['si'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'sk':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_sk;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['sk'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'sl':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_sl;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['sl'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'sq':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_sq;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['sq'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'sr':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_sr;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['sr'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'sv':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_sv;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['sv'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'sw':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_sw;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['sw'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ta':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ta;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ta'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'te':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_te;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['te'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'th':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_th;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['th'];
|
2017-08-29 14:54:43 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'tl':
|
|
|
|
|
case 'fil':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_tl;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['tl', 'fil'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'tr':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_tr;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['tr'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'uk':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_uk;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['uk'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'ur':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_ur;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['ur'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'uz':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_uz;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['uz'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'vi':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_vi;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['vi'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'zh':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_zh;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['zh'];
|
2017-08-29 14:54:43 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'zh-CN':
|
|
|
|
|
case 'zh_CN':
|
|
|
|
|
case 'zh-Hans-CN':
|
2017-08-29 18:29:21 -04:00
|
|
|
|
case 'zh_Hans_CN':
|
2017-08-21 13:11:07 -04:00
|
|
|
|
case 'zh-Hans':
|
2017-08-29 18:29:21 -04:00
|
|
|
|
case 'zh_Hans':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_zh_CN;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['zh-CN', 'zh_CN', 'zh-Hans-CN', 'zh_Hans_CN', 'zh-Hans', 'zh_Hans'];
|
2017-08-29 14:54:43 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'zh-HK':
|
|
|
|
|
case 'zh_HK':
|
2017-08-21 13:11:07 -04:00
|
|
|
|
case 'zh-Hant-HK':
|
2017-08-29 18:29:21 -04:00
|
|
|
|
case 'zh_Hant_HK':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_zh_HK;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['zh-HK', 'zh_HK', 'zh-Hant-HK', 'zh_Hant_HK'];
|
2017-08-29 14:54:43 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'zh-TW':
|
|
|
|
|
case 'zh_TW':
|
|
|
|
|
case 'zh-Hant-TW':
|
2017-08-29 18:29:21 -04:00
|
|
|
|
case 'zh_Hant_TW':
|
2017-08-29 14:54:43 -04:00
|
|
|
|
case 'zh-Hant':
|
2017-08-29 18:29:21 -04:00
|
|
|
|
case 'zh_Hant':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_zh_TW;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['zh-TW', 'zh_TW', 'zh-Hant-TW', 'zh_Hant_TW', 'zh-Hant', 'zh_Hant'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
case 'zu':
|
2017-08-31 06:13:49 -04:00
|
|
|
|
l = locale_zu;
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales = ['zu'];
|
2017-08-21 13:11:07 -04:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-29 14:54:43 -04:00
|
|
|
|
if (l) {
|
2018-09-07 14:26:11 -04:00
|
|
|
|
locales.forEach(locale => registerLocaleData(l, locale));
|
2017-08-29 14:54:43 -04:00
|
|
|
|
}
|