From 4641fc71a2736b7a5cd1912ff5e17b9ab3389f40 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 21 May 2021 22:58:25 +0200 Subject: [PATCH] build: wire up new CLDR generation tool within Bazel (#42230) Introduces a few Starlark macros for running the new Bazel CLDR generation tool. Wires up the new tool so that locales are generated properly. Also updates the existing `closure-locale` file to match the new output generated by the Bazel tool. This commit also re-adds a few locale files that aren't generated by CLDR 37, but have been accidentally left in the repository as the Gulp script never removed old locales from previous CLDR versions. This problem is solved with the Bazel generation of locale files, but for now we re-add these old CLDR 33 locale files to not break developers relying on these (even though the locale data indicies are incorrect; but there might be users accessing the data directly) PR Close #42230 --- .ng-dev/format.ts | 5 + packages/common/BUILD.bazel | 17 + packages/common/locales/BUILD.bazel | 39 +- packages/common/locales/closure-locale.ts | 6461 +++------------------ packages/common/locales/extra/ff-CM.ts | 18 + packages/common/locales/extra/ff-GN.ts | 18 + packages/common/locales/extra/ff-MR.ts | 18 + packages/common/locales/ff-CM.ts | 46 + packages/common/locales/ff-GN.ts | 46 + packages/common/locales/ff-MR.ts | 46 + packages/common/locales/global/ff-CM.js | 60 + packages/common/locales/global/ff-GN.js | 60 + packages/common/locales/global/ff-MR.js | 60 + packages/common/locales/index.bzl | 94 + packages/common/src/i18n/currencies.ts | 13 + packages/core/BUILD.bazel | 17 + packages/core/src/i18n/locale_en.ts | 20 + 17 files changed, 1417 insertions(+), 5621 deletions(-) create mode 100644 packages/common/locales/extra/ff-CM.ts create mode 100644 packages/common/locales/extra/ff-GN.ts create mode 100644 packages/common/locales/extra/ff-MR.ts create mode 100644 packages/common/locales/ff-CM.ts create mode 100644 packages/common/locales/ff-GN.ts create mode 100644 packages/common/locales/ff-MR.ts create mode 100644 packages/common/locales/global/ff-CM.js create mode 100644 packages/common/locales/global/ff-GN.js create mode 100644 packages/common/locales/global/ff-MR.js create mode 100644 packages/common/locales/index.bzl create mode 100644 packages/common/src/i18n/currencies.ts create mode 100644 packages/core/src/i18n/locale_en.ts diff --git a/.ng-dev/format.ts b/.ng-dev/format.ts index c56366c57f..2dfdcd2334 100644 --- a/.ng-dev/format.ts +++ b/.ng-dev/format.ts @@ -26,6 +26,11 @@ export const format: FormatConfig = { '!dev-infra/build-worker.js', // Do not format compliance test-cases since they must match generated code '!packages/compiler-cli/test/compliance/test_cases/**/*.js', + // Do not format the locale files which are checked-in for Google3, but generated using + // the `generate-locales-tool` from `packages/common/locales`. + '!packages/core/src/i18n/locale_en.ts', + '!packages/common/locales/closure-locale.ts', + '!packages/common/src/i18n/currencies.ts', ] }, 'buildifier': true diff --git a/packages/common/BUILD.bazel b/packages/common/BUILD.bazel index f37222c517..1a388ef7de 100644 --- a/packages/common/BUILD.bazel +++ b/packages/common/BUILD.bazel @@ -1,7 +1,24 @@ +load("@build_bazel_rules_nodejs//:index.bzl", "generated_file_test") +load("//packages/common/locales:index.bzl", "generate_base_currencies_file") load("//tools:defaults.bzl", "ng_module", "ng_package", "ts_api_guardian_test_npm_package") package(default_visibility = ["//visibility:public"]) +# This generates the `src/i18n/currencies.ts` file through the `generate-locales` tool. Since +# the base currencies file is checked-in for Google3, we add a `generated_file_test` to ensure +# the checked-in file is up-to-date. To disambiguate from the test, we use a more precise target +# name here. +generate_base_currencies_file( + name = "base_currencies_file_generated", + output_file = "base_currencies_generated.ts", +) + +generated_file_test( + name = "base_currencies_file", + src = "src/i18n/currencies.ts", + generated = ":base_currencies_file_generated", +) + ng_module( name = "common", srcs = glob( diff --git a/packages/common/locales/BUILD.bazel b/packages/common/locales/BUILD.bazel index 20c6fa9511..41e691b878 100644 --- a/packages/common/locales/BUILD.bazel +++ b/packages/common/locales/BUILD.bazel @@ -1,18 +1,47 @@ +load("@build_bazel_rules_nodejs//:index.bzl", "generated_file_test") +load("//packages/common/locales:index.bzl", "LOCALES", "generate_all_locale_files", "generate_closure_locales_file") load("//tools:defaults.bzl", "pkg_npm", "ts_library") package(default_visibility = ["//visibility:public"]) +# This generates the `closure-locale.ts` file through the `generate-locales` tool. Since +# the `closure-locale.ts` file is checked-in for Google3, we add a `generated_file_test` to +# ensure the checked-in file is up-to-date. To disambiguate from the test, we use a more +# precise target name here. +generate_closure_locales_file( + name = "closure_locales_file_generated", + output_file = "closure_locales_generated.ts", +) + +generated_file_test( + name = "closure_locale_file", + src = "closure-locale.ts", + generated = ":closure_locales_file_generated", +) + +generate_all_locale_files( + name = "locale_files", +) + ts_library( name = "locales", - srcs = glob( - ["**/*.ts"], + # TODO(devversion): Remove glob for checked-in legacy locale files that haven't been + # removed in the past (when CLDR has been updated). These can be removed in a major. + srcs = [file for l in LOCALES for file in [ + "%s.ts" % l, + "extra/%s.ts" % l, + ]] + glob( + [ + "*.ts", + "extra/*.ts", + ], exclude = ["closure-locale.ts"], ), ) pkg_npm( name = "package", - srcs = glob(["global/*.js"]) + ["package.json"], + srcs = ["package.json"], substitutions = { # Workaround for `.d.ts`` containing `/// ` # which are generated in TypeScript v2.9, but not before. @@ -25,5 +54,7 @@ pkg_npm( # null out the require reference passed into the module. "factory\\(require, exports\\)": "factory(null, exports)", }, - deps = [":locales"], + # TODO(devversion): Remove glob for checked-in legacy locale files that haven't been + # removed in the past (when CLDR has been updated). These can be removed in a major. + deps = ["global/%s.js" % l for l in LOCALES] + [":locales"] + glob(["global/*.js"]), ) diff --git a/packages/common/locales/closure-locale.ts b/packages/common/locales/closure-locale.ts index cb764264d2..65470105af 100644 --- a/packages/common/locales/closure-locale.ts +++ b/packages/common/locales/closure-locale.ts @@ -6,6228 +6,1455 @@ * 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 +// THIS CODE IS GENERATED - DO NOT MODIFY. import {registerLocaleData} from '../src/i18n/locale_data'; const u = undefined; function plural_af(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_af = [ - 'af', - [['v', 'n'], ['vm.', 'nm.'], u], - u, - [ - ['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.'] - ], - u, - [ - ['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' - ] - ], - u, - [['v.C.', 'n.C.'], u, ['voor Christus', 'na Christus']], - 0, - [6, 0], - ['y-MM-dd', 'dd MMM y', 'dd MMMM y', 'EEEE dd MMMM y'], - ['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'], - 'ZAR', - 'R', - 'Suid-Afrikaanse rand', - { - 'CAD': [u, '$'], - 'JPY': ['JP¥', '¥'], - 'MXN': [u, '$'], - 'RON': [u, 'leu'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': [u, '$'], - 'ZAR': ['R'] - }, - 'ltr', - plural_af -]; +export const locale_af = ["af",[["v","n"],["vm.","nm."],u],u,[["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."]],u,[["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"]],u,[["v.C.","n.C."],u,["voor Christus","na Christus"]],0,[6,0],["y-MM-dd","dd MMM y","dd MMMM y","EEEE dd MMMM y"],["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"],"ZAR","R","Suid-Afrikaanse rand",{"CAD":[u,"$"],"JPY":["JP¥","¥"],"MXN":[u,"$"],"RON":[u,"leu"],"THB":["฿"],"TWD":["NT$"],"USD":[u,"$"],"ZAR":["R"]},"ltr", plural_af]; function plural_am(n: number): number { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; +const i = Math.floor(Math.abs(n)); + +if (i === 0 || n === 1) + return 1; +return 5; } -export const locale_am = [ - 'am', - [['ጠ', 'ከ'], ['ጥዋት', 'ከሰዓት'], u], - u, - [ - ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'], ['እሑድ', 'ሰኞ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], - ['እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'], ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'] - ], - u, - [ - ['ጃ', 'ፌ', 'ማ', 'ኤ', 'ሜ', 'ጁ', 'ጁ', 'ኦ', 'ሴ', 'ኦ', 'ኖ', 'ዲ'], - ['ጃንዩ', 'ፌብሩ', 'ማርች', 'ኤፕሪ', 'ሜይ', 'ጁን', 'ጁላይ', 'ኦገስ', 'ሴፕቴ', 'ኦክቶ', 'ኖቬም', 'ዲሴም'], - [ - 'ጃንዩወሪ', 'ፌብሩወሪ', 'ማርች', 'ኤፕሪል', 'ሜይ', 'ጁን', 'ጁላይ', 'ኦገስት', 'ሴፕቴምበር', 'ኦክቶበር', 'ኖቬምበር', - 'ዲሴምበር' - ] - ], - u, - [['ዓ/ዓ', 'ዓ/ም'], u, ['ዓመተ ዓለም', 'ዓመተ ምሕረት']], - 0, - [6, 0], - ['dd/MM/y', 'd MMM y', 'd MMMM y', 'y MMMM d, EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ETB', - 'ብር', - 'የኢትዮጵያ ብር', - { - 'AUD': ['AU$', '$'], - 'CNH': ['የቻይና ዩዋን'], - 'ETB': ['ብር'], - 'JPY': ['JP¥', '¥'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural_am -]; +export const locale_am = ["am",[["ጠ","ከ"],["ጥዋት","ከሰዓት"],u],u,[["እ","ሰ","ማ","ረ","ሐ","ዓ","ቅ"],["እሑድ","ሰኞ","ማክሰ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"],["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"],["እ","ሰ","ማ","ረ","ሐ","ዓ","ቅ"]],u,[["ጃ","ፌ","ማ","ኤ","ሜ","ጁ","ጁ","ኦ","ሴ","ኦ","ኖ","ዲ"],["ጃንዩ","ፌብሩ","ማርች","ኤፕሪ","ሜይ","ጁን","ጁላይ","ኦገስ","ሴፕቴ","ኦክቶ","ኖቬም","ዲሴም"],["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕሪል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክቶበር","ኖቬምበር","ዲሴምበር"]],u,[["ዓ/ዓ","ዓ/ም"],u,["ዓመተ ዓለም","ዓመተ ምሕረት"]],0,[6,0],["dd/MM/y","d MMM y","d MMMM y","y MMMM d, EEEE"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1} {0}",u,u,u],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"ETB","ብር","የኢትዮጵያ ብር",{"AUD":["AU$","$"],"CNH":["የቻይና ዩዋን"],"ETB":["ብር"],"JPY":["JP¥","¥"],"THB":["฿"],"TWD":["NT$"],"USD":["US$","$"]},"ltr", plural_am]; 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; + +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; } -export const locale_ar = [ - 'ar', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], - [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] - ], - u, - [ - ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], - [ - 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', - 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/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], - ['.', ',', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'EGP', - 'ج.م.\u200f', - 'جنيه مصري', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural_ar -]; +export const locale_ar = ["ar",[["ص","م"],u,u],[["ص","م"],u,["صباحًا","مساءً"]],[["ح","ن","ث","ر","خ","ج","س"],["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],u,["أحد","إثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"]],u,[["ي","ف","م","أ","و","ن","ل","غ","س","ك","ب","د"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],u],u,[["ق.م","م"],u,["قبل الميلاد","ميلادي"]],6,[5,6],["d‏/M‏/y","dd‏/MM‏/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],[".",",",";","‎%‎","‎+","‎-","E","×","‰","∞","ليس رقمًا",":"],["#,##0.###","#,##0%","¤ #,##0.00","#E0"],"EGP","ج.م.‏","جنيه مصري",{"AED":["د.إ.‏"],"ARS":[u,"AR$"],"AUD":["AU$"],"BBD":[u,"BB$"],"BHD":["د.ب.‏"],"BMD":[u,"BM$"],"BND":[u,"BN$"],"BSD":[u,"BS$"],"BZD":[u,"BZ$"],"CAD":["CA$"],"CLP":[u,"CL$"],"CNY":["CN¥"],"COP":[u,"CO$"],"CUP":[u,"CU$"],"DOP":[u,"DO$"],"DZD":["د.ج.‏"],"EGP":["ج.م.‏","E£"],"FJD":[u,"FJ$"],"GBP":["UK£"],"GYD":[u,"GY$"],"HKD":["HK$"],"IQD":["د.ع.‏"],"IRR":["ر.إ."],"JMD":[u,"JM$"],"JOD":["د.أ.‏"],"JPY":["JP¥"],"KWD":["د.ك.‏"],"KYD":[u,"KY$"],"LBP":["ل.ل.‏","L£"],"LRD":[u,"$LR"],"LYD":["د.ل.‏"],"MAD":["د.م.‏"],"MRU":["أ.م."],"MXN":["MX$"],"NZD":["NZ$"],"OMR":["ر.ع.‏"],"QAR":["ر.ق.‏"],"SAR":["ر.س.‏"],"SBD":[u,"SB$"],"SDD":["د.س.‏"],"SDG":["ج.س."],"SRD":[u,"SR$"],"SYP":["ل.س.‏","£"],"THB":["฿"],"TND":["د.ت.‏"],"TTD":[u,"TT$"],"TWD":["NT$"],"USD":["US$"],"UYU":[u,"UY$"],"XXX":["***"],"YER":["ر.ي.‏"]},"rtl", plural_ar]; 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; + +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; } -export const locale_ar_DZ = [ - 'ar-DZ', - [['ص', 'م'], u, u], - [['ص', 'م'], u, ['صباحًا', 'مساءً']], - [ - ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], u, - ['أحد', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'] - ], - u, - [ - ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], - [ - 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', - 'نوفمبر', 'ديسمبر' - ], - u - ], - u, - [['ق.م', 'م'], u, ['قبل الميلاد', 'ميلادي']], - 6, - [5, 6], - ['d\u200f/M\u200f/y', 'dd\u200f/MM\u200f/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], - [',', '.', ';', '\u200e%\u200e', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'ليس رقمًا', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'DZD', - 'د.ج.\u200f', - 'دينار جزائري', - { - 'AED': ['د.إ.\u200f'], - 'ARS': [u, 'AR$'], - 'AUD': ['AU$'], - 'BBD': [u, 'BB$'], - 'BHD': ['د.ب.\u200f'], - 'BMD': [u, 'BM$'], - 'BND': [u, 'BN$'], - 'BSD': [u, 'BS$'], - 'BZD': [u, 'BZ$'], - 'CAD': ['CA$'], - 'CLP': [u, 'CL$'], - 'CNY': ['CN¥'], - 'COP': [u, 'CO$'], - 'CUP': [u, 'CU$'], - 'DOP': [u, 'DO$'], - 'DZD': ['د.ج.\u200f'], - 'EGP': ['ج.م.\u200f', 'E£'], - 'FJD': [u, 'FJ$'], - 'GBP': ['UK£'], - 'GYD': [u, 'GY$'], - 'HKD': ['HK$'], - 'IQD': ['د.ع.\u200f'], - 'IRR': ['ر.إ.'], - 'JMD': [u, 'JM$'], - 'JOD': ['د.أ.\u200f'], - 'JPY': ['JP¥'], - 'KWD': ['د.ك.\u200f'], - 'KYD': [u, 'KY$'], - 'LBP': ['ل.ل.\u200f', 'L£'], - 'LRD': [u, '$LR'], - 'LYD': ['د.ل.\u200f'], - 'MAD': ['د.م.\u200f'], - 'MRU': ['أ.م.'], - 'MXN': ['MX$'], - 'NZD': ['NZ$'], - 'OMR': ['ر.ع.\u200f'], - 'QAR': ['ر.ق.\u200f'], - 'SAR': ['ر.س.\u200f'], - 'SBD': [u, 'SB$'], - 'SDD': ['د.س.\u200f'], - 'SDG': ['ج.س.'], - 'SRD': [u, 'SR$'], - 'SYP': ['ل.س.\u200f', '£'], - 'THB': ['฿'], - 'TND': ['د.ت.\u200f'], - 'TTD': [u, 'TT$'], - 'TWD': ['NT$'], - 'USD': ['US$'], - 'UYU': [u, 'UY$'], - 'XXX': ['***'], - 'YER': ['ر.ي.\u200f'] - }, - 'rtl', - plural_ar_DZ -]; +export const locale_ar_DZ = ["ar-DZ",[["ص","م"],u,u],[["ص","م"],u,["صباحًا","مساءً"]],[["ح","ن","ث","ر","خ","ج","س"],["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],u,["أحد","إثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"]],u,[["ج","ف","م","أ","م","ج","ج","أ","س","أ","ن","د"],["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],u],u,[["ق.م","م"],u,["قبل الميلاد","ميلادي"]],6,[5,6],["d‏/M‏/y","dd‏/MM‏/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],[",",".",";","‎%‎","‎+","‎-","E","×","‰","∞","ليس رقمًا",":"],["#,##0.###","#,##0%","¤ #,##0.00","#E0"],"DZD","د.ج.‏","دينار جزائري",{"AED":["د.إ.‏"],"ARS":[u,"AR$"],"AUD":["AU$"],"BBD":[u,"BB$"],"BHD":["د.ب.‏"],"BMD":[u,"BM$"],"BND":[u,"BN$"],"BSD":[u,"BS$"],"BZD":[u,"BZ$"],"CAD":["CA$"],"CLP":[u,"CL$"],"CNY":["CN¥"],"COP":[u,"CO$"],"CUP":[u,"CU$"],"DOP":[u,"DO$"],"DZD":["د.ج.‏"],"EGP":["ج.م.‏","E£"],"FJD":[u,"FJ$"],"GBP":["UK£"],"GYD":[u,"GY$"],"HKD":["HK$"],"IQD":["د.ع.‏"],"IRR":["ر.إ."],"JMD":[u,"JM$"],"JOD":["د.أ.‏"],"JPY":["JP¥"],"KWD":["د.ك.‏"],"KYD":[u,"KY$"],"LBP":["ل.ل.‏","L£"],"LRD":[u,"$LR"],"LYD":["د.ل.‏"],"MAD":["د.م.‏"],"MRU":["أ.م."],"MXN":["MX$"],"NZD":["NZ$"],"OMR":["ر.ع.‏"],"QAR":["ر.ق.‏"],"SAR":["ر.س.‏"],"SBD":[u,"SB$"],"SDD":["د.س.‏"],"SDG":["ج.س."],"SRD":[u,"SR$"],"SYP":["ل.س.‏","£"],"THB":["฿"],"TND":["د.ت.‏"],"TTD":[u,"TT$"],"TWD":["NT$"],"USD":["US$"],"UYU":[u,"UY$"],"XXX":["***"],"YER":["ر.ي.‏"]},"rtl", plural_ar_DZ]; function plural_az(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_az = [ - 'az', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['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.', 'Ş.'] - ], - [ - ['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'], - [ - 'yanvar', 'Fevral', 'mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', 'Oktyabr', - 'Noyabr', 'dekabr' - ] - ], - [['e.ə.', 'y.e.'], u, ['eramızdan əvvəl', 'yeni era']], - 1, - [6, 0], - ['dd.MM.yy', 'd MMM y', 'd MMMM y', 'd MMMM y, 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'], - 'AZN', - '₼', - 'Azərbaycan Manatı', - { - 'AZN': ['₼'], - 'JPY': ['JP¥', '¥'], - 'RON': [u, 'ley'], - 'SYP': [u, 'S£'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural_az -]; +export const locale_az = ['az',[['a','p'],['AM','PM'],u],[['AM','PM'],u,u],[['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.','Ş.']],[['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'],['yanvar','Fevral','mart','Aprel','May','İyun','İyul','Avqust','Sentyabr','Oktyabr','Noyabr','dekabr']],[['e.ə.','y.e.'],u,['eramızdan əvvəl','yeni era']],1,[6,0],['dd.MM.yy','d MMM y','d MMMM y','d MMMM y, 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'],'AZN','₼','Azərbaycan Manatı',{AZN:['₼'],JPY:['JP¥','¥'],RON:[u,'ley'],SYP:[u,'S£'],THB:['฿'],TWD:['NT$'],USD:['US$','$']},'ltr', plural_az]; 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)) + +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) +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; +return 5; } -export const locale_be = [ - 'be', - [['am', 'pm'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['н', 'п', 'а', 'с', 'ч', 'п', 'с'], ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], - ['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацвер', 'пятніца', 'субота'], - ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'] - ], - u, - [ - ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'], - ['сту', 'лют', 'сак', 'кра', 'мая', 'чэр', 'ліп', 'жні', 'вер', 'кас', 'ліс', 'сне'], - [ - 'студзеня', 'лютага', 'сакавіка', 'красавіка', 'мая', 'чэрвеня', 'ліпеня', 'жніўня', - 'верасня', 'кастрычніка', 'лістапада', 'снежня' - ] - ], - [ - ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'], - ['сту', 'лют', 'сак', 'кра', 'май', 'чэр', 'ліп', 'жні', 'вер', 'кас', 'ліс', 'сне'], - [ - 'студзень', 'люты', 'сакавік', 'красавік', 'май', 'чэрвень', 'ліпень', 'жнівень', 'верасень', - 'кастрычнік', 'лістапад', 'снежань' - ] - ], - [['да н.э.', 'н.э.'], u, ['да нараджэння Хрыстова', 'ад нараджэння Хрыстова']], - 1, - [6, 0], - ['d.MM.yy', 'd.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} \'у\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'BYN', - 'Br', - 'беларускі рубель', - { - 'AUD': ['A$'], - 'BBD': [u, 'Bds$'], - 'BMD': [u, 'BD$'], - 'BRL': [u, 'R$'], - 'BSD': [u, 'B$'], - 'BYN': ['Br'], - '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$'], - 'MXN': ['MX$'], - 'NAD': [u, 'N$'], - 'NZD': [u, 'NZ$'], - 'RUB': ['₽', 'руб.'], - 'SBD': [u, 'SI$'], - 'SGD': [u, 'S$'], - 'TTD': [u, 'TT$'], - 'UYU': [u, '$U'], - 'XCD': ['EC$'] - }, - 'ltr', - plural_be -]; +export const locale_be = ['be',[['am','pm'],['AM','PM'],u],[['AM','PM'],u,u],[['н','п','а','с','ч','п','с'],['нд','пн','аў','ср','чц','пт','сб'],['нядзеля','панядзелак','аўторак','серада','чацвер','пятніца','субота'],['нд','пн','аў','ср','чц','пт','сб']],u,[['с','л','с','к','м','ч','л','ж','в','к','л','с'],['сту','лют','сак','кра','мая','чэр','ліп','жні','вер','кас','ліс','сне'],['студзеня','лютага','сакавіка','красавіка','мая','чэрвеня','ліпеня','жніўня','верасня','кастрычніка','лістапада','снежня']],[['с','л','с','к','м','ч','л','ж','в','к','л','с'],['сту','лют','сак','кра','май','чэр','ліп','жні','вер','кас','ліс','сне'],['студзень','люты','сакавік','красавік','май','чэрвень','ліпень','жнівень','верасень','кастрычнік','лістапад','снежань']],[['да н.э.','н.э.'],u,['да нараджэння Хрыстова','ад нараджэння Хрыстова']],1,[6,0],['d.MM.yy','d.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} 'у' {0}",u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'BYN','Br','беларускі рубель',{AUD:['A$'],BBD:[u,'Bds$'],BMD:[u,'BD$'],BRL:[u,'R$'],BSD:[u,'B$'],BYN:['Br'],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$'],MXN:['MX$'],NAD:[u,'N$'],NZD:[u,'NZ$'],RUB:['₽','руб.'],SBD:[u,'SI$'],SGD:[u,'S$'],TTD:[u,'TT$'],UYU:[u,'$U'],XCD:['EC$']},'ltr', plural_be]; function plural_bg(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_bg = [ - 'bg', - [['am', 'pm'], u, ['пр.об.', 'сл.об.']], - [['am', 'pm'], u, u], - [ - ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - ['неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота'], - ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] - ], - u, - [ - ['я', 'ф', 'м', 'а', 'м', 'ю', 'ю', 'а', 'с', 'о', 'н', 'д'], - ['яну', 'фев', 'март', 'апр', 'май', 'юни', 'юли', 'авг', 'сеп', 'окт', 'ное', 'дек'], - [ - 'януари', 'февруари', 'март', 'април', 'май', 'юни', 'юли', 'август', 'септември', 'октомври', - 'ноември', 'декември' - ] - ], - u, - [['пр.Хр.', 'сл.Хр.'], u, ['преди Христа', 'след Христа']], - 1, - [6, 0], - ['d.MM.yy \'г\'.', 'd.MM.y \'г\'.', 'd MMMM y \'г\'.', 'EEEE, d MMMM y \'г\'.'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '0.00 ¤', '#E0'], - 'BGN', - 'лв.', - 'Български лев', - { - 'ARS': [], - 'AUD': [], - 'BBD': [], - 'BDT': [], - 'BGN': ['лв.'], - 'BMD': [], - 'BND': [], - 'BRL': [], - 'BSD': [], - 'BYN': [], - 'BZD': [], - 'CAD': [], - 'CLP': [], - 'CNY': [], - 'COP': [], - 'CRC': [], - 'CUP': [], - 'DOP': [], - 'FJD': [], - 'FKP': [], - 'GBP': [u, '£'], - 'GIP': [], - 'GYD': [], - 'HKD': [], - 'ILS': [], - 'INR': [], - 'JMD': [], - 'JPY': [u, '¥'], - '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': [], - 'XCD': [u, '$'] - }, - 'ltr', - plural_bg -]; +export const locale_bg = ['bg',[['am','pm'],u,['пр.об.','сл.об.']],[['am','pm'],u,u],[['н','п','в','с','ч','п','с'],['нд','пн','вт','ср','чт','пт','сб'],['неделя','понеделник','вторник','сряда','четвъртък','петък','събота'],['нд','пн','вт','ср','чт','пт','сб']],u,[['я','ф','м','а','м','ю','ю','а','с','о','н','д'],['яну','фев','март','апр','май','юни','юли','авг','сеп','окт','ное','дек'],['януари','февруари','март','април','май','юни','юли','август','септември','октомври','ноември','декември']],u,[['пр.Хр.','сл.Хр.'],u,['преди Христа','след Христа']],1,[6,0],["d.MM.yy 'г'.","d.MM.y 'г'.","d MMMM y 'г'.","EEEE, d MMMM y 'г'."],['H:mm','H:mm:ss','H:mm:ss z','H:mm:ss zzzz'],['{1}, {0}',u,u,u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','0.00 ¤','#E0'],'BGN','лв.','Български лев',{ARS:[],AUD:[],BBD:[],BDT:[],BGN:['лв.'],BMD:[],BND:[],BRL:[],BSD:[],BYN:[],BZD:[],CAD:[],CLP:[],CNY:[],COP:[],CRC:[],CUP:[],DOP:[],FJD:[],FKP:[],GBP:[u,'£'],GIP:[],GYD:[],HKD:[],ILS:[],INR:[],JMD:[],JPY:[u,'¥'],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:[],XCD:[u,'$']},'ltr', plural_bg]; function plural_bn(n: number): number { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; +const i = Math.floor(Math.abs(n)); + +if (i === 0 || n === 1) + return 1; +return 5; } -export const locale_bn = [ - 'bn', - [['AM', 'PM'], u, u], - u, - [ - ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], ['রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', 'শুক্র', 'শনি'], - ['রবিবার', 'সোমবার', 'মঙ্গলবার', 'বুধবার', 'বৃহস্পতিবার', 'শুক্রবার', 'শনিবার'], - ['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শনি'] - ], - 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], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '#,##,##0.00¤', '#E0'], - 'BDT', - '৳', - 'বাংলাদেশী টাকা', - {'BDT': ['৳'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, - 'ltr', - plural_bn -]; +export const locale_bn = ['bn',[['AM','PM'],u,u],u,[['র','সো','ম','বু','বৃ','শু','শ'],['রবি','সোম','মঙ্গল','বুধ','বৃহস্পতি','শুক্র','শনি'],['রবিবার','সোমবার','মঙ্গলবার','বুধবার','বৃহস্পতিবার','শুক্রবার','শনিবার'],['রঃ','সোঃ','মঃ','বুঃ','বৃঃ','শুঃ','শনি']],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],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##,##0.###','#,##,##0%','#,##,##0.00¤','#E0'],'BDT','৳','বাংলাদেশী টাকা',{BDT:['৳'],JPY:['JP¥','¥'],THB:['฿'],TWD:['NT$'],USD:['US$','$']},'ltr', plural_bn]; 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)) + +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; +if (!(n === 0) && n % 1000000 === 0) + return 4; +return 5; } -export const locale_br = [ - 'br', - [['am', 'gm'], ['A.M.', 'G.M.'], u], - [['A.M.', 'G.M.'], u, u], - [ - ['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.'] - ], - u, - [ - ['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' - ] - ], - 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'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', '{1}, {0}', '{1} \'da\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': ['$A', '$'], - 'BRL': [u, 'R$'], - 'CAD': ['$CA', '$'], - 'CNY': [u, '¥'], - 'EGP': [u, '£ E'], - 'GBP': ['£ RU', '£'], - 'HKD': ['$ HK', '$'], - 'ILS': [u, '₪'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'LBP': [u, '£L'], - 'NZD': ['$ ZN', '$'], - 'TOP': [u, '$ T'], - 'TWD': [u, '$'], - 'USD': ['$ SU', '$'], - 'VND': [u, '₫'], - 'XCD': [u, '$'], - 'XXX': [] - }, - 'ltr', - plural_br -]; +export const locale_br = ['br',[['am','gm'],['A.M.','G.M.'],u],[['A.M.','G.M.'],u,u],[['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.']],u,[['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']],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'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}','{1}, {0}',"{1} 'da' {0}",u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'EUR','€','euro',{AUD:['$A','$'],BRL:[u,'R$'],CAD:['$CA','$'],CNY:[u,'¥'],EGP:[u,'£ E'],GBP:['£ RU','£'],HKD:['$ HK','$'],ILS:[u,'₪'],JPY:[u,'¥'],KRW:[u,'₩'],LBP:[u,'£L'],NZD:['$ ZN','$'],TOP:[u,'$ T'],TWD:[u,'$'],USD:['$ SU','$'],VND:[u,'₫'],XCD:[u,'$'],XXX:[]},'ltr', plural_br]; 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)) +const 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; +return 5; } -export const locale_bs = [ - 'bs', - [['prijepodne', 'popodne'], ['AM', 'PM'], ['prijepodne', 'popodne']], - u, - [ - ['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'], - ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], - [ - 'januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'august', 'septembar', 'oktobar', - 'novembar', 'decembar' - ] - ], - u, - [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['prije nove ere', 'nove ere']], - 1, - [6, 0], - ['d. M. y.', 'd. MMM 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} \'u\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'BAM', - 'KM', - 'Bosanskohercegovačka konvertibilna marka', - { - 'AUD': [u, '$'], - 'BAM': ['KM'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'HRK': ['kn'], - 'ILS': [u, '₪'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'RSD': ['din.'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': [u, '$'], - 'XCD': [u, '$'], - 'XPF': [] - }, - 'ltr', - plural_bs -]; +export const locale_bs = ['bs',[['prijepodne','popodne'],['AM','PM'],['prijepodne','popodne']],u,[['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'],['jan','feb','mar','apr','maj','jun','jul','aug','sep','okt','nov','dec'],['januar','februar','mart','april','maj','juni','juli','august','septembar','oktobar','novembar','decembar']],u,[['p.n.e.','n.e.'],['p. n. e.','n. e.'],['prije nove ere','nove ere']],1,[6,0],['d. M. y.','d. MMM 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} 'u' {0}",u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'BAM','KM','Bosanskohercegovačka konvertibilna marka',{AUD:[u,'$'],BAM:['KM'],BRL:[u,'R$'],CAD:[u,'$'],CNY:[u,'¥'],GBP:[u,'£'],HKD:[u,'$'],HRK:['kn'],ILS:[u,'₪'],MXN:[u,'$'],NZD:[u,'$'],RSD:['din.'],THB:['฿'],TWD:['NT$'],USD:[u,'$'],XCD:[u,'$'],XPF:[]},'ltr', plural_bs]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_ca = [ - 'ca', - [['a. m.', 'p. m.'], u, u], - u, - [ - ['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.'] - ], - u, - [ - ['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' - ] - ], - [['aC', 'dC'], u, ['abans de Crist', 'després de Crist']], - 1, - [6, 0], - ['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'], - ['{1} {0}', '{1}, {0}', '{1} \'a\' \'les\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': ['AU$', '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'ESP': ['₧'], - 'MXN': [u, '$'], - 'THB': ['฿'], - 'USD': [u, '$'], - 'VEF': [u, 'Bs F'], - 'XCD': [u, '$'], - 'XXX': [] - }, - 'ltr', - plural_ca -]; +export const locale_ca = ['ca',[['a. m.','p. m.'],u,u],u,[['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.']],u,[['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']],[['aC','dC'],u,['abans de Crist','després de Crist']],1,[6,0],['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'],['{1} {0}','{1}, {0}',"{1} 'a' 'les' {0}",u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'EUR','€','euro',{AUD:['AU$','$'],BRL:[u,'R$'],CAD:[u,'$'],CNY:[u,'¥'],ESP:['₧'],MXN:[u,'$'],THB:['฿'],USD:[u,'$'],VEF:[u,'Bs F'],XCD:[u,'$'],XXX:[]},'ltr', plural_ca]; function plural_chr(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_chr = [ - 'chr', - [['Ꮜ', 'Ꮢ'], ['ᏌᎾᎴ', 'ᏒᎯᏱᎢ'], ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ']], - [['ᏌᎾᎴ', 'ᏒᎯᏱᎢ'], u, ['ᏌᎾᎴ', 'ᏒᎯᏱᎢᏗᏢ']], - [ - ['Ꮖ', 'Ꮙ', 'Ꮤ', 'Ꮶ', 'Ꮕ', 'Ꮷ', 'Ꭴ'], ['ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ'], - ['ᎤᎾᏙᏓᏆᏍᎬ', 'ᎤᎾᏙᏓᏉᏅᎯ', 'ᏔᎵᏁᎢᎦ', 'ᏦᎢᏁᎢᎦ', 'ᏅᎩᏁᎢᎦ', 'ᏧᎾᎩᎶᏍᏗ', 'ᎤᎾᏙᏓᏈᏕᎾ'], - ['ᏍᎬ', 'ᏅᎯ', 'ᏔᎵ', 'ᏦᎢ', 'ᏅᎩ', 'ᏧᎾ', 'ᏕᎾ'] - ], - u, - [ - ['Ꭴ', 'Ꭷ', 'Ꭰ', 'Ꭷ', 'Ꭰ', 'Ꮥ', 'Ꭻ', 'Ꭶ', 'Ꮪ', 'Ꮪ', 'Ꮕ', 'Ꭵ'], - ['ᎤᏃ', 'ᎧᎦ', 'ᎠᏅ', 'ᎧᏬ', 'ᎠᏂ', 'ᏕᎭ', 'ᎫᏰ', 'ᎦᎶ', 'ᏚᎵ', 'ᏚᏂ', 'ᏅᏓ', 'ᎥᏍ'], - ['ᎤᏃᎸᏔᏅ', 'ᎧᎦᎵ', 'ᎠᏅᏱ', 'ᎧᏬᏂ', 'ᎠᏂᏍᎬᏘ', 'ᏕᎭᎷᏱ', 'ᎫᏰᏉᏂ', 'ᎦᎶᏂ', 'ᏚᎵᏍᏗ', 'ᏚᏂᏅᏗ', 'ᏅᏓᏕᏆ', 'ᎥᏍᎩᏱ'] - ], - u, - [['BC', 'AD'], u, ['ᏧᏓᎷᎸ ᎤᎷᎯᏍᏗ ᎦᎶᏁᏛ', 'ᎠᏃ ᏙᎻᏂ']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} ᎤᎾᎢ {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'US ᎠᏕᎳ', - {'JPY': ['JP¥', '¥']}, - 'ltr', - plural_chr -]; +export const locale_chr = ['chr',[['Ꮜ','Ꮢ'],['ᏌᎾᎴ','ᏒᎯᏱᎢ'],['ᏌᎾᎴ','ᏒᎯᏱᎢᏗᏢ']],[['ᏌᎾᎴ','ᏒᎯᏱᎢ'],u,['ᏌᎾᎴ','ᏒᎯᏱᎢᏗᏢ']],[['Ꮖ','Ꮙ','Ꮤ','Ꮶ','Ꮕ','Ꮷ','Ꭴ'],['ᏆᏍᎬ','ᏉᏅᎯ','ᏔᎵᏁ','ᏦᎢᏁ','ᏅᎩᏁ','ᏧᎾᎩ','ᏈᏕᎾ'],['ᎤᎾᏙᏓᏆᏍᎬ','ᎤᎾᏙᏓᏉᏅᎯ','ᏔᎵᏁᎢᎦ','ᏦᎢᏁᎢᎦ','ᏅᎩᏁᎢᎦ','ᏧᎾᎩᎶᏍᏗ','ᎤᎾᏙᏓᏈᏕᎾ'],['ᏍᎬ','ᏅᎯ','ᏔᎵ','ᏦᎢ','ᏅᎩ','ᏧᎾ','ᏕᎾ']],u,[['Ꭴ','Ꭷ','Ꭰ','Ꭷ','Ꭰ','Ꮥ','Ꭻ','Ꭶ','Ꮪ','Ꮪ','Ꮕ','Ꭵ'],['ᎤᏃ','ᎧᎦ','ᎠᏅ','ᎧᏬ','ᎠᏂ','ᏕᎭ','ᎫᏰ','ᎦᎶ','ᏚᎵ','ᏚᏂ','ᏅᏓ','ᎥᏍ'],['ᎤᏃᎸᏔᏅ','ᎧᎦᎵ','ᎠᏅᏱ','ᎧᏬᏂ','ᎠᏂᏍᎬᏘ','ᏕᎭᎷᏱ','ᎫᏰᏉᏂ','ᎦᎶᏂ','ᏚᎵᏍᏗ','ᏚᏂᏅᏗ','ᏅᏓᏕᏆ','ᎥᏍᎩᏱ']],u,[['BC','AD'],u,['ᏧᏓᎷᎸ ᎤᎷᎯᏍᏗ ᎦᎶᏁᏛ','ᎠᏃ ᏙᎻᏂ']],0,[6,0],['M/d/yy','MMM d, y','MMMM d, y','EEEE, MMMM d, y'],['h:mm a','h:mm:ss a','h:mm:ss a z','h:mm:ss a zzzz'],['{1}, {0}',u,'{1} ᎤᎾᎢ {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'USD','$','US ᎠᏕᎳ',{JPY:['JP¥','¥']},'ltr', plural_chr]; 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; +const 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; } -export const locale_cs = [ - 'cs', - [['dop.', 'odp.'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - [['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'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'CZK', - 'Kč', - 'česká koruna', - { - 'AUD': ['AU$', '$'], - 'CSK': ['Kčs'], - 'CZK': ['Kč'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': ['JP¥', '¥'], - 'RON': [u, 'L'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'], - 'XEU': ['ECU'], - 'XXX': [] - }, - 'ltr', - plural_cs -]; +export const locale_cs = ['cs',[['dop.','odp.'],u,u],u,[['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']],u,[['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']],[['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'],['H:mm','H:mm:ss','H:mm:ss z','H:mm:ss zzzz'],['{1} {0}',u,u,u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'CZK','Kč','česká koruna',{AUD:['AU$','$'],CSK:['Kčs'],CZK:['Kč'],ILS:[u,'₪'],INR:[u,'₹'],JPY:['JP¥','¥'],RON:[u,'L'],TWD:['NT$'],USD:['US$','$'],VND:[u,'₫'],XEU:['ECU'],XXX:[]},'ltr', plural_cs]; 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; + +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; } -export const locale_cy = [ - 'cy', - [['b', 'h'], ['AM', 'PM'], ['yb', 'yh']], - [['AM', 'PM'], u, u], - [ - ['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'], - ['Ion', 'Chwef', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gorff', 'Awst', 'Medi', 'Hyd', 'Tach', 'Rhag'], - [ - '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'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'am\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GBP', - '£', - 'Punt Prydain', - { - 'BDT': [u, 'TK'], - 'BWP': [], - 'HKD': ['HK$'], - 'JPY': ['JP¥', '¥'], - 'KRW': [u, '₩'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [], - 'ZAR': [], - 'ZMW': [] - }, - 'ltr', - plural_cy -]; +export const locale_cy = ['cy',[['b','h'],['AM','PM'],['yb','yh']],[['AM','PM'],u,u],[['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'],['Ion','Chwef','Maw','Ebr','Mai','Meh','Gorff','Awst','Medi','Hyd','Tach','Rhag'],['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'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,"{1} 'am' {0}",u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'GBP','£','Punt Prydain',{BDT:[u,'TK'],BWP:[],HKD:['HK$'],JPY:['JP¥','¥'],KRW:[u,'₩'],THB:['฿'],TWD:['NT$'],USD:['US$','$'],XXX:[],ZAR:[],ZMW:[]},'ltr', plural_cy]; 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; +const 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; } -export const locale_da = [ - 'da', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['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' - ] - ], - u, - [['fKr', 'eKr'], ['f.Kr.', 'e.Kr.'], u], - 1, - [6, 0], - ['dd.MM.y', 'd. MMM y', 'd. MMMM y', 'EEEE \'den\' d. MMMM y'], - ['HH.mm', 'HH.mm.ss', 'HH.mm.ss z', 'HH.mm.ss zzzz'], - ['{1} {0}', u, '{1} \'kl\'. {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'DKK', - 'kr.', - 'dansk krone', - { - 'AUD': ['AU$', '$'], - 'DKK': ['kr.'], - 'ISK': [u, 'kr.'], - 'JPY': ['JP¥', '¥'], - 'NOK': [u, 'kr.'], - 'RON': [u, 'L'], - 'SEK': [u, 'kr.'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural_da -]; +export const locale_da = ['da',[['a','p'],['AM','PM'],u],[['AM','PM'],u,u],[['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']],u,[['fKr','eKr'],['f.Kr.','e.Kr.'],u],1,[6,0],['dd.MM.y','d. MMM y','d. MMMM y',"EEEE 'den' d. MMMM y"],['HH.mm','HH.mm.ss','HH.mm.ss z','HH.mm.ss zzzz'],['{1} {0}',u,"{1} 'kl'. {0}",u],[',','.',';','%','+','-','E','×','‰','∞','NaN','.'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'DKK','kr.','dansk krone',{AUD:['AU$','$'],DKK:['kr.'],ISK:[u,'kr.'],JPY:['JP¥','¥'],NOK:[u,'kr.'],RON:[u,'L'],SEK:[u,'kr.'],THB:['฿'],TWD:['NT$'],USD:['US$','$']},'ltr', plural_da]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_de = [ - 'de', - [['AM', 'PM'], u, u], - u, - [ - ['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'], - [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' - ], - [ - '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' - ] - ], - [['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], - [',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euro', - { - 'ATS': ['öS'], - 'AUD': ['AU$', '$'], - 'BGM': ['BGK'], - 'BGO': ['BGJ'], - 'CUC': [u, 'Cub$'], - 'DEM': ['DM'], - 'FKP': [u, 'Fl£'], - 'GNF': [u, 'F.G.'], - 'KMF': [u, 'FC'], - 'RON': [u, 'L'], - 'RWF': [u, 'F.Rw'], - 'SYP': [], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XXX': [], - 'ZMW': [u, 'K'] - }, - 'ltr', - plural_de -]; +export const locale_de = ['de',[['AM','PM'],u,u],u,[['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'],['Jan.','Feb.','März','Apr.','Mai','Juni','Juli','Aug.','Sept.','Okt.','Nov.','Dez.'],['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']],[['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],[',','.',';','%','+','-','E','·','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'EUR','€','Euro',{ATS:['öS'],AUD:['AU$','$'],BGM:['BGK'],BGO:['BGJ'],CUC:[u,'Cub$'],DEM:['DM'],FKP:[u,'Fl£'],GNF:[u,'F.G.'],KMF:[u,'FC'],RON:[u,'L'],RWF:[u,'F.Rw'],SYP:[],THB:['฿'],TWD:['NT$'],XXX:[],ZMW:[u,'K']},'ltr', plural_de]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_de_AT = [ - 'de-AT', - [['AM', 'PM'], u, u], - [['vm.', 'nm.'], ['AM', 'PM'], u], - [ - ['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' - ] - ], - [['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], - [',', ' ', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':', u, '.'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - { - 'ATS': ['öS'], - 'AUD': ['AU$', '$'], - 'BGM': ['BGK'], - 'BGO': ['BGJ'], - 'CUC': [u, 'Cub$'], - 'DEM': ['DM'], - 'FKP': [u, 'Fl£'], - 'GNF': [u, 'F.G.'], - 'KMF': [u, 'FC'], - 'RON': [u, 'L'], - 'RWF': [u, 'F.Rw'], - 'SYP': [], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XXX': [], - 'ZMW': [u, 'K'] - }, - 'ltr', - plural_de_AT -]; +export const locale_de_AT = ['de-AT',[['AM','PM'],u,u],[['vm.','nm.'],['AM','PM'],u],[['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']],[['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],[',',' ',';','%','+','-','E','·','‰','∞','NaN',':',u,'.'],['#,##0.###','#,##0 %','¤ #,##0.00','#E0'],'EUR','€','Euro',{ATS:['öS'],AUD:['AU$','$'],BGM:['BGK'],BGO:['BGJ'],CUC:[u,'Cub$'],DEM:['DM'],FKP:[u,'Fl£'],GNF:[u,'F.G.'],KMF:[u,'FC'],RON:[u,'L'],RWF:[u,'F.Rw'],SYP:[],THB:['฿'],TWD:['NT$'],XXX:[],ZMW:[u,'K']},'ltr', plural_de_AT]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_de_CH = [ - 'de-CH', - [['AM', 'PM'], u, u], - u, - [ - ['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'], - [ - 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sept.', 'Okt.', 'Nov.', 'Dez.' - ], - [ - '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' - ] - ], - [['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], - ['.', '’', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤-#,##0.00', '#E0'], - 'CHF', - 'CHF', - 'Schweizer Franken', - { - 'ATS': ['öS'], - 'AUD': ['AU$', '$'], - 'BGM': ['BGK'], - 'BGO': ['BGJ'], - 'CUC': [u, 'Cub$'], - 'DEM': ['DM'], - 'EUR': [], - 'FKP': [u, 'Fl£'], - 'GNF': [u, 'F.G.'], - 'KMF': [u, 'FC'], - 'RON': [u, 'L'], - 'RWF': [u, 'F.Rw'], - 'SYP': [], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XXX': [], - 'ZMW': [u, 'K'] - }, - 'ltr', - plural_de_CH -]; +export const locale_de_CH = ['de-CH',[['AM','PM'],u,u],u,[['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'],['Jan.','Feb.','März','Apr.','Mai','Juni','Juli','Aug.','Sept.','Okt.','Nov.','Dez.'],['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']],[['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],['.','’',';','%','+','-','E','·','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤ #,##0.00;¤-#,##0.00','#E0'],'CHF','CHF','Schweizer Franken',{ATS:['öS'],AUD:['AU$','$'],BGM:['BGK'],BGO:['BGJ'],CUC:[u,'Cub$'],DEM:['DM'],EUR:[],FKP:[u,'Fl£'],GNF:[u,'F.G.'],KMF:[u,'FC'],RON:[u,'L'],RWF:[u,'F.Rw'],SYP:[],THB:['฿'],TWD:['NT$'],XXX:[],ZMW:[u,'K']},'ltr', plural_de_CH]; function plural_el(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_el = [ - 'el', - [['πμ', 'μμ'], ['π.μ.', 'μ.μ.'], u], - u, - [ - ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], - ['Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο'], - ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'] - ], - u, - [ - ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], - ['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ'], - [ - 'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', 'Μαΐου', 'Ιουνίου', 'Ιουλίου', - 'Αυγούστου', 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', 'Δεκεμβρίου' - ] - ], - [ - ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], - ['Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ'], - [ - 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος', - 'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος' - ] - ], - [['π.Χ.', 'μ.Χ.'], u, ['προ Χριστού', 'μετά Χριστόν']], - 1, - [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, '{1} - {0}', u], - [',', '.', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Ευρώ', - {'GRD': ['Δρχ'], 'JPY': ['JP¥', '¥'], 'THB': ['฿']}, - 'ltr', - plural_el -]; +export const locale_el = ['el',[['πμ','μμ'],['π.μ.','μ.μ.'],u],u,[['Κ','Δ','Τ','Τ','Π','Π','Σ'],['Κυρ','Δευ','Τρί','Τετ','Πέμ','Παρ','Σάβ'],['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'],['Κυ','Δε','Τρ','Τε','Πέ','Πα','Σά']],u,[['Ι','Φ','Μ','Α','Μ','Ι','Ι','Α','Σ','Ο','Ν','Δ'],['Ιαν','Φεβ','Μαρ','Απρ','Μαΐ','Ιουν','Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'],['Ιανουαρίου','Φεβρουαρίου','Μαρτίου','Απριλίου','Μαΐου','Ιουνίου','Ιουλίου','Αυγούστου','Σεπτεμβρίου','Οκτωβρίου','Νοεμβρίου','Δεκεμβρίου']],[['Ι','Φ','Μ','Α','Μ','Ι','Ι','Α','Σ','Ο','Ν','Δ'],['Ιαν','Φεβ','Μάρ','Απρ','Μάι','Ιούν','Ιούλ','Αύγ','Σεπ','Οκτ','Νοέ','Δεκ'],['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος','Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος']],[['π.Χ.','μ.Χ.'],u,['προ Χριστού','μετά Χριστόν']],1,[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,'{1} - {0}',u],[',','.',';','%','+','-','e','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'EUR','€','Ευρώ',{GRD:['Δρχ'],JPY:['JP¥','¥'],THB:['฿']},'ltr', plural_el]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_en_AU = [ - 'en-AU', - [['am', 'pm'], u, u], - u, - [ - ['Su.', 'M.', 'Tu.', 'W.', 'Th.', 'F.', 'Sa.'], - ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - ['Su', 'Mon', 'Tu', 'Wed', 'Th', 'Fri', 'Sat'] - ], - u, - [ - ['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' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 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, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'AUD', - '$', - 'Australian Dollar', - { - 'AUD': ['$'], - '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'], - 'SCR': ['Rs'], - 'SEK': [u, 'Kr'], - 'TWD': [u, '$'], - 'USD': [u, '$'], - 'UYU': [u, '$U'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [], - 'XPF': ['CFP'] - }, - 'ltr', - plural_en_AU -]; +export const locale_en_AU = ['en-AU',[['am','pm'],u,u],u,[['Su.','M.','Tu.','W.','Th.','F.','Sa.'],['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],['Su','Mon','Tu','Wed','Th','Fri','Sat']],u,[['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']],u,[['B','A'],['BC','AD'],['Before Christ','Anno Domini']],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,"{1} 'at' {0}",u],['.',',',';','%','+','-','e','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'AUD','$','Australian Dollar',{AUD:['$'],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'],SCR:['Rs'],SEK:[u,'Kr'],TWD:[u,'$'],USD:[u,'$'],UYU:[u,'$U'],VND:[u,'₫'],XAF:[],XCD:[u,'$'],XOF:[],XPF:['CFP']},'ltr', plural_en_AU]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_en_CA = [ - 'en-CA', - [['am', 'pm'], ['a.m.', 'p.m.'], u], - [['a.m.', 'pm'], ['a.m.', 'p.m.'], u], - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['y-MM-dd', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'CAD', - '$', - 'Canadian Dollar', - {'CAD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural_en_CA -]; +export const locale_en_CA = ['en-CA',[['am','pm'],['a.m.','p.m.'],u],[['a.m.','pm'],['a.m.','p.m.'],u],[['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']],u,[['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']],u,[['B','A'],['BC','AD'],['Before Christ','Anno Domini']],0,[6,0],['y-MM-dd','MMM d, y','MMMM d, y','EEEE, MMMM d, y'],['h:mm a','h:mm:ss a','h:mm:ss a z','h:mm:ss a zzzz'],['{1}, {0}',u,"{1} 'at' {0}",u],['.',',',';','%','+','-','e','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'CAD','$','Canadian Dollar',{CAD:['$'],JPY:['JP¥','¥'],USD:['US$','$']},'ltr', plural_en_CA]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_en_GB = [ - 'en-GB', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 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'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'GBP', - '£', - 'British Pound', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural_en_GB -]; +export const locale_en_GB = ['en-GB',[['a','p'],['am','pm'],u],[['am','pm'],u,u],[['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']],u,[['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']],u,[['B','A'],['BC','AD'],['Before Christ','Anno Domini']],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'],['{1}, {0}',u,"{1} 'at' {0}",u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'GBP','£','British Pound',{JPY:['JP¥','¥'],USD:['US$','$']},'ltr', plural_en_GB]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_en_IE = [ - 'en-IE', - [['a', 'p'], ['am', 'pm'], ['a.m.', 'p.m.']], - [['am', 'pm'], u, u], - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 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'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural_en_IE -]; +export const locale_en_IE = ['en-IE',[['a','p'],['am','pm'],['a.m.','p.m.']],[['am','pm'],u,u],[['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']],u,[['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']],u,[['B','A'],['BC','AD'],['Before Christ','Anno Domini']],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'],['{1}, {0}',u,"{1} 'at' {0}",u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'EUR','€','Euro',{JPY:['JP¥','¥'],USD:['US$','$']},'ltr', plural_en_IE]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_en_IN = [ - 'en-IN', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [0, 0], - ['dd/MM/yy', 'dd-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} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '#E0'], - 'INR', - '₹', - 'Indian Rupee', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural_en_IN -]; +export const locale_en_IN = ['en-IN',[['a','p'],['am','pm'],u],[['am','pm'],u,u],[['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']],u,[['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']],u,[['B','A'],['BC','AD'],['Before Christ','Anno Domini']],0,[0,0],['dd/MM/yy','dd-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} 'at' {0}",u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##,##0.###','#,##,##0%','¤#,##,##0.00','#E0'],'INR','₹','Indian Rupee',{JPY:['JP¥','¥'],USD:['US$','$']},'ltr', plural_en_IN]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_en_SG = [ - 'en-SG', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 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, '{1} \'at\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'SGD', - '$', - 'Singapore Dollar', - {'JPY': ['JP¥', '¥'], 'SGD': ['$'], 'USD': ['US$', '$']}, - 'ltr', - plural_en_SG -]; +export const locale_en_SG = ['en-SG',[['a','p'],['am','pm'],u],[['am','pm'],u,u],[['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']],u,[['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']],u,[['B','A'],['BC','AD'],['Before Christ','Anno Domini']],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,"{1} 'at' {0}",u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'SGD','$','Singapore Dollar',{JPY:['JP¥','¥'],SGD:['$'],USD:['US$','$']},'ltr', plural_en_SG]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_en_ZA = [ - 'en-ZA', - [['a', 'p'], ['am', 'pm'], u], - [['am', 'pm'], u, u], - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['y/MM/dd', 'dd MMM y', 'dd MMMM y', 'EEEE, dd MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'at\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ZAR', - 'R', - 'South African Rand', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'ZAR': ['R']}, - 'ltr', - plural_en_ZA -]; +export const locale_en_ZA = ['en-ZA',[['a','p'],['am','pm'],u],[['am','pm'],u,u],[['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']],u,[['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']],u,[['B','A'],['BC','AD'],['Before Christ','Anno Domini']],0,[6,0],['y/MM/dd','dd MMM y','dd MMMM y','EEEE, dd MMMM y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1}, {0}',u,"{1} 'at' {0}",u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'ZAR','R','South African Rand',{JPY:['JP¥','¥'],USD:['US$','$'],ZAR:['R']},'ltr', plural_en_ZA]; function plural_es(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_es = [ - 'es', - [['a. m.', 'p. m.'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss (zzzz)'], - ['{1} {0}', u, '{1}, {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CNY': [u, '¥'], - 'EGP': [], - 'ESP': ['₧'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural_es -]; +export const locale_es = ['es',[['a. m.','p. m.'],u,u],u,[['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']],u,[['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']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],1,[6,0],['d/M/yy','d MMM y',"d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],['H:mm','H:mm:ss','H:mm:ss z','H:mm:ss (zzzz)'],['{1} {0}',u,'{1}, {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'EUR','€','euro',{AUD:[u,'$'],BRL:[u,'R$'],CNY:[u,'¥'],EGP:[],ESP:['₧'],GBP:[u,'£'],HKD:[u,'$'],ILS:[u,'₪'],INR:[u,'₹'],JPY:[u,'¥'],KRW:[u,'₩'],MXN:[u,'$'],NZD:[u,'$'],RON:[u,'L'],THB:['฿'],TWD:[u,'NT$'],USD:['US$','$'],XAF:[],XCD:[u,'$'],XOF:[]},'ltr', plural_es]; function plural_es_419(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_es_419 = [ - 'es-419', - [['a. m.', 'p. m.'], ['a.m.', 'p.m.'], u], - u, - [ - ['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' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 1, - [6, 0], - ['d/M/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], - 'EUR', - 'EUR', - 'euro', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'ESP': ['₧'], - '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, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural_es_419 -]; +export const locale_es_419 = ['es-419',[['a. m.','p. m.'],['a.m.','p.m.'],u],u,[['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']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],1,[6,0],['d/M/yy','d MMM y',"d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,"{1} 'a' 'las' {0}",u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'EUR','EUR','euro',{AUD:[u,'$'],BRL:[u,'R$'],CAD:[u,'$'],CNY:[u,'¥'],ESP:['₧'],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,'₫'],XAF:[],XCD:[u,'$'],XOF:[]},'ltr', plural_es_419]; function plural_es_MX(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_es_MX = [ - 'es-MX', - [['a. m.', 'p. m.'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 0, - [6, 0], - ['dd/MM/yy', 'd MMM y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1} {0}', u, '{1} \'a\' \'las\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], - 'MXN', - '$', - 'peso mexicano', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'BYN': [u, 'p.'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'ESP': ['₧'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MRO': ['MRU'], - 'MRU': ['UM'], - 'MXN': ['$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural_es_MX -]; +export const locale_es_MX = ['es-MX',[['a. m.','p. m.'],u,u],u,[['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']],u,[['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']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],0,[6,0],['dd/MM/yy','d MMM y',"d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],['H:mm','H:mm:ss','H:mm:ss z','H:mm:ss zzzz'],['{1} {0}',u,"{1} 'a' 'las' {0}",u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'MXN','$','peso mexicano',{AUD:[u,'$'],BRL:[u,'R$'],BYN:[u,'p.'],CAD:[u,'$'],CNY:[u,'¥'],ESP:['₧'],EUR:[u,'€'],GBP:[u,'£'],HKD:[u,'$'],ILS:[u,'₪'],INR:[u,'₹'],JPY:[u,'¥'],KRW:[u,'₩'],MRO:['MRU'],MRU:['UM'],MXN:['$'],NZD:[u,'$'],TWD:[u,'NT$'],USD:[u,'$'],VND:[u,'₫'],XAF:[],XCD:[u,'$'],XOF:[]},'ltr', plural_es_MX]; function plural_es_US(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_es_US = [ - 'es-US', - [['a. m.', 'p. m.'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['a. C.', 'd. C.'], u, ['antes de Cristo', 'después de Cristo']], - 0, - [6, 0], - ['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], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'dólar estadounidense', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'BYN': [u, 'p.'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'ESP': ['₧'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [] - }, - 'ltr', - plural_es_US -]; +export const locale_es_US = ['es-US',[['a. m.','p. m.'],u,u],u,[['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']],u,[['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']],u,[['a. C.','d. C.'],u,['antes de Cristo','después de Cristo']],0,[6,0],['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],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤#,##0.00','#E0'],'USD','$','dólar estadounidense',{AUD:[u,'$'],BRL:[u,'R$'],BYN:[u,'p.'],CAD:[u,'$'],CNY:[u,'¥'],ESP:['₧'],EUR:[u,'€'],GBP:[u,'£'],HKD:[u,'$'],ILS:[u,'₪'],INR:[u,'₹'],KRW:[u,'₩'],MXN:[u,'$'],NZD:[u,'$'],TWD:[u,'NT$'],VND:[u,'₫'],XAF:[],XCD:[u,'$'],XOF:[]},'ltr', plural_es_US]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_et = [ - 'et', - [['AM', 'PM'], u, u], - u, - [ - ['P', 'E', 'T', 'K', 'N', 'R', 'L'], u, - ['pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev'], - ['P', 'E', 'T', 'K', 'N', 'R', 'L'] - ], - u, - [ - ['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' - ] - ], - u, - [['eKr', 'pKr'], u, ['enne Kristust', 'pärast Kristust']], - 1, - [6, 0], - ['dd.MM.yy', 'd. MMM 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], - [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - {'AUD': ['AU$', '$'], 'EEK': ['kr'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_et -]; +export const locale_et = ['et',[['AM','PM'],u,u],u,[['P','E','T','K','N','R','L'],u,['pühapäev','esmaspäev','teisipäev','kolmapäev','neljapäev','reede','laupäev'],['P','E','T','K','N','R','L']],u,[['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']],u,[['eKr','pKr'],u,['enne Kristust','pärast Kristust']],1,[6,0],['dd.MM.yy','d. MMM 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],[',',' ',';','%','+','−','×10^','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'EUR','€','euro',{AUD:['AU$','$'],EEK:['kr'],THB:['฿'],TWD:['NT$']},'ltr', plural_et]; function plural_eu(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_eu = [ - 'eu', - [['g', 'a'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['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.'] - ], - u, - [ - ['U', 'O', 'M', 'A', 'M', 'E', 'U', 'A', 'I', 'U', 'A', 'A'], - [ - 'urt.', 'ots.', 'mar.', 'api.', 'mai.', 'eka.', 'uzt.', 'abu.', 'ira.', 'urr.', 'aza.', 'abe.' - ], - [ - 'urtarrilak', 'otsailak', 'martxoak', 'apirilak', 'maiatzak', 'ekainak', 'uztailak', - 'abuztuak', 'irailak', 'urriak', 'azaroak', 'abenduak' - ] - ], - [ - ['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' - ] - ], - [['K.a.', 'K.o.'], u, ['K.a.', 'Kristo ondoren']], - 1, - [6, 0], - [ - 'yy/M/d', 'y(\'e\')\'ko\' MMM d(\'a\')', 'y(\'e\')\'ko\' MMMM\'ren\' d(\'a\')', - 'y(\'e\')\'ko\' MMMM\'ren\' d(\'a\'), 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'], - 'EUR', - '€', - 'euroa', - {'ESP': ['₧'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, - 'ltr', - plural_eu -]; +export const locale_eu = ['eu',[['g','a'],['AM','PM'],u],[['AM','PM'],u,u],[['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.']],u,[['U','O','M','A','M','E','U','A','I','U','A','A'],['urt.','ots.','mar.','api.','mai.','eka.','uzt.','abu.','ira.','urr.','aza.','abe.'],['urtarrilak','otsailak','martxoak','apirilak','maiatzak','ekainak','uztailak','abuztuak','irailak','urriak','azaroak','abenduak']],[['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']],[['K.a.','K.o.'],u,['K.a.','Kristo ondoren']],1,[6,0],['yy/M/d',"y('e')'ko' MMM d('a')","y('e')'ko' MMMM'ren' d('a')","y('e')'ko' MMMM'ren' d('a'), 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'],'EUR','€','euroa',{ESP:['₧'],JPY:['JP¥','¥'],THB:['฿'],TWD:['NT$'],USD:['US$','$']},'ltr', plural_eu]; function plural_fa(n: number): number { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; +const i = Math.floor(Math.abs(n)); + +if (i === 0 || n === 1) + return 1; +return 5; } -export const locale_fa = [ - 'fa', - [['ق', 'ب'], ['ق.ظ.', 'ب.ظ.'], ['قبل\u200cازظهر', 'بعدازظهر']], - u, - [ - ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], - ['یکشنبه', 'دوشنبه', 'سه\u200cشنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'], u, - ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'] - ], - u, - [ - ['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'], - [ - 'ژانویهٔ', 'فوریهٔ', 'مارس', 'آوریل', 'مهٔ', 'ژوئن', 'ژوئیهٔ', 'اوت', 'سپتامبر', 'اکتبر', - 'نوامبر', 'دسامبر' - ], - u - ], - [ - ['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'], - [ - 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', - 'نوامبر', 'دسامبر' - ], - u - ], - [['ق', 'م'], ['ق.م.', 'م.'], ['قبل از میلاد', 'میلادی']], - 6, - [5, 5], - ['y/M/d', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], - ['{1}،\u200f {0}', u, '{1}، ساعت {0}', u], - ['.', ',', ';', '%', '\u200e+', '\u200e−', 'E', '×', '‰', '∞', 'ناعدد', ':'], - ['#,##0.###', '#,##0%', '\u200e¤ #,##0.00', '#E0'], - 'IRR', - 'ریال', - 'ریال ایران', - { - 'AFN': ['؋'], - 'CAD': ['$CA', '$'], - 'CNY': ['¥CN', '¥'], - 'HKD': ['$HK', '$'], - 'IRR': ['ریال'], - 'MXN': ['$MX', '$'], - 'NZD': ['$NZ', '$'], - 'THB': ['฿'], - 'XCD': ['$EC', '$'] - }, - 'rtl', - plural_fa -]; +export const locale_fa = ['fa',[['ق','ب'],['ق.ظ.','ب.ظ.'],['قبل‌ازظهر','بعدازظهر']],u,[['ی','د','س','چ','پ','ج','ش'],['یکشنبه','دوشنبه','سه‌شنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],u,['۱ش','۲ش','۳ش','۴ش','۵ش','ج','ش']],u,[['ژ','ف','م','آ','م','ژ','ژ','ا','س','ا','ن','د'],['ژانویهٔ','فوریهٔ','مارس','آوریل','مهٔ','ژوئن','ژوئیهٔ','اوت','سپتامبر','اکتبر','نوامبر','دسامبر'],u],[['ژ','ف','م','آ','م','ژ','ژ','ا','س','ا','ن','د'],['ژانویه','فوریه','مارس','آوریل','مه','ژوئن','ژوئیه','اوت','سپتامبر','اکتبر','نوامبر','دسامبر'],u],[['ق','م'],['ق.م.','م.'],['قبل از میلاد','میلادی']],6,[5,5],['y/M/d','d MMM y','d MMMM y','EEEE d MMMM y'],['H:mm','H:mm:ss','H:mm:ss (z)','H:mm:ss (zzzz)'],['{1}،‏ {0}',u,'{1}، ساعت {0}',u],['.',',',';','%','‎+','‎−','E','×','‰','∞','ناعدد',':'],['#,##0.###','#,##0%','‎¤ #,##0.00','#E0'],'IRR','ریال','ریال ایران',{AFN:['؋'],CAD:['$CA','$'],CNY:['¥CN','¥'],HKD:['$HK','$'],IRR:['ریال'],MXN:['$MX','$'],NZD:['$NZ','$'],THB:['฿'],XCD:['$EC','$']},'rtl', plural_fa]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_fi = [ - 'fi', - [['ap.', 'ip.'], u, u], - u, - [ - ['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']], - 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], - [',', ' ', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'epäluku', '.'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - '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': [], - 'STN': [u, 'STD'], - 'SYP': [], - 'THB': [], - 'TOP': [], - 'TRY': [], - 'TTD': [], - 'TWD': [], - 'UAH': [], - 'UYU': [], - 'VEF': [], - 'VND': [], - 'XCD': [], - 'XPF': [], - 'XXX': [], - 'ZAR': [], - 'ZMW': [] - }, - 'ltr', - plural_fi -]; +export const locale_fi = ['fi',[['ap.','ip.'],u,u],u,[['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']],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],[',',' ',';','%','+','−','E','×','‰','∞','epäluku','.'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'EUR','€','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:[],STN:[u,'STD'],SYP:[],THB:[],TOP:[],TRY:[],TTD:[],TWD:[],UAH:[],UYU:[],VEF:[],VND:[],XCD:[],XPF:[],XXX:[],ZAR:[],ZMW:[]},'ltr', plural_fi]; function plural_fr(n: number): number { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; +const i = Math.floor(Math.abs(n)); + +if (i === 0 || i === 1) + return 1; +return 5; } -export const locale_fr = [ - 'fr', - [['AM', 'PM'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 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'], - ['{1} {0}', '{1} \'à\' {0}', u, u], - [',', '\u202f', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'ARS': ['$AR', '$'], - 'AUD': ['$AU', '$'], - 'BEF': ['FB'], - 'BMD': ['$BM', '$'], - 'BND': ['$BN', '$'], - 'BZD': ['$BZ', '$'], - 'CAD': ['$CA', '$'], - 'CLP': ['$CL', '$'], - 'CNY': [u, '¥'], - 'COP': ['$CO', '$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FJD': ['$FJ', '$'], - 'FKP': ['£FK', '£'], - 'FRF': ['F'], - 'GBP': ['£GB', '£'], - 'GIP': ['£GI', '£'], - 'HKD': [u, '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ITL': ['₤IT'], - 'JPY': [u, '¥'], - 'KMF': [u, 'FC'], - 'LBP': ['£LB', '£L'], - 'MTP': ['£MT'], - 'MXN': ['$MX', '$'], - 'NAD': ['$NA', '$'], - 'NIO': [u, '$C'], - 'NZD': ['$NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SBD': ['$SB', '$'], - 'SGD': ['$SG', '$'], - 'SRD': ['$SR', '$'], - 'TOP': [u, '$T'], - 'TTD': ['$TT', '$'], - 'TWD': [u, 'NT$'], - 'USD': ['$US', '$'], - 'UYU': ['$UY', '$'], - 'WST': ['$WS'], - 'XCD': [u, '$'], - 'XPF': ['FCFP'], - 'ZMW': [u, 'Kw'] - }, - 'ltr', - plural_fr -]; +export const locale_fr = ['fr',[['AM','PM'],u,u],u,[['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']],u,[['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']],u,[['av. J.-C.','ap. J.-C.'],u,['avant Jésus-Christ','après Jésus-Christ']],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'],['{1} {0}',"{1} 'à' {0}",u,u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'EUR','€','euro',{ARS:['$AR','$'],AUD:['$AU','$'],BEF:['FB'],BMD:['$BM','$'],BND:['$BN','$'],BZD:['$BZ','$'],CAD:['$CA','$'],CLP:['$CL','$'],CNY:[u,'¥'],COP:['$CO','$'],CYP:['£CY'],EGP:[u,'£E'],FJD:['$FJ','$'],FKP:['£FK','£'],FRF:['F'],GBP:['£GB','£'],GIP:['£GI','£'],HKD:[u,'$'],IEP:['£IE'],ILP:['£IL'],ITL:['₤IT'],JPY:[u,'¥'],KMF:[u,'FC'],LBP:['£LB','£L'],MTP:['£MT'],MXN:['$MX','$'],NAD:['$NA','$'],NIO:[u,'$C'],NZD:['$NZ','$'],RHD:['$RH'],RON:[u,'L'],RWF:[u,'FR'],SBD:['$SB','$'],SGD:['$SG','$'],SRD:['$SR','$'],TOP:[u,'$T'],TTD:['$TT','$'],TWD:[u,'NT$'],USD:['$US','$'],UYU:['$UY','$'],WST:['$WS'],XCD:[u,'$'],XPF:['FCFP'],ZMW:[u,'Kw']},'ltr', plural_fr]; function plural_fr_CA(n: number): number { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; +const i = Math.floor(Math.abs(n)); + +if (i === 0 || i === 1) + return 1; +return 5; } -export const locale_fr_CA = [ - 'fr-CA', - [['a', 'p'], ['a.m.', 'p.m.'], u], - [['a.m.', 'p.m.'], u, u], - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['av. J.-C.', 'ap. J.-C.'], u, ['avant Jésus-Christ', 'après Jésus-Christ']], - 0, - [6, 0], - ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - [ - 'HH \'h\' mm', 'HH \'h\' mm \'min\' ss \'s\'', 'HH \'h\' mm \'min\' ss \'s\' z', - 'HH \'h\' mm \'min\' ss \'s\' zzzz' - ], - ['{1} {0}', u, '{1} \'à\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'CAD', - '$', - 'dollar canadien', - { - 'AUD': ['$ AU', '$'], - 'BEF': ['FB'], - 'BYN': [u, 'Br'], - 'CAD': ['$'], - 'CYP': ['£CY'], - 'EGP': [u, '£E'], - 'FRF': ['F'], - 'GEL': [], - 'HKD': ['$ HK', '$'], - 'IEP': ['£IE'], - 'ILP': ['£IL'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'ITL': ['₤IT'], - 'KRW': [u, '₩'], - 'LBP': [u, '£L'], - 'MTP': ['£MT'], - 'MXN': [u, '$'], - 'NZD': ['$ NZ', '$'], - 'RHD': ['$RH'], - 'RON': [u, 'L'], - 'RWF': [u, 'FR'], - 'SGD': ['$ SG', '$'], - 'TOP': [u, '$T'], - 'TWD': [u, 'NT$'], - 'USD': ['$ US', '$'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [], - 'XPF': [] - }, - 'ltr', - plural_fr_CA -]; +export const locale_fr_CA = ['fr-CA',[['a','p'],['a.m.','p.m.'],u],[['a.m.','p.m.'],u,u],[['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']],u,[['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']],u,[['av. J.-C.','ap. J.-C.'],u,['avant Jésus-Christ','après Jésus-Christ']],0,[6,0],['y-MM-dd','d MMM y','d MMMM y','EEEE d MMMM y'],["HH 'h' mm","HH 'h' mm 'min' ss 's'","HH 'h' mm 'min' ss 's' z","HH 'h' mm 'min' ss 's' zzzz"],['{1} {0}',u,"{1} 'à' {0}",u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'CAD','$','dollar canadien',{AUD:['$ AU','$'],BEF:['FB'],BYN:[u,'Br'],CAD:['$'],CYP:['£CY'],EGP:[u,'£E'],FRF:['F'],GEL:[],HKD:['$ HK','$'],IEP:['£IE'],ILP:['£IL'],ILS:[u,'₪'],INR:[u,'₹'],ITL:['₤IT'],KRW:[u,'₩'],LBP:[u,'£L'],MTP:['£MT'],MXN:[u,'$'],NZD:['$ NZ','$'],RHD:['$RH'],RON:[u,'L'],RWF:[u,'FR'],SGD:['$ SG','$'],TOP:[u,'$T'],TWD:[u,'NT$'],USD:['$ US','$'],VND:[u,'₫'],XAF:[],XCD:[u,'$'],XOF:[],XPF:[]},'ltr', plural_fr_CA]; 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; + +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; } -export const locale_ga = [ - 'ga', - [['r.n.', 'i.n.'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['RC', 'AD'], u, ['Roimh Chríost', 'Anno Domini']], - 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'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - {'THB': ['฿'], 'TWD': ['NT$'], 'XXX': []}, - 'ltr', - plural_ga -]; +export const locale_ga = ['ga',[['r.n.','i.n.'],u,u],u,[['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']],u,[['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']],u,[['RC','AD'],u,['Roimh Chríost','Anno Domini']],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'],['{1} {0}',u,u,u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'EUR','€','Euro',{THB:['฿'],TWD:['NT$'],XXX:[]},'ltr', plural_ga]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_gl = [ - 'gl', - [['a.m.', 'p.m.'], u, u], - u, - [ - ['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á.'] - ], - [ - ['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' - ] - ], - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'despois de Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'd \'de\' MMM \'de\' y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{0}, {1}', u, '{0} \'do\' {1}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'BYN': [u, 'Br'], - 'ESP': ['₧'], - 'JPY': ['JP¥', '¥'], - 'KMF': [u, 'FC'], - 'MXN': ['$MX', '$'], - 'RUB': [u, 'руб'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'XCD': [u, '$'] - }, - 'ltr', - plural_gl -]; +export const locale_gl = ['gl',[['a.m.','p.m.'],u,u],u,[['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á.']],[['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']],[['a.C.','d.C.'],u,['antes de Cristo','despois de Cristo']],1,[6,0],['dd/MM/yy',"d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{0}, {1}',u,"{0} 'do' {1}",u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'EUR','€','euro',{BYN:[u,'Br'],ESP:['₧'],JPY:['JP¥','¥'],KMF:[u,'FC'],MXN:['$MX','$'],RUB:[u,'руб'],THB:['฿'],TWD:['NT$'],XCD:[u,'$']},'ltr', plural_gl]; function plural_gsw(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_gsw = [ - 'gsw', - [['vorm.', 'nam.'], u, ['am Vormittag', 'am Namittag']], - [['vorm.', 'nam.'], u, ['Vormittag', 'Namittag']], - [ - ['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.'] - ], - u, - [ - ['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' - ] - ], - 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], - ['.', '’', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'CHF', - 'CHF', - 'Schwiizer Franke', - {'ATS': ['öS']}, - 'ltr', - plural_gsw -]; +export const locale_gsw = ['gsw',[['vorm.','nam.'],u,['am Vormittag','am Namittag']],[['vorm.','nam.'],u,['Vormittag','Namittag']],[['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.']],u,[['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']],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],['.','’',';','%','+','−','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'CHF','CHF','Schwiizer Franke',{ATS:['öS']},'ltr', plural_gsw]; function plural_gu(n: number): number { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; +const i = Math.floor(Math.abs(n)); + +if (i === 0 || n === 1) + return 1; +return 5; } -export const locale_gu = [ - 'gu', - [['AM', 'PM'], u, u], - u, - [ - ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], ['રવિ', 'સોમ', 'મંગળ', 'બુધ', 'ગુરુ', 'શુક્ર', 'શનિ'], - ['રવિવાર', 'સોમવાર', 'મંગળવાર', 'બુધવાર', 'ગુરુવાર', 'શુક્રવાર', 'શનિવાર'], - ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'] - ], - u, - [ - ['જા', 'ફે', 'મા', 'એ', 'મે', 'જૂ', 'જુ', 'ઑ', 'સ', 'ઑ', 'ન', 'ડિ'], - ['જાન્યુ', 'ફેબ્રુ', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટે', 'ઑક્ટો', 'નવે', 'ડિસે'], - [ - 'જાન્યુઆરી', 'ફેબ્રુઆરી', 'માર્ચ', 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટેમ્બર', 'ઑક્ટોબર', 'નવેમ્બર', - 'ડિસેમ્બર' - ] - ], - u, - [['ઇ સ પુ', 'ઇસ'], ['ઈ.સ.પૂર્વે', 'ઈ.સ.'], ['ઈસવીસન પૂર્વે', 'ઇસવીસન']], - 0, - [0, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['hh:mm a', 'hh:mm:ss a', 'hh:mm:ss a z', 'hh:mm:ss a zzzz'], - ['{1} {0}', u, '{1} એ {0} વાગ્યે', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '[#E0]'], - 'INR', - '₹', - 'ભારતીય રૂપિયા', - {'JPY': ['JP¥', '¥'], 'MUR': [u, 'રૂ.'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, - 'ltr', - plural_gu -]; +export const locale_gu = ['gu',[['AM','PM'],u,u],u,[['ર','સો','મં','બુ','ગુ','શુ','શ'],['રવિ','સોમ','મંગળ','બુધ','ગુરુ','શુક્ર','શનિ'],['રવિવાર','સોમવાર','મંગળવાર','બુધવાર','ગુરુવાર','શુક્રવાર','શનિવાર'],['ર','સો','મં','બુ','ગુ','શુ','શ']],u,[['જા','ફે','મા','એ','મે','જૂ','જુ','ઑ','સ','ઑ','ન','ડિ'],['જાન્યુ','ફેબ્રુ','માર્ચ','એપ્રિલ','મે','જૂન','જુલાઈ','ઑગસ્ટ','સપ્ટે','ઑક્ટો','નવે','ડિસે'],['જાન્યુઆરી','ફેબ્રુઆરી','માર્ચ','એપ્રિલ','મે','જૂન','જુલાઈ','ઑગસ્ટ','સપ્ટેમ્બર','ઑક્ટોબર','નવેમ્બર','ડિસેમ્બર']],u,[['ઇ સ પુ','ઇસ'],['ઈ.સ.પૂર્વે','ઈ.સ.'],['ઈસવીસન પૂર્વે','ઇસવીસન']],0,[0,0],['d/M/yy','d MMM, y','d MMMM, y','EEEE, d MMMM, y'],['hh:mm a','hh:mm:ss a','hh:mm:ss a z','hh:mm:ss a zzzz'],['{1} {0}',u,'{1} એ {0} વાગ્યે',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##,##0.###','#,##,##0%','¤#,##,##0.00','[#E0]'],'INR','₹','ભારતીય રૂપિયા',{JPY:['JP¥','¥'],MUR:[u,'રૂ.'],THB:['฿'],TWD:['NT$'],USD:['US$','$']},'ltr', plural_gu]; function plural_haw(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_haw = [ - 'haw', - [['AM', 'PM'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - 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], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'USD', - '$', - 'USD', - {'JPY': ['JP¥', '¥']}, - 'ltr', - plural_haw -]; +export const locale_haw = ['haw',[['AM','PM'],u,u],u,[['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']],u,[['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']],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],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'USD','$','USD',{JPY:['JP¥','¥']},'ltr', plural_haw]; function plural_hi(n: number): number { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; +const i = Math.floor(Math.abs(n)); + +if (i === 0 || n === 1) + return 1; +return 5; } -export const locale_hi = [ - 'hi', - [['am', 'pm'], u, u], - u, - [ - ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], - ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'], - ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'] - ], - u, - [ - ['ज', 'फ़', 'मा', 'अ', 'म', 'जू', 'जु', 'अ', 'सि', 'अ', 'न', 'दि'], - ['जन॰', 'फ़र॰', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुल॰', 'अग॰', 'सित॰', 'अक्तू॰', 'नव॰', 'दिस॰'], - [ - 'जनवरी', 'फ़रवरी', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितंबर', 'अक्तूबर', 'नवंबर', - 'दिसंबर' - ] - ], - u, - [['ईसा-पूर्व', 'ईस्वी'], u, ['ईसा-पूर्व', 'ईसवी सन']], - 0, - [0, 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, '{1} को {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤#,##,##0.00', '[#E0]'], - 'INR', - '₹', - 'भारतीय रुपया', - {'JPY': ['JP¥', '¥'], 'RON': [u, 'लेई'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_hi -]; +export const locale_hi = ['hi',[['am','pm'],u,u],u,[['र','सो','मं','बु','गु','शु','श'],['रवि','सोम','मंगल','बुध','गुरु','शुक्र','शनि'],['रविवार','सोमवार','मंगलवार','बुधवार','गुरुवार','शुक्रवार','शनिवार'],['र','सो','मं','बु','गु','शु','श']],u,[['ज','फ़','मा','अ','म','जू','जु','अ','सि','अ','न','दि'],['जन॰','फ़र॰','मार्च','अप्रैल','मई','जून','जुल॰','अग॰','सित॰','अक्तू॰','नव॰','दिस॰'],['जनवरी','फ़रवरी','मार्च','अप्रैल','मई','जून','जुलाई','अगस्त','सितंबर','अक्तूबर','नवंबर','दिसंबर']],u,[['ईसा-पूर्व','ईस्वी'],u,['ईसा-पूर्व','ईसवी सन']],0,[0,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,'{1} को {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##,##0.###','#,##,##0%','¤#,##,##0.00','[#E0]'],'INR','₹','भारतीय रुपया',{JPY:['JP¥','¥'],RON:[u,'लेई'],THB:['฿'],TWD:['NT$']},'ltr', plural_hi]; 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)) +const 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; +return 5; } -export const locale_hr = [ - 'hr', - [['AM', 'PM'], u, u], - u, - [ - ['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.'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss (zzzz)'], - ['{1} {0}', u, '{1} \'u\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'HRK', - 'HRK', - 'hrvatska kuna', - { - '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, '$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural_hr -]; +export const locale_hr = ['hr',[['AM','PM'],u,u],u,[['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.'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss (zzzz)'],['{1} {0}',u,"{1} 'u' {0}",u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'HRK','HRK','hrvatska kuna',{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,'$'],XPF:[],XXX:[]},'ltr', plural_hr]; function plural_hu(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_hu = [ - 'hu', - [['de.', 'du.'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - 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], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'HUF', - 'Ft', - 'magyar forint', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'HUF': ['Ft'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XCD': [u, '$'] - }, - 'ltr', - plural_hu -]; +export const locale_hu = ['hu',[['de.','du.'],u,u],u,[['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']],u,[['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']],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],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'HUF','Ft','magyar forint',{AUD:[u,'$'],BRL:[u,'R$'],CAD:[u,'$'],CNY:[u,'¥'],EUR:[u,'€'],GBP:[u,'£'],HKD:[u,'$'],HUF:['Ft'],ILS:[u,'₪'],INR:[u,'₹'],KRW:[u,'₩'],MXN:[u,'$'],NZD:[u,'$'],TWD:[u,'NT$'],USD:[u,'$'],VND:[u,'₫'],XCD:[u,'$']},'ltr', plural_hu]; function plural_hy(n: number): number { - let i = Math.floor(Math.abs(n)); - if (i === 0 || i === 1) return 1; - return 5; +const i = Math.floor(Math.abs(n)); + +if (i === 0 || i === 1) + return 1; +return 5; } -export const locale_hy = [ - 'hy', - [['ա', 'հ'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['Կ', 'Ե', 'Ե', 'Չ', 'Հ', 'Ո', 'Շ'], ['կիր', 'երկ', 'երք', 'չրք', 'հնգ', 'ուր', 'շբթ'], - ['կիրակի', 'երկուշաբթի', 'երեքշաբթի', 'չորեքշաբթի', 'հինգշաբթի', 'ուրբաթ', 'շաբաթ'], - ['կր', 'եկ', 'եք', 'չք', 'հգ', 'ու', 'շբ'] - ], - u, - [ - ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], - ['հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', 'հոկ', 'նոյ', 'դեկ'], - [ - 'հունվարի', 'փետրվարի', 'մարտի', 'ապրիլի', 'մայիսի', 'հունիսի', 'հուլիսի', 'օգոստոսի', - 'սեպտեմբերի', 'հոկտեմբերի', 'նոյեմբերի', 'դեկտեմբերի' - ] - ], - [ - ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], - ['հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', 'հոկ', 'նոյ', 'դեկ'], - [ - 'հունվար', 'փետրվար', 'մարտ', 'ապրիլ', 'մայիս', 'հունիս', 'հուլիս', 'օգոստոս', 'սեպտեմբեր', - 'հոկտեմբեր', 'նոյեմբեր', 'դեկտեմբեր' - ] - ], - [['մ.թ.ա.', 'մ.թ.'], u, ['Քրիստոսից առաջ', 'Քրիստոսից հետո']], - 1, - [6, 0], - ['dd.MM.yy', 'dd MMM, y թ.', 'dd MMMM, y թ.', 'y թ. MMMM d, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ՈչԹ', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'AMD', - '֏', - 'հայկական դրամ', - {'AMD': ['֏'], 'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_hy -]; +export const locale_hy = ['hy',[['ա','հ'],['AM','PM'],u],[['AM','PM'],u,u],[['Կ','Ե','Ե','Չ','Հ','Ո','Շ'],['կիր','երկ','երք','չրք','հնգ','ուր','շբթ'],['կիրակի','երկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'],['կր','եկ','եք','չք','հգ','ու','շբ']],u,[['Հ','Փ','Մ','Ա','Մ','Հ','Հ','Օ','Ս','Հ','Ն','Դ'],['հնվ','փտվ','մրտ','ապր','մյս','հնս','հլս','օգս','սեպ','հոկ','նոյ','դեկ'],['հունվարի','փետրվարի','մարտի','ապրիլի','մայիսի','հունիսի','հուլիսի','օգոստոսի','սեպտեմբերի','հոկտեմբերի','նոյեմբերի','դեկտեմբերի']],[['Հ','Փ','Մ','Ա','Մ','Հ','Հ','Օ','Ս','Հ','Ն','Դ'],['հնվ','փտվ','մրտ','ապր','մյս','հնս','հլս','օգս','սեպ','հոկ','նոյ','դեկ'],['հունվար','փետրվար','մարտ','ապրիլ','մայիս','հունիս','հուլիս','օգոստոս','սեպտեմբեր','հոկտեմբեր','նոյեմբեր','դեկտեմբեր']],[['մ.թ.ա.','մ.թ.'],u,['Քրիստոսից առաջ','Քրիստոսից հետո']],1,[6,0],['dd.MM.yy','dd MMM, y թ.','dd MMMM, y թ.','y թ. MMMM d, EEEE'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1}, {0}',u,u,u],[',',' ',';','%','+','-','E','×','‰','∞','ՈչԹ',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'AMD','֏','հայկական դրամ',{AMD:['֏'],JPY:['JP¥','¥'],THB:['฿'],TWD:['NT$']},'ltr', plural_hy]; function plural_in(n: number): number { - return 5; +return 5; } -export const locale_in = [ - 'id', - [['AM', 'PM'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agu', 'Sep', 'Okt', 'Nov', 'Des'], - [ - 'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', - 'Oktober', 'November', 'Desember' - ] - ], - u, - [['SM', 'M'], u, ['Sebelum Masehi', 'Masehi']], - 0, - [6, 0], - ['dd/MM/yy', 'd MMM y', 'd MMMM y', 'EEEE, dd MMMM y'], - ['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'], - 'IDR', - 'Rp', - 'Rupiah Indonesia', - { - 'AUD': ['AU$', '$'], - 'IDR': ['Rp'], - 'INR': ['Rs', '₹'], - 'JPY': ['JP¥', '¥'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural_in -]; +export const locale_in = ['id',[['AM','PM'],u,u],u,[['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']],u,[['J','F','M','A','M','J','J','A','S','O','N','D'],['Jan','Feb','Mar','Apr','Mei','Jun','Jul','Agu','Sep','Okt','Nov','Des'],['Januari','Februari','Maret','April','Mei','Juni','Juli','Agustus','September','Oktober','November','Desember']],u,[['SM','M'],u,['Sebelum Masehi','Masehi']],0,[6,0],['dd/MM/yy','d MMM y','d MMMM y','EEEE, dd MMMM y'],['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'],'IDR','Rp','Rupiah Indonesia',{AUD:['AU$','$'],IDR:['Rp'],INR:['Rs','₹'],JPY:['JP¥','¥'],THB:['฿'],TWD:['NT$'],USD:['US$','$'],XXX:[]},'ltr', plural_in]; 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; +const 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; } -export const locale_is = [ - 'is', - [['f.', 'e.'], ['f.h.', 'e.h.'], u], - [['f.h.', 'e.h.'], u, u], - [ - ['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.'] - ], - u, - [ - ['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' - ] - ], - u, - [['f.k.', 'e.k.'], ['f.Kr.', 'e.Kr.'], ['fyrir Krist', 'eftir Krist']], - 1, - [6, 0], - ['d.M.y', 'd. MMM 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} \'kl\'. {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'ISK', - 'ISK', - 'íslensk króna', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'INR': [u, '₹'], - 'JPY': ['JP¥', '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural_is -]; +export const locale_is = ['is',[['f.','e.'],['f.h.','e.h.'],u],[['f.h.','e.h.'],u,u],[['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.']],u,[['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']],u,[['f.k.','e.k.'],['f.Kr.','e.Kr.'],['fyrir Krist','eftir Krist']],1,[6,0],['d.M.y','d. MMM 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} 'kl'. {0}",u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'ISK','ISK','íslensk króna',{AUD:[u,'$'],BRL:[u,'R$'],CAD:[u,'$'],EUR:[u,'€'],GBP:[u,'£'],INR:[u,'₹'],JPY:['JP¥','¥'],KRW:[u,'₩'],MXN:[u,'$'],NZD:[u,'$'],TWD:[u,'NT$'],USD:[u,'$'],VND:[u,'₫']},'ltr', plural_is]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_it = [ - 'it', - [['m.', 'p.'], ['AM', 'PM'], u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['aC', 'dC'], ['a.C.', 'd.C.'], ['avanti Cristo', 'dopo Cristo']], - 1, - [6, 0], - ['dd/MM/yy', 'd MMM 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} {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'BRL': [u, 'R$'], - 'BYN': [u, 'Br'], - 'EGP': [u, '£E'], - 'HKD': [u, '$'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NOK': [u, 'NKr'], - 'THB': ['฿'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'] - }, - 'ltr', - plural_it -]; +export const locale_it = ['it',[['m.','p.'],['AM','PM'],u],u,[['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']],u,[['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']],u,[['aC','dC'],['a.C.','d.C.'],['avanti Cristo','dopo Cristo']],1,[6,0],['dd/MM/yy','d MMM 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} {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'EUR','€','euro',{BRL:[u,'R$'],BYN:[u,'Br'],EGP:[u,'£E'],HKD:[u,'$'],JPY:[u,'¥'],KRW:[u,'₩'],MXN:[u,'$'],NOK:[u,'NKr'],THB:['฿'],TWD:[u,'NT$'],USD:[u,'$']},'ltr', plural_it]; 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; +const 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; } -export const locale_iw = [ - 'he', - [['לפנה״צ', 'אחה״צ'], u, u], - [['לפנה״צ', 'אחה״צ'], ['AM', 'PM'], u], - [ - ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], - ['יום א׳', 'יום ב׳', 'יום ג׳', 'יום ד׳', 'יום ה׳', 'יום ו׳', 'שבת'], - ['יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום שישי', 'יום שבת'], - ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳'], - [ - 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', - 'נובמבר', 'דצמבר' - ] - ], - u, - [['לפנה״ס', 'לספירה'], u, ['לפני הספירה', 'לספירה']], - 0, - [5, 6], - ['d.M.y', 'd בMMM y', 'd בMMMM y', 'EEEE, d בMMMM y'], - ['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'], - ['{1}, {0}', u, '{1} בשעה {0}', u], - ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '\u200f#,##0.00 ¤;\u200f-#,##0.00 ¤', '#E0'], - 'ILS', - '₪', - 'שקל חדש', - {'BYN': [u, 'р'], 'CNY': ['\u200eCN¥\u200e', '¥'], 'ILP': ['ל״י'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'rtl', - plural_iw -]; +export const locale_iw = ['he',[['לפנה״צ','אחה״צ'],u,u],[['לפנה״צ','אחה״צ'],['AM','PM'],u],[['א׳','ב׳','ג׳','ד׳','ה׳','ו׳','ש׳'],['יום א׳','יום ב׳','יום ג׳','יום ד׳','יום ה׳','יום ו׳','שבת'],['יום ראשון','יום שני','יום שלישי','יום רביעי','יום חמישי','יום שישי','יום שבת'],['א׳','ב׳','ג׳','ד׳','ה׳','ו׳','ש׳']],u,[['1','2','3','4','5','6','7','8','9','10','11','12'],['ינו׳','פבר׳','מרץ','אפר׳','מאי','יוני','יולי','אוג׳','ספט׳','אוק׳','נוב׳','דצמ׳'],['ינואר','פברואר','מרץ','אפריל','מאי','יוני','יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר']],u,[['לפנה״ס','לספירה'],u,['לפני הספירה','לספירה']],0,[5,6],['d.M.y','d בMMM y','d בMMMM y','EEEE, d בMMMM y'],['H:mm','H:mm:ss','H:mm:ss z','H:mm:ss zzzz'],['{1}, {0}',u,'{1} בשעה {0}',u],['.',',',';','%','‎+','‎-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','‏#,##0.00 ¤;‏-#,##0.00 ¤','#E0'],'ILS','₪','שקל חדש',{BYN:[u,'р'],CNY:['‎CN¥‎','¥'],ILP:['ל״י'],THB:['฿'],TWD:['NT$']},'rtl', plural_iw]; function plural_ja(n: number): number { - return 5; +return 5; } -export const locale_ja = [ - 'ja', - [['午前', '午後'], u, u], - u, - [ - ['日', '月', '火', '水', '木', '金', '土'], u, - ['日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日'], - ['日', '月', '火', '水', '木', '金', '土'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u - ], - 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], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'JPY', - '¥', - '日本円', - {'CNY': ['元', '¥'], 'JPY': ['¥'], 'RON': [u, 'レイ'], 'XXX': []}, - 'ltr', - plural_ja -]; +export const locale_ja = ['ja',[['午前','午後'],u,u],u,[['日','月','火','水','木','金','土'],u,['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],['日','月','火','水','木','金','土']],u,[['1','2','3','4','5','6','7','8','9','10','11','12'],['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],u],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],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'JPY','¥','日本円',{CNY:['元','¥'],JPY:['¥'],RON:[u,'レイ'],XXX:[]},'ltr', plural_ja]; function plural_ka(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_ka = [ - 'ka', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['კ', 'ო', 'ს', 'ო', 'ხ', 'პ', 'შ'], ['კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'], - ['კვირა', 'ორშაბათი', 'სამშაბათი', 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', 'შაბათი'], - ['კვ', 'ორ', 'სმ', 'ოთ', 'ხთ', 'პრ', 'შბ'] - ], - u, - [ - ['ი', 'თ', 'მ', 'ა', 'მ', 'ი', 'ი', 'ა', 'ს', 'ო', 'ნ', 'დ'], - ['იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ'], - [ - 'იანვარი', 'თებერვალი', 'მარტი', 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', 'აგვისტო', - 'სექტემბერი', 'ოქტომბერი', 'ნოემბერი', 'დეკემბერი' - ] - ], - u, - [['ძვ. წ.', 'ახ. წ.'], u, ['ძველი წელთაღრიცხვით', 'ახალი წელთაღრიცხვით']], - 1, - [6, 0], - ['dd.MM.yy', 'd MMM. y', 'd MMMM, y', 'EEEE, dd MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'არ არის რიცხვი', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'GEL', - '₾', - 'ქართული ლარი', - { - 'AUD': [u, '$'], - 'CNY': [u, '¥'], - 'GEL': ['₾'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural_ka -]; +export const locale_ka = ['ka',[['a','p'],['AM','PM'],u],[['AM','PM'],u,u],[['კ','ო','ს','ო','ხ','პ','შ'],['კვი','ორშ','სამ','ოთხ','ხუთ','პარ','შაბ'],['კვირა','ორშაბათი','სამშაბათი','ოთხშაბათი','ხუთშაბათი','პარასკევი','შაბათი'],['კვ','ორ','სმ','ოთ','ხთ','პრ','შბ']],u,[['ი','თ','მ','ა','მ','ი','ი','ა','ს','ო','ნ','დ'],['იან','თებ','მარ','აპრ','მაი','ივნ','ივლ','აგვ','სექ','ოქტ','ნოე','დეკ'],['იანვარი','თებერვალი','მარტი','აპრილი','მაისი','ივნისი','ივლისი','აგვისტო','სექტემბერი','ოქტომბერი','ნოემბერი','დეკემბერი']],u,[['ძვ. წ.','ახ. წ.'],u,['ძველი წელთაღრიცხვით','ახალი წელთაღრიცხვით']],1,[6,0],['dd.MM.yy','d MMM. y','d MMMM, y','EEEE, dd MMMM, y'],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1}, {0}',u,u,u],[',',' ',';','%','+','-','E','×','‰','∞','არ არის რიცხვი',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'GEL','₾','ქართული ლარი',{AUD:[u,'$'],CNY:[u,'¥'],GEL:['₾'],HKD:[u,'$'],ILS:[u,'₪'],INR:[u,'₹'],JPY:[u,'¥'],KRW:[u,'₩'],NZD:[u,'$'],TWD:['NT$'],USD:['US$','$'],VND:[u,'₫']},'ltr', plural_ka]; function plural_kk(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_kk = [ - 'kk', - [['AM', 'PM'], u, u], - u, - [ - ['Ж', 'Д', 'С', 'С', 'Б', 'Ж', 'С'], ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'], - ['жексенбі', 'дүйсенбі', 'сейсенбі', 'сәрсенбі', 'бейсенбі', 'жұма', 'сенбі'], - ['жс', 'дс', 'сс', 'ср', 'бс', 'жм', 'сб'] - ], - u, - [ - ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], - [ - 'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', 'қыр.', 'қаз.', 'қар.', 'жел.' - ], - [ - 'қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', 'шілде', 'тамыз', 'қыркүйек', - 'қазан', 'қараша', 'желтоқсан' - ] - ], - [ - ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], - [ - 'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', 'қыр.', 'қаз.', 'қар.', 'жел.' - ], - [ - 'Қаңтар', 'Ақпан', 'Наурыз', 'Сәуір', 'Мамыр', 'Маусым', 'Шілде', 'Тамыз', 'Қыркүйек', - 'Қазан', 'Қараша', 'Желтоқсан' - ] - ], - [['б.з.д.', 'б.з.'], u, ['Біздің заманымызға дейін', 'біздің заманымыз']], - 1, - [6, 0], - ['dd.MM.yy', 'y \'ж\'. dd MMM', 'y \'ж\'. d MMMM', 'y \'ж\'. d MMMM, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'сан емес', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'KZT', - '₸', - 'Қазақстан теңгесі', - {'JPY': ['JP¥', '¥'], 'KZT': ['₸'], 'RUB': ['₽'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_kk -]; +export const locale_kk = ['kk',[['AM','PM'],u,u],u,[['Ж','Д','С','С','Б','Ж','С'],['жс','дс','сс','ср','бс','жм','сб'],['жексенбі','дүйсенбі','сейсенбі','сәрсенбі','бейсенбі','жұма','сенбі'],['жс','дс','сс','ср','бс','жм','сб']],u,[['Қ','А','Н','С','М','М','Ш','Т','Қ','Қ','Қ','Ж'],['қаң.','ақп.','нау.','сәу.','мам.','мау.','шіл.','там.','қыр.','қаз.','қар.','жел.'],['қаңтар','ақпан','наурыз','сәуір','мамыр','маусым','шілде','тамыз','қыркүйек','қазан','қараша','желтоқсан']],[['Қ','А','Н','С','М','М','Ш','Т','Қ','Қ','Қ','Ж'],['қаң.','ақп.','нау.','сәу.','мам.','мау.','шіл.','там.','қыр.','қаз.','қар.','жел.'],['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым','Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан']],[['б.з.д.','б.з.'],u,['Біздің заманымызға дейін','біздің заманымыз']],1,[6,0],['dd.MM.yy',"y 'ж'. dd MMM","y 'ж'. d MMMM","y 'ж'. d MMMM, EEEE"],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1}, {0}',u,u,u],[',',' ',';','%','+','-','E','×','‰','∞','сан емес',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'KZT','₸','Қазақстан теңгесі',{JPY:['JP¥','¥'],KZT:['₸'],RUB:['₽'],THB:['฿'],TWD:['NT$']},'ltr', plural_kk]; function plural_km(n: number): number { - return 5; +return 5; } -export const locale_km = [ - 'km', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', 'សុក្រ', 'សៅរ៍'], - ['អាទិត្យ', 'ច័ន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'], ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'] - ], - [ - ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហ', 'សុក្រ', 'សៅរ៍'], - ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'], ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'] - ], - [ - ['ម', 'ក', 'ម', 'ម', 'ឧ', 'ម', 'ក', 'ស', 'ក', 'ត', 'វ', 'ធ'], - ['មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', 'តុលា', 'វិច្ឆិកា', 'ធ្នូ'], 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, '{1} នៅ​ម៉ោង {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00¤', '#E0'], - 'KHR', - '៛', - 'រៀល​កម្ពុជា', - {'JPY': ['JP¥', '¥'], 'KHR': ['៛'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_km -]; +export const locale_km = ['km',[['a','p'],['AM','PM'],u],[['AM','PM'],u,u],[['អ','ច','អ','ព','ព','ស','ស'],['អាទិត្យ','ចន្ទ','អង្គារ','ពុធ','ព្រហ','សុក្រ','សៅរ៍'],['អាទិត្យ','ច័ន្ទ','អង្គារ','ពុធ','ព្រហស្បតិ៍','សុក្រ','សៅរ៍'],['អា','ច','អ','ពុ','ព្រ','សុ','ស']],[['អ','ច','អ','ព','ព','ស','ស'],['អាទិត្យ','ចន្ទ','អង្គារ','ពុធ','ព្រហ','សុក្រ','សៅរ៍'],['អាទិត្យ','ចន្ទ','អង្គារ','ពុធ','ព្រហស្បតិ៍','សុក្រ','សៅរ៍'],['អា','ច','អ','ពុ','ព្រ','សុ','ស']],[['ម','ក','ម','ម','ឧ','ម','ក','ស','ក','ត','វ','ធ'],['មករា','កុម្ភៈ','មីនា','មេសា','ឧសភា','មិថុនា','កក្កដា','សីហា','កញ្ញា','តុលា','វិច្ឆិកា','ធ្នូ'],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,'{1} នៅ​ម៉ោង {0}',u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00¤','#E0'],'KHR','៛','រៀល​កម្ពុជា',{JPY:['JP¥','¥'],KHR:['៛'],THB:['฿'],TWD:['NT$']},'ltr', plural_km]; function plural_kn(n: number): number { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; +const i = Math.floor(Math.abs(n)); + +if (i === 0 || n === 1) + return 1; +return 5; } -export const locale_kn = [ - 'kn', - [['ಪೂ', 'ಅ'], ['ಪೂರ್ವಾಹ್ನ', 'ಅಪರಾಹ್ನ'], u], - [['ಪೂರ್ವಾಹ್ನ', 'ಅಪರಾಹ್ನ'], u, u], - [ - ['ಭಾ', 'ಸೋ', 'ಮಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'], - ['ಭಾನುವಾರ', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', 'ಬುಧವಾರ', 'ಗುರುವಾರ', 'ಶುಕ್ರವಾರ', 'ಶನಿವಾರ'], - ['ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', 'ಶುಕ್ರ', 'ಶನಿ'] - ], - u, - [ - ['ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'], - ['ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ'], - [ - 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', - 'ಡಿಸೆಂಬರ್' - ] - ], - [ - ['ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', 'ನ', 'ಡಿ'], - ['ಜನ', 'ಫೆಬ್ರ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', 'ನವೆಂ', 'ಡಿಸೆಂ'], - [ - 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', - 'ಡಿಸೆಂಬರ್' - ] - ], - [['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], u, ['ಕ್ರಿಸ್ತ ಪೂರ್ವ', 'ಕ್ರಿಸ್ತ ಶಕ']], - 0, - [0, 0], - ['d/M/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['hh:mm a', 'hh:mm:ss a', 'hh:mm:ss a z', 'hh:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'INR', - '₹', - 'ಭಾರತೀಯ ರೂಪಾಯಿ', - {'JPY': ['JP¥', '¥'], 'RON': [u, 'ಲೀ'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_kn -]; +export const locale_kn = ['kn',[['ಪೂ','ಅ'],['ಪೂರ್ವಾಹ್ನ','ಅಪರಾಹ್ನ'],u],[['ಪೂರ್ವಾಹ್ನ','ಅಪರಾಹ್ನ'],u,u],[['ಭಾ','ಸೋ','ಮಂ','ಬು','ಗು','ಶು','ಶ'],['ಭಾನು','ಸೋಮ','ಮಂಗಳ','ಬುಧ','ಗುರು','ಶುಕ್ರ','ಶನಿ'],['ಭಾನುವಾರ','ಸೋಮವಾರ','ಮಂಗಳವಾರ','ಬುಧವಾರ','ಗುರುವಾರ','ಶುಕ್ರವಾರ','ಶನಿವಾರ'],['ಭಾನು','ಸೋಮ','ಮಂಗಳ','ಬುಧ','ಗುರು','ಶುಕ್ರ','ಶನಿ']],u,[['ಜ','ಫೆ','ಮಾ','ಏ','ಮೇ','ಜೂ','ಜು','ಆ','ಸೆ','ಅ','ನ','ಡಿ'],['ಜನವರಿ','ಫೆಬ್ರವರಿ','ಮಾರ್ಚ್','ಏಪ್ರಿ','ಮೇ','ಜೂನ್','ಜುಲೈ','ಆಗ','ಸೆಪ್ಟೆಂ','ಅಕ್ಟೋ','ನವೆಂ','ಡಿಸೆಂ'],['ಜನವರಿ','ಫೆಬ್ರವರಿ','ಮಾರ್ಚ್','ಏಪ್ರಿಲ್','ಮೇ','ಜೂನ್','ಜುಲೈ','ಆಗಸ್ಟ್','ಸೆಪ್ಟೆಂಬರ್','ಅಕ್ಟೋಬರ್','ನವೆಂಬರ್','ಡಿಸೆಂಬರ್']],[['ಜ','ಫೆ','ಮಾ','ಏ','ಮೇ','ಜೂ','ಜು','ಆ','ಸೆ','ಅ','ನ','ಡಿ'],['ಜನ','ಫೆಬ್ರ','ಮಾರ್ಚ್','ಏಪ್ರಿ','ಮೇ','ಜೂನ್','ಜುಲೈ','ಆಗ','ಸೆಪ್ಟೆಂ','ಅಕ್ಟೋ','ನವೆಂ','ಡಿಸೆಂ'],['ಜನವರಿ','ಫೆಬ್ರವರಿ','ಮಾರ್ಚ್','ಏಪ್ರಿಲ್','ಮೇ','ಜೂನ್','ಜುಲೈ','ಆಗಸ್ಟ್','ಸೆಪ್ಟೆಂಬರ್','ಅಕ್ಟೋಬರ್','ನವೆಂಬರ್','ಡಿಸೆಂಬರ್']],[['ಕ್ರಿ.ಪೂ','ಕ್ರಿ.ಶ'],u,['ಕ್ರಿಸ್ತ ಪೂರ್ವ','ಕ್ರಿಸ್ತ ಶಕ']],0,[0,0],['d/M/yy','MMM d, y','MMMM d, y','EEEE, MMMM d, y'],['hh:mm a','hh:mm:ss a','hh:mm:ss a z','hh:mm:ss a zzzz'],['{1} {0}',u,u,u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'INR','₹','ಭಾರತೀಯ ರೂಪಾಯಿ',{JPY:['JP¥','¥'],RON:[u,'ಲೀ'],THB:['฿'],TWD:['NT$']},'ltr', plural_kn]; function plural_ko(n: number): number { - return 5; +return 5; } -export const locale_ko = [ - 'ko', - [['AM', 'PM'], u, ['오전', '오후']], - u, - [ - ['일', '월', '화', '수', '목', '금', '토'], u, - ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'], - ['일', '월', '화', '수', '목', '금', '토'] - ], - u, - [['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], u, u], - u, - [['BC', 'AD'], u, ['기원전', '서기']], - 0, - [6, 0], - ['yy. M. d.', 'y. M. d.', 'y년 M월 d일', 'y년 M월 d일 EEEE'], - ['a h:mm', 'a h:mm:ss', 'a h시 m분 s초 z', 'a h시 m분 s초 zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'KRW', - '₩', - '대한민국 원', - {'AUD': ['AU$', '$'], 'JPY': ['JP¥', '¥'], 'RON': [u, 'L'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, - 'ltr', - plural_ko -]; +export const locale_ko = ['ko',[['AM','PM'],u,['오전','오후']],u,[['일','월','화','수','목','금','토'],u,['일요일','월요일','화요일','수요일','목요일','금요일','토요일'],['일','월','화','수','목','금','토']],u,[['1월','2월','3월','4월','5월','6월','7월','8월','9월','10월','11월','12월'],u,u],u,[['BC','AD'],u,['기원전','서기']],0,[6,0],['yy. M. d.','y. M. d.','y년 M월 d일','y년 M월 d일 EEEE'],['a h:mm','a h:mm:ss','a h시 m분 s초 z','a h시 m분 s초 zzzz'],['{1} {0}',u,u,u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'KRW','₩','대한민국 원',{AUD:['AU$','$'],JPY:['JP¥','¥'],RON:[u,'L'],TWD:['NT$'],USD:['US$','$']},'ltr', plural_ko]; function plural_ky(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_ky = [ - 'ky', - [['тң', 'тк'], u, ['таңкы', 'түштөн кийинки']], - u, - [ - ['Ж', 'Д', 'Ш', 'Ш', 'Б', 'Ж', 'И'], - ['жек.', 'дүй.', 'шейш.', 'шарш.', 'бейш.', 'жума', 'ишм.'], - ['жекшемби', 'дүйшөмбү', 'шейшемби', 'шаршемби', 'бейшемби', 'жума', 'ишемби'], - ['жш.', 'дш.', 'шш.', 'шр.', 'бш.', 'жм.', 'иш.'] - ], - u, - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - ['янв.', 'фев.', 'мар.', 'апр.', 'май', 'июн.', 'июл.', 'авг.', 'сен.', 'окт.', 'ноя.', 'дек.'], - [ - 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', 'июль', 'август', 'сентябрь', 'октябрь', - 'ноябрь', 'декабрь' - ] - ], - [ - ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], - ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'], - [ - 'Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', - 'Ноябрь', 'Декабрь' - ] - ], - [['б.з.ч.', 'б.з.'], u, ['биздин заманга чейин', 'биздин заман']], - 1, - [6, 0], - ['d/M/yy', 'y-\'ж\'., d-MMM', 'y-\'ж\'., d-MMMM', 'y-\'ж\'., d-MMMM, EEEE'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'сан эмес', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'KGS', - 'сом', - 'Кыргызстан сому', - { - '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$'], - 'JPY': ['JP¥', '¥'], - 'KGS': ['сом'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'THB': ['฿'], - 'TTD': [u, 'TT$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'XCD': [u, '$'] - }, - 'ltr', - plural_ky -]; +export const locale_ky = ['ky',[['тң','тк'],u,['таңкы','түштөн кийинки']],u,[['Ж','Д','Ш','Ш','Б','Ж','И'],['жек.','дүй.','шейш.','шарш.','бейш.','жума','ишм.'],['жекшемби','дүйшөмбү','шейшемби','шаршемби','бейшемби','жума','ишемби'],['жш.','дш.','шш.','шр.','бш.','жм.','иш.']],u,[['Я','Ф','М','А','М','И','И','А','С','О','Н','Д'],['янв.','фев.','мар.','апр.','май','июн.','июл.','авг.','сен.','окт.','ноя.','дек.'],['январь','февраль','март','апрель','май','июнь','июль','август','сентябрь','октябрь','ноябрь','декабрь']],[['Я','Ф','М','А','М','И','И','А','С','О','Н','Д'],['Янв','Фев','Мар','Апр','Май','Июн','Июл','Авг','Сен','Окт','Ноя','Дек'],['Январь','Февраль','Март','Апрель','Май','Июнь','Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь']],[['б.з.ч.','б.з.'],u,['биздин заманга чейин','биздин заман']],1,[6,0],['d/M/yy',"y-'ж'., d-MMM","y-'ж'., d-MMMM","y-'ж'., d-MMMM, EEEE"],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,u,u],[',',' ',';','%','+','-','E','×','‰','∞','сан эмес',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'KGS','сом','Кыргызстан сому',{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$'],JPY:['JP¥','¥'],KGS:['сом'],KRW:[u,'₩'],MXN:[u,'$'],NZD:[u,'$'],THB:['฿'],TTD:[u,'TT$'],TWD:[u,'NT$'],USD:[u,'$'],XCD:[u,'$']},'ltr', plural_ky]; function plural_ln(n: number): number { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; + +if (n === Math.floor(n) && (n >= 0 && n <= 1)) + return 1; +return 5; } -export const locale_ln = [ - 'ln', - [['ntɔ́ngɔ́', 'mpókwa'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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é' - ] - ], - u, - [['libóso ya', 'nsima ya Y'], u, ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís']], - 1, - [6, 0], - ['d/M/y', 'd MMM 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], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'CDF', - 'FC', - 'Falánga ya Kongó', - {'CDF': ['FC'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural_ln -]; +export const locale_ln = ['ln',[['ntɔ́ngɔ́','mpókwa'],u,u],u,[['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']],u,[['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é']],u,[['libóso ya','nsima ya Y'],u,['Yambo ya Yézu Krís','Nsima ya Yézu Krís']],1,[6,0],['d/M/y','d MMM 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],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'CDF','FC','Falánga ya Kongó',{CDF:['FC'],JPY:['JP¥','¥'],USD:['US$','$']},'ltr', plural_ln]; function plural_lo(n: number): number { - return 5; +return 5; } -export const locale_lo = [ - 'lo', - [['ກ່ອນທ່ຽງ', 'ຫຼັງທ່ຽງ'], u, u], - u, - [ - ['ອາ', 'ຈ', 'ອ', 'ພ', 'ພຫ', 'ສຸ', 'ສ'], ['ອາທິດ', 'ຈັນ', 'ອັງຄານ', 'ພຸດ', 'ພະຫັດ', 'ສຸກ', 'ເສົາ'], - ['ວັນອາທິດ', 'ວັນຈັນ', 'ວັນອັງຄານ', 'ວັນພຸດ', 'ວັນພະຫັດ', 'ວັນສຸກ', 'ວັນເສົາ'], - ['ອາ.', 'ຈ.', 'ອ.', 'ພ.', 'ພຫ.', 'ສຸ.', 'ສ.'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - [ - 'ມ.ກ.', 'ກ.ພ.', 'ມ.ນ.', 'ມ.ສ.', 'ພ.ພ.', 'ມິ.ຖ.', 'ກ.ລ.', 'ສ.ຫ.', 'ກ.ຍ.', 'ຕ.ລ.', 'ພ.ຈ.', 'ທ.ວ.' - ], - [ - 'ມັງກອນ', 'ກຸມພາ', 'ມີນາ', 'ເມສາ', 'ພຶດສະພາ', 'ມິຖຸນາ', 'ກໍລະກົດ', 'ສິງຫາ', 'ກັນຍາ', 'ຕຸລາ', 'ພະຈິກ', - 'ທັນວາ' - ] - ], - u, - [['ກ່ອນ ຄ.ສ.', 'ຄ.ສ.'], u, ['ກ່ອນຄຣິດສັກກະລາດ', 'ຄຣິດສັກກະລາດ']], - 0, - [6, 0], - ['d/M/y', 'd MMM y', 'd MMMM y', 'EEEE ທີ d MMMM G y'], - ['H:mm', 'H:mm:ss', 'H ໂມງ m ນາທີ ss ວິນາທີ z', 'H ໂມງ m ນາທີ ss ວິນາທີ zzzz'], - ['{1}, {0}', u, u, u], - [ - ',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', - 'ບໍ່​ແມ່ນ​ໂຕ​ເລກ', ':' - ], - ['#,##0.###', '#,##0%', '¤#,##0.00;¤-#,##0.00', '#'], - 'LAK', - '₭', - 'ລາວ ກີບ', - {'JPY': ['JP¥', '¥'], 'LAK': ['₭'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$']}, - 'ltr', - plural_lo -]; +export const locale_lo = ['lo',[['ກ່ອນທ່ຽງ','ຫຼັງທ່ຽງ'],u,u],u,[['ອາ','ຈ','ອ','ພ','ພຫ','ສຸ','ສ'],['ອາທິດ','ຈັນ','ອັງຄານ','ພຸດ','ພະຫັດ','ສຸກ','ເສົາ'],['ວັນອາທິດ','ວັນຈັນ','ວັນອັງຄານ','ວັນພຸດ','ວັນພະຫັດ','ວັນສຸກ','ວັນເສົາ'],['ອາ.','ຈ.','ອ.','ພ.','ພຫ.','ສຸ.','ສ.']],u,[['1','2','3','4','5','6','7','8','9','10','11','12'],['ມ.ກ.','ກ.ພ.','ມ.ນ.','ມ.ສ.','ພ.ພ.','ມິ.ຖ.','ກ.ລ.','ສ.ຫ.','ກ.ຍ.','ຕ.ລ.','ພ.ຈ.','ທ.ວ.'],['ມັງກອນ','ກຸມພາ','ມີນາ','ເມສາ','ພຶດສະພາ','ມິຖຸນາ','ກໍລະກົດ','ສິງຫາ','ກັນຍາ','ຕຸລາ','ພະຈິກ','ທັນວາ']],u,[['ກ່ອນ ຄ.ສ.','ຄ.ສ.'],u,['ກ່ອນຄຣິດສັກກະລາດ','ຄຣິດສັກກະລາດ']],0,[6,0],['d/M/y','d MMM y','d MMMM y','EEEE ທີ d MMMM G y'],['H:mm','H:mm:ss','H ໂມງ m ນາທີ ss ວິນາທີ z','H ໂມງ m ນາທີ ss ວິນາທີ zzzz'],['{1}, {0}',u,u,u],[',','.',';','%','+','-','E','×','‰','∞','ບໍ່​ແມ່ນ​ໂຕ​ເລກ',':'],['#,##0.###','#,##0%','¤#,##0.00;¤-#,##0.00','#'],'LAK','₭','ລາວ ກີບ',{JPY:['JP¥','¥'],LAK:['₭'],THB:['฿'],TWD:['NT$'],USD:['US$','$']},'ltr', plural_lo]; 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)) +const 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; +if (!(f === 0)) + return 4; +return 5; } -export const locale_lt = [ - 'lt', - [['pr. p.', 'pop.'], ['priešpiet', 'popiet'], u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - [['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], - [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'Euras', - { - 'AUD': [u, '$'], - 'BDT': [], - 'BRL': [u, 'R$'], - 'BYN': [u, 'Br'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [], - 'INR': [], - 'JPY': [u, '¥'], - 'KHR': [], - 'KRW': [u, '₩'], - 'LAK': [], - 'MNT': [], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'PLN': [u, 'zl'], - 'PYG': [u, 'Gs'], - 'RUB': [u, 'rb'], - 'TWD': [u, '$'], - 'USD': [u, '$'], - 'VND': [], - 'XAF': [], - 'XCD': [u, '$'], - 'XOF': [], - 'XPF': [] - }, - 'ltr', - plural_lt -]; +export const locale_lt = ['lt',[['pr. p.','pop.'],['priešpiet','popiet'],u],u,[['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']],u,[['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']],[['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],[',',' ',';','%','+','−','×10^','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'EUR','€','Euras',{AUD:[u,'$'],BDT:[],BRL:[u,'R$'],BYN:[u,'Br'],CAD:[u,'$'],CNY:[u,'¥'],GBP:[u,'£'],HKD:[u,'$'],ILS:[],INR:[],JPY:[u,'¥'],KHR:[],KRW:[u,'₩'],LAK:[],MNT:[],MXN:[u,'$'],NZD:[u,'$'],PLN:[u,'zl'],PYG:[u,'Gs'],RUB:[u,'rb'],TWD:[u,'$'],USD:[u,'$'],VND:[],XAF:[],XCD:[u,'$'],XOF:[],XPF:[]},'ltr', plural_lt]; 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) +const 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) +if (n % 10 === 1 && !(n % 100 === 11) || (v === 2 && (f % 10 === 1 && !(f % 100 === 11)) || !(v === 2) && f % 10 === 1)) return 1; - return 5; +return 5; } -export const locale_lv = [ - 'lv', - [['priekšp.', 'pēcp.'], u, ['priekšpusdienā', 'pēcpusdienā']], - [['priekšp.', 'pēcpusd.'], u, ['priekšpusdiena', 'pēcpusdiena']], - [ - ['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' - ] - ], - u, - [['p.m.ē.', 'm.ē.'], u, ['pirms mūsu ēras', 'mūsu ērā']], - 1, - [6, 0], - ['dd.MM.yy', 'y. \'gada\' d. MMM', 'y. \'gada\' d. MMMM', 'EEEE, y. \'gada\' d. MMMM'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NS', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'eiro', - {'AUD': ['AU$', '$'], 'LVL': ['Ls'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_lv -]; +export const locale_lv = ['lv',[['priekšp.','pēcp.'],u,['priekšpusdienā','pēcpusdienā']],[['priekšp.','pēcpusd.'],u,['priekšpusdiena','pēcpusdiena']],[['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']],u,[['p.m.ē.','m.ē.'],u,['pirms mūsu ēras','mūsu ērā']],1,[6,0],['dd.MM.yy',"y. 'gada' d. MMM","y. 'gada' d. MMMM","EEEE, y. 'gada' d. MMMM"],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1} {0}',u,u,u],[',',' ',';','%','+','-','E','×','‰','∞','NS',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'EUR','€','eiro',{AUD:['AU$','$'],LVL:['Ls'],THB:['฿'],TWD:['NT$']},'ltr', plural_lv]; 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; - if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1; - return 5; +const 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; +return 5; } -export const locale_mk = [ - 'mk', - [['претпл.', 'попл.'], u, ['претпладне', 'попладне']], - u, - [ - ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нед.', 'пон.', 'вт.', 'сре.', 'чет.', 'пет.', 'саб.'], - ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота'], - ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'] - ], - [ - ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'], - ['недела', 'понеделник', 'вторник', 'среда', 'четврток', 'петок', 'сабота'], - ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'] - ], - [ - ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], - [ - 'јан.', 'фев.', 'мар.', 'апр.', 'мај', 'јун.', 'јул.', 'авг.', 'септ.', 'окт.', 'ноем.', - 'дек.' - ], - [ - 'јануари', 'февруари', 'март', 'април', 'мај', 'јуни', 'јули', 'август', 'септември', - 'октомври', 'ноември', 'декември' - ] - ], - u, - [['пр.н.е.', 'н.е.'], u, ['пред нашата ера', 'од нашата ера']], - 1, - [6, 0], - ['d.M.yy', 'd.M.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], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'MKD', - 'ден.', - 'Македонски денар', - { - 'AUD': [u, '$'], - 'CNY': [u, '¥'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MKD': ['ден.'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural_mk -]; +export const locale_mk = ['mk',[['претпл.','попл.'],u,['претпладне','попладне']],u,[['н','п','в','с','ч','п','с'],['нед.','пон.','вт.','сре.','чет.','пет.','саб.'],['недела','понеделник','вторник','среда','четврток','петок','сабота'],['нед.','пон.','вто.','сре.','чет.','пет.','саб.']],[['н','п','в','с','ч','п','с'],['нед.','пон.','вто.','сре.','чет.','пет.','саб.'],['недела','понеделник','вторник','среда','четврток','петок','сабота'],['нед.','пон.','вто.','сре.','чет.','пет.','саб.']],[['ј','ф','м','а','м','ј','ј','а','с','о','н','д'],['јан.','фев.','мар.','апр.','мај','јун.','јул.','авг.','септ.','окт.','ноем.','дек.'],['јануари','февруари','март','април','мај','јуни','јули','август','септември','октомври','ноември','декември']],u,[['пр.н.е.','н.е.'],u,['пред нашата ера','од нашата ера']],1,[6,0],['d.M.yy','d.M.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],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'MKD','ден.','Македонски денар',{AUD:[u,'$'],CNY:[u,'¥'],GBP:[u,'£'],HKD:[u,'$'],ILS:[u,'₪'],INR:[u,'₹'],JPY:[u,'¥'],KRW:[u,'₩'],MKD:['ден.'],NZD:[u,'$'],TWD:[u,'NT$'],USD:['US$','$'],VND:[u,'₫']},'ltr', plural_mk]; function plural_ml(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_ml = [ - 'ml', - [['AM', 'PM'], u, u], - u, - [ - ['ഞ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], - ['ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'], - [ - 'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', 'ചൊവ്വാഴ്ച', 'ബുധനാഴ്\u200cച', 'വ്യാഴാഴ്\u200cച', - 'വെള്ളിയാഴ്\u200cച', 'ശനിയാഴ്\u200cച' - ], - ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'] - ], - [ - ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], - ['ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'], - [ - 'ഞായറാഴ്\u200cച', 'തിങ്കളാഴ്\u200cച', 'ചൊവ്വാഴ്\u200cച', 'ബുധനാഴ്\u200cച', 'വ്യാഴാഴ്\u200cച', - 'വെള്ളിയാഴ്\u200cച', 'ശനിയാഴ്\u200cച' - ], - ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'] - ], - [ - ['ജ', 'ഫെ', 'മാ', 'ഏ', 'മെ', 'ജൂൺ', 'ജൂ', 'ഓ', 'സെ', 'ഒ', 'ന', 'ഡി'], - ['ജനു', 'ഫെബ്രു', 'മാർ', 'ഏപ്രി', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', 'ഓഗ', 'സെപ്റ്റം', 'ഒക്ടോ', 'നവം', 'ഡിസം'], - [ - 'ജനുവരി', 'ഫെബ്രുവരി', 'മാർച്ച്', 'ഏപ്രിൽ', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', 'ഓഗസ്റ്റ്', 'സെപ്റ്റംബർ', 'ഒക്\u200cടോബർ', - 'നവംബർ', 'ഡിസംബർ' - ] - ], - u, - [['ക്രി.മു.', 'എഡി'], u, ['ക്രിസ്\u200cതുവിന് മുമ്പ്', 'ആന്നോ ഡൊമിനി']], - 0, - [0, 0], - ['d/M/yy', 'y, MMM d', 'y, MMMM d', 'y, MMMM d, EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'INR', - '₹', - 'ഇന്ത്യൻ രൂപ', - {'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_ml -]; +export const locale_ml = ['ml',[['AM','PM'],u,u],u,[['ഞ','തി','ചൊ','ബു','വ്യാ','വെ','ശ'],['ഞായർ','തിങ്കൾ','ചൊവ്വ','ബുധൻ','വ്യാഴം','വെള്ളി','ശനി'],['ഞായറാഴ്‌ച','തിങ്കളാഴ്‌ച','ചൊവ്വാഴ്ച','ബുധനാഴ്‌ച','വ്യാഴാഴ്‌ച','വെള്ളിയാഴ്‌ച','ശനിയാഴ്‌ച'],['ഞാ','തി','ചൊ','ബു','വ്യാ','വെ','ശ']],[['ഞാ','തി','ചൊ','ബു','വ്യാ','വെ','ശ'],['ഞായർ','തിങ്കൾ','ചൊവ്വ','ബുധൻ','വ്യാഴം','വെള്ളി','ശനി'],['ഞായറാഴ്‌ച','തിങ്കളാഴ്‌ച','ചൊവ്വാഴ്‌ച','ബുധനാഴ്‌ച','വ്യാഴാഴ്‌ച','വെള്ളിയാഴ്‌ച','ശനിയാഴ്‌ച'],['ഞാ','തി','ചൊ','ബു','വ്യാ','വെ','ശ']],[['ജ','ഫെ','മാ','ഏ','മെ','ജൂൺ','ജൂ','ഓ','സെ','ഒ','ന','ഡി'],['ജനു','ഫെബ്രു','മാർ','ഏപ്രി','മേയ്','ജൂൺ','ജൂലൈ','ഓഗ','സെപ്റ്റം','ഒക്ടോ','നവം','ഡിസം'],['ജനുവരി','ഫെബ്രുവരി','മാർച്ച്','ഏപ്രിൽ','മേയ്','ജൂൺ','ജൂലൈ','ഓഗസ്റ്റ്','സെപ്റ്റംബർ','ഒക്‌ടോബർ','നവംബർ','ഡിസംബർ']],u,[['ക്രി.മു.','എഡി'],u,['ക്രിസ്‌തുവിന് മുമ്പ്','ആന്നോ ഡൊമിനി']],0,[0,0],['d/M/yy','y, MMM d','y, MMMM d','y, MMMM d, EEEE'],['h:mm a','h:mm:ss a','h:mm:ss a z','h:mm:ss a zzzz'],['{1} {0}',u,u,u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##,##0.###','#,##0%','¤#,##0.00','#E0'],'INR','₹','ഇന്ത്യൻ രൂപ',{THB:['฿'],TWD:['NT$']},'ltr', plural_ml]; function plural_mn(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_mn = [ - 'mn', - [['ү.ө.', 'ү.х.'], u, u], - u, - [ - ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], u, - ['ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', 'бямба'], - ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'] - ], - [ - ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], 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-р сар' - ], - [ - 'нэгдүгээр сар', 'хоёрдугаар сар', 'гуравдугаар сар', 'дөрөвдүгээр сар', 'тавдугаар сар', - 'зургаадугаар сар', 'долоодугаар сар', 'наймдугаар сар', 'есдүгээр сар', 'аравдугаар сар', - 'арван нэгдүгээр сар', 'арван хоёрдугаар сар' - ] - ], - [ - ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'], - [ - '1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', '7-р сар', '8-р сар', - '9-р сар', '10-р сар', '11-р сар', '12-р сар' - ], - [ - 'Нэгдүгээр сар', 'Хоёрдугаар сар', 'Гуравдугаар сар', 'Дөрөвдүгээр сар', 'Тавдугаар сар', - 'Зургаадугаар сар', 'Долоодугаар сар', 'Наймдугаар сар', 'Есдүгээр сар', 'Аравдугаар сар', - 'Арван нэгдүгээр сар', 'Арван хоёрдугаар сар' - ] - ], - [['МЭӨ', 'МЭ'], 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'], - 'MNT', - '₮', - 'Монгол төгрөг', - {'JPY': ['JP¥', '¥'], 'MNT': ['₮'], 'SEK': [u, 'кр'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_mn -]; +export const locale_mn = ['mn',[['ү.ө.','ү.х.'],u,u],u,[['Ня','Да','Мя','Лх','Пү','Ба','Бя'],u,['ням','даваа','мягмар','лхагва','пүрэв','баасан','бямба'],['Ня','Да','Мя','Лх','Пү','Ба','Бя']],[['Ня','Да','Мя','Лх','Пү','Ба','Бя'],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-р сар'],['нэгдүгээр сар','хоёрдугаар сар','гуравдугаар сар','дөрөвдүгээр сар','тавдугаар сар','зургаадугаар сар','долоодугаар сар','наймдугаар сар','есдүгээр сар','аравдугаар сар','арван нэгдүгээр сар','арван хоёрдугаар сар']],[['I','II','III','IV','V','VI','VII','VIII','IX','X','XI','XII'],['1-р сар','2-р сар','3-р сар','4-р сар','5-р сар','6-р сар','7-р сар','8-р сар','9-р сар','10-р сар','11-р сар','12-р сар'],['Нэгдүгээр сар','Хоёрдугаар сар','Гуравдугаар сар','Дөрөвдүгээр сар','Тавдугаар сар','Зургаадугаар сар','Долоодугаар сар','Наймдугаар сар','Есдүгээр сар','Аравдугаар сар','Арван нэгдүгээр сар','Арван хоёрдугаар сар']],[['МЭӨ','МЭ'],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'],'MNT','₮','Монгол төгрөг',{JPY:['JP¥','¥'],MNT:['₮'],SEK:[u,'кр'],THB:['฿'],TWD:['NT$']},'ltr', plural_mn]; 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) +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +if (!(v === 0) || (n === 0 || n % 100 === Math.floor(n % 100) && (n % 100 >= 2 && n % 100 <= 19))) return 3; - return 5; +return 5; } -export const locale_mo = [ - 'ro-MD', - [['a.m.', 'p.m.'], u, u], - u, - [ - ['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â'] - ], - u, - [ - ['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' - ] - ], - u, - [['î.Hr.', 'd.Hr.'], u, ['înainte de Hristos', 'după Hristos']], - 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'], - ['{1}, {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'MDL', - 'L', - 'leu moldovenesc', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'EUR': [u, '€'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MDL': ['L'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XCD': [u, '$'] - }, - 'ltr', - plural_mo -]; +export const locale_mo = ['ro-MD',[['a.m.','p.m.'],u,u],u,[['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â']],u,[['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']],u,[['î.Hr.','d.Hr.'],u,['înainte de Hristos','după Hristos']],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'],['{1}, {0}',u,u,u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'MDL','L','leu moldovenesc',{AUD:[u,'$'],BRL:[u,'R$'],CAD:[u,'$'],CNY:[u,'¥'],EUR:[u,'€'],GBP:[u,'£'],HKD:[u,'$'],ILS:[u,'₪'],INR:[u,'₹'],JPY:[u,'¥'],KRW:[u,'₩'],MDL:['L'],MXN:[u,'$'],NZD:[u,'$'],TWD:[u,'NT$'],USD:[u,'$'],VND:[u,'₫'],XCD:[u,'$']},'ltr', plural_mo]; function plural_mr(n: number): number { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_mr = [ - 'mr', - [['स', 'सं'], ['म.पू.', 'म.उ.'], u], - [['म.पू.', 'म.उ.'], u, u], - [ - ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], ['रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', 'शनि'], - ['रविवार', 'सोमवार', 'मंगळवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'], - ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'] - ], - u, - [ - ['जा', 'फे', 'मा', 'ए', 'मे', 'जू', 'जु', 'ऑ', 'स', 'ऑ', 'नो', 'डि'], - ['जाने', 'फेब्रु', 'मार्च', 'एप्रि', 'मे', 'जून', 'जुलै', 'ऑग', 'सप्टें', 'ऑक्टो', 'नोव्हें', 'डिसें'], - [ - 'जानेवारी', 'फेब्रुवारी', 'मार्च', 'एप्रिल', 'मे', 'जून', 'जुलै', 'ऑगस्ट', 'सप्टेंबर', 'ऑक्टोबर', 'नोव्हेंबर', - 'डिसेंबर' - ] - ], - u, - [['इ. स. पू.', 'इ. स.'], u, ['ईसवीसनपूर्व', 'ईसवीसन']], - 0, - [0, 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, '{1} रोजी {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##0%', '¤#,##0.00', '[#E0]'], - 'INR', - '₹', - 'भारतीय रुपया', - {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_mr -]; +export const locale_mr = ['mr',[['स','सं'],['म.पू.','म.उ.'],u],[['म.पू.','म.उ.'],u,u],[['र','सो','मं','बु','गु','शु','श'],['रवि','सोम','मंगळ','बुध','गुरु','शुक्र','शनि'],['रविवार','सोमवार','मंगळवार','बुधवार','गुरुवार','शुक्रवार','शनिवार'],['र','सो','मं','बु','गु','शु','श']],u,[['जा','फे','मा','ए','मे','जू','जु','ऑ','स','ऑ','नो','डि'],['जाने','फेब्रु','मार्च','एप्रि','मे','जून','जुलै','ऑग','सप्टें','ऑक्टो','नोव्हें','डिसें'],['जानेवारी','फेब्रुवारी','मार्च','एप्रिल','मे','जून','जुलै','ऑगस्ट','सप्टेंबर','ऑक्टोबर','नोव्हेंबर','डिसेंबर']],u,[['इ. स. पू.','इ. स.'],u,['ईसवीसनपूर्व','ईसवीसन']],0,[0,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,'{1} रोजी {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##,##0.###','#,##0%','¤#,##0.00','[#E0]'],'INR','₹','भारतीय रुपया',{JPY:['JP¥','¥'],THB:['฿'],TWD:['NT$']},'ltr', plural_mr]; function plural_ms(n: number): number { - return 5; +return 5; } -export const locale_ms = [ - 'ms', - [['a', 'p'], ['PG', 'PTG'], u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - 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], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'MYR', - 'RM', - 'Ringgit Malaysia', - { - 'CAD': [u, '$'], - 'JPY': ['JP¥', '¥'], - 'MXN': [u, '$'], - 'MYR': ['RM'], - 'TWD': ['NT$'], - 'USD': [u, '$'] - }, - 'ltr', - plural_ms -]; +export const locale_ms = ['ms',[['a','p'],['PG','PTG'],u],u,[['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']],u,[['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']],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],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'MYR','RM','Ringgit Malaysia',{CAD:[u,'$'],JPY:['JP¥','¥'],MXN:[u,'$'],MYR:['RM'],TWD:['NT$'],USD:[u,'$']},'ltr', plural_ms]; 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; + +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; } -export const locale_mt = [ - 'mt', - [['am', 'pm'], ['AM', 'PM'], u], - u, - [ - ['Ħ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' - ] - ], - [['QK', 'WK'], u, ['Qabel Kristu', 'Wara Kristu']], - 0, - [6, 0], - ['dd/MM/y', 'dd MMM y', 'd \'ta\'’ MMMM y', 'EEEE, d \'ta\'’ MMMM y'], - ['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'], - 'EUR', - '€', - 'ewro', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, - 'ltr', - plural_mt -]; +export const locale_mt = ['mt',[['am','pm'],['AM','PM'],u],u,[['Ħ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']],[['QK','WK'],u,['Qabel Kristu','Wara Kristu']],0,[6,0],['dd/MM/y','dd MMM y',"d 'ta'’ MMMM y","EEEE, d 'ta'’ MMMM y"],['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'],'EUR','€','ewro',{JPY:['JP¥','¥'],USD:['US$','$']},'ltr', plural_mt]; function plural_my(n: number): number { - return 5; +return 5; } -export const locale_my = [ - 'my', - [['နံနက်', 'ညနေ'], u, u], - u, - [ - ['တ', 'တ', 'အ', 'ဗ', 'က', 'သ', 'စ'], - ['တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ'], u, u - ], - u, - [ - ['ဇ', 'ဖ', 'မ', 'ဧ', 'မ', 'ဇ', 'ဇ', 'ဩ', 'စ', 'အ', 'န', 'ဒ'], - ['ဇန်', 'ဖေ', 'မတ်', 'ဧ', 'မေ', 'ဇွန်', 'ဇူ', 'ဩ', 'စက်', 'အောက်', 'နို', 'ဒီ'], - [ - 'ဇန်နဝါရီ', 'ဖေဖော်ဝါရီ', 'မတ်', 'ဧပြီ', 'မေ', 'ဇွန်', 'ဇူလိုင်', 'ဩဂုတ်', 'စက်တင်ဘာ', 'အောက်တိုဘာ', 'နိုဝင်ဘာ', - 'ဒီဇင်ဘာ' - ] - ], - u, - [['ဘီစီ', 'အဒေီ'], u, ['ခရစ်တော် မပေါ်မီနှစ်', 'ခရစ်နှစ်']], - 0, - [6, 0], - ['dd-MM-yy', 'y၊ MMM d', 'y၊ d MMMM', 'y၊ MMMM d၊ EEEE'], - ['B H:mm', 'B HH:mm:ss', 'z HH:mm:ss', 'zzzz HH:mm:ss'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'ဂဏန်းမဟုတ်သော', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'MMK', - 'K', - 'မြန်မာ ကျပ်', - { - 'ANG': ['NAf'], - 'AWG': ['Afl'], - 'BBD': [u, 'Bds$'], - 'BSD': [u, 'B$'], - 'HTG': ['G'], - 'JPY': ['JP¥', '¥'], - 'MMK': ['K'], - 'PAB': ['B/.'], - 'THB': ['฿'], - 'TTD': ['TT$', '$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural_my -]; +export const locale_my = ['my',[['နံနက်','ညနေ'],u,u],u,[['တ','တ','အ','ဗ','က','သ','စ'],['တနင်္ဂနွေ','တနင်္လာ','အင်္ဂါ','ဗုဒ္ဓဟူး','ကြာသပတေး','သောကြာ','စနေ'],u,u],u,[['ဇ','ဖ','မ','ဧ','မ','ဇ','ဇ','ဩ','စ','အ','န','ဒ'],['ဇန်','ဖေ','မတ်','ဧ','မေ','ဇွန်','ဇူ','ဩ','စက်','အောက်','နို','ဒီ'],['ဇန်နဝါရီ','ဖေဖော်ဝါရီ','မတ်','ဧပြီ','မေ','ဇွန်','ဇူလိုင်','ဩဂုတ်','စက်တင်ဘာ','အောက်တိုဘာ','နိုဝင်ဘာ','ဒီဇင်ဘာ']],u,[['ဘီစီ','အဒေီ'],u,['ခရစ်တော် မပေါ်မီနှစ်','ခရစ်နှစ်']],0,[6,0],['dd-MM-yy','y၊ MMM d','y၊ d MMMM','y၊ MMMM d၊ EEEE'],['B H:mm','B HH:mm:ss','z HH:mm:ss','zzzz HH:mm:ss'],['{1} {0}',u,u,u],['.',',',';','%','+','-','E','×','‰','∞','ဂဏန်းမဟုတ်သော',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'MMK','K','မြန်မာ ကျပ်',{ANG:['NAf'],AWG:['Afl'],BBD:[u,'Bds$'],BSD:[u,'B$'],HTG:['G'],JPY:['JP¥','¥'],MMK:['K'],PAB:['B/.'],THB:['฿'],TTD:['TT$','$'],USD:['US$','$']},'ltr', plural_my]; function plural_ne(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_ne = [ - 'ne', - [['पूर्वाह्न', 'अपराह्न'], u, u], - u, - [ - ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], ['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि'], - ['आइतबार', 'सोमबार', 'मङ्गलबार', 'बुधबार', 'बिहिबार', 'शुक्रबार', 'शनिबार'], - ['आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', 'शुक्र', 'शनि'] - ], - u, - [ - ['जन', 'फेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'], - [ - 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', - 'डिसेम्बर' - ], - u - ], - [ - ['जन', 'फेेब', 'मार्च', 'अप्र', 'मे', 'जुन', 'जुल', 'अग', 'सेप', 'अक्टो', 'नोभे', 'डिसे'], - [ - 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्ट', 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', - 'डिसेम्बर' - ], - u - ], - [['ईसा पूर्व', 'सन्'], 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], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], - 'NPR', - 'नेरू', - 'नेपाली रूपैयाँ', - {'JPY': ['JP¥', '¥'], 'NPR': ['नेरू', 'रू'], 'THB': ['฿'], 'USD': ['US$', '$']}, - 'ltr', - plural_ne -]; +export const locale_ne = ['ne',[['पूर्वाह्न','अपराह्न'],u,u],u,[['आ','सो','म','बु','बि','शु','श'],['आइत','सोम','मङ्गल','बुध','बिहि','शुक्र','शनि'],['आइतबार','सोमबार','मङ्गलबार','बुधबार','बिहिबार','शुक्रबार','शनिबार'],['आइत','सोम','मङ्गल','बुध','बिहि','शुक्र','शनि']],u,[['जन','फेब','मार्च','अप्र','मे','जुन','जुल','अग','सेप','अक्टो','नोभे','डिसे'],['जनवरी','फेब्रुअरी','मार्च','अप्रिल','मे','जुन','जुलाई','अगस्ट','सेप्टेम्बर','अक्टोबर','नोभेम्बर','डिसेम्बर'],u],[['जन','फेेब','मार्च','अप्र','मे','जुन','जुल','अग','सेप','अक्टो','नोभे','डिसे'],['जनवरी','फेब्रुअरी','मार्च','अप्रिल','मे','जुन','जुलाई','अगस्ट','सेप्टेम्बर','अक्टोबर','नोभेम्बर','डिसेम्बर'],u],[['ईसा पूर्व','सन्'],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],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##,##0.###','#,##,##0%','¤ #,##,##0.00','#E0'],'NPR','नेरू','नेपाली रूपैयाँ',{JPY:['JP¥','¥'],NPR:['नेरू','रू'],THB:['฿'],USD:['US$','$']},'ltr', plural_ne]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_nl = [ - 'nl', - [['a.m.', 'p.m.'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['v.C.', 'n.C.'], ['v.Chr.', 'n.Chr.'], ['voor Christus', 'na Christus']], - 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'], - ['{1} {0}', u, '{1} \'om\' {0}', u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00;¤ -#,##0.00', '#E0'], - 'EUR', - '€', - 'Euro', - { - 'AUD': ['AU$', '$'], - 'CAD': ['C$', '$'], - 'FJD': ['FJ$', '$'], - 'JPY': ['JP¥', '¥'], - 'SBD': ['SI$', '$'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural_nl -]; +export const locale_nl = ['nl',[['a.m.','p.m.'],u,u],u,[['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']],u,[['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']],u,[['v.C.','n.C.'],['v.Chr.','n.Chr.'],['voor Christus','na Christus']],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'],['{1} {0}',u,"{1} 'om' {0}",u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤ #,##0.00;¤ -#,##0.00','#E0'],'EUR','€','Euro',{AUD:['AU$','$'],CAD:['C$','$'],FJD:['FJ$','$'],JPY:['JP¥','¥'],SBD:['SI$','$'],THB:['฿'],TWD:['NT$'],USD:['US$','$'],XPF:[],XXX:[]},'ltr', plural_nl]; function plural_no(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_no = [ - 'nb', - [['a', 'p'], ['a.m.', 'p.m.'], u], - [['a.m.', 'p.m.'], u, u], - [ - ['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ø.'] - ], - u, - [ - ['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' - ] - ], - [['f.Kr.', 'e.Kr.'], u, ['før Kristus', 'etter Kristus']], - 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'], - ['{1}, {0}', u, '{1} \'kl\'. {0}', '{1} {0}'], - [',', ' ', ';', '%', '+', '−', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '¤ #,##0.00', '#E0'], - 'NOK', - 'kr', - 'norske kroner', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NOK': ['kr'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XAF': [], - 'XCD': [u, '$'], - 'XPF': [], - 'XXX': [] - }, - 'ltr', - plural_no -]; +export const locale_no = ['nb',[['a','p'],['a.m.','p.m.'],u],[['a.m.','p.m.'],u,u],[['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ø.']],u,[['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']],[['f.Kr.','e.Kr.'],u,['før Kristus','etter Kristus']],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'],['{1}, {0}',u,"{1} 'kl'. {0}",'{1} {0}'],[',',' ',';','%','+','−','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','¤ #,##0.00','#E0'],'NOK','kr','norske kroner',{AUD:[u,'$'],BRL:[u,'R$'],CAD:[u,'$'],CNY:[u,'¥'],HKD:[u,'$'],ILS:[u,'₪'],INR:[u,'₹'],JPY:[u,'¥'],KRW:[u,'₩'],MXN:[u,'$'],NOK:['kr'],NZD:[u,'$'],RON:[u,'L'],TWD:[u,'NT$'],USD:[u,'$'],VND:[u,'₫'],XAF:[],XCD:[u,'$'],XPF:[],XXX:[]},'ltr', plural_no]; function plural_or(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_or = [ - 'or', - [['ପୂ', 'ଅ'], ['AM', 'PM'], u], - [['AM', 'ଅପରାହ୍ନ'], ['ପୂର୍ବାହ୍ନ', 'ଅପରାହ୍ନ'], u], - [ - ['ର', 'ସୋ', 'ମ', 'ବୁ', 'ଗୁ', 'ଶୁ', 'ଶ'], ['ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', 'ଶନି'], - ['ରବିବାର', 'ସୋମବାର', 'ମଙ୍ଗଳବାର', 'ବୁଧବାର', 'ଗୁରୁବାର', 'ଶୁକ୍ରବାର', 'ଶନିବାର'], - ['ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', 'ଶୁକ୍ର', 'ଶନି'] - ], - u, - [ - ['ଜା', 'ଫେ', 'ମା', 'ଅ', 'ମଇ', 'ଜୁ', 'ଜୁ', 'ଅ', 'ସେ', 'ଅ', 'ନ', 'ଡି'], - [ - 'ଜାନୁଆରୀ', 'ଫେବୃଆରୀ', 'ମାର୍ଚ୍ଚ', 'ଅପ୍ରେଲ', 'ମଇ', 'ଜୁନ', 'ଜୁଲାଇ', 'ଅଗଷ୍ଟ', 'ସେପ୍ଟେମ୍ବର', 'ଅକ୍ଟୋବର', - 'ନଭେମ୍ବର', 'ଡିସେମ୍ବର' - ], - u - ], - u, - [['BC', 'AD'], u, ['ଖ୍ରୀଷ୍ଟପୂର୍ବ', 'ଖ୍ରୀଷ୍ଟାବ୍ଦ']], - 0, - [0, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{0} ଠାରେ {1}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'INR', - '₹', - 'ଭାରତୀୟ ଟଙ୍କା', - {}, - 'ltr', - plural_or -]; +export const locale_or = ['or',[['ପୂ','ଅ'],['AM','PM'],u],[['AM','ଅପରାହ୍ନ'],['ପୂର୍ବାହ୍ନ','ଅପରାହ୍ନ'],u],[['ର','ସୋ','ମ','ବୁ','ଗୁ','ଶୁ','ଶ'],['ରବି','ସୋମ','ମଙ୍ଗଳ','ବୁଧ','ଗୁରୁ','ଶୁକ୍ର','ଶନି'],['ରବିବାର','ସୋମବାର','ମଙ୍ଗଳବାର','ବୁଧବାର','ଗୁରୁବାର','ଶୁକ୍ରବାର','ଶନିବାର'],['ରବି','ସୋମ','ମଙ୍ଗଳ','ବୁଧ','ଗୁରୁ','ଶୁକ୍ର','ଶନି']],u,[['ଜା','ଫେ','ମା','ଅ','ମଇ','ଜୁ','ଜୁ','ଅ','ସେ','ଅ','ନ','ଡି'],['ଜାନୁଆରୀ','ଫେବୃଆରୀ','ମାର୍ଚ୍ଚ','ଅପ୍ରେଲ','ମଇ','ଜୁନ','ଜୁଲାଇ','ଅଗଷ୍ଟ','ସେପ୍ଟେମ୍ବର','ଅକ୍ଟୋବର','ନଭେମ୍ବର','ଡିସେମ୍ବର'],u],u,[['BC','AD'],u,['ଖ୍ରୀଷ୍ଟପୂର୍ବ','ଖ୍ରୀଷ୍ଟାବ୍ଦ']],0,[0,0],['M/d/yy','MMM d, y','MMMM d, y','EEEE, MMMM d, y'],['h:mm a','h:mm:ss a','h:mm:ss a z','h:mm:ss a zzzz'],['{1}, {0}',u,'{0} ଠାରେ {1}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##,##0.###','#,##0%','¤#,##0.00','#E0'],'INR','₹','ଭାରତୀୟ ଟଙ୍କା',{},'ltr', plural_or]; function plural_pa(n: number): number { - if (n === Math.floor(n) && n >= 0 && n <= 1) return 1; - return 5; + +if (n === Math.floor(n) && (n >= 0 && n <= 1)) + return 1; +return 5; } -export const locale_pa = [ - 'pa', - [['ਸ.', 'ਸ਼.'], ['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u], - [['ਪੂ.ਦੁ.', 'ਬਾ.ਦੁ.'], u, u], - [ - ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], ['ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', 'ਸ਼ਨਿੱਚਰ'], - ['ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ'], - ['ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', 'ਸ਼ਨਿੱ'] - ], - u, - [ - ['ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', 'ਦ'], - ['ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ'], - ['ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', 'ਨਵੰਬਰ', 'ਦਸੰਬਰ'] - ], - u, - [['ਈ.ਪੂ.', 'ਸੰਨ'], ['ਈ. ਪੂ.', 'ਸੰਨ'], ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ']], - 0, - [0, 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, '{1} {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '[#E0]'], - 'INR', - '₹', - 'ਭਾਰਤੀ ਰੁਪਇਆ', - {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$'], 'XXX': []}, - 'ltr', - plural_pa -]; +export const locale_pa = ['pa',[['ਸ.','ਸ਼.'],['ਪੂ.ਦੁ.','ਬਾ.ਦੁ.'],u],[['ਪੂ.ਦੁ.','ਬਾ.ਦੁ.'],u,u],[['ਐ','ਸੋ','ਮੰ','ਬੁੱ','ਵੀ','ਸ਼ੁੱ','ਸ਼'],['ਐਤ','ਸੋਮ','ਮੰਗਲ','ਬੁੱਧ','ਵੀਰ','ਸ਼ੁੱਕਰ','ਸ਼ਨਿੱਚਰ'],['ਐਤਵਾਰ','ਸੋਮਵਾਰ','ਮੰਗਲਵਾਰ','ਬੁੱਧਵਾਰ','ਵੀਰਵਾਰ','ਸ਼ੁੱਕਰਵਾਰ','ਸ਼ਨਿੱਚਰਵਾਰ'],['ਐਤ','ਸੋਮ','ਮੰਗ','ਬੁੱਧ','ਵੀਰ','ਸ਼ੁੱਕ','ਸ਼ਨਿੱ']],u,[['ਜ','ਫ਼','ਮਾ','ਅ','ਮ','ਜੂ','ਜੁ','ਅ','ਸ','ਅ','ਨ','ਦ'],['ਜਨ','ਫ਼ਰ','ਮਾਰਚ','ਅਪ੍ਰੈ','ਮਈ','ਜੂਨ','ਜੁਲਾ','ਅਗ','ਸਤੰ','ਅਕਤੂ','ਨਵੰ','ਦਸੰ'],['ਜਨਵਰੀ','ਫ਼ਰਵਰੀ','ਮਾਰਚ','ਅਪ੍ਰੈਲ','ਮਈ','ਜੂਨ','ਜੁਲਾਈ','ਅਗਸਤ','ਸਤੰਬਰ','ਅਕਤੂਬਰ','ਨਵੰਬਰ','ਦਸੰਬਰ']],u,[['ਈ.ਪੂ.','ਸੰਨ'],['ਈ. ਪੂ.','ਸੰਨ'],['ਈਸਵੀ ਪੂਰਵ','ਈਸਵੀ ਸੰਨ']],0,[0,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,'{1} {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##,##0.###','#,##,##0%','¤ #,##,##0.00','[#E0]'],'INR','₹','ਭਾਰਤੀ ਰੁਪਇਆ',{JPY:['JP¥','¥'],THB:['฿'],TWD:['NT$'],USD:['US$','$'],XXX:[]},'ltr', plural_pa]; 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)) +const 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) +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; +return 5; } -export const locale_pl = [ - 'pl', - [['a', 'p'], ['AM', 'PM'], u], - u, - [ - ['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ń' - ] - ], - [['p.n.e.', 'n.e.'], u, ['przed naszą erą', 'naszej ery']], - 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'], - ['{1}, {0}', u, '{1} {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'PLN', - 'zł', - 'złoty polski', - { - 'AUD': [u, '$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': [u, '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'PLN': ['zł'], - 'RON': [u, 'lej'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural_pl -]; +export const locale_pl = ['pl',[['a','p'],['AM','PM'],u],u,[['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ń']],[['p.n.e.','n.e.'],u,['przed naszą erą','naszej ery']],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'],['{1}, {0}',u,'{1} {0}',u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'PLN','zł','złoty polski',{AUD:[u,'$'],CAD:[u,'$'],CNY:[u,'¥'],GBP:[u,'£'],HKD:[u,'$'],ILS:[u,'₪'],INR:[u,'₹'],JPY:[u,'¥'],KRW:[u,'₩'],MXN:[u,'$'],NZD:[u,'$'],PLN:['zł'],RON:[u,'lej'],TWD:[u,'NT$'],USD:[u,'$'],VND:[u,'₫']},'ltr', plural_pl]; 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; +const i = Math.floor(Math.abs(n)); + +if (i === Math.floor(i) && (i >= 0 && i <= 1)) + return 1; +return 5; } -export const locale_pt = [ - 'pt', - [['AM', 'PM'], u, u], - u, - [ - ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], ['dom.', 'seg.', 'ter.', 'qua.', 'qui.', 'sex.', 'sáb.'], - [ - 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', - 'sábado' - ], - ['dom.', 'seg.', 'ter.', 'qua.', 'qui.', 'sex.', 'sáb.'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] - ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 0, - [6, 0], - ['dd/MM/y', 'd \'de\' MMM \'de\' y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['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'], - 'BRL', - 'R$', - 'Real brasileiro', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'PTE': ['Esc.'], - 'RON': [u, 'L'], - 'SYP': [u, 'S£'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural_pt -]; +export const locale_pt = ['pt-BR',[['AM','PM'],u,u],u,[['D','S','T','Q','Q','S','S'],['dom.','seg.','ter.','qua.','qui.','sex.','sáb.'],['domingo','segunda-feira','terça-feira','quarta-feira','quinta-feira','sexta-feira','sábado'],['dom.','seg.','ter.','qua.','qui.','sex.','sáb.']],u,[['J','F','M','A','M','J','J','A','S','O','N','D'],['jan.','fev.','mar.','abr.','mai.','jun.','jul.','ago.','set.','out.','nov.','dez.'],['janeiro','fevereiro','março','abril','maio','junho','julho','agosto','setembro','outubro','novembro','dezembro']],u,[['a.C.','d.C.'],u,['antes de Cristo','depois de Cristo']],0,[6,0],['dd/MM/y',"d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],['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'],'BRL','R$','Real brasileiro',{AUD:['AU$','$'],JPY:['JP¥','¥'],PTE:['Esc.'],RON:[u,'L'],SYP:[u,'S£'],THB:['฿'],TWD:['NT$'],USD:['US$','$']},'ltr', plural_pt]; 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; +const i = Math.floor(Math.abs(n)); + +if (i === Math.floor(i) && (i >= 0 && i <= 1)) + return 1; +return 5; } -export const locale_pt_PT = [ - 'pt-PT', - [['a.m.', 'p.m.'], u, ['da manhã', 'da tarde']], - [['a.m.', 'p.m.'], u, ['manhã', 'tarde']], - [ - ['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' - ], - ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'] - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.' - ], - [ - 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', - 'outubro', 'novembro', 'dezembro' - ] - ], - u, - [['a.C.', 'd.C.'], u, ['antes de Cristo', 'depois de Cristo']], - 0, - [6, 0], - ['dd/MM/yy', 'dd/MM/y', 'd \'de\' MMMM \'de\' y', 'EEEE, d \'de\' MMMM \'de\' y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], - ['{1}, {0}', u, '{1} \'às\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'PTE': ['​'], - 'RON': [u, 'L'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural_pt_PT -]; +export const locale_pt_PT = ['pt-PT',[['a.m.','p.m.'],u,['da manhã','da tarde']],[['a.m.','p.m.'],u,['manhã','tarde']],[['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'],['domingo','segunda','terça','quarta','quinta','sexta','sábado']],u,[['J','F','M','A','M','J','J','A','S','O','N','D'],['jan.','fev.','mar.','abr.','mai.','jun.','jul.','ago.','set.','out.','nov.','dez.'],['janeiro','fevereiro','março','abril','maio','junho','julho','agosto','setembro','outubro','novembro','dezembro']],u,[['a.C.','d.C.'],u,['antes de Cristo','depois de Cristo']],0,[6,0],['dd/MM/yy','dd/MM/y',"d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],['HH:mm','HH:mm:ss','HH:mm:ss z','HH:mm:ss zzzz'],['{1}, {0}',u,"{1} 'às' {0}",u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'EUR','€','euro',{AUD:['AU$','$'],JPY:['JP¥','¥'],PTE:['​'],RON:[u,'L'],THB:['฿'],TWD:['NT$'],USD:['US$','$']},'ltr', plural_pt_PT]; 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) +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +if (!(v === 0) || (n === 0 || n % 100 === Math.floor(n % 100) && (n % 100 >= 2 && n % 100 <= 19))) return 3; - return 5; +return 5; } -export const locale_ro = [ - 'ro', - [['a.m.', 'p.m.'], u, u], - u, - [ - ['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â.'] - ], - u, - [ - ['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' - ] - ], - u, - [['î.Hr.', 'd.Hr.'], u, ['înainte de Hristos', 'după Hristos']], - 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'], - ['{1}, {0}', u, u, u], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'RON', - 'RON', - 'leu românesc', - { - '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, '$'] - }, - 'ltr', - plural_ro -]; +export const locale_ro = ['ro',[['a.m.','p.m.'],u,u],u,[['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â.']],u,[['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']],u,[['î.Hr.','d.Hr.'],u,['înainte de Hristos','după Hristos']],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'],['{1}, {0}',u,u,u],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'RON','RON','leu românesc',{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,'$']},'ltr', plural_ro]; 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)) +const 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) +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; +return 5; } -export const locale_ru = [ - 'ru', - [['AM', 'PM'], u, u], - u, - [ - ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], 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'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'не число', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'RUB', - '₽', - 'российский рубль', - { - 'GEL': [u, 'ლ'], - 'RON': [u, 'L'], - 'RUB': ['₽'], - 'RUR': ['р.'], - 'THB': ['฿'], - 'TMT': ['ТМТ'], - 'TWD': ['NT$'], - 'UAH': ['₴'], - 'XXX': ['XXXX'] - }, - 'ltr', - plural_ru -]; +export const locale_ru = ['ru',[['AM','PM'],u,u],u,[['вс','пн','вт','ср','чт','пт','сб'],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'],['{1}, {0}',u,u,u],[',',' ',';','%','+','-','E','×','‰','∞','не число',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'RUB','₽','российский рубль',{GEL:[u,'ლ'],RON:[u,'L'],RUB:['₽'],RUR:['р.'],THB:['฿'],TMT:['ТМТ'],TWD:['NT$'],UAH:['₴'],XXX:['XXXX']},'ltr', plural_ru]; function plural_sh(n: number): number { - return 5; +return 5; } -export const locale_sh = [ - 'sr-Latn', - [['a', 'p'], ['pre podne', 'po podne'], u], - [['pre podne', 'po podne'], u, u], - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['p.n.e.', 'n.e.'], ['p. n. e.', 'n. e.'], ['pre nove ere', 'nove ere']], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['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'], - 'RSD', - 'RSD', - 'Srpski dinar', - { - 'AUD': [u, '$'], - 'BAM': ['KM'], - 'BYN': [u, 'r.'], - 'GEL': [u, 'ლ'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural_sh -]; +export const locale_sh = ['sr-Latn',[['a','p'],['pre podne','po podne'],u],[['pre podne','po podne'],u,u],[['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']],u,[['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']],u,[['p.n.e.','n.e.'],['p. n. e.','n. e.'],['pre nove ere','nove ere']],1,[6,0],['d.M.yy.','dd.MM.y.','dd. MMMM y.','EEEE, dd. MMMM y.'],['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'],'RSD','RSD','Srpski dinar',{AUD:[u,'$'],BAM:['KM'],BYN:[u,'r.'],GEL:[u,'ლ'],KRW:[u,'₩'],NZD:[u,'$'],TWD:['NT$'],USD:['US$','$'],VND:[u,'₫']},'ltr', plural_sh]; 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; +const 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; } -export const locale_si = [ - 'si', - [['පෙ', 'ප'], ['පෙ.ව.', 'ප.ව.'], u], - [['පෙ.ව.', 'ප.ව.'], u, u], - [ - ['ඉ', 'ස', 'අ', 'බ', 'බ්\u200dර', 'සි', 'සෙ'], - ['ඉරිදා', 'සඳුදා', 'අඟහ', 'බදාදා', 'බ්\u200dරහස්', 'සිකු', 'සෙන'], - ['ඉරිදා', 'සඳුදා', 'අඟහරුවාදා', 'බදාදා', 'බ්\u200dරහස්පතින්දා', 'සිකුරාදා', 'සෙනසුරාදා'], - ['ඉරි', 'සඳු', 'අඟ', 'බදා', 'බ්\u200dරහ', 'සිකු', 'සෙන'] - ], - u, - [ - ['ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', 'නෙ', 'දෙ'], - ['ජන', 'පෙබ', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', 'දෙසැ'], - [ - 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', - 'නොවැම්බර්', 'දෙසැම්බර්' - ] - ], - [ - ['ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', 'නෙ', 'දෙ'], - ['ජන', 'පෙබ', 'මාර්', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', 'දෙසැ'], - [ - 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', 'අප්\u200dරේල්', 'මැයි', 'ජූනි', 'ජූලි', 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', - 'නොවැම්බර්', 'දෙසැම්බර්' - ] - ], - [['ක්\u200dරි.පූ.', 'ක්\u200dරි.ව.'], u, ['ක්\u200dරිස්තු පූර්ව', 'ක්\u200dරිස්තු වර්ෂ']], - 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', '#'], - 'LKR', - 'රු.', - 'ශ්\u200dරී ලංකා රුපියල', - { - 'JPY': ['JP¥', '¥'], - 'LKR': ['රු.'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XOF': ['සිෆ්එ'] - }, - 'ltr', - plural_si -]; +export const locale_si = ['si',[['පෙ','ප'],['පෙ.ව.','ප.ව.'],u],[['පෙ.ව.','ප.ව.'],u,u],[['ඉ','ස','අ','බ','බ්‍ර','සි','සෙ'],['ඉරිදා','සඳුදා','අඟහ','බදාදා','බ්‍රහස්','සිකු','සෙන'],['ඉරිදා','සඳුදා','අඟහරුවාදා','බදාදා','බ්‍රහස්පතින්දා','සිකුරාදා','සෙනසුරාදා'],['ඉරි','සඳු','අඟ','බදා','බ්‍රහ','සිකු','සෙන']],u,[['ජ','පෙ','මා','අ','මැ','ජූ','ජූ','අ','සැ','ඔ','නෙ','දෙ'],['ජන','පෙබ','මාර්තු','අප්‍රේල්','මැයි','ජූනි','ජූලි','අගෝ','සැප්','ඔක්','නොවැ','දෙසැ'],['ජනවාරි','පෙබරවාරි','මාර්තු','අප්‍රේල්','මැයි','ජූනි','ජූලි','අගෝස්තු','සැප්තැම්බර්','ඔක්තෝබර්','නොවැම්බර්','දෙසැම්බර්']],[['ජ','පෙ','මා','අ','මැ','ජූ','ජූ','අ','සැ','ඔ','නෙ','දෙ'],['ජන','පෙබ','මාර්','අප්‍රේල්','මැයි','ජූනි','ජූලි','අගෝ','සැප්','ඔක්','නොවැ','දෙසැ'],['ජනවාරි','පෙබරවාරි','මාර්තු','අප්‍රේල්','මැයි','ජූනි','ජූලි','අගෝස්තු','සැප්තැම්බර්','ඔක්තෝබර්','නොවැම්බර්','දෙසැම්බර්']],[['ක්‍රි.පූ.','ක්‍රි.ව.'],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','#'],'LKR','රු.','ශ්‍රී ලංකා රුපියල',{JPY:['JP¥','¥'],LKR:['රු.'],THB:['฿'],TWD:['NT$'],USD:['US$','$'],XOF:['සිෆ්එ']},'ltr', plural_si]; 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; +const 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; } -export const locale_sk = [ - 'sk', - [['AM', 'PM'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - [['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', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'EUR', - '€', - 'euro', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'CNY': [u, '¥'], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'ILS': ['NIS', '₪'], - 'INR': [u, '₹'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XXX': [] - }, - 'ltr', - plural_sk -]; +export const locale_sk = ['sk',[['AM','PM'],u,u],u,[['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']],u,[['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']],[['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',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'EUR','€','euro',{AUD:[u,'$'],BRL:[u,'R$'],CAD:[u,'$'],CNY:[u,'¥'],GBP:[u,'£'],HKD:[u,'$'],ILS:['NIS','₪'],INR:[u,'₹'],JPY:[u,'¥'],KRW:[u,'₩'],NZD:[u,'$'],TWD:[u,'NT$'],USD:[u,'$'],VND:[u,'₫'],XXX:[]},'ltr', plural_sk]; 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)) +const 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; +return 5; } -export const locale_sl = [ - 'sl', - [['d', 'p'], ['dop.', 'pop.'], u], - [['d', 'p'], ['dop.', 'pop.'], ['dopoldne', 'popoldne']], - [ - ['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.'] - ], - u, - [ - ['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' - ] - ], - u, - [['pr. Kr.', 'po Kr.'], u, ['pred Kristusom', 'po Kristusu']], - 1, - [6, 0], - ['d. MM. yy', 'd. MMM y', 'dd. MMMM y', 'EEEE, dd. MMMM y'], - ['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'], - 'EUR', - '€', - 'evro', - { - 'AUD': [u, '$'], - 'BRL': [u, 'R$'], - 'CAD': [u, '$'], - 'GBP': [u, '£'], - 'MXN': [u, '$'], - 'NZD': [u, '$'], - 'TWD': [u, 'NT$'], - 'XCD': [u, '$'] - }, - 'ltr', - plural_sl -]; +export const locale_sl = ['sl',[['d','p'],['dop.','pop.'],u],[['d','p'],['dop.','pop.'],['dopoldne','popoldne']],[['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.']],u,[['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']],u,[['pr. Kr.','po Kr.'],u,['pred Kristusom','po Kristusu']],1,[6,0],['d. MM. yy','d. MMM y','dd. MMMM y','EEEE, dd. MMMM y'],['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'],'EUR','€','evro',{AUD:[u,'$'],BRL:[u,'R$'],CAD:[u,'$'],GBP:[u,'£'],MXN:[u,'$'],NZD:[u,'$'],TWD:[u,'NT$'],XCD:[u,'$']},'ltr', plural_sl]; function plural_sq(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_sq = [ - 'sq', - [['p.d.', 'm.d.'], u, ['e paradites', 'e pasdites']], - [['p.d.', 'm.d.'], u, ['paradite', 'pasdite']], - [ - ['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'] - ], - [ - ['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'] - ], - [ - ['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'], - [ - 'janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', 'tetor', - 'nëntor', 'dhjetor' - ] - ], - u, - [['p.K.', 'mb.K.'], u, ['para Krishtit', 'mbas Krishtit']], - 1, - [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, '{1} \'në\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'ALL', - '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': [] - }, - 'ltr', - plural_sq -]; +export const locale_sq = ['sq',[['p.d.','m.d.'],u,['e paradites','e pasdites']],[['p.d.','m.d.'],u,['paradite','pasdite']],[['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']],[['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']],[['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'],['janar','shkurt','mars','prill','maj','qershor','korrik','gusht','shtator','tetor','nëntor','dhjetor']],u,[['p.K.','mb.K.'],u,['para Krishtit','mbas Krishtit']],1,[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,"{1} 'në' {0}",u],[',',' ',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'ALL','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:[]},'ltr', plural_sq]; 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)) +const 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; +return 5; } -export const locale_sr = [ - 'sr', - [['a', 'p'], ['пре подне', 'по подне'], u], - [['пре подне', 'по подне'], u, u], - [ - ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], - ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'], - ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'] - ], - u, - [ - ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], - ['јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', 'окт', 'нов', 'дец'], - [ - 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', - 'новембар', 'децембар' - ] - ], - u, - [['п.н.е.', 'н.е.'], ['п. н. е.', 'н. е.'], ['пре нове ере', 'нове ере']], - 1, - [6, 0], - ['d.M.yy.', 'dd.MM.y.', 'dd. MMMM y.', 'EEEE, dd. MMMM y.'], - ['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'], - 'RSD', - 'RSD', - 'Српски динар', - { - 'AUD': [u, '$'], - 'BAM': ['КМ', 'KM'], - 'GEL': [u, 'ლ'], - 'KRW': [u, '₩'], - 'NZD': [u, '$'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural_sr -]; +export const locale_sr = ['sr',[['a','p'],['пре подне','по подне'],u],[['пре подне','по подне'],u,u],[['н','п','у','с','ч','п','с'],['нед','пон','уто','сре','чет','пет','суб'],['недеља','понедељак','уторак','среда','четвртак','петак','субота'],['не','по','ут','ср','че','пе','су']],u,[['ј','ф','м','а','м','ј','ј','а','с','о','н','д'],['јан','феб','мар','апр','мај','јун','јул','авг','сеп','окт','нов','дец'],['јануар','фебруар','март','април','мај','јун','јул','август','септембар','октобар','новембар','децембар']],u,[['п.н.е.','н.е.'],['п. н. е.','н. е.'],['пре нове ере','нове ере']],1,[6,0],['d.M.yy.','dd.MM.y.','dd. MMMM y.','EEEE, dd. MMMM y.'],['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'],'RSD','RSD','Српски динар',{AUD:[u,'$'],BAM:['КМ','KM'],GEL:[u,'ლ'],KRW:[u,'₩'],NZD:[u,'$'],TWD:['NT$'],USD:['US$','$'],VND:[u,'₫']},'ltr', plural_sr]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_sv = [ - 'sv', - [['fm', 'em'], u, u], - [['fm', 'em'], ['f.m.', 'e.m.'], ['förmiddag', 'eftermiddag']], - [ - ['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ö'] - ], - u, - [ - ['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' - ] - ], - u, - [['f.Kr.', 'e.Kr.'], u, ['före Kristus', 'efter Kristus']], - 1, - [6, 0], - ['y-MM-dd', 'd MMM y', 'd MMMM y', 'EEEE d MMMM y'], - ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', '\'kl\'. HH:mm:ss zzzz'], - ['{1} {0}', u, u, u], - [',', ' ', ';', '%', '+', '−', '×10^', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], - 'SEK', - 'kr', - 'svensk krona', - { - 'AUD': [u, '$'], - 'BBD': ['Bds$', '$'], - 'BMD': ['BM$', '$'], - 'BRL': ['BR$', 'R$'], - 'BSD': ['BS$', '$'], - 'BZD': ['BZ$', '$'], - 'CNY': [u, '¥'], - 'DKK': ['Dkr', 'kr'], - 'DOP': ['RD$', '$'], - 'EEK': ['Ekr'], - 'EGP': ['EG£', 'E£'], - 'ESP': [], - 'GBP': [u, '£'], - 'HKD': [u, '$'], - 'IEP': ['IE£'], - 'INR': [u, '₹'], - 'ISK': ['Ikr', 'kr'], - 'JMD': ['JM$', '$'], - 'JPY': [u, '¥'], - 'KRW': [u, '₩'], - 'NOK': ['Nkr', 'kr'], - 'NZD': [u, '$'], - 'RON': [u, 'L'], - 'SEK': ['kr'], - 'TWD': [u, 'NT$'], - 'USD': ['US$', '$'], - 'VND': [u, '₫'] - }, - 'ltr', - plural_sv -]; +export const locale_sv = ['sv',[['fm','em'],u,u],[['fm','em'],['f.m.','e.m.'],['förmiddag','eftermiddag']],[['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ö']],u,[['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']],u,[['f.Kr.','e.Kr.'],u,['före Kristus','efter Kristus']],1,[6,0],['y-MM-dd','d MMM y','d MMMM y','EEEE d MMMM y'],['HH:mm','HH:mm:ss','HH:mm:ss z',"'kl'. HH:mm:ss zzzz"],['{1} {0}',u,u,u],[',',' ',';','%','+','−','×10^','×','‰','∞','NaN',':'],['#,##0.###','#,##0 %','#,##0.00 ¤','#E0'],'SEK','kr','svensk krona',{AUD:[u,'$'],BBD:['Bds$','$'],BMD:['BM$','$'],BRL:['BR$','R$'],BSD:['BS$','$'],BZD:['BZ$','$'],CNY:[u,'¥'],DKK:['Dkr','kr'],DOP:['RD$','$'],EEK:['Ekr'],EGP:['EG£','E£'],ESP:[],GBP:[u,'£'],HKD:[u,'$'],IEP:['IE£'],INR:[u,'₹'],ISK:['Ikr','kr'],JMD:['JM$','$'],JPY:[u,'¥'],KRW:[u,'₩'],NOK:['Nkr','kr'],NZD:[u,'$'],RON:[u,'L'],SEK:['kr'],TWD:[u,'NT$'],USD:['US$','$'],VND:[u,'₫']},'ltr', plural_sv]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_sw = [ - 'sw', - [['am', 'pm'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], u, u - ], - u, - [ - ['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' - ] - ], - u, - [['KK', 'BK'], u, ['Kabla ya Kristo', 'Baada ya Kristo']], - 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'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'TZS', - 'TSh', - 'Shilingi ya Tanzania', - { - 'JPY': ['JP¥', '¥'], - 'KES': ['Ksh'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'TZS': ['TSh'], - 'USD': ['US$', '$'] - }, - 'ltr', - plural_sw -]; +export const locale_sw = ['sw',[['am','pm'],['AM','PM'],u],[['AM','PM'],u,u],[['S','M','T','W','T','F','S'],['Jumapili','Jumatatu','Jumanne','Jumatano','Alhamisi','Ijumaa','Jumamosi'],u,u],u,[['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']],u,[['KK','BK'],u,['Kabla ya Kristo','Baada ya Kristo']],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'],['{1} {0}',u,u,u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤ #,##0.00','#E0'],'TZS','TSh','Shilingi ya Tanzania',{JPY:['JP¥','¥'],KES:['Ksh'],THB:['฿'],TWD:['NT$'],TZS:['TSh'],USD:['US$','$']},'ltr', plural_sw]; function plural_ta(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_ta = [ - 'ta', - [['மு.ப', 'பி.ப'], ['முற்பகல்', 'பிற்பகல்'], u], - u, - [ - ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], - ['ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', 'வெள்.', 'சனி'], - ['ஞாயிறு', 'திங்கள்', 'செவ்வாய்', 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி'], - ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'] - ], - u, - [ - ['ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', 'ந', 'டி'], - ['ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.'], - [ - 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', - 'டிசம்பர்' - ] - ], - u, - [['கி.மு.', 'கி.பி.'], u, ['கிறிஸ்துவுக்கு முன்', 'அன்னோ டோமினி']], - 0, - [0, 0], - ['d/M/yy', 'd MMM, y', 'd MMMM, y', 'EEEE, d MMMM, y'], - ['a h:mm', 'a h:mm:ss', 'a h:mm:ss z', 'a h:mm:ss zzzz'], - ['{1}, {0}', u, '{1} ’அன்று’ {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##,##0%', '¤ #,##,##0.00', '#E0'], - 'INR', - '₹', - 'இந்திய ரூபாய்', - {'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_ta -]; +export const locale_ta = ['ta',[['மு.ப','பி.ப'],['முற்பகல்','பிற்பகல்'],u],u,[['ஞா','தி','செ','பு','வி','வெ','ச'],['ஞாயி.','திங்.','செவ்.','புத.','வியா.','வெள்.','சனி'],['ஞாயிறு','திங்கள்','செவ்வாய்','புதன்','வியாழன்','வெள்ளி','சனி'],['ஞா','தி','செ','பு','வி','வெ','ச']],u,[['ஜ','பி','மா','ஏ','மே','ஜூ','ஜூ','ஆ','செ','அ','ந','டி'],['ஜன.','பிப்.','மார்.','ஏப்.','மே','ஜூன்','ஜூலை','ஆக.','செப்.','அக்.','நவ.','டிச.'],['ஜனவரி','பிப்ரவரி','மார்ச்','ஏப்ரல்','மே','ஜூன்','ஜூலை','ஆகஸ்ட்','செப்டம்பர்','அக்டோபர்','நவம்பர்','டிசம்பர்']],u,[['கி.மு.','கி.பி.'],u,['கிறிஸ்துவுக்கு முன்','அன்னோ டோமினி']],0,[0,0],['d/M/yy','d MMM, y','d MMMM, y','EEEE, d MMMM, y'],['a h:mm','a h:mm:ss','a h:mm:ss z','a h:mm:ss zzzz'],['{1}, {0}',u,'{1} ’அன்று’ {0}',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##,##0.###','#,##,##0%','¤ #,##,##0.00','#E0'],'INR','₹','இந்திய ரூபாய்',{THB:['฿'],TWD:['NT$']},'ltr', plural_ta]; function plural_te(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_te = [ - 'te', - [['ఉ', 'సా'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['ఆ', 'సో', 'మ', 'బు', 'గు', 'శు', 'శ'], ['ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', 'శని'], - ['ఆదివారం', 'సోమవారం', 'మంగళవారం', 'బుధవారం', 'గురువారం', 'శుక్రవారం', 'శనివారం'], - ['ఆది', 'సోమ', 'మం', 'బుధ', 'గురు', 'శుక్ర', 'శని'] - ], - u, - [ - ['జ', 'ఫి', 'మా', 'ఏ', 'మే', 'జూ', 'జు', 'ఆ', 'సె', 'అ', 'న', 'డి'], - ['జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', 'జూన్', 'జులై', 'ఆగ', 'సెప్టెం', 'అక్టో', 'నవం', 'డిసెం'], - [ - 'జనవరి', 'ఫిబ్రవరి', 'మార్చి', 'ఏప్రిల్', 'మే', 'జూన్', 'జులై', 'ఆగస్టు', 'సెప్టెంబర్', 'అక్టోబర్', 'నవంబర్', - 'డిసెంబర్' - ] - ], - u, - [['క్రీపూ', 'క్రీశ'], u, ['క్రీస్తు పూర్వం', 'క్రీస్తు శకం']], - 0, - [0, 0], - ['dd-MM-yy', 'd MMM, y', 'd MMMM, y', 'd, MMMM y, EEEE'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1} {0}', u, '{1} {0}కి', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##,##0.###', '#,##0%', '¤#,##,##0.00', '#E0'], - 'INR', - '₹', - 'రూపాయి', - {'JPY': ['JP¥', '¥'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_te -]; +export const locale_te = ['te',[['ఉ','సా'],['AM','PM'],u],[['AM','PM'],u,u],[['ఆ','సో','మ','బు','గు','శు','శ'],['ఆది','సోమ','మంగళ','బుధ','గురు','శుక్ర','శని'],['ఆదివారం','సోమవారం','మంగళవారం','బుధవారం','గురువారం','శుక్రవారం','శనివారం'],['ఆది','సోమ','మం','బుధ','గురు','శుక్ర','శని']],u,[['జ','ఫి','మా','ఏ','మే','జూ','జు','ఆ','సె','అ','న','డి'],['జన','ఫిబ్ర','మార్చి','ఏప్రి','మే','జూన్','జులై','ఆగ','సెప్టెం','అక్టో','నవం','డిసెం'],['జనవరి','ఫిబ్రవరి','మార్చి','ఏప్రిల్','మే','జూన్','జులై','ఆగస్టు','సెప్టెంబర్','అక్టోబర్','నవంబర్','డిసెంబర్']],u,[['క్రీపూ','క్రీశ'],u,['క్రీస్తు పూర్వం','క్రీస్తు శకం']],0,[0,0],['dd-MM-yy','d MMM, y','d MMMM, y','d, MMMM y, EEEE'],['h:mm a','h:mm:ss a','h:mm:ss a z','h:mm:ss a zzzz'],['{1} {0}',u,'{1} {0}కి',u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##,##0.###','#,##0%','¤#,##,##0.00','#E0'],'INR','₹','రూపాయి',{JPY:['JP¥','¥'],THB:['฿'],TWD:['NT$']},'ltr', plural_te]; function plural_th(n: number): number { - return 5; +return 5; } -export const locale_th = [ - 'th', - [['a', 'p'], ['ก่อนเที่ยง', 'หลังเที่ยง'], u], - [['ก่อนเที่ยง', 'หลังเที่ยง'], u, u], - [ - ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'], ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], - ['วันอาทิตย์', 'วันจันทร์', 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', 'วันศุกร์', 'วันเสาร์'], - ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'] - ], - u, - [ - [ - 'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', - 'ธ.ค.' - ], - u, - [ - 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', - 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม' - ] - ], - u, - [['ก่อน ค.ศ.', 'ค.ศ.'], u, ['ปีก่อนคริสตกาล', 'คริสต์ศักราช']], - 0, - [6, 0], - ['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'], - ['{1} {0}', u, u, u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'THB', - '฿', - 'บาท', - {'AUD': ['AU$', '$'], 'THB': ['฿'], 'TWD': ['NT$'], 'USD': ['US$', '$'], 'XXX': []}, - 'ltr', - plural_th -]; +export const locale_th = ['th',[['a','p'],['ก่อนเที่ยง','หลังเที่ยง'],u],[['ก่อนเที่ยง','หลังเที่ยง'],u,u],[['อา','จ','อ','พ','พฤ','ศ','ส'],['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],['วันอาทิตย์','วันจันทร์','วันอังคาร','วันพุธ','วันพฤหัสบดี','วันศุกร์','วันเสาร์'],['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.']],u,[['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.','ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],u,['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน','กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม']],u,[['ก่อน ค.ศ.','ค.ศ.'],u,['ปีก่อนคริสตกาล','คริสต์ศักราช']],0,[6,0],['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'],['{1} {0}',u,u,u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'THB','฿','บาท',{AUD:['AU$','$'],THB:['฿'],TWD:['NT$'],USD:['US$','$'],XXX:[]},'ltr', plural_th]; 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)) +const 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; +return 5; } -export const locale_tl = [ - 'fil', - [['am', 'pm'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'], u, - ['Linggo', 'Lunes', 'Martes', 'Miyerkules', 'Huwebes', 'Biyernes', 'Sabado'], - ['Li', 'Lu', 'Ma', 'Mi', 'Hu', 'Bi', 'Sa'] - ], - u, - [ - ['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], u, - [ - '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' - ] - ], - [['BC', 'AD'], u, ['Before Christ', 'Anno Domini']], - 0, - [6, 0], - ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'], - ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], - ['{1}, {0}', u, '{1} \'nang\' {0}', u], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'PHP', - '₱', - 'Piso ng Pilipinas', - {'PHP': ['₱'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'ltr', - plural_tl -]; +export const locale_tl = ['fil',[['am','pm'],['AM','PM'],u],[['AM','PM'],u,u],[['Lin','Lun','Mar','Miy','Huw','Biy','Sab'],u,['Linggo','Lunes','Martes','Miyerkules','Huwebes','Biyernes','Sabado'],['Li','Lu','Ma','Mi','Hu','Bi','Sa']],u,[['Ene','Peb','Mar','Abr','May','Hun','Hul','Ago','Set','Okt','Nob','Dis'],u,['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']],[['BC','AD'],u,['Before Christ','Anno Domini']],0,[6,0],['M/d/yy','MMM d, y','MMMM d, y','EEEE, MMMM d, y'],['h:mm a','h:mm:ss a','h:mm:ss a z','h:mm:ss a zzzz'],['{1}, {0}',u,"{1} 'nang' {0}",u],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'PHP','₱','Piso ng Pilipinas',{PHP:['₱'],THB:['฿'],TWD:['NT$']},'ltr', plural_tl]; function plural_tr(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_tr = [ - 'tr', - [['öö', 'ös'], ['ÖÖ', 'ÖS'], u], - [['ÖÖ', 'ÖS'], u, u], - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - u, - [['MÖ', 'MS'], u, ['Milattan Önce', 'Milattan Sonra']], - 1, - [6, 0], - ['d.MM.y', 'd MMM y', 'd MMMM y', 'd MMMM y 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'], - 'TRY', - '₺', - 'Türk Lirası', - {'AUD': ['AU$', '$'], 'RON': [u, 'L'], 'THB': ['฿'], 'TRY': ['₺'], 'TWD': ['NT$']}, - 'ltr', - plural_tr -]; +export const locale_tr = ['tr',[['öö','ös'],['ÖÖ','ÖS'],u],[['ÖÖ','ÖS'],u,u],[['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']],u,[['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']],u,[['MÖ','MS'],u,['Milattan Önce','Milattan Sonra']],1,[6,0],['d.MM.y','d MMM y','d MMMM y','d MMMM y 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'],'TRY','₺','Türk Lirası',{AUD:['AU$','$'],RON:[u,'L'],THB:['฿'],TRY:['₺'],TWD:['NT$']},'ltr', plural_tr]; 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)) +const 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) +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; +return 5; } -export const locale_uk = [ - 'uk', - [['дп', 'пп'], u, u], - u, - [ - ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], - ['неділя', 'понеділок', 'вівторок', 'середа', 'четвер', 'пʼятниця', 'субота'], - ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] - ], - u, - [ - ['с', 'л', 'б', 'к', 'т', 'ч', 'л', 'с', 'в', 'ж', 'л', 'г'], - [ - 'січ.', 'лют.', 'бер.', 'квіт.', 'трав.', 'черв.', 'лип.', 'серп.', 'вер.', 'жовт.', 'лист.', - 'груд.' - ], - [ - 'січня', 'лютого', 'березня', 'квітня', 'травня', 'червня', 'липня', 'серпня', 'вересня', - 'жовтня', 'листопада', 'грудня' - ] - ], - [ - ['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'], - ['січ', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'сер', 'вер', 'жов', 'лис', 'гру'], - [ - 'січень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'серпень', - 'вересень', 'жовтень', 'листопад', 'грудень' - ] - ], - [['до н.е.', 'н.е.'], ['до н. е.', 'н. е.'], ['до нашої ери', 'нашої ери']], - 1, - [6, 0], - ['dd.MM.yy', 'd MMM 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} \'о\' {0}', u], - [',', ' ', ';', '%', '+', '-', 'Е', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'UAH', - '₴', - 'українська гривня', - { - '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, '$'], - 'TWD': [u, '$'], - 'UAH': ['₴'], - 'UAK': ['крб.'], - 'USD': [u, '$'], - 'VND': [u, '₫'], - 'XCD': [u, '$'] - }, - 'ltr', - plural_uk -]; +export const locale_uk = ['uk',[['дп','пп'],u,u],u,[['Н','П','В','С','Ч','П','С'],['нд','пн','вт','ср','чт','пт','сб'],['неділя','понеділок','вівторок','середа','четвер','пʼятниця','субота'],['нд','пн','вт','ср','чт','пт','сб']],u,[['с','л','б','к','т','ч','л','с','в','ж','л','г'],['січ.','лют.','бер.','квіт.','трав.','черв.','лип.','серп.','вер.','жовт.','лист.','груд.'],['січня','лютого','березня','квітня','травня','червня','липня','серпня','вересня','жовтня','листопада','грудня']],[['С','Л','Б','К','Т','Ч','Л','С','В','Ж','Л','Г'],['січ','лют','бер','кві','тра','чер','лип','сер','вер','жов','лис','гру'],['січень','лютий','березень','квітень','травень','червень','липень','серпень','вересень','жовтень','листопад','грудень']],[['до н.е.','н.е.'],['до н. е.','н. е.'],['до нашої ери','нашої ери']],1,[6,0],['dd.MM.yy',"d MMM 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} 'о' {0}",u],[',',' ',';','%','+','-','Е','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'UAH','₴','українська гривня',{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,'$'],TWD:[u,'$'],UAH:['₴'],UAK:['крб.'],USD:[u,'$'],VND:[u,'₫'],XCD:[u,'$']},'ltr', plural_uk]; 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; +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; } -export const locale_ur = [ - 'ur', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], - u, u - ], - u, - [ - ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], - [ - 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', - 'دسمبر' - ], - u - ], - 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], - ['.', ',', ';', '%', '\u200e+', '\u200e-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], - 'PKR', - 'Rs', - 'پاکستانی روپیہ', - {'JPY': ['JP¥', '¥'], 'PKR': ['Rs'], 'THB': ['฿'], 'TWD': ['NT$']}, - 'rtl', - plural_ur -]; +export const locale_ur = ['ur',[['a','p'],['AM','PM'],u],[['AM','PM'],u,u],[['S','M','T','W','T','F','S'],['اتوار','پیر','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],u,u],u,[['J','F','M','A','M','J','J','A','S','O','N','D'],['جنوری','فروری','مارچ','اپریل','مئی','جون','جولائی','اگست','ستمبر','اکتوبر','نومبر','دسمبر'],u],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],['.',',',';','%','‎+','‎-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤ #,##0.00','#E0'],'PKR','Rs','پاکستانی روپیہ',{JPY:['JP¥','¥'],PKR:['Rs'],THB:['฿'],TWD:['NT$']},'rtl', plural_ur]; function plural_uz(n: number): number { - if (n === 1) return 1; - return 5; + +if (n === 1) + return 1; +return 5; } -export const locale_uz = [ - 'uz', - [['TO', 'TK'], u, u], - u, - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - [['m.a.', 'milodiy'], u, ['miloddan avvalgi', 'milodiy']], - 1, - [6, 0], - ['dd/MM/yy', 'd-MMM, y', 'd-MMMM, y', 'EEEE, d-MMMM, y'], - ['HH:mm', 'HH:mm:ss', 'H:mm:ss (z)', 'H:mm:ss (zzzz)'], - ['{1}, {0}', u, u, u], - [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'son emas', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'UZS', - 'soʻm', - 'O‘zbekiston so‘mi', - {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$'], 'UZS': ['soʻm']}, - 'ltr', - plural_uz -]; +export const locale_uz = ['uz',[['TO','TK'],u,u],u,[['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']],u,[['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']],[['m.a.','milodiy'],u,['miloddan avvalgi','milodiy']],1,[6,0],['dd/MM/yy','d-MMM, y','d-MMMM, y','EEEE, d-MMMM, y'],['HH:mm','HH:mm:ss','H:mm:ss (z)','H:mm:ss (zzzz)'],['{1}, {0}',u,u,u],[',',' ',';','%','+','-','E','×','‰','∞','son emas',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'UZS','soʻm','O‘zbekiston so‘mi',{JPY:['JP¥','¥'],USD:['US$','$'],UZS:['soʻm']},'ltr', plural_uz]; function plural_vi(n: number): number { - return 5; +return 5; } -export const locale_vi = [ - 'vi', - [['s', 'c'], ['SA', 'CH'], u], - [['SA', 'CH'], u, u], - [ - ['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'] - ], - u, - [ - ['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' - ] - ], - [['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], - [',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], - 'VND', - '₫', - 'Đồng Việt Nam', - { - 'AUD': ['AU$', '$'], - 'JPY': ['JP¥', '¥'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural_vi -]; +export const locale_vi = ['vi',[['s','c'],['SA','CH'],u],[['SA','CH'],u,u],[['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']],u,[['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']],[['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],[',','.',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','#,##0.00 ¤','#E0'],'VND','₫','Đồng Việt Nam',{AUD:['AU$','$'],JPY:['JP¥','¥'],THB:['฿'],TWD:['NT$'],USD:['US$','$'],XXX:[]},'ltr', plural_vi]; function plural_zh(n: number): number { - return 5; +return 5; } -export const locale_zh = [ - 'zh', - [['上午', '下午'], u, u], - u, - [ - ['日', '一', '二', '三', '四', '五', '六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', - '十二月' - ] - ], - 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], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'CNY', - '¥', - '人民币', - { - 'AUD': ['AU$', '$'], - 'CNY': ['¥'], - 'ILR': ['ILS'], - 'JPY': ['JP¥', '¥'], - 'KRW': ['₩', '₩'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural_zh -]; +export const locale_zh = ["zh",[["上午","下午"],u,u],u,[["日","一","二","三","四","五","六"],["周日","周一","周二","周三","周四","周五","周六"],["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["周日","周一","周二","周三","周四","周五","周六"]],u,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]],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],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"CNY","¥","人民币",{"AUD":["AU$","$"],"CNY":["¥"],"ILR":["ILS"],"JPY":["JP¥","¥"],"KRW":["₩","₩"],"TWD":["NT$"],"USD":["US$","$"],"XXX":[]},"ltr", plural_zh]; function plural_zh_CN(n: number): number { - return 5; +return 5; } -export const locale_zh_CN = [ - 'zh-Hans', - [['上午', '下午'], u, u], - u, - [ - ['日', '一', '二', '三', '四', '五', '六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], - [ - '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', - '十二月' - ] - ], - 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], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'CNY', - '¥', - '人民币', - { - 'AUD': ['AU$', '$'], - 'CNY': ['¥'], - 'ILR': ['ILS'], - 'JPY': ['JP¥', '¥'], - 'KRW': ['₩', '₩'], - 'TWD': ['NT$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural_zh_CN -]; +export const locale_zh_CN = ['zh-Hans-CN',[['上午','下午'],u,u],u,[['日','一','二','三','四','五','六'],['周日','周一','周二','周三','周四','周五','周六'],['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],['周日','周一','周二','周三','周四','周五','周六']],u,[['1','2','3','4','5','6','7','8','9','10','11','12'],['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月']],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],['.',',',';','%','+','-','E','×','‰','∞','NaN',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'CNY','¥','人民币',{AUD:['AU$','$'],CNY:['¥'],ILR:['ILS'],JPY:['JP¥','¥'],KRW:['₩','₩'],TWD:['NT$'],USD:['US$','$'],XXX:[]},'ltr', plural_zh_CN]; function plural_zh_HK(n: number): number { - return 5; +return 5; } -export const locale_zh_HK = [ - 'zh-Hant-HK', - [['上午', '下午'], u, u], - u, - [ - ['日', '一', '二', '三', '四', '五', '六'], - ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['日', '一', '二', '三', '四', '五', '六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u - ], - u, - [['公元前', '公元'], u, u], - 0, - [6, 0], - ['d/M/y', '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], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'HKD', - 'HK$', - '港元', - {'AUD': ['AU$', '$'], 'RON': [u, 'L'], 'USD': ['US$', '$'], 'XXX': []}, - 'ltr', - plural_zh_HK -]; +export const locale_zh_HK = ['zh-Hant-HK',[['上午','下午'],u,u],u,[['日','一','二','三','四','五','六'],['週日','週一','週二','週三','週四','週五','週六'],['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],['日','一','二','三','四','五','六']],u,[['1','2','3','4','5','6','7','8','9','10','11','12'],['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],u],u,[['公元前','公元'],u,u],0,[6,0],['d/M/y','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],['.',',',';','%','+','-','E','×','‰','∞','非數值',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'HKD','HK$','港元',{AUD:['AU$','$'],RON:[u,'L'],USD:['US$','$'],XXX:[]},'ltr', plural_zh_HK]; function plural_zh_TW(n: number): number { - return 5; +return 5; } -export const locale_zh_TW = [ - 'zh-Hant', - [['上午', '下午'], u, u], - u, - [ - ['日', '一', '二', '三', '四', '五', '六'], - ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], - ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], - ['日', '一', '二', '三', '四', '五', '六'] - ], - u, - [ - ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], u - ], - 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], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', '非數值', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'TWD', - '$', - '新台幣', - { - 'AUD': ['AU$', '$'], - 'KRW': ['₩', '₩'], - 'RON': [u, 'L'], - 'TWD': ['$'], - 'USD': ['US$', '$'], - 'XXX': [] - }, - 'ltr', - plural_zh_TW -]; +export const locale_zh_TW = ['zh-Hant-TW',[['上午','下午'],u,u],u,[['日','一','二','三','四','五','六'],['週日','週一','週二','週三','週四','週五','週六'],['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],['日','一','二','三','四','五','六']],u,[['1','2','3','4','5','6','7','8','9','10','11','12'],['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],u],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],['.',',',';','%','+','-','E','×','‰','∞','非數值',':'],['#,##0.###','#,##0%','¤#,##0.00','#E0'],'TWD','$','新台幣',{AUD:['AU$','$'],KRW:['₩','₩'],RON:[u,'L'],TWD:['$'],USD:['US$','$'],XXX:[]},'ltr', plural_zh_TW]; function plural_zu(n: number): number { - let i = Math.floor(Math.abs(n)); - if (i === 0 || n === 1) return 1; - return 5; +const i = Math.floor(Math.abs(n)); + +if (i === 0 || n === 1) + return 1; +return 5; } -export const locale_zu = [ - 'zu', - [['a', 'p'], ['AM', 'PM'], u], - [['AM', 'PM'], u, u], - [ - ['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'] - ], - u, - [ - ['J', 'F', 'M', 'E', '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' - ] - ], - [ - ['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' - ] - ], - [['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], - ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], - ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], - 'ZAR', - 'R', - 'i-South African Rand', - { - 'BYN': [u, 'P.'], - 'DKK': [u, 'Kr'], - 'HRK': [u, 'Kn'], - 'ISK': [u, 'Kr'], - 'JPY': ['JP¥', '¥'], - 'NOK': [u, 'Kr'], - 'PLN': [u, 'Zł'], - 'SEK': [u, 'Kr'], - 'THB': ['฿'], - 'TWD': ['NT$'], - 'ZAR': ['R'] - }, - 'ltr', - plural_zu -]; +export const locale_zu = ["zu",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["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"]],u,[["J","F","M","E","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"]],[["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"]],[["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],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"ZAR","R","i-South African Rand",{"BYN":[u,"P."],"DKK":[u,"Kr"],"HRK":[u,"Kn"],"ISK":[u,"Kr"],"JPY":["JP¥","¥"],"NOK":[u,"Kr"],"PLN":[u,"Zł"],"SEK":[u,"Kr"],"THB":["฿"],"TWD":["NT$"],"ZAR":["R"]},"ltr", plural_zu]; let l: any; let locales: string[] = []; switch (goog.LOCALE) { - case 'af': - l = locale_af; +case 'af': + l = locale_af; locales = ['af']; break; - case 'am': - l = locale_am; +case 'am': + l = locale_am; locales = ['am']; break; - case 'ar': - l = locale_ar; +case 'ar': + l = locale_ar; locales = ['ar']; break; - case 'ar-DZ': - case 'ar_DZ': - l = locale_ar_DZ; - locales = ['ar-DZ', 'ar_DZ']; +case 'ar-DZ': +case 'ar_DZ': + l = locale_ar_DZ; + locales = ['ar-DZ','ar_DZ']; break; - case 'az': - l = locale_az; +case 'az': + l = locale_az; locales = ['az']; break; - case 'be': - l = locale_be; +case 'be': + l = locale_be; locales = ['be']; break; - case 'bg': - l = locale_bg; +case 'bg': + l = locale_bg; locales = ['bg']; break; - case 'bn': - l = locale_bn; +case 'bn': + l = locale_bn; locales = ['bn']; break; - case 'br': - l = locale_br; +case 'br': + l = locale_br; locales = ['br']; break; - case 'bs': - l = locale_bs; +case 'bs': + l = locale_bs; locales = ['bs']; break; - case 'ca': - l = locale_ca; +case 'ca': + l = locale_ca; locales = ['ca']; break; - case 'chr': - l = locale_chr; +case 'chr': + l = locale_chr; locales = ['chr']; break; - case 'cs': - l = locale_cs; +case 'cs': + l = locale_cs; locales = ['cs']; break; - case 'cy': - l = locale_cy; +case 'cy': + l = locale_cy; locales = ['cy']; break; - case 'da': - l = locale_da; +case 'da': + l = locale_da; locales = ['da']; break; - case 'de': - l = locale_de; +case 'de': + l = locale_de; locales = ['de']; break; - case 'de-AT': - case 'de_AT': - l = locale_de_AT; - locales = ['de-AT', 'de_AT']; +case 'de-AT': +case 'de_AT': + l = locale_de_AT; + locales = ['de-AT','de_AT']; break; - case 'de-CH': - case 'de_CH': - l = locale_de_CH; - locales = ['de-CH', 'de_CH']; +case 'de-CH': +case 'de_CH': + l = locale_de_CH; + locales = ['de-CH','de_CH']; break; - case 'el': - l = locale_el; +case 'el': + l = locale_el; locales = ['el']; break; - case 'en-AU': - case 'en_AU': - l = locale_en_AU; - locales = ['en-AU', 'en_AU']; +case 'en-AU': +case 'en_AU': + l = locale_en_AU; + locales = ['en-AU','en_AU']; break; - case 'en-CA': - case 'en_CA': - l = locale_en_CA; - locales = ['en-CA', 'en_CA']; +case 'en-CA': +case 'en_CA': + l = locale_en_CA; + locales = ['en-CA','en_CA']; break; - case 'en-GB': - case 'en_GB': - l = locale_en_GB; - locales = ['en-GB', 'en_GB']; +case 'en-GB': +case 'en_GB': + l = locale_en_GB; + locales = ['en-GB','en_GB']; break; - case 'en-IE': - case 'en_IE': - l = locale_en_IE; - locales = ['en-IE', 'en_IE']; +case 'en-IE': +case 'en_IE': + l = locale_en_IE; + locales = ['en-IE','en_IE']; break; - case 'en-IN': - case 'en_IN': - l = locale_en_IN; - locales = ['en-IN', 'en_IN']; +case 'en-IN': +case 'en_IN': + l = locale_en_IN; + locales = ['en-IN','en_IN']; break; - case 'en-SG': - case 'en_SG': - l = locale_en_SG; - locales = ['en-SG', 'en_SG']; +case 'en-SG': +case 'en_SG': + l = locale_en_SG; + locales = ['en-SG','en_SG']; break; - case 'en-ZA': - case 'en_ZA': - l = locale_en_ZA; - locales = ['en-ZA', 'en_ZA']; +case 'en-ZA': +case 'en_ZA': + l = locale_en_ZA; + locales = ['en-ZA','en_ZA']; break; - case 'es': - l = locale_es; +case 'es': + l = locale_es; locales = ['es']; break; - case 'es-419': - case 'es_419': - l = locale_es_419; - locales = ['es-419', 'es_419']; +case 'es-419': +case 'es_419': + l = locale_es_419; + locales = ['es-419','es_419']; break; - case 'es-MX': - case 'es_MX': - l = locale_es_MX; - locales = ['es-MX', 'es_MX']; +case 'es-MX': +case 'es_MX': + l = locale_es_MX; + locales = ['es-MX','es_MX']; break; - case 'es-US': - case 'es_US': - l = locale_es_US; - locales = ['es-US', 'es_US']; +case 'es-US': +case 'es_US': + l = locale_es_US; + locales = ['es-US','es_US']; break; - case 'et': - l = locale_et; +case 'et': + l = locale_et; locales = ['et']; break; - case 'eu': - l = locale_eu; +case 'eu': + l = locale_eu; locales = ['eu']; break; - case 'fa': - l = locale_fa; +case 'fa': + l = locale_fa; locales = ['fa']; break; - case 'fi': - l = locale_fi; +case 'fi': + l = locale_fi; locales = ['fi']; break; - case 'fr': - l = locale_fr; +case 'fr': + l = locale_fr; locales = ['fr']; break; - case 'fr-CA': - case 'fr_CA': - l = locale_fr_CA; - locales = ['fr-CA', 'fr_CA']; +case 'fr-CA': +case 'fr_CA': + l = locale_fr_CA; + locales = ['fr-CA','fr_CA']; break; - case 'ga': - l = locale_ga; +case 'ga': + l = locale_ga; locales = ['ga']; break; - case 'gl': - l = locale_gl; +case 'gl': + l = locale_gl; locales = ['gl']; break; - case 'gsw': - l = locale_gsw; +case 'gsw': + l = locale_gsw; locales = ['gsw']; break; - case 'gu': - l = locale_gu; +case 'gu': + l = locale_gu; locales = ['gu']; break; - case 'haw': - l = locale_haw; +case 'haw': + l = locale_haw; locales = ['haw']; break; - case 'hi': - l = locale_hi; +case 'hi': + l = locale_hi; locales = ['hi']; break; - case 'hr': - l = locale_hr; +case 'hr': + l = locale_hr; locales = ['hr']; break; - case 'hu': - l = locale_hu; +case 'hu': + l = locale_hu; locales = ['hu']; break; - case 'hy': - l = locale_hy; +case 'hy': + l = locale_hy; locales = ['hy']; break; - case 'in': - case 'id': - l = locale_in; - locales = ['in', 'id']; +case 'in': +case 'id': + l = locale_in; + locales = ['in','id']; break; - case 'is': - l = locale_is; +case 'is': + l = locale_is; locales = ['is']; break; - case 'it': - l = locale_it; +case 'it': + l = locale_it; locales = ['it']; break; - case 'iw': - case 'he': - l = locale_iw; - locales = ['iw', 'he']; +case 'iw': +case 'he': + l = locale_iw; + locales = ['iw','he']; break; - case 'ja': - l = locale_ja; +case 'ja': + l = locale_ja; locales = ['ja']; break; - case 'ka': - l = locale_ka; +case 'ka': + l = locale_ka; locales = ['ka']; break; - case 'kk': - l = locale_kk; +case 'kk': + l = locale_kk; locales = ['kk']; break; - case 'km': - l = locale_km; +case 'km': + l = locale_km; locales = ['km']; break; - case 'kn': - l = locale_kn; +case 'kn': + l = locale_kn; locales = ['kn']; break; - case 'ko': - l = locale_ko; +case 'ko': + l = locale_ko; locales = ['ko']; break; - case 'ky': - l = locale_ky; +case 'ky': + l = locale_ky; locales = ['ky']; break; - case 'ln': - l = locale_ln; +case 'ln': + l = locale_ln; locales = ['ln']; break; - case 'lo': - l = locale_lo; +case 'lo': + l = locale_lo; locales = ['lo']; break; - case 'lt': - l = locale_lt; +case 'lt': + l = locale_lt; locales = ['lt']; break; - case 'lv': - l = locale_lv; +case 'lv': + l = locale_lv; locales = ['lv']; break; - case 'mk': - l = locale_mk; +case 'mk': + l = locale_mk; locales = ['mk']; break; - case 'ml': - l = locale_ml; +case 'ml': + l = locale_ml; locales = ['ml']; break; - case 'mn': - l = locale_mn; +case 'mn': + l = locale_mn; locales = ['mn']; break; - case 'mo': - case 'ro-MD': - case 'ro_MD': - l = locale_mo; - locales = ['mo', 'ro-MD', 'ro_MD']; +case 'mo': +case 'ro-MD': +case 'ro_MD': + l = locale_mo; + locales = ['mo','ro-MD','ro_MD']; break; - case 'mr': - l = locale_mr; +case 'mr': + l = locale_mr; locales = ['mr']; break; - case 'ms': - l = locale_ms; +case 'ms': + l = locale_ms; locales = ['ms']; break; - case 'mt': - l = locale_mt; +case 'mt': + l = locale_mt; locales = ['mt']; break; - case 'my': - l = locale_my; +case 'my': + l = locale_my; locales = ['my']; break; - case 'ne': - l = locale_ne; +case 'ne': + l = locale_ne; locales = ['ne']; break; - case 'nl': - l = locale_nl; +case 'nl': + l = locale_nl; locales = ['nl']; break; - case 'no': - case 'nb': - case 'no-NO': - case 'no_NO': - l = locale_no; - locales = ['no', 'nb', 'no-NO', 'no_NO']; +case 'no': +case 'nb': +case 'no-NO': +case 'no_NO': + l = locale_no; + locales = ['no','nb','no-NO','no_NO']; break; - case 'or': - l = locale_or; +case 'or': + l = locale_or; locales = ['or']; break; - case 'pa': - l = locale_pa; +case 'pa': + l = locale_pa; locales = ['pa']; break; - case 'pl': - l = locale_pl; +case 'pl': + l = locale_pl; locales = ['pl']; break; - case 'pt': - case 'pt-BR': - case 'pt_BR': - l = locale_pt; - locales = ['pt', 'pt-BR', 'pt_BR']; +case 'pt': +case 'pt-BR': +case 'pt_BR': + l = locale_pt; + locales = ['pt','pt-BR','pt_BR']; break; - case 'pt-PT': - case 'pt_PT': - l = locale_pt_PT; - locales = ['pt-PT', 'pt_PT']; +case 'pt-PT': +case 'pt_PT': + l = locale_pt_PT; + locales = ['pt-PT','pt_PT']; break; - case 'ro': - l = locale_ro; +case 'ro': + l = locale_ro; locales = ['ro']; break; - case 'ru': - l = locale_ru; +case 'ru': + l = locale_ru; locales = ['ru']; break; - case 'sh': - case 'sr-Latn': - case 'sr_Latn': - l = locale_sh; - locales = ['sh', 'sr-Latn', 'sr_Latn']; +case 'sh': +case 'sr-Latn': +case 'sr_Latn': + l = locale_sh; + locales = ['sh','sr-Latn','sr_Latn']; break; - case 'si': - l = locale_si; +case 'si': + l = locale_si; locales = ['si']; break; - case 'sk': - l = locale_sk; +case 'sk': + l = locale_sk; locales = ['sk']; break; - case 'sl': - l = locale_sl; +case 'sl': + l = locale_sl; locales = ['sl']; break; - case 'sq': - l = locale_sq; +case 'sq': + l = locale_sq; locales = ['sq']; break; - case 'sr': - l = locale_sr; +case 'sr': + l = locale_sr; locales = ['sr']; break; - case 'sv': - l = locale_sv; +case 'sv': + l = locale_sv; locales = ['sv']; break; - case 'sw': - l = locale_sw; +case 'sw': + l = locale_sw; locales = ['sw']; break; - case 'ta': - l = locale_ta; +case 'ta': + l = locale_ta; locales = ['ta']; break; - case 'te': - l = locale_te; +case 'te': + l = locale_te; locales = ['te']; break; - case 'th': - l = locale_th; +case 'th': + l = locale_th; locales = ['th']; break; - case 'tl': - case 'fil': - l = locale_tl; - locales = ['tl', 'fil']; +case 'tl': +case 'fil': + l = locale_tl; + locales = ['tl','fil']; break; - case 'tr': - l = locale_tr; +case 'tr': + l = locale_tr; locales = ['tr']; break; - case 'uk': - l = locale_uk; +case 'uk': + l = locale_uk; locales = ['uk']; break; - case 'ur': - l = locale_ur; +case 'ur': + l = locale_ur; locales = ['ur']; break; - case 'uz': - l = locale_uz; +case 'uz': + l = locale_uz; locales = ['uz']; break; - case 'vi': - l = locale_vi; +case 'vi': + l = locale_vi; locales = ['vi']; break; - case 'zh': - l = locale_zh; +case 'zh': + l = locale_zh; locales = ['zh']; break; - case 'zh-CN': - case 'zh_CN': - case 'zh-Hans-CN': - case 'zh_Hans_CN': - case 'zh-Hans': - case 'zh_Hans': - l = locale_zh_CN; - locales = ['zh-CN', 'zh_CN', 'zh-Hans-CN', 'zh_Hans_CN', 'zh-Hans', 'zh_Hans']; +case 'zh-CN': +case 'zh_CN': +case 'zh-Hans-CN': +case 'zh_Hans_CN': +case 'zh-Hans': +case 'zh_Hans': + l = locale_zh_CN; + locales = ['zh-CN','zh_CN','zh-Hans-CN','zh_Hans_CN','zh-Hans','zh_Hans']; break; - case 'zh-HK': - case 'zh_HK': - case 'zh-Hant-HK': - case 'zh_Hant_HK': - l = locale_zh_HK; - locales = ['zh-HK', 'zh_HK', 'zh-Hant-HK', 'zh_Hant_HK']; +case 'zh-HK': +case 'zh_HK': +case 'zh-Hant-HK': +case 'zh_Hant_HK': + l = locale_zh_HK; + locales = ['zh-HK','zh_HK','zh-Hant-HK','zh_Hant_HK']; break; - case 'zh-TW': - case 'zh_TW': - case 'zh-Hant-TW': - case 'zh_Hant_TW': - case 'zh-Hant': - case 'zh_Hant': - l = locale_zh_TW; - locales = ['zh-TW', 'zh_TW', 'zh-Hant-TW', 'zh_Hant_TW', 'zh-Hant', 'zh_Hant']; +case 'zh-TW': +case 'zh_TW': +case 'zh-Hant-TW': +case 'zh_Hant_TW': +case 'zh-Hant': +case 'zh_Hant': + l = locale_zh_TW; + locales = ['zh-TW','zh_TW','zh-Hant-TW','zh_Hant_TW','zh-Hant','zh_Hant']; break; - case 'zu': - l = locale_zu; +case 'zu': + l = locale_zu; locales = ['zu']; break; } -if (l) { +if(l) { locales.forEach(locale => registerLocaleData(l, locale)); } diff --git a/packages/common/locales/extra/ff-CM.ts b/packages/common/locales/extra/ff-CM.ts new file mode 100644 index 0000000000..e9d355c0d9 --- /dev/null +++ b/packages/common/locales/extra/ff-CM.ts @@ -0,0 +1,18 @@ +/** + * @license + * Copyright Google LLC 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 + */ + +// **Note**: Locale files are generated through Bazel and never part of the sources. This is an +// exception for backwards compatibility. With the Gulp setup we never deleted old locale files +// when updating CLDR, so older locale files which have been removed, or renamed in the CLDR +// data remained in the repository. We keep these files checked-in until the next major to avoid +// potential breaking changes. It's worth noting that the locale data for such files is outdated +// anyway. e.g. the data is missing the directionality, throwing off the indices. + +const u = undefined; + +export default []; diff --git a/packages/common/locales/extra/ff-GN.ts b/packages/common/locales/extra/ff-GN.ts new file mode 100644 index 0000000000..e9d355c0d9 --- /dev/null +++ b/packages/common/locales/extra/ff-GN.ts @@ -0,0 +1,18 @@ +/** + * @license + * Copyright Google LLC 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 + */ + +// **Note**: Locale files are generated through Bazel and never part of the sources. This is an +// exception for backwards compatibility. With the Gulp setup we never deleted old locale files +// when updating CLDR, so older locale files which have been removed, or renamed in the CLDR +// data remained in the repository. We keep these files checked-in until the next major to avoid +// potential breaking changes. It's worth noting that the locale data for such files is outdated +// anyway. e.g. the data is missing the directionality, throwing off the indices. + +const u = undefined; + +export default []; diff --git a/packages/common/locales/extra/ff-MR.ts b/packages/common/locales/extra/ff-MR.ts new file mode 100644 index 0000000000..e9d355c0d9 --- /dev/null +++ b/packages/common/locales/extra/ff-MR.ts @@ -0,0 +1,18 @@ +/** + * @license + * Copyright Google LLC 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 + */ + +// **Note**: Locale files are generated through Bazel and never part of the sources. This is an +// exception for backwards compatibility. With the Gulp setup we never deleted old locale files +// when updating CLDR, so older locale files which have been removed, or renamed in the CLDR +// data remained in the repository. We keep these files checked-in until the next major to avoid +// potential breaking changes. It's worth noting that the locale data for such files is outdated +// anyway. e.g. the data is missing the directionality, throwing off the indices. + +const u = undefined; + +export default []; diff --git a/packages/common/locales/ff-CM.ts b/packages/common/locales/ff-CM.ts new file mode 100644 index 0000000000..ac1d7c8575 --- /dev/null +++ b/packages/common/locales/ff-CM.ts @@ -0,0 +1,46 @@ +/** + * @license + * Copyright Google LLC 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 + */ + +// **Note**: Locale files are generated through Bazel and never part of the sources. This is an +// exception for backwards compatibility. With the Gulp setup we never deleted old locale files +// when updating CLDR, so older locale files which have been removed, or renamed in the CLDR +// data remained in the repository. We keep these files checked-in until the next major to avoid +// potential breaking changes. It's worth noting that the locale data for such files is outdated +// anyway. e.g. the data is missing the directionality, throwing off the indices. + +const u = undefined; + +function plural(n: number): number { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} + +export default [ + 'ff-CM', [['subaka', 'kikiiɗe'], u, u], u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], 1, [6, 0], + ['d/M/y', 'd MMM, 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], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'FCFA', 'Mbuuɗi Seefaa BEAC', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, plural +]; diff --git a/packages/common/locales/ff-GN.ts b/packages/common/locales/ff-GN.ts new file mode 100644 index 0000000000..34a1f19404 --- /dev/null +++ b/packages/common/locales/ff-GN.ts @@ -0,0 +1,46 @@ +/** + * @license + * Copyright Google LLC 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 + */ + +// **Note**: Locale files are generated through Bazel and never part of the sources. This is an +// exception for backwards compatibility. With the Gulp setup we never deleted old locale files +// when updating CLDR, so older locale files which have been removed, or renamed in the CLDR +// data remained in the repository. We keep these files checked-in until the next major to avoid +// potential breaking changes. It's worth noting that the locale data for such files is outdated +// anyway. e.g. the data is missing the directionality, throwing off the indices. + +const u = undefined; + +function plural(n: number): number { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} + +export default [ + 'ff-GN', [['subaka', 'kikiiɗe'], u, u], u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], 1, [6, 0], + ['d/M/y', 'd MMM, 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], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'FG', 'GNF', + {'GNF': ['FG'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, plural +]; diff --git a/packages/common/locales/ff-MR.ts b/packages/common/locales/ff-MR.ts new file mode 100644 index 0000000000..eea6778b51 --- /dev/null +++ b/packages/common/locales/ff-MR.ts @@ -0,0 +1,46 @@ +/** + * @license + * Copyright Google LLC 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 + */ + +// **Note**: Locale files are generated through Bazel and never part of the sources. This is an +// exception for backwards compatibility. With the Gulp setup we never deleted old locale files +// when updating CLDR, so older locale files which have been removed, or renamed in the CLDR +// data remained in the repository. We keep these files checked-in until the next major to avoid +// potential breaking changes. It's worth noting that the locale data for such files is outdated +// anyway. e.g. the data is missing the directionality, throwing off the indices. + +const u = undefined; + +function plural(n: number): number { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} + +export default [ + 'ff-MR', [['subaka', 'kikiiɗe'], u, u], u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], 1, [6, 0], + ['d/M/y', '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], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'UM', 'Ugiyya Muritani', + {'JPY': ['JP¥', '¥'], 'MRU': ['UM'], 'USD': ['US$', '$']}, plural +]; diff --git a/packages/common/locales/global/ff-CM.js b/packages/common/locales/global/ff-CM.js new file mode 100644 index 0000000000..1bb38f0fa8 --- /dev/null +++ b/packages/common/locales/global/ff-CM.js @@ -0,0 +1,60 @@ +/** + * @license + * Copyright Google LLC 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 + */ + +// **Note**: Locale files are generated through Bazel and never part of the sources. This is an +// exception for backwards compatibility. With the Gulp setup we never deleted old locale files +// when updating CLDR, so older locale files which have been removed, or renamed in the CLDR +// data remained in the repository. We keep these files checked-in until the next major to avoid +// potential breaking changes. It's worth noting that the locale data for such files is outdated +// anyway. e.g. the data is missing the directionality, throwing off the indices. + +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +root.ng.common.locales['ff-cm'] = [ + 'ff-CM', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, 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], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'FCFA', + 'Mbuuɗi Seefaa BEAC', + {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + plural, + [] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-GN.js b/packages/common/locales/global/ff-GN.js new file mode 100644 index 0000000000..926b6dca7a --- /dev/null +++ b/packages/common/locales/global/ff-GN.js @@ -0,0 +1,60 @@ +/** + * @license + * Copyright Google LLC 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 + */ + +// **Note**: Locale files are generated through Bazel and never part of the sources. This is an +// exception for backwards compatibility. With the Gulp setup we never deleted old locale files +// when updating CLDR, so older locale files which have been removed, or renamed in the CLDR +// data remained in the repository. We keep these files checked-in until the next major to avoid +// potential breaking changes. It's worth noting that the locale data for such files is outdated +// anyway. e.g. the data is missing the directionality, throwing off the indices. + +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +root.ng.common.locales['ff-gn'] = [ + 'ff-GN', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', 'd MMM, 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], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'FG', + 'GNF', + {'GNF': ['FG'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, + plural, + [] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/global/ff-MR.js b/packages/common/locales/global/ff-MR.js new file mode 100644 index 0000000000..a18798e47d --- /dev/null +++ b/packages/common/locales/global/ff-MR.js @@ -0,0 +1,60 @@ +/** + * @license + * Copyright Google LLC 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 + */ + +// **Note**: Locale files are generated through Bazel and never part of the sources. This is an +// exception for backwards compatibility. With the Gulp setup we never deleted old locale files +// when updating CLDR, so older locale files which have been removed, or renamed in the CLDR +// data remained in the repository. We keep these files checked-in until the next major to avoid +// potential breaking changes. It's worth noting that the locale data for such files is outdated +// anyway. e.g. the data is missing the directionality, throwing off the indices. + +(function(global) { +global.ng = global.ng || {}; +global.ng.common = global.ng.common || {}; +global.ng.common.locales = global.ng.common.locales || {}; +const u = undefined; +function plural(n) { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return 1; + return 5; +} +root.ng.common.locales['ff-mr'] = [ + 'ff-MR', + [['subaka', 'kikiiɗe'], u, u], + u, + [ + ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], + ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] + ], + u, + [ + ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', + 'jolal', 'bowte' + ] + ], + u, + [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], + 1, + [6, 0], + ['d/M/y', '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], + [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], + ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], + 'UM', + 'Ugiyya Muritani', + {'JPY': ['JP¥', '¥'], 'MRU': ['UM'], 'USD': ['US$', '$']}, + plural, + [] +]; +})(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || + typeof window !== 'undefined' && window); diff --git a/packages/common/locales/index.bzl b/packages/common/locales/index.bzl new file mode 100644 index 0000000000..8a1abf0e82 --- /dev/null +++ b/packages/common/locales/index.bzl @@ -0,0 +1,94 @@ +load("@cldr_data//:index.bzl", _ALL_CLDR_LOCALES = "LOCALES") + +# There are a couple of locales for which no data is present, even within the +# CLDR full tier packages. For these locales, we do not generate any data. +# TODO(devversion): Remove once we update to CLDR v39 where this problem no longer persists. +# Note that this worked before in the Gulp tooling without such an exclusion list because the +# `cldr-data-downloader` overwrote the `availableLocales` to only capture locales with data. +NO_DATA_LOCALES = [ + "ff-Adlm", + "ff-Adlm-BF", + "ff-Adlm-CM", + "ff-Adlm-GH", + "ff-Adlm-GM", + "ff-Adlm-GW", + "ff-Adlm-LR", + "ff-Adlm-MR", + "ff-Adlm-NE", + "ff-Adlm-NG", + "ff-Adlm-SL", + "ff-Adlm-SN", + "mai", + "mni", + "mni-Beng", + "ms-ID", + "pcm", + "sat", + "sat-Olck", + "sd-Deva", + "su", + "su-Latn", +] + +# List of locales the tool can generate files for. +LOCALES = [l for l in _ALL_CLDR_LOCALES if l not in NO_DATA_LOCALES] + +# Labels resolving to the individual `generate-locale-tool` entry-points +GENERATE_LOCALES_TOOL_BIN = "//packages/common/locales/generate-locales-tool/bin" +GET_BASE_CURRENCIES_FILE_BIN = "%s:get-base-currencies-file" % GENERATE_LOCALES_TOOL_BIN +GET_BASE_LOCALE_FILE_BIN = "%s:get-base-locale-file" % GENERATE_LOCALES_TOOL_BIN +GET_CLOSURE_LOCALE_FILE_BIN = "%s:get-closure-locale-file" % GENERATE_LOCALES_TOOL_BIN +WRITE_LOCALE_FILES_TO_DIST_BIN = "%s:write-locale-files-to-dist" % GENERATE_LOCALES_TOOL_BIN + +def _run_tool_with_single_output(name, output_file, tool, **kwargs): + native.genrule( + name = name, + outs = [output_file], + srcs = [], + exec_tools = [tool], + cmd = """$(location %s) > $@""" % tool, + **kwargs + ) + +def generate_base_currencies_file(name, output_file, **kwargs): + _run_tool_with_single_output( + name = name, + output_file = output_file, + tool = GET_BASE_CURRENCIES_FILE_BIN, + **kwargs + ) + +def generate_base_locale_file(name, output_file, **kwargs): + _run_tool_with_single_output( + name = name, + output_file = output_file, + tool = GET_BASE_LOCALE_FILE_BIN, + **kwargs + ) + +def generate_closure_locales_file(name, output_file, **kwargs): + _run_tool_with_single_output( + name = name, + output_file = output_file, + tool = GET_CLOSURE_LOCALE_FILE_BIN, + **kwargs + ) + +def generate_all_locale_files(name, **kwargs): + locale_files = [] + + for locale in LOCALES: + locale_files += [ + "%s.ts" % locale, + "global/%s.js" % locale, + "extra/%s.ts" % locale, + ] + + native.genrule( + name = name, + outs = locale_files, + srcs = [], + exec_tools = [WRITE_LOCALE_FILES_TO_DIST_BIN], + cmd = """$(location %s) $(@D)""" % WRITE_LOCALE_FILES_TO_DIST_BIN, + **kwargs + ) diff --git a/packages/common/src/i18n/currencies.ts b/packages/common/src/i18n/currencies.ts new file mode 100644 index 0000000000..129b7777fc --- /dev/null +++ b/packages/common/src/i18n/currencies.ts @@ -0,0 +1,13 @@ +/** + * @license + * Copyright Google LLC 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. +export type CurrenciesSymbols = [string] | [string | undefined, string]; + +/** @internal */ +export const CURRENCIES_EN: {[code: string]: CurrenciesSymbols | [string | undefined, string | undefined, number]} = {"ADP":[undefined,undefined,0],"AFN":[undefined,undefined,0],"ALL":[undefined,undefined,0],"AMD":[undefined,undefined,2],"AOA":[undefined,"Kz"],"ARS":[undefined,"$"],"AUD":["A$","$"],"BAM":[undefined,"KM"],"BBD":[undefined,"$"],"BDT":[undefined,"৳"],"BHD":[undefined,undefined,3],"BIF":[undefined,undefined,0],"BMD":[undefined,"$"],"BND":[undefined,"$"],"BOB":[undefined,"Bs"],"BRL":["R$"],"BSD":[undefined,"$"],"BWP":[undefined,"P"],"BYN":[undefined,"р.",2],"BYR":[undefined,undefined,0],"BZD":[undefined,"$"],"CAD":["CA$","$",2],"CHF":[undefined,undefined,2],"CLF":[undefined,undefined,4],"CLP":[undefined,"$",0],"CNY":["CN¥","¥"],"COP":[undefined,"$",2],"CRC":[undefined,"₡",2],"CUC":[undefined,"$"],"CUP":[undefined,"$"],"CZK":[undefined,"Kč",2],"DJF":[undefined,undefined,0],"DKK":[undefined,"kr",2],"DOP":[undefined,"$"],"EGP":[undefined,"E£"],"ESP":[undefined,"₧",0],"EUR":["€"],"FJD":[undefined,"$"],"FKP":[undefined,"£"],"GBP":["£"],"GEL":[undefined,"₾"],"GIP":[undefined,"£"],"GNF":[undefined,"FG",0],"GTQ":[undefined,"Q"],"GYD":[undefined,"$",2],"HKD":["HK$","$"],"HNL":[undefined,"L"],"HRK":[undefined,"kn"],"HUF":[undefined,"Ft",2],"IDR":[undefined,"Rp",2],"ILS":["₪"],"INR":["₹"],"IQD":[undefined,undefined,0],"IRR":[undefined,undefined,0],"ISK":[undefined,"kr",0],"ITL":[undefined,undefined,0],"JMD":[undefined,"$"],"JOD":[undefined,undefined,3],"JPY":["¥",undefined,0],"KHR":[undefined,"៛"],"KMF":[undefined,"CF",0],"KPW":[undefined,"₩",0],"KRW":["₩",undefined,0],"KWD":[undefined,undefined,3],"KYD":[undefined,"$"],"KZT":[undefined,"₸"],"LAK":[undefined,"₭",0],"LBP":[undefined,"L£",0],"LKR":[undefined,"Rs"],"LRD":[undefined,"$"],"LTL":[undefined,"Lt"],"LUF":[undefined,undefined,0],"LVL":[undefined,"Ls"],"LYD":[undefined,undefined,3],"MGA":[undefined,"Ar",0],"MGF":[undefined,undefined,0],"MMK":[undefined,"K",0],"MNT":[undefined,"₮",2],"MRO":[undefined,undefined,0],"MUR":[undefined,"Rs",2],"MXN":["MX$","$"],"MYR":[undefined,"RM"],"NAD":[undefined,"$"],"NGN":[undefined,"₦"],"NIO":[undefined,"C$"],"NOK":[undefined,"kr",2],"NPR":[undefined,"Rs"],"NZD":["NZ$","$"],"OMR":[undefined,undefined,3],"PHP":[undefined,"₱"],"PKR":[undefined,"Rs",2],"PLN":[undefined,"zł"],"PYG":[undefined,"₲",0],"RON":[undefined,"lei"],"RSD":[undefined,undefined,0],"RUB":[undefined,"₽"],"RUR":[undefined,"р."],"RWF":[undefined,"RF",0],"SBD":[undefined,"$"],"SEK":[undefined,"kr",2],"SGD":[undefined,"$"],"SHP":[undefined,"£"],"SLL":[undefined,undefined,0],"SOS":[undefined,undefined,0],"SRD":[undefined,"$"],"SSP":[undefined,"£"],"STD":[undefined,undefined,0],"STN":[undefined,"Db"],"SYP":[undefined,"£",0],"THB":[undefined,"฿"],"TMM":[undefined,undefined,0],"TND":[undefined,undefined,3],"TOP":[undefined,"T$"],"TRL":[undefined,undefined,0],"TRY":[undefined,"₺"],"TTD":[undefined,"$"],"TWD":["NT$","$",2],"TZS":[undefined,undefined,2],"UAH":[undefined,"₴"],"UGX":[undefined,undefined,0],"USD":["$"],"UYI":[undefined,undefined,0],"UYU":[undefined,"$"],"UYW":[undefined,undefined,4],"UZS":[undefined,undefined,2],"VEF":[undefined,"Bs",2],"VND":["₫",undefined,0],"VUV":[undefined,undefined,0],"XAF":["FCFA",undefined,0],"XCD":["EC$","$"],"XOF":["CFA",undefined,0],"XPF":["CFPF",undefined,0],"XXX":["¤"],"YER":[undefined,undefined,0],"ZAR":[undefined,"R"],"ZMK":[undefined,undefined,0],"ZMW":[undefined,"ZK"],"ZWD":[undefined,undefined,0]}; diff --git a/packages/core/BUILD.bazel b/packages/core/BUILD.bazel index 15b435131b..371117781a 100644 --- a/packages/core/BUILD.bazel +++ b/packages/core/BUILD.bazel @@ -1,7 +1,24 @@ +load("@build_bazel_rules_nodejs//:index.bzl", "generated_file_test") load("//tools:defaults.bzl", "ng_module", "ng_package", "ts_api_guardian_test", "ts_api_guardian_test_npm_package") +load("//packages/common/locales:index.bzl", "generate_base_locale_file") package(default_visibility = ["//visibility:public"]) +# This generates the `src/i18n/locale_en.ts` file through the `generate-locales` tool. Since +# the base locale file is checked-in for Google3, we add a `generated_file_test` to ensure +# the checked-in file is up-to-date. To disambiguate from the test, we use a more precise target +# name here. +generate_base_locale_file( + name = "base_locale_file_generated", + output_file = "base_locale_file_generated.ts", +) + +generated_file_test( + name = "base_locale_file", + src = "src/i18n/locale_en.ts", + generated = ":base_locale_file_generated", +) + ng_module( name = "core", srcs = glob( diff --git a/packages/core/src/i18n/locale_en.ts b/packages/core/src/i18n/locale_en.ts new file mode 100644 index 0000000000..02519b40b8 --- /dev/null +++ b/packages/core/src/i18n/locale_en.ts @@ -0,0 +1,20 @@ +/** + * @license + * Copyright Google LLC 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. +const u = undefined; + +function plural(n: number): number { +const i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + +if (i === 1 && v === 0) + return 1; +return 5; +} + +export default ["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["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"]],u,[["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"]],u,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr", plural];