diff --git a/.gitignore b/.gitignore index d37159c39ecce8..15364b49a3276d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ bazel-* node_modules bower_components +tools/gulp-tasks/i18n/cldr-data/ # Include when developing application packages. pubspec.lock diff --git a/gulpfile.js b/gulpfile.js index ff78cc396ad148..534b858bd95070 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -42,3 +42,6 @@ gulp.task('serve', loadTask('serve', 'default')); gulp.task('serve-examples', loadTask('serve', 'examples')); gulp.task('changelog', loadTask('changelog')); gulp.task('check-env', () => {/* this is a noop because the env test ran already above */}); +gulp.task('i18n:extract', loadTask('i18n', 'extract')); +gulp.task('i18n:download', loadTask('i18n', 'download')); +gulp.task('i18n:format', loadTask('i18n', 'format')); diff --git a/package.json b/package.json index 750a5626f62c4e..879d372a662a65 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,9 @@ "canonical-path": "0.0.2", "chokidar": "^1.1.0", "clang-format": "^1.0.32", - "cldr": "^3.5.2", + "cldr": "^4.3.0", + "cldr-data-downloader": "^0.3.0", + "cldrjs": "^0.4.8", "conventional-changelog": "^1.1.0", "cors": "^2.7.1", "dgeni": "^0.4.2", diff --git a/packages/common/src/localization.ts b/packages/common/src/localization.ts index c2deb745b524c9..3fd814a4406341 100644 --- a/packages/common/src/localization.ts +++ b/packages/common/src/localization.ts @@ -6,12 +6,14 @@ * found in the LICENSE file at https://angular.io/license */ -import {Inject, Injectable, LOCALE_ID} from '@angular/core'; +import {Inject, Injectable, LOCALE_DATA, LOCALE_ID, NgLocale, findNgLocale} from '@angular/core'; /** * @experimental */ -export abstract class NgLocalization { abstract getPluralCategory(value: any): string; } +export abstract class NgLocalization { + abstract getPluralCategory(value: any, locale?: string): string; +} /** @@ -22,14 +24,14 @@ export abstract class NgLocalization { abstract getPluralCategory(value: any): s * @internal */ export function getPluralCategory( - value: number, cases: string[], ngLocalization: NgLocalization): string { + value: number, cases: string[], ngLocalization: NgLocalization, locale?: string): string { let key = `=${value}`; if (cases.indexOf(key) > -1) { return key; } - key = ngLocalization.getPluralCategory(value); + key = ngLocalization.getPluralCategory(value, locale); if (cases.indexOf(key) > -1) { return key; @@ -49,10 +51,15 @@ export function getPluralCategory( */ @Injectable() export class NgLocaleLocalization extends NgLocalization { - constructor(@Inject(LOCALE_ID) protected locale: string) { super(); } + constructor( + @Inject(LOCALE_ID) protected locale: string, + @Inject(LOCALE_DATA) protected localeData: NgLocale[]) { + super(); + } - getPluralCategory(value: any): string { - const plural = getPluralCase(this.locale, value); + getPluralCategory(value: any, locale?: string): string { + const localeDatum = findNgLocale(locale || this.locale, this.localeData); + const plural = localeDatum.getPluralCase(value); switch (plural) { case Plural.Zero: @@ -88,6 +95,7 @@ export enum Plural { * Returns the plural case based on the locale * * @experimental + * @deprecated use the getPluralCase method of NgLocale instead */ export function getPluralCase(locale: string, nLike: number | string): Plural { // TODO(vicb): lazy compute diff --git a/packages/common/src/pipes/date_pipe.ts b/packages/common/src/pipes/date_pipe.ts index 12a5aa7340d589..14a5a214f53f33 100644 --- a/packages/common/src/pipes/date_pipe.ts +++ b/packages/common/src/pipes/date_pipe.ts @@ -6,11 +6,14 @@ * found in the LICENSE file at https://angular.io/license */ -import {Inject, LOCALE_ID, Pipe, PipeTransform} from '@angular/core'; -import {DateFormatter} from './intl'; +import {Inject, LOCALE_DATA, LOCALE_ID, NgLocale, Pipe, PipeTransform, findNgLocale} from '@angular/core'; + import {invalidPipeArgumentError} from './invalid_pipe_argument_error'; import {isNumeric} from './number_pipe'; +const ZERO_CHAR = '0'; +const DATE_FORMATS_SPLIT = + /((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/; const ISO8601_DATE_REGEX = /^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/; // 1 2 3 4 5 6 7 8 9 10 11 @@ -18,39 +21,76 @@ const ISO8601_DATE_REGEX = /** * @ngModule CommonModule * @whatItDoes Formats a date according to locale rules. - * @howToUse `date_expression | date[:format]` + * @howToUse `date_expression | date[:format[:timezone[:locale]]]` * @description * * Where: * - `expression` is a date object or a number (milliseconds since UTC epoch) or an ISO string * (https://www.w3.org/TR/NOTE-datetime). * - `format` indicates which date/time components to include. The format can be predefined as - * shown below or custom as shown in the table. - * - `'medium'`: equivalent to `'yMMMdjms'` (e.g. `Sep 3, 2010, 12:05:08 PM` for `en-US`) - * - `'short'`: equivalent to `'yMdjm'` (e.g. `9/3/2010, 12:05 PM` for `en-US`) - * - `'fullDate'`: equivalent to `'yMMMMEEEEd'` (e.g. `Friday, September 3, 2010` for `en-US`) - * - `'longDate'`: equivalent to `'yMMMMd'` (e.g. `September 3, 2010` for `en-US`) - * - `'mediumDate'`: equivalent to `'yMMMd'` (e.g. `Sep 3, 2010` for `en-US`) - * - `'shortDate'`: equivalent to `'yMd'` (e.g. `9/3/2010` for `en-US`) - * - `'mediumTime'`: equivalent to `'jms'` (e.g. `12:05:08 PM` for `en-US`) - * - `'shortTime'`: equivalent to `'jm'` (e.g. `12:05 PM` for `en-US`) + * shown below (all examples are given for `en-US`) or custom as shown in the table. + * - `'short'`: equivalent to `'M/d/yy, h:mm a'` (e.g. `9/3/2010, 12:05 PM`) + * - `'medium'`: equivalent to `'MMM d, y, h:mm:ss a'` (e.g. `Sep 3, 2010, 12:05:08 PM`) + * - `'long'`: equivalent to `'MMMM d, y, h:mm:ss a z'` (e.g. `Sep 3, 2010, 12:05:08 PM PDT`) + * - `'full'`: equivalent to `'EEEE, MMMM d, y, h:mm:ss a zzzz'` (e.g. `Sep 3, 2010, 12:05:08 PM + * Pacific Daylight Time`) + * - `'shortDate'`: equivalent to `'M/d/yy'` (e.g. `9/3/2010`) + * - `'mediumDate'`: equivalent to `'MMM d, y'` (e.g. `Sep 3, 2010`) + * - `'longDate'`: equivalent to `'MMMM d, y'` (e.g. `September 3, 2010`) + * - `'fullDate'`: equivalent to `'EEEE, MMMM d, y'` (e.g. `Friday, September 3, 2010`) + * - `'shortTime'`: equivalent to `'h:mm a'` (e.g. `12:05 PM`) + * - `'mediumTime'`: equivalent to `'h:mm:ss a'` (e.g. `12:05:08 PM`) + * - `'longTime'`: equivalent to `'h:mm:ss a z'` (e.g. `12:05:08 PM PDT`) + * - `'fullTime'`: equivalent to `'h:mm:ss a zzzz'` (e.g. `12:05:08 PM Pacific Daylight Time`) + * - `timezone` to be used for formatting. It understands UTC/GMT and the continental US time zone + * abbreviations, but for general use, use a time zone offset, for example, + * `'+0430'` (4 hours, 30 minutes east of the Greenwich meridian) + * If not specified, the timezone of the browser will be used. + * - `locale` is a `string` defining the locale to use (uses the current {@link LOCALE_ID} by + * default) + * * + * | Type | Symbol | Narrow | Abbreviated | Short Form | Long Form | + * Numeric | 2-digit | 4-digit | + * |-------------|--------|-----------|----------------|--------------|---------------------------|-----------|------------|-------------| + * | era | G | GGGGG (A) | G..GGG (AD) | - | GGGG (Anno Domini) | + * - | - |- | + * | year | y | - | - | - | - | + * y (2015) | yy (15) | yyyy (2015) | + * | month | M | MMMMM (S) | MMM (Sep) | - | MMMM (September) | + * M (9) | MM (09) | - | + * | month* | L | LLLLL (S) | MMM (Sep) | - | MMMM (September) | + * M (9) | MM (09) | - | + * | day | d | - | - | - | - | + * d (3) | dd (03) | - | + * | week | w | - | - | - | - | + * w (9) | ww (09) | - | + * | weekday | E | EEEEE (S) | E..EEE (Sun) | EEEEEE (Su) | EEEE (Sunday) | + * - | - | - | + * | hour | j | - | - | - | - | + * j (13) | jj (13) | - | + * | hour12 | h | - | - | - | - | + * h (1 PM) | hh (01 PM) | - | + * | hour24 | H | - | - | - | - | + * H (9) | HH (09) | - | + * | minute | m | - | - | - | - | + * m (5) | mm (05) | - | + * | second | s | - | - | - | - | + * s (9) | ss (09) | - | + * | millisecond | S | - | - | - | - | + * S (550) | - | - | + * | timezone | z | - | z..zzz (PDT) | - | z (Pacific Standard Time) | + * - | - | - | + * | timezone | Z | - | Z..ZZZ (-0800) | - | ZZZZ (GMT-8:00) | + * - | - | - | + * | timezone | a | aaaaa (P) | a..aaa (PM) | - | aaaa (PM) | + * - | - | - | + * | day part | B | BBBBB | B..BBB | - | BBBB (at night) | + * - | - | - | + * | day part* | b | bbbbb | b..bbb | - | bbbb (night) | + * - | - | - | * - * | Component | Symbol | Narrow | Short Form | Long Form | Numeric | 2-digit | - * |-----------|:------:|--------|--------------|-------------------|-----------|-----------| - * | era | G | G (A) | GGG (AD) | GGGG (Anno Domini)| - | - | - * | year | y | - | - | - | y (2015) | yy (15) | - * | month | M | L (S) | MMM (Sep) | MMMM (September) | M (9) | MM (09) | - * | day | d | - | - | - | d (3) | dd (03) | - * | weekday | E | E (S) | EEE (Sun) | EEEE (Sunday) | - | - | - * | hour | j | - | - | - | j (13) | jj (13) | - * | hour12 | h | - | - | - | h (1 PM) | hh (01 PM)| - * | hour24 | H | - | - | - | H (13) | HH (13) | - * | minute | m | - | - | - | m (5) | mm (05) | - * | second | s | - | - | - | s (9) | ss (09) | - * | timezone | z | - | - | z (Pacific Standard Time)| - | - | - * | timezone | Z | - | Z (GMT-8:00) | - | - | - | - * | timezone | a | - | a (PM) | - | - | - | + * The types with an asterisk (*) are standalone versions (to use in an isolated context). * * In javascript, only the components specified will be respected (not the ordering, * punctuations, ...) and details of the formatting will be dependent on the locale. @@ -77,7 +117,7 @@ const ISO8601_DATE_REGEX = * {{ dateObj | date }} // output is 'Jun 15, 2015' * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM' * {{ dateObj | date:'shortTime' }} // output is '9:43 PM' - * {{ dateObj | date:'mmss' }} // output is '43:11' + * {{ dateObj | date:'mm:ss' }} // output is '43:11' * ``` * * {@example common/pipes/ts/date_pipe.ts region='DatePipe'} @@ -86,22 +126,30 @@ const ISO8601_DATE_REGEX = */ @Pipe({name: 'date', pure: true}) export class DatePipe implements PipeTransform { - /** @internal */ - static _ALIASES: {[key: string]: string} = { - 'medium': 'yMMMdjms', - 'short': 'yMdjm', - 'fullDate': 'yMMMMEEEEd', - 'longDate': 'yMMMMd', - 'mediumDate': 'yMMMd', - 'shortDate': 'yMd', - 'mediumTime': 'jms', - 'shortTime': 'jm' - }; + constructor( + @Inject(LOCALE_ID) private locale: string, + @Inject(LOCALE_DATA) private localeData: NgLocale[]) {} - constructor(@Inject(LOCALE_ID) private _locale: string) {} - - transform(value: any, pattern: string = 'mediumDate'): string|null { + transform(value: any, pattern: string = 'mediumDate', timezone?: string, locale?: string): string + |null { let date: Date; + const localeDatum = findNgLocale(locale || this.locale, this.localeData); + const specialPatterns: {[key: string]: string} = { + 'short': formatDateTime(localeDatum.dateTimeSettings.formats.dateTime.short, [localeDatum.dateTimeSettings.formats.time.short, localeDatum.dateTimeSettings.formats.date.short]), + 'medium': formatDateTime(localeDatum.dateTimeSettings.formats.dateTime.medium, [localeDatum.dateTimeSettings.formats.time.medium, localeDatum.dateTimeSettings.formats.date.medium]), + 'long': formatDateTime(localeDatum.dateTimeSettings.formats.dateTime.long, [localeDatum.dateTimeSettings.formats.time.long, localeDatum.dateTimeSettings.formats.date.long]), + 'full': formatDateTime(localeDatum.dateTimeSettings.formats.dateTime.full, [localeDatum.dateTimeSettings.formats.time.full, localeDatum.dateTimeSettings.formats.date.full]), + 'shortDate': localeDatum.dateTimeSettings.formats.date.short, + 'mediumDate': localeDatum.dateTimeSettings.formats.date.medium, + 'longDate': localeDatum.dateTimeSettings.formats.date.long, + 'fullDate': localeDatum.dateTimeSettings.formats.date.full, + 'shortTime': localeDatum.dateTimeSettings.formats.time.short, + 'mediumTime': localeDatum.dateTimeSettings.formats.time.medium, + 'longTime': localeDatum.dateTimeSettings.formats.time.long, + 'fullTime': localeDatum.dateTimeSettings.formats.time.full + }; + + pattern = specialPatterns[pattern] || pattern; if (isBlank(value) || value !== value) return null; @@ -138,10 +186,46 @@ export class DatePipe implements PipeTransform { } } - return DateFormatter.format(date, this._locale, DatePipe._ALIASES[pattern] || pattern); + let match; + let parts: string[] = []; + let text = ''; + let format: any = pattern; + while (format) { + match = DATE_FORMATS_SPLIT.exec(format); + if (match) { + parts = parts.concat(match.slice(1)); + format = parts.pop(); + } else { + parts.push(format); + format = null; + } + } + + let dateTimezoneOffset = date.getTimezoneOffset(); + if (timezone) { + dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset); + date = convertTimezoneToLocal(date, timezone, true); + } + parts.forEach(value => { + const dateFormatter: DateFormatter = DATE_FORMATS[value]; + text += dateFormatter ? + dateFormatter(date, localeDatum, dateTimezoneOffset) : + value === '\'\'' ? '\'' : value.replace(/(^'|'$)/g, '').replace(/''/g, '\''); + }); + + return text; } } +function formatDateTime(str: string, opt_values: string[]) { + if (opt_values) { + str = str.replace(/\{([^}]+)}/g, function(match, key) { + return (opt_values != null && key in opt_values) ? opt_values[key] : match; + }); + } + return str; +} + function isBlank(obj: any): boolean { return obj == null || obj === ''; } @@ -173,3 +257,398 @@ function isoStringToDate(match: RegExpMatchArray): Date { function toInt(str: string): number { return parseInt(str, 10); } + +function padNumber(num: number, digits: number, trim?: boolean, negWrap?: boolean): string { + let neg = ''; + if (num < 0 || (negWrap && num <= 0)) { + if (negWrap) { + num = -num + 1; + } else { + num = -num; + neg = '-'; + } + } + let strNum = '' + num; + while (strNum.length < digits) strNum = ZERO_CHAR + strNum; + if (trim) { + strNum = strNum.substr(strNum.length - digits); + } + return neg + strNum; +} + +type DateType = + 'FullYear' | 'Month' | 'Date' | 'Hours' | 'Minutes' | 'Seconds' | 'Milliseconds' | 'Day'; + +function dateGetter( + name: DateType, size: number, offset: number = 0, trim = false, + negWrap = false): DateFormatter { + return function(date: Date, ngLocale: NgLocale): string { + let value = 0; + switch (name) { + case 'FullYear': + value = date.getFullYear(); + break; + case 'Month': + value = date.getMonth(); + break; + case 'Date': + value = date.getDate(); + break; + case 'Hours': + value = date.getHours(); + break; + case 'Minutes': + value = date.getMinutes(); + break; + case 'Seconds': + value = date.getSeconds(); + break; + case 'Milliseconds': + const div = size === 1 ? 100 : (size === 2 ? 10 : 1); + value = Math.round(date.getMilliseconds()/div); + break; + case 'Day': + value = date.getDay(); + break; + } + if (offset > 0 || value > -offset) { + value += offset; + } + if (value === 0 && offset === -12) { + value = 12; + } + return padNumber(value, size, trim, negWrap); + }; +} + +type DateWidth = 'narrow' | 'short' | 'abbreviated' | 'wide'; + +function extractTime(time: string) { + const [h, m] = time.split(':'); + return { hours: parseInt(h, 10), minutes: parseInt(m, 10), } +} + +function dateStrGetter( + name: 'dayPeriods' | 'days' | 'months' | 'eras', width: DateWidth, + context: 'format' | 'standalone' = 'format', extended = false): DateFormatter { + return function(date: Date, ngLocale: NgLocale): string { + const data: any = ngLocale.dateTimeTranslations[name]; + switch (name) { + case 'months': + return data[context][width][date.getMonth()]; + case 'days': + return data[context][width][date.getDay()]; + case 'dayPeriods': + const currentHours = date.getHours(); + const currentMinutes = date.getMinutes(); + const rules: any = ngLocale.dateTimeSettings.dayPeriodRules; + // if no rules for the day periods, we use am/pm by default + let value = data[context][width][date.getHours() < 12 ? 'am' : 'pm']; + if (extended && rules) { + Object.keys(rules).forEach((key: string) => { + if (typeof rules[key] === 'string') { // noon or midnight + const {hours, minutes} = extractTime(rules[key]); + if (hours === currentHours && minutes === currentMinutes) { + value = data[context][width][key]; + } + } else if (rules[key].from && rules[key].to) { // morning, afternoon, evening, night + const {hours: hoursFrom, minutes: minutesFrom} = extractTime(rules[key].from); + const {hours: hoursTo, minutes: minutesTo} = extractTime(rules[key].to); + if (currentHours >= hoursFrom && currentMinutes >= minutesFrom && + (currentHours < hoursTo || + (currentHours === hoursTo && currentMinutes < minutesTo))) { + value = data[context][width][key]; + } + } + }); + } + return value; + case 'eras': + return date.getFullYear() <= 0 ? data[width][0] : data[width][1]; + } + return ''; + }; +} + +export type ZoneWidth = 'short' | 'long' | 'extended'; + +function timeZoneGetter(width: ZoneWidth): DateFormatter { + return function(date: Date, ngLocale: NgLocale, offset: number) { + const zone = -1 * offset; + let value = ''; + switch (width) { + case 'short': + value = ((zone >= 0) ? '+' : '') + + padNumber(Math[zone > 0 ? 'floor' : 'ceil'](zone / 60), 2) + + padNumber(Math.abs(zone % 60), 2); + break; + case 'long': + value = 'GMT' + ((zone >= 0) ? '+' : '') + + padNumber(Math[zone > 0 ? 'floor' : 'ceil'](zone / 60), 2) + ':' + + padNumber(Math.abs(zone % 60), 2); + break; + case 'extended': + if (offset === 0) { + value = 'Z'; + } else { + // todo(ocombe): support optional seconds field, if there really is a use case + value = ((zone >= 0) ? '+' : '') + + padNumber(Math[zone > 0 ? 'floor' : 'ceil'](zone / 60), 2) + ':' + + padNumber(Math.abs(zone % 60), 2); + } + break; + } + + return value; + } +} + +function timeZoneFallbackGetter(width: ZoneWidth): DateFormatter { + return function(date: Date, ngLocale: NgLocale, offset: number) { + const zone = -1 * offset; + let value = 'GMT'; + switch (width) { + case 'short': + value += + ((zone >= 0) ? '+' : '') + padNumber(Math[zone > 0 ? 'floor' : 'ceil'](zone / 60), 1); + break; + case 'long': + value += ((zone >= 0) ? '+' : '') + + padNumber(Math[zone > 0 ? 'floor' : 'ceil'](zone / 60), 2) + ':' + + padNumber(Math.abs(zone % 60), 2); + break; + } + + return value; + } +} + +function getFirstThursdayOfYear(year: number) { + // 0 = index of January + const dayOfWeekOnFirst = (new Date(year, 0, 1)).getDay(); + // 4 = index of Thursday (+1 to account for 1st = 5) + // 11 = index of *next* Thursday (+1 account for 1st = 12) + return new Date(year, 0, ((dayOfWeekOnFirst <= 4) ? 5 : 12) - dayOfWeekOnFirst); +} + +function getThursdayThisWeek(datetime: Date) { + return new Date( + datetime.getFullYear(), datetime.getMonth(), + // 4 = index of Thursday + datetime.getDate() + (4 - datetime.getDay())); +} + +function weekGetter(size: number, monthBased = false): DateFormatter { + return function(date: Date, ngLocale: NgLocale) { + let result; + if (monthBased) { + const nbDaysBefore1stDayOfMonth = + new Date(date.getFullYear(), date.getMonth(), 1).getDay() - 1; + const today = date.getDate(); + result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7); + } else { + const firstThurs = getFirstThursdayOfYear(date.getFullYear()); + const thisThurs = getThursdayThisWeek(date); + const diff = +thisThurs - +firstThurs; + result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week + } + + return padNumber(result, size); + }; +} + +type DateFormatter = (date: Date, format: NgLocale, offset?: number) => string; +// Following CLDR formats +// http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table +// See also explanations http://cldr.unicode.org/translation/date-time +const DATE_FORMATS: {[format: string]: DateFormatter} = { + // Era name abbreviated (AD) + G: dateStrGetter('eras', 'abbreviated'), + // equivalent to G + GG: dateStrGetter('eras', 'abbreviated'), + // equivalent to G + GGG: dateStrGetter('eras', 'abbreviated'), + // Era name wide (Anno Domini) + GGGG: dateStrGetter('eras', 'wide'), + // Era name narrow (A) + GGGGG: dateStrGetter('eras', 'narrow'), + + // 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199) + y: dateGetter('FullYear', 1, 0, false, true), + // 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10) + yy: dateGetter('FullYear', 2, 0, true, true), + // 3 digit representation of year, padded (000-999). (e.g. AD 2001 => 01, AD 2010 => 10) + yyy: dateGetter('FullYear', 3, 0, false, true), + // 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010) + yyyy: dateGetter('FullYear', 4, 0, false, true), + + // todo Y, U + + // todo Q + + // Month in year (1-12), numeric + M: dateGetter('Month', 1, 1), + // Month in year, padded (01-12) + MM: dateGetter('Month', 2, 1), + // Month in year abbreviated (Jan-Dec) + MMM: dateStrGetter('months', 'abbreviated'), + // Month in year wide (January-December) + MMMM: dateStrGetter('months', 'wide'), + // Month in year narrow (J-D) + MMMMM: dateStrGetter('months', 'narrow'), + + // equivalent to M + L: dateGetter('Month', 1, 1), + // equivalent to MM + LL: dateGetter('Month', 2, 1), + // Standalone month in year abbreviated (Jan-Dec) + LLL: dateStrGetter('months', 'abbreviated', 'standalone'), + // Standalone month in year wide (January-December) + LLLL: dateStrGetter('months', 'wide', 'standalone'), + // Standalone month in year narrow (J-D) + LLLLL: dateStrGetter('months', 'narrow', 'standalone'), + + w: weekGetter(1), + ww: weekGetter(2), + + W: weekGetter(1, true), + + // Day in month (1-31) + d: dateGetter('Date', 1), + // Day in month, padded (01-31) + dd: dateGetter('Date', 2), + + // todo D, F + + // Day in Week abbreviated (Sun-Sat) + E: dateStrGetter('days', 'abbreviated'), + // equivalent to E + EE: dateStrGetter('days', 'abbreviated'), + // equivalent to E + EEE: dateStrGetter('days', 'abbreviated'), + // Day in Week wide (Sunday-Saturday) + EEEE: dateStrGetter('days', 'wide'), + // Day in Week narrow (S-S) + EEEEE: dateStrGetter('days', 'narrow'), + // Day in Week narrow (Su-Sa) + EEEEEE: dateStrGetter('days', 'short'), + + // todo e, c + + // Period of the day abbreviated (am-pm) + a: dateStrGetter('dayPeriods', 'abbreviated'), + // equivalent to a + aa: dateStrGetter('dayPeriods', 'abbreviated'), + // equivalent to a + aaa: dateStrGetter('dayPeriods', 'abbreviated'), + // Period of the day wide (am-pm) + aaaa: dateStrGetter('dayPeriods', 'wide'), + // Period of the day narrow (a-p) + aaaaa: dateStrGetter('dayPeriods', 'narrow'), + + // Standalone period of the day abbreviated (mid., at night, ...) + b: dateStrGetter('dayPeriods', 'abbreviated', 'standalone', true), + // equivalent to b + bb: dateStrGetter('dayPeriods', 'abbreviated', 'standalone', true), + // equivalent to b + bbb: dateStrGetter('dayPeriods', 'abbreviated', 'standalone', true), + // Standalone period of the day wide (midnight, at night, ...) + bbbb: dateStrGetter('dayPeriods', 'wide', 'standalone', true), + // Standalone period of the day narrow (mi, at night, ...) + bbbbb: dateStrGetter('dayPeriods', 'narrow', 'standalone', true), + + // Period of the day abbreviated (mid., ...) + B: dateStrGetter('dayPeriods', 'abbreviated', 'format', true), + // // equivalent to b + BB: dateStrGetter('dayPeriods', 'abbreviated', 'format', true), + // // equivalent to b + BBB: dateStrGetter('dayPeriods', 'abbreviated', 'format', true), + // Period of the day wide (midnight, noon, morning, afternoon, evening, night) + BBBB: dateStrGetter('dayPeriods', 'wide', 'format', true), + // Period of the day narrow (mi, ...) + BBBBB: dateStrGetter('dayPeriods', 'narrow', 'format', true), + + // Hour in AM/PM, (1-12) + h: dateGetter('Hours', 1, -12), + // Hour in AM/PM, padded (01-12) + hh: dateGetter('Hours', 2, -12), + + // Hour in day (0-23) + H: dateGetter('Hours', 1), + // Hour in day, padded (00-23) + HH: dateGetter('Hours', 2), + + // todo j, J, C + + // Minute in hour (0-59) + m: dateGetter('Minutes', 1), + // Minute in hour, padded (00-59) + mm: dateGetter('Minutes', 2), + + // Second in minute (0-59) + s: dateGetter('Seconds', 1), + // Second in minute, padded (00-59) + ss: dateGetter('Seconds', 2), + + // Fractional second padded (0-9) + S: dateGetter('Milliseconds', 1), + // Fractional second padded (00-99) + SS: dateGetter('Milliseconds', 2), + // Fractional second padded (000-999 = millisecond) + SSS: dateGetter('Milliseconds', 3), + + // todo A + + // should be location, but fallback to O instead because we don't have the data + z: timeZoneFallbackGetter('short'), + // equivalent to z + zz: timeZoneFallbackGetter('short'), + // equivalent to z + zzz: timeZoneFallbackGetter('short'), + // should be location, but fallback to OOOO instead because we don't have the data + zzzz: timeZoneFallbackGetter('long'), + + // Timezone ISO8601 short format (-0430) + Z: timeZoneGetter('short'), + // equivalent to Z + ZZ: timeZoneGetter('short'), + // equivalent to Z + ZZZ: timeZoneGetter('short'), + // equivalent to OOOO + ZZZZ: timeZoneGetter('long'), + // Timezone ISO8601 extended format (-04:30) + ZZZZZ: timeZoneGetter('extended'), + + // Timezone GMT short format (GMT+4) + O: timeZoneFallbackGetter('short'), + // equivalent to O + OO: timeZoneFallbackGetter('short'), + // equivalent to O + OOO: timeZoneFallbackGetter('short'), + // Timezone GMT long format (GMT+0430) + OOOO: timeZoneFallbackGetter('long'), + + // todo v, V, X, x +}; + +const ALL_COLONS = /:/g; +function timezoneToOffset(timezone: string, fallback: number): number { + // Support: IE 9-11 only, Edge 13-15+ + // IE/Edge do not "understand" colon (`:`) in timezone + timezone = timezone.replace(ALL_COLONS, ''); + const requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000; + return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset; +} + +function addDateMinutes(date: Date, minutes: number) { + date = new Date(date.getTime()); + date.setMinutes(date.getMinutes() + minutes); + return date; +} + +function convertTimezoneToLocal(date: Date, timezone: string, reverse: boolean): Date { + const reverseValue = reverse ? -1 : 1; + const dateTimezoneOffset = date.getTimezoneOffset(); + const timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset); + return addDateMinutes(date, reverseValue * (timezoneOffset - dateTimezoneOffset)); +} diff --git a/packages/common/src/pipes/i18n_plural_pipe.ts b/packages/common/src/pipes/i18n_plural_pipe.ts index dc0909d1a5e16e..d4097fe10266b5 100644 --- a/packages/common/src/pipes/i18n_plural_pipe.ts +++ b/packages/common/src/pipes/i18n_plural_pipe.ts @@ -6,8 +6,10 @@ * found in the LICENSE file at https://angular.io/license */ -import {Pipe, PipeTransform} from '@angular/core'; +import {Inject, LOCALE_ID, Pipe, PipeTransform} from '@angular/core'; + import {NgLocalization, getPluralCategory} from '../localization'; + import {invalidPipeArgumentError} from './invalid_pipe_argument_error'; const _INTERPOLATION_REGEXP: RegExp = /#/g; @@ -15,13 +17,15 @@ const _INTERPOLATION_REGEXP: RegExp = /#/g; /** * @ngModule CommonModule * @whatItDoes Maps a value to a string that pluralizes the value according to locale rules. - * @howToUse `expression | i18nPlural:mapping` + * @howToUse `expression | i18nPlural:mapping[:locale]` * @description * * Where: * - `expression` is a number. * - `mapping` is an object that mimics the ICU format, see * http://userguide.icu-project.org/formatparse/messages + * - `locale` is a `string` defining the locale to use (uses the current {@link LOCALE_ID} by + * default) * * ## Example * @@ -31,16 +35,16 @@ const _INTERPOLATION_REGEXP: RegExp = /#/g; */ @Pipe({name: 'i18nPlural', pure: true}) export class I18nPluralPipe implements PipeTransform { - constructor(private _localization: NgLocalization) {} + constructor(private localization: NgLocalization) {} - transform(value: number, pluralMap: {[count: string]: string}): string { + transform(value: number, pluralMap: {[count: string]: string}, locale?: string): string { if (value == null) return ''; if (typeof pluralMap !== 'object' || pluralMap === null) { throw invalidPipeArgumentError(I18nPluralPipe, pluralMap); } - const key = getPluralCategory(value, Object.keys(pluralMap), this._localization); + const key = getPluralCategory(value, Object.keys(pluralMap), this.localization, locale); return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString()); } diff --git a/packages/common/src/pipes/intl.ts b/packages/common/src/pipes/intl.ts deleted file mode 100644 index 8d786b22a135fb..00000000000000 --- a/packages/common/src/pipes/intl.ts +++ /dev/null @@ -1,226 +0,0 @@ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -export enum NumberFormatStyle { - Decimal, - Percent, - Currency, -} - -export class NumberFormatter { - static format(num: number, locale: string, style: NumberFormatStyle, opts: { - minimumIntegerDigits?: number, - minimumFractionDigits?: number, - maximumFractionDigits?: number, - currency?: string|null, - currencyAsSymbol?: boolean - } = {}): string { - const {minimumIntegerDigits, minimumFractionDigits, maximumFractionDigits, currency, - currencyAsSymbol = false} = opts; - const options: Intl.NumberFormatOptions = { - minimumIntegerDigits, - minimumFractionDigits, - maximumFractionDigits, - style: NumberFormatStyle[style].toLowerCase() - }; - - if (style == NumberFormatStyle.Currency) { - options.currency = typeof currency == 'string' ? currency : undefined; - options.currencyDisplay = currencyAsSymbol ? 'symbol' : 'code'; - } - return new Intl.NumberFormat(locale, options).format(num); - } -} - -type DateFormatterFn = (date: Date, locale: string) => string; - -const DATE_FORMATS_SPLIT = - /((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/; - -const PATTERN_ALIASES: {[format: string]: DateFormatterFn} = { - // Keys are quoted so they do not get renamed during closure compilation. - 'yMMMdjms': datePartGetterFactory(combine([ - digitCondition('year', 1), - nameCondition('month', 3), - digitCondition('day', 1), - digitCondition('hour', 1), - digitCondition('minute', 1), - digitCondition('second', 1), - ])), - 'yMdjm': datePartGetterFactory(combine([ - digitCondition('year', 1), digitCondition('month', 1), digitCondition('day', 1), - digitCondition('hour', 1), digitCondition('minute', 1) - ])), - 'yMMMMEEEEd': datePartGetterFactory(combine([ - digitCondition('year', 1), nameCondition('month', 4), nameCondition('weekday', 4), - digitCondition('day', 1) - ])), - 'yMMMMd': datePartGetterFactory( - combine([digitCondition('year', 1), nameCondition('month', 4), digitCondition('day', 1)])), - 'yMMMd': datePartGetterFactory( - combine([digitCondition('year', 1), nameCondition('month', 3), digitCondition('day', 1)])), - 'yMd': datePartGetterFactory( - combine([digitCondition('year', 1), digitCondition('month', 1), digitCondition('day', 1)])), - 'jms': datePartGetterFactory(combine( - [digitCondition('hour', 1), digitCondition('second', 1), digitCondition('minute', 1)])), - 'jm': datePartGetterFactory(combine([digitCondition('hour', 1), digitCondition('minute', 1)])) -}; - -const DATE_FORMATS: {[format: string]: DateFormatterFn} = { - // Keys are quoted so they do not get renamed. - 'yyyy': datePartGetterFactory(digitCondition('year', 4)), - 'yy': datePartGetterFactory(digitCondition('year', 2)), - 'y': datePartGetterFactory(digitCondition('year', 1)), - 'MMMM': datePartGetterFactory(nameCondition('month', 4)), - 'MMM': datePartGetterFactory(nameCondition('month', 3)), - 'MM': datePartGetterFactory(digitCondition('month', 2)), - 'M': datePartGetterFactory(digitCondition('month', 1)), - 'LLLL': datePartGetterFactory(nameCondition('month', 4)), - 'L': datePartGetterFactory(nameCondition('month', 1)), - 'dd': datePartGetterFactory(digitCondition('day', 2)), - 'd': datePartGetterFactory(digitCondition('day', 1)), - 'HH': digitModifier( - hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 2), false)))), - 'H': hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), false))), - 'hh': digitModifier( - hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 2), true)))), - 'h': hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), true))), - 'jj': datePartGetterFactory(digitCondition('hour', 2)), - 'j': datePartGetterFactory(digitCondition('hour', 1)), - 'mm': digitModifier(datePartGetterFactory(digitCondition('minute', 2))), - 'm': datePartGetterFactory(digitCondition('minute', 1)), - 'ss': digitModifier(datePartGetterFactory(digitCondition('second', 2))), - 's': datePartGetterFactory(digitCondition('second', 1)), - // while ISO 8601 requires fractions to be prefixed with `.` or `,` - // we can be just safely rely on using `sss` since we currently don't support single or two digit - // fractions - 'sss': datePartGetterFactory(digitCondition('second', 3)), - 'EEEE': datePartGetterFactory(nameCondition('weekday', 4)), - 'EEE': datePartGetterFactory(nameCondition('weekday', 3)), - 'EE': datePartGetterFactory(nameCondition('weekday', 2)), - 'E': datePartGetterFactory(nameCondition('weekday', 1)), - 'a': hourClockExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), true))), - 'Z': timeZoneGetter('short'), - 'z': timeZoneGetter('long'), - 'ww': datePartGetterFactory({}), // Week of year, padded (00-53). Week 01 is the week with the - // first Thursday of the year. not support ? - 'w': - datePartGetterFactory({}), // Week of year (0-53). Week 1 is the week with the first Thursday - // of the year not support ? - 'G': datePartGetterFactory(nameCondition('era', 1)), - 'GG': datePartGetterFactory(nameCondition('era', 2)), - 'GGG': datePartGetterFactory(nameCondition('era', 3)), - 'GGGG': datePartGetterFactory(nameCondition('era', 4)) -}; - - -function digitModifier(inner: DateFormatterFn): DateFormatterFn { - return function(date: Date, locale: string): string { - const result = inner(date, locale); - return result.length == 1 ? '0' + result : result; - }; -} - -function hourClockExtractor(inner: DateFormatterFn): DateFormatterFn { - return function(date: Date, locale: string): string { return inner(date, locale).split(' ')[1]; }; -} - -function hourExtractor(inner: DateFormatterFn): DateFormatterFn { - return function(date: Date, locale: string): string { return inner(date, locale).split(' ')[0]; }; -} - -function intlDateFormat(date: Date, locale: string, options: Intl.DateTimeFormatOptions): string { - return new Intl.DateTimeFormat(locale, options).format(date).replace(/[\u200e\u200f]/g, ''); -} - -function timeZoneGetter(timezone: string): DateFormatterFn { - // To workaround `Intl` API restriction for single timezone let format with 24 hours - const options = {hour: '2-digit', hour12: false, timeZoneName: timezone}; - return function(date: Date, locale: string): string { - const result = intlDateFormat(date, locale, options); - // Then extract first 3 letters that related to hours - return result ? result.substring(3) : ''; - }; -} - -function hour12Modify( - options: Intl.DateTimeFormatOptions, value: boolean): Intl.DateTimeFormatOptions { - options.hour12 = value; - return options; -} - -function digitCondition(prop: string, len: number): Intl.DateTimeFormatOptions { - const result: {[k: string]: string} = {}; - result[prop] = len === 2 ? '2-digit' : 'numeric'; - return result; -} - -function nameCondition(prop: string, len: number): Intl.DateTimeFormatOptions { - const result: {[k: string]: string} = {}; - if (len < 4) { - result[prop] = len > 1 ? 'short' : 'narrow'; - } else { - result[prop] = 'long'; - } - - return result; -} - -function combine(options: Intl.DateTimeFormatOptions[]): Intl.DateTimeFormatOptions { - return (Object).assign({}, ...options); -} - -function datePartGetterFactory(ret: Intl.DateTimeFormatOptions): DateFormatterFn { - return (date: Date, locale: string): string => intlDateFormat(date, locale, ret); -} - -const DATE_FORMATTER_CACHE = new Map(); - -function dateFormatter(format: string, date: Date, locale: string): string { - const fn = PATTERN_ALIASES[format]; - - if (fn) return fn(date, locale); - - const cacheKey = format; - let parts = DATE_FORMATTER_CACHE.get(cacheKey); - - if (!parts) { - parts = []; - let match: RegExpExecArray|null; - DATE_FORMATS_SPLIT.exec(format); - - let _format: string|null = format; - while (_format) { - match = DATE_FORMATS_SPLIT.exec(_format); - if (match) { - parts = parts.concat(match.slice(1)); - _format = parts.pop() !; - } else { - parts.push(_format); - _format = null; - } - } - - DATE_FORMATTER_CACHE.set(cacheKey, parts); - } - - return parts.reduce((text, part) => { - const fn = DATE_FORMATS[part]; - return text + (fn ? fn(date, locale) : partToTime(part)); - }, ''); -} - -function partToTime(part: string): string { - return part === '\'\'' ? '\'' : part.replace(/(^'|'$)/g, '').replace(/''/g, '\''); -} - -export class DateFormatter { - static format(date: Date, locale: string, pattern: string): string { - return dateFormatter(pattern, date, locale); - } -} diff --git a/packages/common/src/pipes/number_pipe.ts b/packages/common/src/pipes/number_pipe.ts index ae170ddc5f6eb7..822ab277854036 100644 --- a/packages/common/src/pipes/number_pipe.ts +++ b/packages/common/src/pipes/number_pipe.ts @@ -6,63 +6,364 @@ * found in the LICENSE file at https://angular.io/license */ -import {Inject, LOCALE_ID, Pipe, PipeTransform, Type} from '@angular/core'; -import {NumberFormatStyle, NumberFormatter} from './intl'; +import {Inject, LOCALE_DATA, LOCALE_ID, NgLocale, Pipe, PipeTransform, Type, findNgLocale} from '@angular/core'; +import {CURRENCIES} from '@angular/core/src/i18n/currencies'; + import {invalidPipeArgumentError} from './invalid_pipe_argument_error'; -const _NUMBER_FORMAT_REGEXP = /^(\d+)?\.((\d+)(-(\d+))?)?$/; +const NUMBER_FORMAT_REGEXP = /^(\d+)?\.((\d+)(-(\d+))?)?$/; +const MAX_DIGITS = 22; +const DECIMAL_SEP = '.'; +const ZERO_CHAR = '0'; +const PATTERN_SEP = ';'; +const GROUP_SEP = ','; +const DIGIT_CHAR = '#'; +const CURRENCY_CHAR = '¤'; +const PERCENT_CHAR = '%'; + +// todo (ocombe): add pipe "scientific" to format number +export enum NumberFormatStyle { + Decimal, + Percent, + Currency, + Scientific +} function formatNumber( - pipe: Type, locale: string, value: number | string, style: NumberFormatStyle, - digits?: string | null, currency: string | null = null, - currencyAsSymbol: boolean = false): string|null { + pipe: Type, value: number | string, style: NumberFormatStyle, format: string, + localeDatum: NgLocale, digitsInfo?: string | null, currency: string | null = null): string| + null { if (value == null) return null; + let number: number; // Convert strings to numbers - value = typeof value === 'string' && isNumeric(value) ? +value : value; - if (typeof value !== 'number') { - throw invalidPipeArgumentError(pipe, value); + number = typeof value === 'string' && isNumeric(value) ? +value : value as number; + if (typeof number !== 'number') { + throw invalidPipeArgumentError(pipe, number); + } + + if (style === NumberFormatStyle.Percent) { + number = number * 100; + } + + const numStr = Math.abs(number) + ''; + const pattern = parseNumberFormat(format, localeDatum.numberSettings.symbols.minusSign); + let formattedText = ''; + let isZero = false; + + if (!isFinite(number)) { + formattedText = localeDatum.numberSettings.symbols.infinity; + } else { + const parsedNumber = parseNumber(numStr); + + let minInt = pattern.minInt; + let minFraction = pattern.minFrac; + let maxFraction = pattern.maxFrac; + + if (digitsInfo) { + const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP); + if (parts === null) { + throw new Error(`${digitsInfo} is not a valid digit info for number pipes`); + } + if (parts[1] != null) { // min integer digits + minInt = parseIntAutoRadix(parts[1]); + } + if (parts[3] != null) { // min fraction digits + minFraction = parseIntAutoRadix(parts[3]); + } + if (parts[5] != null) { // max fraction digits + maxFraction = parseIntAutoRadix(parts[5]); + } else if (parts[3] != null) { + maxFraction = parseIntAutoRadix(parts[3]); + } + } + + roundNumber(parsedNumber, minFraction, maxFraction); + + let digits = parsedNumber.digits; + let integerLen = parsedNumber.integerLen; + const exponent = parsedNumber.exponent; + let decimals = []; + isZero = digits.reduce(function(isZero, d) { return isZero && !d; }, true); + + // pad zeros for small numbers + while (integerLen < minInt) { + digits.unshift(0); + integerLen++; + } + + // pad zeros for small numbers + while (integerLen < 0) { + digits.unshift(0); + integerLen++; + } + + // extract decimals digits + if (integerLen > 0) { + decimals = digits.splice(integerLen, digits.length); + } else { + decimals = digits; + digits = [0]; + } + + // format the integer digits with grouping separators + const groups = []; + if (digits.length >= pattern.lgSize) { + groups.unshift(digits.splice(-pattern.lgSize, digits.length).join('')); + } + + while (digits.length > pattern.gSize) { + groups.unshift(digits.splice(-pattern.gSize, digits.length).join('')); + } + + if (digits.length) { + groups.unshift(digits.join('')); + } + + formattedText = groups.join( + currency && localeDatum.numberSettings.symbols.currencyGroup ? + localeDatum.numberSettings.symbols.currencyGroup : + localeDatum.numberSettings.symbols.group); + + // append the decimal digits + if (decimals.length) { + formattedText += localeDatum.numberSettings.symbols.decimal + decimals.join(''); + } + + if (exponent) { + formattedText += localeDatum.numberSettings.symbols.exponential + '+' + exponent; + } + } + + if (number < 0 && !isZero) { + formattedText = pattern.negPre + formattedText + pattern.negSuf; + } else { + formattedText = pattern.posPre + formattedText + pattern.posSuf; } - let minInt: number|undefined = undefined; - let minFraction: number|undefined = undefined; - let maxFraction: number|undefined = undefined; - if (style !== NumberFormatStyle.Currency) { - // rely on Intl default for currency - minInt = 1; - minFraction = 0; - maxFraction = 3; + if (style === NumberFormatStyle.Currency && currency !== null) { + return formattedText.replace(new RegExp(CURRENCY_CHAR, 'g'), currency); } - if (digits) { - const parts = digits.match(_NUMBER_FORMAT_REGEXP); - if (parts === null) { - throw new Error(`${digits} is not a valid digit info for number pipes`); + if (style === NumberFormatStyle.Percent) { + return formattedText.replace( + new RegExp(PERCENT_CHAR, 'g'), localeDatum.numberSettings.symbols.percentSign); + } + + return formattedText; +} + +interface ParsedNumberFormat { + minInt: number; + // the minimum number of digits required in the fraction part of the number + minFrac: number; + // the maximum number of digits required in the fraction part of the number + maxFrac: number; + // the string to go in front of a positive number + posPre: string; + // the string to go after a positive number + posSuf: string; + // the string to go in front of a negative number (e.g. `-` or `(`)) + negPre: string; + // the string to go after a negative number (e.g. `)`) + negSuf: string; + // number of digits in each group of separated digits + gSize: number; + // number of digits in the last group of digits before the decimal separator + lgSize: number; +} + +function parseNumberFormat(format: string, minusSign = '-'): ParsedNumberFormat { + const p = { + minInt: 1, + minFrac: 0, + maxFrac: 0, + posPre: '', + posSuf: '', + negPre: '', + negSuf: '', + gSize: 0, + lgSize: 0 + }; + + const patternParts = format.split(PATTERN_SEP), positive = patternParts[0], + negative = patternParts[1]; + + // todo(ocombe) check split on globalize for percent format (#,##0%) + const positiveParts = positive.indexOf(DECIMAL_SEP) !== -1 ? + positive.split(DECIMAL_SEP) : + [ + positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1), + positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1) + ], + integer = positiveParts[0], fraction = positiveParts[1] || ''; + + p.posPre = integer.substr(0, integer.indexOf(DIGIT_CHAR)); + + for (let i = 0; i < fraction.length; i++) { + const ch = fraction.charAt(i); + if (ch === ZERO_CHAR) { + p.minFrac = p.maxFrac = i + 1; + } else if (ch === DIGIT_CHAR) { + p.maxFrac = i + 1; + } else { + p.posSuf += ch; } - if (parts[1] != null) { // min integer digits - minInt = parseIntAutoRadix(parts[1]); + } + + const groups = integer.split(GROUP_SEP); + p.gSize = groups[1] ? groups[1].length : 0; + p.lgSize = (groups[2] || groups[1]) ? (groups[2] || groups[1]).length : 0; + + if (negative) { + const trunkLen = positive.length - p.posPre.length - p.posSuf.length, + pos = negative.indexOf(DIGIT_CHAR); + + p.negPre = negative.substr(0, pos).replace(/'/g, ''); + p.negSuf = negative.substr(pos + trunkLen).replace(/'/g, ''); + } else { + p.negPre = minusSign + p.posPre; + p.negSuf = p.posSuf; + } + + return p; +} + +interface ParsedNumber { + digits: number[]; + exponent: number; + integerLen: number; +} + +/** + * Parse a number (as a string) into three components that can be used + * for formatting the number. + * + * (Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/) + * + * @param {string} numStr The number to parse + * @return {ParsedNumber} An object describing this number, containing the following keys: + * - digits : an array of digits containing leading zeros as necessary + * - integerLen : the number of the digits in `d` that are to the left of the decimal point + * - exponent : the exponent for numbers that would need more than `MAX_DIGITS` digits in `d` + * + */ +function parseNumber(numStr: string): ParsedNumber { + let exponent = 0, digits, integerLen; + let i, j, zeros; + + // Decimal point? + if ((integerLen = numStr.indexOf(DECIMAL_SEP)) > -1) { + numStr = numStr.replace(DECIMAL_SEP, ''); + } + + // Exponential form? + if ((i = numStr.search(/e/i)) > 0) { + // Work out the exponent. + if (integerLen < 0) integerLen = i; + integerLen += +numStr.slice(i + 1); + numStr = numStr.substring(0, i); + } else if (integerLen < 0) { + // There was no decimal point or exponent so it is an integer. + integerLen = numStr.length; + } + + // Count the number of leading zeros. + for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) { /* empty */ + } + + if (i === (zeros = numStr.length)) { + // The digits are all zero. + digits = [0]; + integerLen = 1; + } else { + // Count the number of trailing zeros + zeros--; + while (numStr.charAt(zeros) === ZERO_CHAR) zeros--; + + // Trailing zeros are insignificant so ignore them + integerLen -= i; + digits = []; + // Convert string to array of digits without leading/trailing zeros. + for (j = 0; i <= zeros; i++, j++) { + digits[j] = +numStr.charAt(i); } - if (parts[3] != null) { // min fraction digits - minFraction = parseIntAutoRadix(parts[3]); + } + + // If the number overflows the maximum allowed digits then use an exponent. + if (integerLen > MAX_DIGITS) { + digits = digits.splice(0, MAX_DIGITS - 1); + exponent = integerLen - 1; + integerLen = 1; + } + + return {digits, exponent, integerLen}; +} + +/** + * Round the parsed number to the specified number of decimal places + * This function changes the parsedNumber in-place + */ +function roundNumber(parsedNumber: ParsedNumber, minFrac: number, maxFrac: number) { + let digits = parsedNumber.digits; + let fractionLen = digits.length - parsedNumber.integerLen; + + const fractionSize = Math.min(Math.max(minFrac, fractionLen), maxFrac); + + // The index of the digit to where rounding is to occur + let roundAt = fractionSize + parsedNumber.integerLen; + let digit = digits[roundAt]; + + if (roundAt > 0) { + // Drop fractional digits beyond `roundAt` + digits.splice(Math.max(parsedNumber.integerLen, roundAt)); + + // Set non-fractional digits beyond `roundAt` to 0 + for (let j = roundAt; j < digits.length; j++) { + digits[j] = 0; } - if (parts[5] != null) { // max fraction digits - maxFraction = parseIntAutoRadix(parts[5]); + } else { + // We rounded to zero so reset the parsedNumber + fractionLen = Math.max(0, fractionLen); + parsedNumber.integerLen = 1; + digits.length = Math.max(1, roundAt = fractionSize + 1); + digits[0] = 0; + for (let i = 1; i < roundAt; i++) digits[i] = 0; + } + + if (digit >= 5) { + if (roundAt - 1 < 0) { + for (let k = 0; k > roundAt; k--) { + digits.unshift(0); + parsedNumber.integerLen++; + } + digits.unshift(1); + parsedNumber.integerLen++; + } else { + digits[roundAt - 1]++; } } - return NumberFormatter.format(value as number, locale, style, { - minimumIntegerDigits: minInt, - minimumFractionDigits: minFraction, - maximumFractionDigits: maxFraction, - currency: currency, - currencyAsSymbol: currencyAsSymbol, - }); + // Pad out with zeros to get the required fraction length + for (; fractionLen < Math.max(0, fractionSize); fractionLen++) digits.push(0); + + + // Do any carrying, e.g. a digit was rounded up to 10 + const carry = digits.reduceRight(function(carry, d, i, digits) { + d = d + carry; + digits[i] = d % 10; + return Math.floor(d / 10); + }, 0); + if (carry) { + digits.unshift(carry); + parsedNumber.integerLen++; + } } /** * @ngModule CommonModule * @whatItDoes Formats a number according to locale rules. - * @howToUse `number_expression | number[:digitInfo]` + * @howToUse `number_expression | number[:digitInfo[:locale]]` * * Formats a number as text. Group sizing and separator and other locale-specific * configurations are based on the active locale. @@ -73,13 +374,12 @@ function formatNumber( * - `minIntegerDigits` is the minimum number of integer digits to use. Defaults to `1`. * - `minFractionDigits` is the minimum number of digits after fraction. Defaults to `0`. * - `maxFractionDigits` is the maximum number of digits after fraction. Defaults to `3`. + * - `locale` is a `string` defining the locale to use (uses the current {@link LOCALE_ID} by + * default) * * For more information on the acceptable range for each of these numbers and other * details see your native internationalization library. * - * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers - * and may require a polyfill. See [Browser Support](guide/browser-support) for details. - * * ### Example * * {@example common/pipes/ts/number_pipe.ts region='NumberPipe'} @@ -88,26 +388,30 @@ function formatNumber( */ @Pipe({name: 'number'}) export class DecimalPipe implements PipeTransform { - constructor(@Inject(LOCALE_ID) private _locale: string) {} + constructor( + @Inject(LOCALE_ID) private locale: string, + @Inject(LOCALE_DATA) private localeData: NgLocale[]) {} - transform(value: any, digits?: string): string|null { - return formatNumber(DecimalPipe, this._locale, value, NumberFormatStyle.Decimal, digits); + transform(value: any, digits?: string, locale?: string): string|null { + const localeDatum = findNgLocale(locale || this.locale, this.localeData); + return formatNumber( + DecimalPipe, value, NumberFormatStyle.Decimal, localeDatum.numberSettings.formats.decimal, + localeDatum, digits); } } /** * @ngModule CommonModule * @whatItDoes Formats a number as a percentage according to locale rules. - * @howToUse `number_expression | percent[:digitInfo]` + * @howToUse `number_expression | percent[:digitInfo[:locale]]` * * @description * * Formats a number as percentage. * * - `digitInfo` See {@link DecimalPipe} for detailed description. - * - * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers - * and may require a polyfill. See [Browser Support](guide/browser-support) for details. + * - `locale` is a `string` defining the locale to use (uses the current {@link LOCALE_ID} by + * default) * * ### Example * @@ -117,30 +421,37 @@ export class DecimalPipe implements PipeTransform { */ @Pipe({name: 'percent'}) export class PercentPipe implements PipeTransform { - constructor(@Inject(LOCALE_ID) private _locale: string) {} + constructor( + @Inject(LOCALE_ID) private locale: string, + @Inject(LOCALE_DATA) private localeData: NgLocale[]) {} - transform(value: any, digits?: string): string|null { - return formatNumber(PercentPipe, this._locale, value, NumberFormatStyle.Percent, digits); + transform(value: any, digits?: string, locale?: string): string|null { + const localeDatum = findNgLocale(locale || this.locale, this.localeData); + return formatNumber( + PercentPipe, value, NumberFormatStyle.Percent, localeDatum.numberSettings.formats.percent, + localeDatum, digits); } } /** * @ngModule CommonModule * @whatItDoes Formats a number as currency using locale rules. - * @howToUse `number_expression | currency[:currencyCode[:symbolDisplay[:digitInfo]]]` + * @howToUse `number_expression | currency[:currencyCode[:symbolDisplay[:digitInfo[:locale]]]]` * @description * * Use `currency` to format a number as currency. * * - `currencyCode` is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, such * as `USD` for the US dollar and `EUR` for the euro. - * - `symbolDisplay` is a boolean indicating whether to use the currency symbol or code. - * - `true`: use symbol (e.g. `$`). - * - `false`(default): use code (e.g. `USD`). + * - `display` indicates whether to show the currency symbol or the code. + * - `code`(default): use code (e.g. `USD`). + * - `symbol`: use symbol (e.g. `$`). + * - `symbol-narrow`: some countries have two symbols for their currency, one regular and one + * narrow (e.g. the canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`). + * If there is no narrow symbol for the chosen currency, the regular symbol will be used. * - `digitInfo` See {@link DecimalPipe} for detailed description. - * - * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers - * and may require a polyfill. See [Browser Support](guide/browser-support) for details. + * - `locale` is a `string` defining the locale to use (uses the current {@link LOCALE_ID} by + * default) * * ### Example * @@ -150,14 +461,41 @@ export class PercentPipe implements PipeTransform { */ @Pipe({name: 'currency'}) export class CurrencyPipe implements PipeTransform { - constructor(@Inject(LOCALE_ID) private _locale: string) {} + constructor( + @Inject(LOCALE_ID) private locale: string, + @Inject(LOCALE_DATA) private localeData: NgLocale[]) {} transform( - value: any, currencyCode: string = 'USD', symbolDisplay: boolean = false, - digits?: string): string|null { + value: any, currencyCode?: string, symbolDisplay: 'code'|'symbol'|'symbol-narrow' = 'code', + digits?: string, locale?: string): string|null { + const localeDatum = findNgLocale(locale || this.locale, this.localeData); + + if (typeof symbolDisplay === 'boolean') { + if (console && console.warn) { + console.warn( + `Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".`); + } + symbolDisplay = symbolDisplay ? 'symbol' : 'code'; + } + + let currency: string; + if (currencyCode) { + if (symbolDisplay === 'symbol') { + currency = CURRENCIES[currencyCode].symbol || currencyCode; + } else if (symbolDisplay === 'symbol-narrow') { + currency = CURRENCIES[currencyCode].symbolNarrow || CURRENCIES[currencyCode].symbol || + currencyCode; + } else { + currency = currencyCode; + } + } else { + currency = + localeDatum.currencySettings[symbolDisplay === 'code' ? 'name' : 'symbol'] || 'USD'; + } + return formatNumber( - CurrencyPipe, this._locale, value, NumberFormatStyle.Currency, digits, currencyCode, - symbolDisplay); + CurrencyPipe, value, NumberFormatStyle.Currency, + localeDatum.numberSettings.formats.currency, localeDatum, digits, currency); } } diff --git a/packages/common/test/localization_spec.ts b/packages/common/test/localization_spec.ts index 08e7792e8e4777..0b03fb8450f210 100644 --- a/packages/common/test/localization_spec.ts +++ b/packages/common/test/localization_spec.ts @@ -6,7 +6,12 @@ * found in the LICENSE file at https://angular.io/license */ -import {LOCALE_ID} from '@angular/core'; +import {LOCALE_DATA, LOCALE_ID} from '@angular/core'; +import {NgLocaleEn} from '@angular/core/src/i18n/data/locale_en'; +import {NgLocaleFr} from '@angular/core/src/i18n/data/locale_fr'; +import {NgLocaleRo} from '@angular/core/src/i18n/data/locale_ro'; +import {NgLocaleSr} from '@angular/core/src/i18n/data/locale_sr'; +import {NgLocaleZgh} from '@angular/core/src/i18n/data/locale_zgh'; import {TestBed, inject} from '@angular/core/testing'; import {NgLocaleLocalization, NgLocalization, getPluralCategory} from '../src/localization'; @@ -18,7 +23,10 @@ export function main() { describe('ro', () => { beforeEach(() => { TestBed.configureTestingModule({ - providers: [{provide: LOCALE_ID, useValue: 'ro'}], + providers: [ + {provide: LOCALE_ID, useValue: 'ro'}, + {provide: LOCALE_DATA, useValue: NgLocaleRo, multi: true} + ], }); }); @@ -34,7 +42,10 @@ export function main() { describe('sr', () => { beforeEach(() => { TestBed.configureTestingModule({ - providers: [{provide: LOCALE_ID, useValue: 'sr'}], + providers: [ + {provide: LOCALE_ID, useValue: 'sr'}, + {provide: LOCALE_DATA, useValue: NgLocaleSr, multi: true} + ], }); }); @@ -54,7 +65,7 @@ export function main() { describe('NgLocaleLocalization', () => { it('should return the correct values for the "en" locale', () => { - const l10n = new NgLocaleLocalization('en-US'); + const l10n = new NgLocaleLocalization('en-US', [NgLocaleEn]); expect(l10n.getPluralCategory(0)).toEqual('other'); expect(l10n.getPluralCategory(1)).toEqual('one'); @@ -62,7 +73,7 @@ export function main() { }); it('should return the correct values for the "ro" locale', () => { - const l10n = new NgLocaleLocalization('ro'); + const l10n = new NgLocaleLocalization('ro', [NgLocaleRo]); expect(l10n.getPluralCategory(0)).toEqual('few'); expect(l10n.getPluralCategory(1)).toEqual('one'); @@ -74,7 +85,7 @@ export function main() { }); it('should return the correct values for the "sr" locale', () => { - const l10n = new NgLocaleLocalization('sr'); + const l10n = new NgLocaleLocalization('sr', [NgLocaleSr]); expect(l10n.getPluralCategory(1)).toEqual('one'); expect(l10n.getPluralCategory(31)).toEqual('one'); @@ -121,7 +132,7 @@ export function main() { }); it('should return the default value for a locale with no rule', () => { - const l10n = new NgLocaleLocalization('zgh'); + const l10n = new NgLocaleLocalization('zgh', [NgLocaleZgh]); expect(l10n.getPluralCategory(0)).toEqual('other'); expect(l10n.getPluralCategory(1)).toEqual('other'); @@ -133,7 +144,7 @@ export function main() { describe('getPluralCategory', () => { it('should return plural category', () => { - const l10n = new NgLocaleLocalization('fr'); + const l10n = new NgLocaleLocalization('fr', [NgLocaleFr]); expect(getPluralCategory(0, ['one', 'other'], l10n)).toEqual('one'); expect(getPluralCategory(1, ['one', 'other'], l10n)).toEqual('one'); @@ -141,7 +152,7 @@ export function main() { }); it('should return discrete cases', () => { - const l10n = new NgLocaleLocalization('fr'); + const l10n = new NgLocaleLocalization('fr', [NgLocaleFr]); expect(getPluralCategory(0, ['one', 'other', '=0'], l10n)).toEqual('=0'); expect(getPluralCategory(1, ['one', 'other'], l10n)).toEqual('one'); @@ -150,7 +161,7 @@ export function main() { }); it('should fallback to other when the case is not present', () => { - const l10n = new NgLocaleLocalization('ro'); + const l10n = new NgLocaleLocalization('ro', [NgLocaleRo]); expect(getPluralCategory(1, ['one', 'other'], l10n)).toEqual('one'); // 2 -> 'few' expect(getPluralCategory(2, ['one', 'other'], l10n)).toEqual('other'); @@ -159,7 +170,7 @@ export function main() { describe('errors', () => { it('should report an error when the "other" category is not present', () => { expect(() => { - const l10n = new NgLocaleLocalization('ro'); + const l10n = new NgLocaleLocalization('ro', [NgLocaleRo]); // 2 -> 'few' getPluralCategory(2, ['one'], l10n); }).toThrowError('No plural message found for value "2"'); diff --git a/packages/common/test/pipes/date_pipe_spec.ts b/packages/common/test/pipes/date_pipe_spec.ts index 07a009d0dc23bf..c85eec9e301ce9 100644 --- a/packages/common/test/pipes/date_pipe_spec.ts +++ b/packages/common/test/pipes/date_pipe_spec.ts @@ -9,7 +9,7 @@ import {DatePipe} from '@angular/common'; import {JitReflector} from '@angular/compiler'; import {PipeResolver} from '@angular/compiler/src/pipe_resolver'; -import {browserDetection} from '@angular/platform-browser/testing/src/browser_util'; +import {NgLocaleDe, NgLocaleEn, NgLocaleHu, NgLocaleSr, NgLocaleTh} from '@angular/core'; export function main() { describe('DatePipe', () => { @@ -22,17 +22,9 @@ export function main() { expect(pipe.transform(date, pattern)).toEqual(output); } - // TODO: reactivate the disabled expectations once emulators are fixed in SauceLabs - // In some old versions of Chrome in Android emulators, time formatting returns dates in the - // timezone of the VM host, - // instead of the device timezone. Same symptoms as - // https://bugs.chromium.org/p/chromium/issues/detail?id=406382 - // This happens locally and in SauceLabs, so some checks are disabled to avoid failures. - // Tracking issue: https://github.com/angular/angular/issues/11187 - beforeEach(() => { - date = new Date(2015, 5, 15, 9, 3, 1); - pipe = new DatePipe('en-US'); + date = new Date(2015, 5, 15, 9, 3, 1, 550); + pipe = new DatePipe('en-US', [NgLocaleEn]); }); it('should be marked as pure', () => { @@ -67,59 +59,122 @@ export function main() { describe('transform', () => { it('should format each component correctly', () => { const dateFixtures: any = { - 'y': '2015', - 'yy': '15', - 'M': '6', - 'MM': '06', - 'MMM': 'Jun', - 'MMMM': 'June', - 'd': '15', - 'dd': '15', - 'EEE': 'Mon', - 'EEEE': 'Monday' + G: 'AD', + GG: 'AD', + GGG: 'AD', + GGGG: 'Anno Domini', + GGGGG: 'A', + y: '2015', + yy: '15', + yyy: '2015', + yyyy: '2015', + M: '6', + MM: '06', + MMM: 'Jun', + MMMM: 'June', + MMMMM: 'J', + L: '6', + LL: '06', + LLL: 'Jun', + LLLL: 'June', + LLLLL: 'J', + w: '25', + ww: '25', + W: '3', + d: '15', + dd: '15', + E: 'Mon', + EE: 'Mon', + EEE: 'Mon', + EEEE: 'Monday', + EEEEEE: 'Mo', + h: '9', + hh: '09', + H: '9', + HH: '09', + m: '3', + mm: '03', + s: '1', + ss: '01', + S: '6', + SS: '55', + SSS: '550', + a: 'AM', + aa: 'AM', + aaa: 'AM', + aaaa: 'AM', + aaaaa: 'a', + b: 'morning', + bb: 'morning', + bbb: 'morning', + bbbb: 'morning', + bbbbb: 'morning', + B: 'in the morning', + BB: 'in the morning', + BBB: 'in the morning', + BBBB: 'in the morning', + BBBBB: 'in the morning', }; const isoStringWithoutTimeFixtures: any = { - 'y': '2015', - 'yy': '15', - 'M': '1', - 'MM': '01', - 'MMM': 'Jan', - 'MMMM': 'January', - 'd': '1', - 'dd': '01', - 'EEE': 'Thu', - 'EEEE': 'Thursday' + G: 'AD', + GG: 'AD', + GGG: 'AD', + GGGG: 'Anno Domini', + GGGGG: 'A', + y: '2015', + yy: '15', + yyy: '2015', + yyyy: '2015', + M: '1', + MM: '01', + MMM: 'Jan', + MMMM: 'January', + MMMMM: 'J', + L: '1', + LL: '01', + LLL: 'Jan', + LLLL: 'January', + LLLLL: 'J', + w: '1', + ww: '01', + W: '1', + d: '1', + dd: '01', + E: 'Thu', + EE: 'Thu', + EEE: 'Thu', + EEEE: 'Thursday', + EEEEE: 'T', + EEEEEE: 'Th', + h: '12', + hh: '12', + H: '0', + HH: '00', + m: '0', + mm: '00', + s: '0', + ss: '00', + S: '0', + SS: '00', + SSS: '000', + a: 'AM', + aa: 'AM', + aaa: 'AM', + aaaa: 'AM', + aaaaa: 'a', + b: 'midnight', + bb: 'midnight', + bbb: 'midnight', + bbbb: 'midnight', + bbbbb: 'midnight', + B: 'midnight', + BB: 'midnight', + BBB: 'midnight', + BBBB: 'midnight', + BBBBB: 'mi', }; - if (!browserDetection.isOldChrome) { - dateFixtures['h'] = '9'; - dateFixtures['hh'] = '09'; - dateFixtures['j'] = '9 AM'; - isoStringWithoutTimeFixtures['h'] = '12'; - isoStringWithoutTimeFixtures['hh'] = '12'; - isoStringWithoutTimeFixtures['j'] = '12 AM'; - } - - // IE and Edge can't format a date to minutes and seconds without hours - if (!browserDetection.isEdge && !browserDetection.isIE || - !browserDetection.supportsNativeIntlApi) { - if (!browserDetection.isOldChrome) { - dateFixtures['HH'] = '09'; - isoStringWithoutTimeFixtures['HH'] = '00'; - } - dateFixtures['E'] = 'M'; - dateFixtures['L'] = 'J'; - dateFixtures['m'] = '3'; - dateFixtures['s'] = '1'; - dateFixtures['mm'] = '03'; - dateFixtures['ss'] = '01'; - isoStringWithoutTimeFixtures['m'] = '0'; - isoStringWithoutTimeFixtures['s'] = '0'; - isoStringWithoutTimeFixtures['mm'] = '00'; - isoStringWithoutTimeFixtures['ss'] = '00'; - } - Object.keys(dateFixtures).forEach((pattern: string) => { expectDateFormatAs(date, pattern, dateFixtures[pattern]); }); @@ -127,8 +182,26 @@ export function main() { Object.keys(isoStringWithoutTimeFixtures).forEach((pattern: string) => { expectDateFormatAs(isoStringWithoutTime, pattern, isoStringWithoutTimeFixtures[pattern]); }); + }); - expect(pipe.transform(date, 'Z')).toBeDefined(); + it('should format with timezones', () => { + const dateFixtures: any = { + z: /GMT\+\d/, + zz: /GMT\+\d/, + zzz: /GMT\+\d/, + zzzz: /GMT\+\d{2}\:30/, + Z: /\+\d{2}30/, + ZZ: /\+\d{2}30/, + ZZZ: /\+\d{2}30/, + ZZZZ: /GMT\+\d{2}\:30/, + ZZZZZ: /\+\d{2}\:30/, + O: /GMT\+\d/, + OOOO: /GMT\+\d{2}\:30/, + }; + + Object.keys(dateFixtures).forEach((pattern: string) => { + expect(pipe.transform(date, pattern, '+0430')).toMatch(dateFixtures[pattern]); + }); }); it('should format common multi component patterns', () => { @@ -141,19 +214,13 @@ export function main() { 'yMEEEd': '20156Mon15', 'MEEEd': '6Mon15', 'MMMd': 'Jun15', - 'yMMMMEEEEd': 'Monday, June 15, 2015' + 'EEEE, MMMM d, y': 'Monday, June 15, 2015', + 'H:mm a': '9:03 AM', + 'ms': '31', + 'MM/dd/yy hh:mm': '06/15/15 09:03', + 'MM/dd/y': '06/15/2015' }; - // IE and Edge can't format a date to minutes and seconds without hours - if (!browserDetection.isEdge && !browserDetection.isIE || - !browserDetection.supportsNativeIntlApi) { - dateFixtures['ms'] = '31'; - } - - if (!browserDetection.isOldChrome) { - dateFixtures['jm'] = '9:03 AM'; - } - Object.keys(dateFixtures).forEach((pattern: string) => { expectDateFormatAs(date, pattern, dateFixtures[pattern]); }); @@ -163,33 +230,23 @@ export function main() { it('should format with pattern aliases', () => { const dateFixtures: any = { 'MM/dd/yyyy': '06/15/2015', - 'fullDate': 'Monday, June 15, 2015', - 'longDate': 'June 15, 2015', - 'mediumDate': 'Jun 15, 2015', - 'shortDate': '6/15/2015' + shortDate: '6/15/15', + mediumDate: 'Jun 15, 2015', + longDate: 'June 15, 2015', + fullDate: 'Monday, June 15, 2015', + short: '6/15/15, 9:03 AM', + medium: 'Jun 15, 2015, 9:03:01 AM', + long: 'June 15, 2015 at 9:03:01 AM GMT+2', + full: 'Monday, June 15, 2015 at 9:03:01 AM GMT+02:00', + shortTime: '9:03 AM', + mediumTime: '9:03:01 AM', + longTime: '9:03:01 AM GMT+2', + fullTime: '9:03:01 AM GMT+02:00', }; - if (!browserDetection.isOldChrome) { - // IE and Edge do not add a coma after the year in these 2 cases - if ((browserDetection.isEdge || browserDetection.isIE) && - browserDetection.supportsNativeIntlApi) { - dateFixtures['medium'] = 'Jun 15, 2015 9:03:01 AM'; - dateFixtures['short'] = '6/15/2015 9:03 AM'; - } else { - dateFixtures['medium'] = 'Jun 15, 2015, 9:03:01 AM'; - dateFixtures['short'] = '6/15/2015, 9:03 AM'; - } - } - - if (!browserDetection.isOldChrome) { - dateFixtures['mediumTime'] = '9:03:01 AM'; - dateFixtures['shortTime'] = '9:03 AM'; - } - Object.keys(dateFixtures).forEach((pattern: string) => { expectDateFormatAs(date, pattern, dateFixtures[pattern]); }); - }); it('should format invalid in IE ISO date', @@ -198,8 +255,28 @@ export function main() { it('should format invalid in Safari ISO date', () => expect(pipe.transform('2017-01-20T19:00:00+0000')).toEqual('Jan 20, 2017')); + it('should format correctly in IE11', + () => expect(pipe.transform('2017-05-07T22:14:39', 'dd-MM-yyyy HH:mm', '+00:00')) + .toEqual('07-05-2017 22:14')); + + it('should show the correct time in Safari with shortTime and custom format', () => { + expect(pipe.transform('2017-06-13T10:14:39', 'shortTime', '+00:00')).toEqual('10:14 AM'); + expect(pipe.transform('2017-06-13T10:14:39', 'h:mm a', '+00:00')).toEqual('10:14 AM'); + }); + it('should remove bidi control characters', () => expect(pipe.transform(date, 'MM/dd/yyyy') !.length).toEqual(10)); + + it(`should format the date correctly in various locales`, () => { + expect(new DatePipe('de', [NgLocaleDe]).transform(date, 'short')) + .toEqual('15.06.15, 09:03'); + expect(new DatePipe('th', [NgLocaleTh]).transform(date, 'dd-MM-yy')).toEqual('15-06-15'); + expect(new DatePipe('hu', [NgLocaleHu]).transform(date, 'a')).toEqual('de.'); + expect(new DatePipe('sr', [NgLocaleSr]).transform(date, 'a')).toEqual('пре подне'); + + // todo(ocombe): activate this test when we support local numbers + // expect(new DatePipe('mr', [NgLocaleMr]).transform(date, 'hh')).toEqual('०९'); + }); }); }); } diff --git a/packages/common/test/pipes/number_pipe_spec.ts b/packages/common/test/pipes/number_pipe_spec.ts index 85cd2515278c23..f636469dad0fb7 100644 --- a/packages/common/test/pipes/number_pipe_spec.ts +++ b/packages/common/test/pipes/number_pipe_spec.ts @@ -8,17 +8,16 @@ import {CurrencyPipe, DecimalPipe, PercentPipe} from '@angular/common'; import {isNumeric} from '@angular/common/src/pipes/number_pipe'; +import {NgLocaleEn, NgLocaleEsUS} from '@angular/core'; import {beforeEach, describe, expect, it} from '@angular/core/testing/src/testing_internal'; -import {browserDetection} from '@angular/platform-browser/testing/src/browser_util'; export function main() { describe('Number pipes', () => { describe('DecimalPipe', () => { - let pipe: DecimalPipe; - - beforeEach(() => { pipe = new DecimalPipe('en-US'); }); - describe('transform', () => { + let pipe: DecimalPipe; + beforeEach(() => { pipe = new DecimalPipe('en-US', [NgLocaleEn]); }); + it('should return correct value for numbers', () => { expect(pipe.transform(12345)).toEqual('12,345'); expect(pipe.transform(123, '.2')).toEqual('123.00'); @@ -38,47 +37,60 @@ export function main() { }); it('should not support other objects', () => { - expect(() => pipe.transform(new Object())).toThrowError(); + expect(() => pipe.transform({})).toThrowError(); expect(() => pipe.transform('123abc')).toThrowError(); }); }); + + describe('transform with custom locales', () => { + it('should return the correct format for es-US in IE11', () => { + const pipe = new DecimalPipe('es-US', [NgLocaleEsUS]); + expect(pipe.transform('9999999.99', '1.2-2')).toEqual('9,999,999.99'); + }); + }) }); describe('PercentPipe', () => { let pipe: PercentPipe; - beforeEach(() => { pipe = new PercentPipe('en-US'); }); + beforeEach(() => { pipe = new PercentPipe('en-US', [NgLocaleEn]); }); describe('transform', () => { it('should return correct value for numbers', () => { - expect(normalize(pipe.transform(1.23) !)).toEqual('123%'); - expect(normalize(pipe.transform(1.2, '.2') !)).toEqual('120.00%'); + expect(pipe.transform(1.23)).toEqual('123%'); + expect(pipe.transform(1.2, '.2')).toEqual('120.00%'); }); it('should not support other objects', - () => { expect(() => pipe.transform(new Object())).toThrowError(); }); + () => { expect(() => pipe.transform({})).toThrowError(); }); }); }); describe('CurrencyPipe', () => { let pipe: CurrencyPipe; - beforeEach(() => { pipe = new CurrencyPipe('en-US'); }); + beforeEach(() => { pipe = new CurrencyPipe('en-US', [NgLocaleEn]); }); describe('transform', () => { it('should return correct value for numbers', () => { - // In old Chrome, default formatiing for USD is different - if (browserDetection.isOldChrome) { - expect(normalize(pipe.transform(123) !)).toEqual('USD123'); - } else { - expect(normalize(pipe.transform(123) !)).toEqual('USD123.00'); - } - expect(normalize(pipe.transform(12, 'EUR', false, '.1') !)).toEqual('EUR12.0'); - expect(normalize(pipe.transform(5.1234, 'USD', false, '.0-3') !)).toEqual('USD5.123'); + expect(pipe.transform(123)).toEqual('US Dollar123.00'); + expect(pipe.transform(12, 'EUR', 'code', '.1')).toEqual('EUR12.0'); + expect(pipe.transform(5.1234, 'USD', 'code', '.0-3')).toEqual('USD5.123'); + expect(pipe.transform(5.1234, 'USD', 'code')).toEqual('USD5.12'); + expect(pipe.transform(5.1234, 'USD', 'symbol')).toEqual('$5.12'); + expect(pipe.transform(5.1234, 'CAD', 'symbol')).toEqual('CA$5.12'); + expect(pipe.transform(5.1234, 'CAD', 'symbol-narrow')).toEqual('$5.12'); }); it('should not support other objects', - () => { expect(() => pipe.transform(new Object())).toThrowError(); }); + () => { expect(() => pipe.transform({})).toThrowError(); }); + + it('should warn if you are using the v4 signature', () => { + const warnSpy = spyOn(console, 'warn'); + pipe.transform(123, 'USD', true); + expect(warnSpy).toHaveBeenCalledWith( + `Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".`); + }) }); }); @@ -103,8 +115,3 @@ export function main() { }); }); } - -// Between the symbol and the number, Edge adds a no breaking space and IE11 adds a standard space -function normalize(s: string): string { - return s.replace(/\u00A0| /g, ''); -} diff --git a/packages/core/src/application_module.ts b/packages/core/src/application_module.ts index 5c4b359a5f7663..2e02d07b6685ee 100644 --- a/packages/core/src/application_module.ts +++ b/packages/core/src/application_module.ts @@ -11,7 +11,9 @@ import {ApplicationRef, ApplicationRef_} from './application_ref'; import {APP_ID_RANDOM_PROVIDER} from './application_tokens'; import {IterableDiffers, KeyValueDiffers, defaultIterableDiffers, defaultKeyValueDiffers} from './change_detection/change_detection'; import {Inject, Optional, SkipSelf} from './di/metadata'; -import {LOCALE_ID} from './i18n/tokens'; +import {NgLocaleEn} from './i18n/data/locale_en'; +import {getNormalizedLocale} from './i18n/ng_locale'; +import {LOCALE_DATA, LOCALE_ID} from './i18n/tokens'; import {Compiler} from './linker/compiler'; import {NgModule} from './metadata'; @@ -24,6 +26,10 @@ export function _keyValueDiffersFactory() { } export function _localeFactory(locale?: string): string { + if (locale && !getNormalizedLocale(locale)) { + throw new Error( + `"${locale}" is not a valid LOCALE_ID value. See https://github.com/unicode-cldr/cldr-core/blob/master/availableLocales.json for a list of valid locales`); + } return locale || 'en-US'; } @@ -42,6 +48,7 @@ export function _localeFactory(locale?: string): string { APP_ID_RANDOM_PROVIDER, {provide: IterableDiffers, useFactory: _iterableDiffersFactory}, {provide: KeyValueDiffers, useFactory: _keyValueDiffersFactory}, + {provide: LOCALE_DATA, useValue: NgLocaleEn, multi: true}, { provide: LOCALE_ID, useFactory: _localeFactory, diff --git a/packages/core/src/core.ts b/packages/core/src/core.ts index 772da782a8ba0f..7918902a330bdf 100644 --- a/packages/core/src/core.ts +++ b/packages/core/src/core.ts @@ -25,7 +25,9 @@ export {DebugElement, DebugNode, asNativeElements, getDebugNode, Predicate} from export {GetTestability, Testability, TestabilityRegistry, setTestabilityGetter} from './testability/testability'; export * from './change_detection'; export * from './platform_core_providers'; -export {TRANSLATIONS, TRANSLATIONS_FORMAT, LOCALE_ID, MissingTranslationStrategy} from './i18n/tokens'; +export {TRANSLATIONS, TRANSLATIONS_FORMAT, LOCALE_ID, LOCALE_DATA, MissingTranslationStrategy} from './i18n/tokens'; +export * from './i18n/available_locales'; +export {NgLocale, findNgLocale, getNormalizedLocale} from './i18n/ng_locale'; export {ApplicationModule} from './application_module'; export {wtfCreateScope, wtfLeave, wtfStartTimeRange, wtfEndTimeRange, WtfScopeFn} from './profile/profile'; export {Type} from './type'; diff --git a/packages/core/src/i18n/available_locales.ts b/packages/core/src/i18n/available_locales.ts new file mode 100644 index 00000000000000..5c5eb7bc81c0db --- /dev/null +++ b/packages/core/src/i18n/available_locales.ts @@ -0,0 +1,699 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +export const AVAILABLE_LOCALES = [ + 'af', 'af-NA', 'agq', + 'ak', 'am', 'ar', + 'ar-AE', 'ar-BH', 'ar-DJ', + 'ar-DZ', 'ar-EG', 'ar-EH', + 'ar-ER', 'ar-IL', 'ar-IQ', + 'ar-JO', 'ar-KM', 'ar-KW', + 'ar-LB', 'ar-LY', 'ar-MA', + 'ar-MR', 'ar-OM', 'ar-PS', + 'ar-QA', 'ar-SA', 'ar-SD', + 'ar-SO', 'ar-SS', 'ar-SY', + 'ar-TD', 'ar-TN', 'ar-YE', + 'as', 'asa', 'ast', + 'az', 'az-Cyrl', 'az-Latn', + 'bas', 'be', 'bem', + 'bez', 'bg', 'bm', + 'bn', 'bn-IN', 'bo', + 'bo-IN', 'br', 'brx', + 'bs', 'bs-Cyrl', 'bs-Latn', + 'ca', 'ca-AD', 'ca-ES-VALENCIA', + 'ca-FR', 'ca-IT', 'ce', + 'cgg', 'chr', 'ckb', + 'ckb-IR', 'cs', 'cu', + 'cy', 'da', 'da-GL', + 'dav', 'de', 'de-AT', + 'de-BE', 'de-CH', 'de-IT', + 'de-LI', 'de-LU', 'dje', + 'dsb', 'dua', 'dyo', + 'dz', 'ebu', 'ee', + 'ee-TG', 'el', 'el-CY', + 'en', 'en-001', 'en-150', + 'en-AG', 'en-AI', 'en-AS', + 'en-AT', 'en-AU', 'en-BB', + 'en-BE', 'en-BI', 'en-BM', + 'en-BS', 'en-BW', 'en-BZ', + 'en-CA', 'en-CC', 'en-CH', + 'en-CK', 'en-CM', 'en-CX', + 'en-CY', 'en-DE', 'en-DG', + 'en-DK', 'en-DM', 'en-ER', + 'en-FI', 'en-FJ', 'en-FK', + 'en-FM', 'en-GB', 'en-GD', + 'en-GG', 'en-GH', 'en-GI', + 'en-GM', 'en-GU', 'en-GY', + 'en-HK', 'en-IE', 'en-IL', + 'en-IM', 'en-IN', 'en-IO', + 'en-JE', 'en-JM', 'en-KE', + 'en-KI', 'en-KN', 'en-KY', + 'en-LC', 'en-LR', 'en-LS', + 'en-MG', 'en-MH', 'en-MO', + 'en-MP', 'en-MS', 'en-MT', + 'en-MU', 'en-MW', 'en-MY', + 'en-NA', 'en-NF', 'en-NG', + 'en-NL', 'en-NR', 'en-NU', + 'en-NZ', 'en-PG', 'en-PH', + 'en-PK', 'en-PN', 'en-PR', + 'en-PW', 'en-RW', 'en-SB', + 'en-SC', 'en-SD', 'en-SE', + 'en-SG', 'en-SH', 'en-SI', + 'en-SL', 'en-SS', 'en-SX', + 'en-SZ', 'en-TC', 'en-TK', + 'en-TO', 'en-TT', 'en-TV', + 'en-TZ', 'en-UG', 'en-UM', + 'en-US-POSIX', 'en-VC', 'en-VG', + 'en-VI', 'en-VU', 'en-WS', + 'en-ZA', 'en-ZM', 'en-ZW', + 'eo', 'es', 'es-419', + 'es-AR', 'es-BO', 'es-BR', + 'es-BZ', 'es-CL', 'es-CO', + 'es-CR', 'es-CU', 'es-DO', + 'es-EA', 'es-EC', 'es-GQ', + 'es-GT', 'es-HN', 'es-IC', + 'es-MX', 'es-NI', 'es-PA', + 'es-PE', 'es-PH', 'es-PR', + 'es-PY', 'es-SV', 'es-US', + 'es-UY', 'es-VE', 'et', + 'eu', 'ewo', 'fa', + 'fa-AF', 'ff', 'ff-CM', + 'ff-GN', 'ff-MR', 'fi', + 'fil', 'fo', 'fo-DK', + 'fr', 'fr-BE', 'fr-BF', + 'fr-BI', 'fr-BJ', 'fr-BL', + 'fr-CA', 'fr-CD', 'fr-CF', + 'fr-CG', 'fr-CH', 'fr-CI', + 'fr-CM', 'fr-DJ', 'fr-DZ', + 'fr-GA', 'fr-GF', 'fr-GN', + 'fr-GP', 'fr-GQ', 'fr-HT', + 'fr-KM', 'fr-LU', 'fr-MA', + 'fr-MC', 'fr-MF', 'fr-MG', + 'fr-ML', 'fr-MQ', 'fr-MR', + 'fr-MU', 'fr-NC', 'fr-NE', + 'fr-PF', 'fr-PM', 'fr-RE', + 'fr-RW', 'fr-SC', 'fr-SN', + 'fr-SY', 'fr-TD', 'fr-TG', + 'fr-TN', 'fr-VU', 'fr-WF', + 'fr-YT', 'fur', 'fy', + 'ga', 'gd', 'gl', + 'gsw', 'gsw-FR', 'gsw-LI', + 'gu', 'guz', 'gv', + 'ha', 'ha-GH', 'ha-NE', + 'haw', 'he', 'hi', + 'hr', 'hr-BA', 'hsb', + 'hu', 'hy', 'id', + 'ig', 'ii', 'is', + 'it', 'it-CH', 'it-SM', + 'it-VA', 'ja', 'jgo', + 'jmc', 'ka', 'kab', + 'kam', 'kde', 'kea', + 'khq', 'ki', 'kk', + 'kkj', 'kl', 'kln', + 'km', 'kn', 'ko', + 'ko-KP', 'kok', 'ks', + 'ksb', 'ksf', 'ksh', + 'kw', 'ky', 'lag', + 'lb', 'lg', 'lkt', + 'ln', 'ln-AO', 'ln-CF', + 'ln-CG', 'lo', 'lrc', + 'lrc-IQ', 'lt', 'lu', + 'luo', 'luy', 'lv', + 'mas', 'mas-TZ', 'mer', + 'mfe', 'mg', 'mgh', + 'mgo', 'mk', 'ml', + 'mn', 'mr', 'ms', + 'ms-BN', 'ms-SG', 'mt', + 'mua', 'my', 'mzn', + 'naq', 'nb', 'nb-SJ', + 'nd', 'nds', 'nds-NL', + 'ne', 'ne-IN', 'nl', + 'nl-AW', 'nl-BE', 'nl-BQ', + 'nl-CW', 'nl-SR', 'nl-SX', + 'nmg', 'nn', 'nnh', + 'nus', 'nyn', 'om', + 'om-KE', 'or', 'os', + 'os-RU', 'pa', 'pa-Arab', + 'pa-Guru', 'pl', 'prg', + 'ps', 'pt', 'pt-AO', + 'pt-CH', 'pt-CV', 'pt-GQ', + 'pt-GW', 'pt-LU', 'pt-MO', + 'pt-MZ', 'pt-PT', 'pt-ST', + 'pt-TL', 'qu', 'qu-BO', + 'qu-EC', 'rm', 'rn', + 'ro', 'ro-MD', 'rof', + 'root', 'ru', 'ru-BY', + 'ru-KG', 'ru-KZ', 'ru-MD', + 'ru-UA', 'rw', 'rwk', + 'sah', 'saq', 'sbp', + 'se', 'se-FI', 'se-SE', + 'seh', 'ses', 'sg', + 'shi', 'shi-Latn', 'shi-Tfng', + 'si', 'sk', 'sl', + 'smn', 'sn', 'so', + 'so-DJ', 'so-ET', 'so-KE', + 'sq', 'sq-MK', 'sq-XK', + 'sr', 'sr-Cyrl', 'sr-Cyrl-BA', + 'sr-Cyrl-ME', 'sr-Cyrl-XK', 'sr-Latn', + 'sr-Latn-BA', 'sr-Latn-ME', 'sr-Latn-XK', + 'sv', 'sv-AX', 'sv-FI', + 'sw', 'sw-CD', 'sw-KE', + 'sw-UG', 'ta', 'ta-LK', + 'ta-MY', 'ta-SG', 'te', + 'teo', 'teo-KE', 'th', + 'ti', 'ti-ER', 'tk', + 'to', 'tr', 'tr-CY', + 'twq', 'tzm', 'ug', + 'uk', 'ur', 'ur-IN', + 'uz', 'uz-Arab', 'uz-Cyrl', + 'uz-Latn', 'vai', 'vai-Latn', + 'vai-Vaii', 'vi', 'vo', + 'vun', 'wae', 'xog', + 'yav', 'yi', 'yo', + 'yo-BJ', 'yue', 'zgh', + 'zh', 'zh-Hans', 'zh-Hans-HK', + 'zh-Hans-MO', 'zh-Hans-SG', 'zh-Hant', + 'zh-Hant-HK', 'zh-Hant-MO', 'zu' +]; + +export {NgLocaleAf} from './data/locale_af'; +export {NgLocaleAfNA} from './data/locale_af-NA'; +export {NgLocaleAgq} from './data/locale_agq'; +export {NgLocaleAk} from './data/locale_ak'; +export {NgLocaleAm} from './data/locale_am'; +export {NgLocaleAr} from './data/locale_ar'; +export {NgLocaleArAE} from './data/locale_ar-AE'; +export {NgLocaleArBH} from './data/locale_ar-BH'; +export {NgLocaleArDJ} from './data/locale_ar-DJ'; +export {NgLocaleArDZ} from './data/locale_ar-DZ'; +export {NgLocaleArEG} from './data/locale_ar-EG'; +export {NgLocaleArEH} from './data/locale_ar-EH'; +export {NgLocaleArER} from './data/locale_ar-ER'; +export {NgLocaleArIL} from './data/locale_ar-IL'; +export {NgLocaleArIQ} from './data/locale_ar-IQ'; +export {NgLocaleArJO} from './data/locale_ar-JO'; +export {NgLocaleArKM} from './data/locale_ar-KM'; +export {NgLocaleArKW} from './data/locale_ar-KW'; +export {NgLocaleArLB} from './data/locale_ar-LB'; +export {NgLocaleArLY} from './data/locale_ar-LY'; +export {NgLocaleArMA} from './data/locale_ar-MA'; +export {NgLocaleArMR} from './data/locale_ar-MR'; +export {NgLocaleArOM} from './data/locale_ar-OM'; +export {NgLocaleArPS} from './data/locale_ar-PS'; +export {NgLocaleArQA} from './data/locale_ar-QA'; +export {NgLocaleArSA} from './data/locale_ar-SA'; +export {NgLocaleArSD} from './data/locale_ar-SD'; +export {NgLocaleArSO} from './data/locale_ar-SO'; +export {NgLocaleArSS} from './data/locale_ar-SS'; +export {NgLocaleArSY} from './data/locale_ar-SY'; +export {NgLocaleArTD} from './data/locale_ar-TD'; +export {NgLocaleArTN} from './data/locale_ar-TN'; +export {NgLocaleArYE} from './data/locale_ar-YE'; +export {NgLocaleAs} from './data/locale_as'; +export {NgLocaleAsa} from './data/locale_asa'; +export {NgLocaleAst} from './data/locale_ast'; +export {NgLocaleAz} from './data/locale_az'; +export {NgLocaleAzCyrl} from './data/locale_az-Cyrl'; +export {NgLocaleAzLatn} from './data/locale_az-Latn'; +export {NgLocaleBas} from './data/locale_bas'; +export {NgLocaleBe} from './data/locale_be'; +export {NgLocaleBem} from './data/locale_bem'; +export {NgLocaleBez} from './data/locale_bez'; +export {NgLocaleBg} from './data/locale_bg'; +export {NgLocaleBm} from './data/locale_bm'; +export {NgLocaleBn} from './data/locale_bn'; +export {NgLocaleBnIN} from './data/locale_bn-IN'; +export {NgLocaleBo} from './data/locale_bo'; +export {NgLocaleBoIN} from './data/locale_bo-IN'; +export {NgLocaleBr} from './data/locale_br'; +export {NgLocaleBrx} from './data/locale_brx'; +export {NgLocaleBs} from './data/locale_bs'; +export {NgLocaleBsCyrl} from './data/locale_bs-Cyrl'; +export {NgLocaleBsLatn} from './data/locale_bs-Latn'; +export {NgLocaleCa} from './data/locale_ca'; +export {NgLocaleCaAD} from './data/locale_ca-AD'; +export {NgLocaleCaESVALENCIA} from './data/locale_ca-ES-VALENCIA'; +export {NgLocaleCaFR} from './data/locale_ca-FR'; +export {NgLocaleCaIT} from './data/locale_ca-IT'; +export {NgLocaleCe} from './data/locale_ce'; +export {NgLocaleCgg} from './data/locale_cgg'; +export {NgLocaleChr} from './data/locale_chr'; +export {NgLocaleCkb} from './data/locale_ckb'; +export {NgLocaleCkbIR} from './data/locale_ckb-IR'; +export {NgLocaleCs} from './data/locale_cs'; +export {NgLocaleCu} from './data/locale_cu'; +export {NgLocaleCy} from './data/locale_cy'; +export {NgLocaleDa} from './data/locale_da'; +export {NgLocaleDaGL} from './data/locale_da-GL'; +export {NgLocaleDav} from './data/locale_dav'; +export {NgLocaleDe} from './data/locale_de'; +export {NgLocaleDeAT} from './data/locale_de-AT'; +export {NgLocaleDeBE} from './data/locale_de-BE'; +export {NgLocaleDeCH} from './data/locale_de-CH'; +export {NgLocaleDeIT} from './data/locale_de-IT'; +export {NgLocaleDeLI} from './data/locale_de-LI'; +export {NgLocaleDeLU} from './data/locale_de-LU'; +export {NgLocaleDje} from './data/locale_dje'; +export {NgLocaleDsb} from './data/locale_dsb'; +export {NgLocaleDua} from './data/locale_dua'; +export {NgLocaleDyo} from './data/locale_dyo'; +export {NgLocaleDz} from './data/locale_dz'; +export {NgLocaleEbu} from './data/locale_ebu'; +export {NgLocaleEe} from './data/locale_ee'; +export {NgLocaleEeTG} from './data/locale_ee-TG'; +export {NgLocaleEl} from './data/locale_el'; +export {NgLocaleElCY} from './data/locale_el-CY'; +export {NgLocaleEn} from './data/locale_en'; +export {NgLocaleEn001} from './data/locale_en-001'; +export {NgLocaleEn150} from './data/locale_en-150'; +export {NgLocaleEnAG} from './data/locale_en-AG'; +export {NgLocaleEnAI} from './data/locale_en-AI'; +export {NgLocaleEnAS} from './data/locale_en-AS'; +export {NgLocaleEnAT} from './data/locale_en-AT'; +export {NgLocaleEnAU} from './data/locale_en-AU'; +export {NgLocaleEnBB} from './data/locale_en-BB'; +export {NgLocaleEnBE} from './data/locale_en-BE'; +export {NgLocaleEnBI} from './data/locale_en-BI'; +export {NgLocaleEnBM} from './data/locale_en-BM'; +export {NgLocaleEnBS} from './data/locale_en-BS'; +export {NgLocaleEnBW} from './data/locale_en-BW'; +export {NgLocaleEnBZ} from './data/locale_en-BZ'; +export {NgLocaleEnCA} from './data/locale_en-CA'; +export {NgLocaleEnCC} from './data/locale_en-CC'; +export {NgLocaleEnCH} from './data/locale_en-CH'; +export {NgLocaleEnCK} from './data/locale_en-CK'; +export {NgLocaleEnCM} from './data/locale_en-CM'; +export {NgLocaleEnCX} from './data/locale_en-CX'; +export {NgLocaleEnCY} from './data/locale_en-CY'; +export {NgLocaleEnDE} from './data/locale_en-DE'; +export {NgLocaleEnDG} from './data/locale_en-DG'; +export {NgLocaleEnDK} from './data/locale_en-DK'; +export {NgLocaleEnDM} from './data/locale_en-DM'; +export {NgLocaleEnER} from './data/locale_en-ER'; +export {NgLocaleEnFI} from './data/locale_en-FI'; +export {NgLocaleEnFJ} from './data/locale_en-FJ'; +export {NgLocaleEnFK} from './data/locale_en-FK'; +export {NgLocaleEnFM} from './data/locale_en-FM'; +export {NgLocaleEnGB} from './data/locale_en-GB'; +export {NgLocaleEnGD} from './data/locale_en-GD'; +export {NgLocaleEnGG} from './data/locale_en-GG'; +export {NgLocaleEnGH} from './data/locale_en-GH'; +export {NgLocaleEnGI} from './data/locale_en-GI'; +export {NgLocaleEnGM} from './data/locale_en-GM'; +export {NgLocaleEnGU} from './data/locale_en-GU'; +export {NgLocaleEnGY} from './data/locale_en-GY'; +export {NgLocaleEnHK} from './data/locale_en-HK'; +export {NgLocaleEnIE} from './data/locale_en-IE'; +export {NgLocaleEnIL} from './data/locale_en-IL'; +export {NgLocaleEnIM} from './data/locale_en-IM'; +export {NgLocaleEnIN} from './data/locale_en-IN'; +export {NgLocaleEnIO} from './data/locale_en-IO'; +export {NgLocaleEnJE} from './data/locale_en-JE'; +export {NgLocaleEnJM} from './data/locale_en-JM'; +export {NgLocaleEnKE} from './data/locale_en-KE'; +export {NgLocaleEnKI} from './data/locale_en-KI'; +export {NgLocaleEnKN} from './data/locale_en-KN'; +export {NgLocaleEnKY} from './data/locale_en-KY'; +export {NgLocaleEnLC} from './data/locale_en-LC'; +export {NgLocaleEnLR} from './data/locale_en-LR'; +export {NgLocaleEnLS} from './data/locale_en-LS'; +export {NgLocaleEnMG} from './data/locale_en-MG'; +export {NgLocaleEnMH} from './data/locale_en-MH'; +export {NgLocaleEnMO} from './data/locale_en-MO'; +export {NgLocaleEnMP} from './data/locale_en-MP'; +export {NgLocaleEnMS} from './data/locale_en-MS'; +export {NgLocaleEnMT} from './data/locale_en-MT'; +export {NgLocaleEnMU} from './data/locale_en-MU'; +export {NgLocaleEnMW} from './data/locale_en-MW'; +export {NgLocaleEnMY} from './data/locale_en-MY'; +export {NgLocaleEnNA} from './data/locale_en-NA'; +export {NgLocaleEnNF} from './data/locale_en-NF'; +export {NgLocaleEnNG} from './data/locale_en-NG'; +export {NgLocaleEnNL} from './data/locale_en-NL'; +export {NgLocaleEnNR} from './data/locale_en-NR'; +export {NgLocaleEnNU} from './data/locale_en-NU'; +export {NgLocaleEnNZ} from './data/locale_en-NZ'; +export {NgLocaleEnPG} from './data/locale_en-PG'; +export {NgLocaleEnPH} from './data/locale_en-PH'; +export {NgLocaleEnPK} from './data/locale_en-PK'; +export {NgLocaleEnPN} from './data/locale_en-PN'; +export {NgLocaleEnPR} from './data/locale_en-PR'; +export {NgLocaleEnPW} from './data/locale_en-PW'; +export {NgLocaleEnRW} from './data/locale_en-RW'; +export {NgLocaleEnSB} from './data/locale_en-SB'; +export {NgLocaleEnSC} from './data/locale_en-SC'; +export {NgLocaleEnSD} from './data/locale_en-SD'; +export {NgLocaleEnSE} from './data/locale_en-SE'; +export {NgLocaleEnSG} from './data/locale_en-SG'; +export {NgLocaleEnSH} from './data/locale_en-SH'; +export {NgLocaleEnSI} from './data/locale_en-SI'; +export {NgLocaleEnSL} from './data/locale_en-SL'; +export {NgLocaleEnSS} from './data/locale_en-SS'; +export {NgLocaleEnSX} from './data/locale_en-SX'; +export {NgLocaleEnSZ} from './data/locale_en-SZ'; +export {NgLocaleEnTC} from './data/locale_en-TC'; +export {NgLocaleEnTK} from './data/locale_en-TK'; +export {NgLocaleEnTO} from './data/locale_en-TO'; +export {NgLocaleEnTT} from './data/locale_en-TT'; +export {NgLocaleEnTV} from './data/locale_en-TV'; +export {NgLocaleEnTZ} from './data/locale_en-TZ'; +export {NgLocaleEnUG} from './data/locale_en-UG'; +export {NgLocaleEnUM} from './data/locale_en-UM'; +export {NgLocaleEnUSPOSIX} from './data/locale_en-US-POSIX'; +export {NgLocaleEnVC} from './data/locale_en-VC'; +export {NgLocaleEnVG} from './data/locale_en-VG'; +export {NgLocaleEnVI} from './data/locale_en-VI'; +export {NgLocaleEnVU} from './data/locale_en-VU'; +export {NgLocaleEnWS} from './data/locale_en-WS'; +export {NgLocaleEnZA} from './data/locale_en-ZA'; +export {NgLocaleEnZM} from './data/locale_en-ZM'; +export {NgLocaleEnZW} from './data/locale_en-ZW'; +export {NgLocaleEo} from './data/locale_eo'; +export {NgLocaleEs} from './data/locale_es'; +export {NgLocaleEs419} from './data/locale_es-419'; +export {NgLocaleEsAR} from './data/locale_es-AR'; +export {NgLocaleEsBO} from './data/locale_es-BO'; +export {NgLocaleEsBR} from './data/locale_es-BR'; +export {NgLocaleEsBZ} from './data/locale_es-BZ'; +export {NgLocaleEsCL} from './data/locale_es-CL'; +export {NgLocaleEsCO} from './data/locale_es-CO'; +export {NgLocaleEsCR} from './data/locale_es-CR'; +export {NgLocaleEsCU} from './data/locale_es-CU'; +export {NgLocaleEsDO} from './data/locale_es-DO'; +export {NgLocaleEsEA} from './data/locale_es-EA'; +export {NgLocaleEsEC} from './data/locale_es-EC'; +export {NgLocaleEsGQ} from './data/locale_es-GQ'; +export {NgLocaleEsGT} from './data/locale_es-GT'; +export {NgLocaleEsHN} from './data/locale_es-HN'; +export {NgLocaleEsIC} from './data/locale_es-IC'; +export {NgLocaleEsMX} from './data/locale_es-MX'; +export {NgLocaleEsNI} from './data/locale_es-NI'; +export {NgLocaleEsPA} from './data/locale_es-PA'; +export {NgLocaleEsPE} from './data/locale_es-PE'; +export {NgLocaleEsPH} from './data/locale_es-PH'; +export {NgLocaleEsPR} from './data/locale_es-PR'; +export {NgLocaleEsPY} from './data/locale_es-PY'; +export {NgLocaleEsSV} from './data/locale_es-SV'; +export {NgLocaleEsUS} from './data/locale_es-US'; +export {NgLocaleEsUY} from './data/locale_es-UY'; +export {NgLocaleEsVE} from './data/locale_es-VE'; +export {NgLocaleEt} from './data/locale_et'; +export {NgLocaleEu} from './data/locale_eu'; +export {NgLocaleEwo} from './data/locale_ewo'; +export {NgLocaleFa} from './data/locale_fa'; +export {NgLocaleFaAF} from './data/locale_fa-AF'; +export {NgLocaleFf} from './data/locale_ff'; +export {NgLocaleFfCM} from './data/locale_ff-CM'; +export {NgLocaleFfGN} from './data/locale_ff-GN'; +export {NgLocaleFfMR} from './data/locale_ff-MR'; +export {NgLocaleFi} from './data/locale_fi'; +export {NgLocaleFil} from './data/locale_fil'; +export {NgLocaleFo} from './data/locale_fo'; +export {NgLocaleFoDK} from './data/locale_fo-DK'; +export {NgLocaleFr} from './data/locale_fr'; +export {NgLocaleFrBE} from './data/locale_fr-BE'; +export {NgLocaleFrBF} from './data/locale_fr-BF'; +export {NgLocaleFrBI} from './data/locale_fr-BI'; +export {NgLocaleFrBJ} from './data/locale_fr-BJ'; +export {NgLocaleFrBL} from './data/locale_fr-BL'; +export {NgLocaleFrCA} from './data/locale_fr-CA'; +export {NgLocaleFrCD} from './data/locale_fr-CD'; +export {NgLocaleFrCF} from './data/locale_fr-CF'; +export {NgLocaleFrCG} from './data/locale_fr-CG'; +export {NgLocaleFrCH} from './data/locale_fr-CH'; +export {NgLocaleFrCI} from './data/locale_fr-CI'; +export {NgLocaleFrCM} from './data/locale_fr-CM'; +export {NgLocaleFrDJ} from './data/locale_fr-DJ'; +export {NgLocaleFrDZ} from './data/locale_fr-DZ'; +export {NgLocaleFrGA} from './data/locale_fr-GA'; +export {NgLocaleFrGF} from './data/locale_fr-GF'; +export {NgLocaleFrGN} from './data/locale_fr-GN'; +export {NgLocaleFrGP} from './data/locale_fr-GP'; +export {NgLocaleFrGQ} from './data/locale_fr-GQ'; +export {NgLocaleFrHT} from './data/locale_fr-HT'; +export {NgLocaleFrKM} from './data/locale_fr-KM'; +export {NgLocaleFrLU} from './data/locale_fr-LU'; +export {NgLocaleFrMA} from './data/locale_fr-MA'; +export {NgLocaleFrMC} from './data/locale_fr-MC'; +export {NgLocaleFrMF} from './data/locale_fr-MF'; +export {NgLocaleFrMG} from './data/locale_fr-MG'; +export {NgLocaleFrML} from './data/locale_fr-ML'; +export {NgLocaleFrMQ} from './data/locale_fr-MQ'; +export {NgLocaleFrMR} from './data/locale_fr-MR'; +export {NgLocaleFrMU} from './data/locale_fr-MU'; +export {NgLocaleFrNC} from './data/locale_fr-NC'; +export {NgLocaleFrNE} from './data/locale_fr-NE'; +export {NgLocaleFrPF} from './data/locale_fr-PF'; +export {NgLocaleFrPM} from './data/locale_fr-PM'; +export {NgLocaleFrRE} from './data/locale_fr-RE'; +export {NgLocaleFrRW} from './data/locale_fr-RW'; +export {NgLocaleFrSC} from './data/locale_fr-SC'; +export {NgLocaleFrSN} from './data/locale_fr-SN'; +export {NgLocaleFrSY} from './data/locale_fr-SY'; +export {NgLocaleFrTD} from './data/locale_fr-TD'; +export {NgLocaleFrTG} from './data/locale_fr-TG'; +export {NgLocaleFrTN} from './data/locale_fr-TN'; +export {NgLocaleFrVU} from './data/locale_fr-VU'; +export {NgLocaleFrWF} from './data/locale_fr-WF'; +export {NgLocaleFrYT} from './data/locale_fr-YT'; +export {NgLocaleFur} from './data/locale_fur'; +export {NgLocaleFy} from './data/locale_fy'; +export {NgLocaleGa} from './data/locale_ga'; +export {NgLocaleGd} from './data/locale_gd'; +export {NgLocaleGl} from './data/locale_gl'; +export {NgLocaleGsw} from './data/locale_gsw'; +export {NgLocaleGswFR} from './data/locale_gsw-FR'; +export {NgLocaleGswLI} from './data/locale_gsw-LI'; +export {NgLocaleGu} from './data/locale_gu'; +export {NgLocaleGuz} from './data/locale_guz'; +export {NgLocaleGv} from './data/locale_gv'; +export {NgLocaleHa} from './data/locale_ha'; +export {NgLocaleHaGH} from './data/locale_ha-GH'; +export {NgLocaleHaNE} from './data/locale_ha-NE'; +export {NgLocaleHaw} from './data/locale_haw'; +export {NgLocaleHe} from './data/locale_he'; +export {NgLocaleHi} from './data/locale_hi'; +export {NgLocaleHr} from './data/locale_hr'; +export {NgLocaleHrBA} from './data/locale_hr-BA'; +export {NgLocaleHsb} from './data/locale_hsb'; +export {NgLocaleHu} from './data/locale_hu'; +export {NgLocaleHy} from './data/locale_hy'; +export {NgLocaleId} from './data/locale_id'; +export {NgLocaleIg} from './data/locale_ig'; +export {NgLocaleIi} from './data/locale_ii'; +export {NgLocaleIs} from './data/locale_is'; +export {NgLocaleIt} from './data/locale_it'; +export {NgLocaleItCH} from './data/locale_it-CH'; +export {NgLocaleItSM} from './data/locale_it-SM'; +export {NgLocaleItVA} from './data/locale_it-VA'; +export {NgLocaleJa} from './data/locale_ja'; +export {NgLocaleJgo} from './data/locale_jgo'; +export {NgLocaleJmc} from './data/locale_jmc'; +export {NgLocaleKa} from './data/locale_ka'; +export {NgLocaleKab} from './data/locale_kab'; +export {NgLocaleKam} from './data/locale_kam'; +export {NgLocaleKde} from './data/locale_kde'; +export {NgLocaleKea} from './data/locale_kea'; +export {NgLocaleKhq} from './data/locale_khq'; +export {NgLocaleKi} from './data/locale_ki'; +export {NgLocaleKk} from './data/locale_kk'; +export {NgLocaleKkj} from './data/locale_kkj'; +export {NgLocaleKl} from './data/locale_kl'; +export {NgLocaleKln} from './data/locale_kln'; +export {NgLocaleKm} from './data/locale_km'; +export {NgLocaleKn} from './data/locale_kn'; +export {NgLocaleKo} from './data/locale_ko'; +export {NgLocaleKoKP} from './data/locale_ko-KP'; +export {NgLocaleKok} from './data/locale_kok'; +export {NgLocaleKs} from './data/locale_ks'; +export {NgLocaleKsb} from './data/locale_ksb'; +export {NgLocaleKsf} from './data/locale_ksf'; +export {NgLocaleKsh} from './data/locale_ksh'; +export {NgLocaleKw} from './data/locale_kw'; +export {NgLocaleKy} from './data/locale_ky'; +export {NgLocaleLag} from './data/locale_lag'; +export {NgLocaleLb} from './data/locale_lb'; +export {NgLocaleLg} from './data/locale_lg'; +export {NgLocaleLkt} from './data/locale_lkt'; +export {NgLocaleLn} from './data/locale_ln'; +export {NgLocaleLnAO} from './data/locale_ln-AO'; +export {NgLocaleLnCF} from './data/locale_ln-CF'; +export {NgLocaleLnCG} from './data/locale_ln-CG'; +export {NgLocaleLo} from './data/locale_lo'; +export {NgLocaleLrc} from './data/locale_lrc'; +export {NgLocaleLrcIQ} from './data/locale_lrc-IQ'; +export {NgLocaleLt} from './data/locale_lt'; +export {NgLocaleLu} from './data/locale_lu'; +export {NgLocaleLuo} from './data/locale_luo'; +export {NgLocaleLuy} from './data/locale_luy'; +export {NgLocaleLv} from './data/locale_lv'; +export {NgLocaleMas} from './data/locale_mas'; +export {NgLocaleMasTZ} from './data/locale_mas-TZ'; +export {NgLocaleMer} from './data/locale_mer'; +export {NgLocaleMfe} from './data/locale_mfe'; +export {NgLocaleMg} from './data/locale_mg'; +export {NgLocaleMgh} from './data/locale_mgh'; +export {NgLocaleMgo} from './data/locale_mgo'; +export {NgLocaleMk} from './data/locale_mk'; +export {NgLocaleMl} from './data/locale_ml'; +export {NgLocaleMn} from './data/locale_mn'; +export {NgLocaleMr} from './data/locale_mr'; +export {NgLocaleMs} from './data/locale_ms'; +export {NgLocaleMsBN} from './data/locale_ms-BN'; +export {NgLocaleMsSG} from './data/locale_ms-SG'; +export {NgLocaleMt} from './data/locale_mt'; +export {NgLocaleMua} from './data/locale_mua'; +export {NgLocaleMy} from './data/locale_my'; +export {NgLocaleMzn} from './data/locale_mzn'; +export {NgLocaleNaq} from './data/locale_naq'; +export {NgLocaleNb} from './data/locale_nb'; +export {NgLocaleNbSJ} from './data/locale_nb-SJ'; +export {NgLocaleNd} from './data/locale_nd'; +export {NgLocaleNds} from './data/locale_nds'; +export {NgLocaleNdsNL} from './data/locale_nds-NL'; +export {NgLocaleNe} from './data/locale_ne'; +export {NgLocaleNeIN} from './data/locale_ne-IN'; +export {NgLocaleNl} from './data/locale_nl'; +export {NgLocaleNlAW} from './data/locale_nl-AW'; +export {NgLocaleNlBE} from './data/locale_nl-BE'; +export {NgLocaleNlBQ} from './data/locale_nl-BQ'; +export {NgLocaleNlCW} from './data/locale_nl-CW'; +export {NgLocaleNlSR} from './data/locale_nl-SR'; +export {NgLocaleNlSX} from './data/locale_nl-SX'; +export {NgLocaleNmg} from './data/locale_nmg'; +export {NgLocaleNn} from './data/locale_nn'; +export {NgLocaleNnh} from './data/locale_nnh'; +export {NgLocaleNus} from './data/locale_nus'; +export {NgLocaleNyn} from './data/locale_nyn'; +export {NgLocaleOm} from './data/locale_om'; +export {NgLocaleOmKE} from './data/locale_om-KE'; +export {NgLocaleOr} from './data/locale_or'; +export {NgLocaleOs} from './data/locale_os'; +export {NgLocaleOsRU} from './data/locale_os-RU'; +export {NgLocalePa} from './data/locale_pa'; +export {NgLocalePaArab} from './data/locale_pa-Arab'; +export {NgLocalePaGuru} from './data/locale_pa-Guru'; +export {NgLocalePl} from './data/locale_pl'; +export {NgLocalePrg} from './data/locale_prg'; +export {NgLocalePs} from './data/locale_ps'; +export {NgLocalePt} from './data/locale_pt'; +export {NgLocalePtAO} from './data/locale_pt-AO'; +export {NgLocalePtCH} from './data/locale_pt-CH'; +export {NgLocalePtCV} from './data/locale_pt-CV'; +export {NgLocalePtGQ} from './data/locale_pt-GQ'; +export {NgLocalePtGW} from './data/locale_pt-GW'; +export {NgLocalePtLU} from './data/locale_pt-LU'; +export {NgLocalePtMO} from './data/locale_pt-MO'; +export {NgLocalePtMZ} from './data/locale_pt-MZ'; +export {NgLocalePtPT} from './data/locale_pt-PT'; +export {NgLocalePtST} from './data/locale_pt-ST'; +export {NgLocalePtTL} from './data/locale_pt-TL'; +export {NgLocaleQu} from './data/locale_qu'; +export {NgLocaleQuBO} from './data/locale_qu-BO'; +export {NgLocaleQuEC} from './data/locale_qu-EC'; +export {NgLocaleRm} from './data/locale_rm'; +export {NgLocaleRn} from './data/locale_rn'; +export {NgLocaleRo} from './data/locale_ro'; +export {NgLocaleRoMD} from './data/locale_ro-MD'; +export {NgLocaleRof} from './data/locale_rof'; +export {NgLocaleRoot} from './data/locale_root'; +export {NgLocaleRu} from './data/locale_ru'; +export {NgLocaleRuBY} from './data/locale_ru-BY'; +export {NgLocaleRuKG} from './data/locale_ru-KG'; +export {NgLocaleRuKZ} from './data/locale_ru-KZ'; +export {NgLocaleRuMD} from './data/locale_ru-MD'; +export {NgLocaleRuUA} from './data/locale_ru-UA'; +export {NgLocaleRw} from './data/locale_rw'; +export {NgLocaleRwk} from './data/locale_rwk'; +export {NgLocaleSah} from './data/locale_sah'; +export {NgLocaleSaq} from './data/locale_saq'; +export {NgLocaleSbp} from './data/locale_sbp'; +export {NgLocaleSe} from './data/locale_se'; +export {NgLocaleSeFI} from './data/locale_se-FI'; +export {NgLocaleSeSE} from './data/locale_se-SE'; +export {NgLocaleSeh} from './data/locale_seh'; +export {NgLocaleSes} from './data/locale_ses'; +export {NgLocaleSg} from './data/locale_sg'; +export {NgLocaleShi} from './data/locale_shi'; +export {NgLocaleShiLatn} from './data/locale_shi-Latn'; +export {NgLocaleShiTfng} from './data/locale_shi-Tfng'; +export {NgLocaleSi} from './data/locale_si'; +export {NgLocaleSk} from './data/locale_sk'; +export {NgLocaleSl} from './data/locale_sl'; +export {NgLocaleSmn} from './data/locale_smn'; +export {NgLocaleSn} from './data/locale_sn'; +export {NgLocaleSo} from './data/locale_so'; +export {NgLocaleSoDJ} from './data/locale_so-DJ'; +export {NgLocaleSoET} from './data/locale_so-ET'; +export {NgLocaleSoKE} from './data/locale_so-KE'; +export {NgLocaleSq} from './data/locale_sq'; +export {NgLocaleSqMK} from './data/locale_sq-MK'; +export {NgLocaleSqXK} from './data/locale_sq-XK'; +export {NgLocaleSr} from './data/locale_sr'; +export {NgLocaleSrCyrl} from './data/locale_sr-Cyrl'; +export {NgLocaleSrCyrlBA} from './data/locale_sr-Cyrl-BA'; +export {NgLocaleSrCyrlME} from './data/locale_sr-Cyrl-ME'; +export {NgLocaleSrCyrlXK} from './data/locale_sr-Cyrl-XK'; +export {NgLocaleSrLatn} from './data/locale_sr-Latn'; +export {NgLocaleSrLatnBA} from './data/locale_sr-Latn-BA'; +export {NgLocaleSrLatnME} from './data/locale_sr-Latn-ME'; +export {NgLocaleSrLatnXK} from './data/locale_sr-Latn-XK'; +export {NgLocaleSv} from './data/locale_sv'; +export {NgLocaleSvAX} from './data/locale_sv-AX'; +export {NgLocaleSvFI} from './data/locale_sv-FI'; +export {NgLocaleSw} from './data/locale_sw'; +export {NgLocaleSwCD} from './data/locale_sw-CD'; +export {NgLocaleSwKE} from './data/locale_sw-KE'; +export {NgLocaleSwUG} from './data/locale_sw-UG'; +export {NgLocaleTa} from './data/locale_ta'; +export {NgLocaleTaLK} from './data/locale_ta-LK'; +export {NgLocaleTaMY} from './data/locale_ta-MY'; +export {NgLocaleTaSG} from './data/locale_ta-SG'; +export {NgLocaleTe} from './data/locale_te'; +export {NgLocaleTeo} from './data/locale_teo'; +export {NgLocaleTeoKE} from './data/locale_teo-KE'; +export {NgLocaleTh} from './data/locale_th'; +export {NgLocaleTi} from './data/locale_ti'; +export {NgLocaleTiER} from './data/locale_ti-ER'; +export {NgLocaleTk} from './data/locale_tk'; +export {NgLocaleTo} from './data/locale_to'; +export {NgLocaleTr} from './data/locale_tr'; +export {NgLocaleTrCY} from './data/locale_tr-CY'; +export {NgLocaleTwq} from './data/locale_twq'; +export {NgLocaleTzm} from './data/locale_tzm'; +export {NgLocaleUg} from './data/locale_ug'; +export {NgLocaleUk} from './data/locale_uk'; +export {NgLocaleUr} from './data/locale_ur'; +export {NgLocaleUrIN} from './data/locale_ur-IN'; +export {NgLocaleUz} from './data/locale_uz'; +export {NgLocaleUzArab} from './data/locale_uz-Arab'; +export {NgLocaleUzCyrl} from './data/locale_uz-Cyrl'; +export {NgLocaleUzLatn} from './data/locale_uz-Latn'; +export {NgLocaleVai} from './data/locale_vai'; +export {NgLocaleVaiLatn} from './data/locale_vai-Latn'; +export {NgLocaleVaiVaii} from './data/locale_vai-Vaii'; +export {NgLocaleVi} from './data/locale_vi'; +export {NgLocaleVo} from './data/locale_vo'; +export {NgLocaleVun} from './data/locale_vun'; +export {NgLocaleWae} from './data/locale_wae'; +export {NgLocaleXog} from './data/locale_xog'; +export {NgLocaleYav} from './data/locale_yav'; +export {NgLocaleYi} from './data/locale_yi'; +export {NgLocaleYo} from './data/locale_yo'; +export {NgLocaleYoBJ} from './data/locale_yo-BJ'; +export {NgLocaleYue} from './data/locale_yue'; +export {NgLocaleZgh} from './data/locale_zgh'; +export {NgLocaleZh} from './data/locale_zh'; +export {NgLocaleZhHans} from './data/locale_zh-Hans'; +export {NgLocaleZhHansHK} from './data/locale_zh-Hans-HK'; +export {NgLocaleZhHansMO} from './data/locale_zh-Hans-MO'; +export {NgLocaleZhHansSG} from './data/locale_zh-Hans-SG'; +export {NgLocaleZhHant} from './data/locale_zh-Hant'; +export {NgLocaleZhHantHK} from './data/locale_zh-Hant-HK'; +export {NgLocaleZhHantMO} from './data/locale_zh-Hant-MO'; +export {NgLocaleZu} from './data/locale_zu'; diff --git a/packages/core/src/i18n/currencies.ts b/packages/core/src/i18n/currencies.ts new file mode 100644 index 00000000000000..f3bd390725f7e6 --- /dev/null +++ b/packages/core/src/i18n/currencies.ts @@ -0,0 +1,308 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +export const CURRENCIES: {[code: string]: {[key: string]: string}} = { + 'ADP': {'symbol': 'ADP'}, + 'AED': {'symbol': 'AED'}, + 'AFA': {'symbol': 'AFA'}, + 'AFN': {'symbol': 'AFN'}, + 'ALK': {'symbol': 'ALK'}, + 'ALL': {'symbol': 'ALL'}, + 'AMD': {'symbol': 'AMD'}, + 'ANG': {'symbol': 'ANG'}, + 'AOA': {'symbol': 'AOA', 'symbolNarrow': 'Kz'}, + 'AOK': {'symbol': 'AOK'}, + 'AON': {'symbol': 'AON'}, + 'AOR': {'symbol': 'AOR'}, + 'ARA': {'symbol': 'ARA'}, + 'ARL': {'symbol': 'ARL'}, + 'ARM': {'symbol': 'ARM'}, + 'ARP': {'symbol': 'ARP'}, + 'ARS': {'symbol': 'ARS', 'symbolNarrow': '$'}, + 'ATS': {'symbol': 'ATS'}, + 'AUD': {'symbol': 'A$', 'symbolNarrow': '$'}, + 'AWG': {'symbol': 'AWG'}, + 'AZM': {'symbol': 'AZM'}, + 'AZN': {'symbol': 'AZN'}, + 'BAD': {'symbol': 'BAD'}, + 'BAM': {'symbol': 'BAM', 'symbolNarrow': 'KM'}, + 'BAN': {'symbol': 'BAN'}, + 'BBD': {'symbol': 'BBD', 'symbolNarrow': '$'}, + 'BDT': {'symbol': 'BDT', 'symbolNarrow': '৳'}, + 'BEC': {'symbol': 'BEC'}, + 'BEF': {'symbol': 'BEF'}, + 'BEL': {'symbol': 'BEL'}, + 'BGL': {'symbol': 'BGL'}, + 'BGM': {'symbol': 'BGM'}, + 'BGN': {'symbol': 'BGN'}, + 'BGO': {'symbol': 'BGO'}, + 'BHD': {'symbol': 'BHD'}, + 'BIF': {'symbol': 'BIF'}, + 'BMD': {'symbol': 'BMD', 'symbolNarrow': '$'}, + 'BND': {'symbol': 'BND', 'symbolNarrow': '$'}, + 'BOB': {'symbol': 'BOB', 'symbolNarrow': 'Bs'}, + 'BOL': {'symbol': 'BOL'}, + 'BOP': {'symbol': 'BOP'}, + 'BOV': {'symbol': 'BOV'}, + 'BRB': {'symbol': 'BRB'}, + 'BRC': {'symbol': 'BRC'}, + 'BRE': {'symbol': 'BRE'}, + 'BRL': {'symbol': 'R$'}, + 'BRN': {'symbol': 'BRN'}, + 'BRR': {'symbol': 'BRR'}, + 'BRZ': {'symbol': 'BRZ'}, + 'BSD': {'symbol': 'BSD', 'symbolNarrow': '$'}, + 'BTN': {'symbol': 'BTN'}, + 'BUK': {'symbol': 'BUK'}, + 'BWP': {'symbol': 'BWP', 'symbolNarrow': 'P'}, + 'BYB': {'symbol': 'BYB'}, + 'BYN': {'symbol': 'BYN', 'symbolNarrow': 'р.'}, + 'BYR': {'symbol': 'BYR'}, + 'BZD': {'symbol': 'BZD', 'symbolNarrow': '$'}, + 'CAD': {'symbol': 'CA$', 'symbolNarrow': '$'}, + 'CDF': {'symbol': 'CDF'}, + 'CHE': {'symbol': 'CHE'}, + 'CHF': {'symbol': 'CHF'}, + 'CHW': {'symbol': 'CHW'}, + 'CLE': {'symbol': 'CLE'}, + 'CLF': {'symbol': 'CLF'}, + 'CLP': {'symbol': 'CLP', 'symbolNarrow': '$'}, + 'CNX': {'symbol': 'CNX'}, + 'CNY': {'symbol': 'CN¥', 'symbolNarrow': '¥'}, + 'COP': {'symbol': 'COP', 'symbolNarrow': '$'}, + 'COU': {'symbol': 'COU'}, + 'CRC': {'symbol': 'CRC', 'symbolNarrow': '₡'}, + 'CSD': {'symbol': 'CSD'}, + 'CSK': {'symbol': 'CSK'}, + 'CUC': {'symbol': 'CUC', 'symbolNarrow': '$'}, + 'CUP': {'symbol': 'CUP', 'symbolNarrow': '$'}, + 'CVE': {'symbol': 'CVE'}, + 'CYP': {'symbol': 'CYP'}, + 'CZK': {'symbol': 'CZK', 'symbolNarrow': 'Kč'}, + 'DDM': {'symbol': 'DDM'}, + 'DEM': {'symbol': 'DEM'}, + 'DJF': {'symbol': 'DJF'}, + 'DKK': {'symbol': 'DKK', 'symbolNarrow': 'kr'}, + 'DOP': {'symbol': 'DOP', 'symbolNarrow': '$'}, + 'DZD': {'symbol': 'DZD'}, + 'ECS': {'symbol': 'ECS'}, + 'ECV': {'symbol': 'ECV'}, + 'EEK': {'symbol': 'EEK'}, + 'EGP': {'symbol': 'EGP', 'symbolNarrow': 'E£'}, + 'ERN': {'symbol': 'ERN'}, + 'ESA': {'symbol': 'ESA'}, + 'ESB': {'symbol': 'ESB'}, + 'ESP': {'symbol': 'ESP', 'symbolNarrow': '₧'}, + 'ETB': {'symbol': 'ETB'}, + 'EUR': {'symbol': '€'}, + 'FIM': {'symbol': 'FIM'}, + 'FJD': {'symbol': 'FJD', 'symbolNarrow': '$'}, + 'FKP': {'symbol': 'FKP', 'symbolNarrow': '£'}, + 'FRF': {'symbol': 'FRF'}, + 'GBP': {'symbol': '£'}, + 'GEK': {'symbol': 'GEK'}, + 'GEL': {'symbol': 'GEL', 'symbolNarrow': '₾'}, + 'GHC': {'symbol': 'GHC'}, + 'GHS': {'symbol': 'GHS'}, + 'GIP': {'symbol': 'GIP', 'symbolNarrow': '£'}, + 'GMD': {'symbol': 'GMD'}, + 'GNF': {'symbol': 'GNF', 'symbolNarrow': 'FG'}, + 'GNS': {'symbol': 'GNS'}, + 'GQE': {'symbol': 'GQE'}, + 'GRD': {'symbol': 'GRD'}, + 'GTQ': {'symbol': 'GTQ', 'symbolNarrow': 'Q'}, + 'GWE': {'symbol': 'GWE'}, + 'GWP': {'symbol': 'GWP'}, + 'GYD': {'symbol': 'GYD', 'symbolNarrow': '$'}, + 'HKD': {'symbol': 'HK$', 'symbolNarrow': '$'}, + 'HNL': {'symbol': 'HNL', 'symbolNarrow': 'L'}, + 'HRD': {'symbol': 'HRD'}, + 'HRK': {'symbol': 'HRK', 'symbolNarrow': 'kn'}, + 'HTG': {'symbol': 'HTG'}, + 'HUF': {'symbol': 'HUF', 'symbolNarrow': 'Ft'}, + 'IDR': {'symbol': 'IDR', 'symbolNarrow': 'Rp'}, + 'IEP': {'symbol': 'IEP'}, + 'ILP': {'symbol': 'ILP'}, + 'ILR': {'symbol': 'ILR'}, + 'ILS': {'symbol': '₪'}, + 'INR': {'symbol': '₹'}, + 'IQD': {'symbol': 'IQD'}, + 'IRR': {'symbol': 'IRR'}, + 'ISJ': {'symbol': 'ISJ'}, + 'ISK': {'symbol': 'ISK', 'symbolNarrow': 'kr'}, + 'ITL': {'symbol': 'ITL'}, + 'JMD': {'symbol': 'JMD', 'symbolNarrow': '$'}, + 'JOD': {'symbol': 'JOD'}, + 'JPY': {'symbol': '¥'}, + 'KES': {'symbol': 'KES'}, + 'KGS': {'symbol': 'KGS'}, + 'KHR': {'symbol': 'KHR', 'symbolNarrow': '៛'}, + 'KMF': {'symbol': 'KMF', 'symbolNarrow': 'CF'}, + 'KPW': {'symbol': 'KPW', 'symbolNarrow': '₩'}, + 'KRH': {'symbol': 'KRH'}, + 'KRO': {'symbol': 'KRO'}, + 'KRW': {'symbol': '₩'}, + 'KWD': {'symbol': 'KWD'}, + 'KYD': {'symbol': 'KYD', 'symbolNarrow': '$'}, + 'KZT': {'symbol': 'KZT', 'symbolNarrow': '₸'}, + 'LAK': {'symbol': 'LAK', 'symbolNarrow': '₭'}, + 'LBP': {'symbol': 'LBP', 'symbolNarrow': 'L£'}, + 'LKR': {'symbol': 'LKR', 'symbolNarrow': 'Rs'}, + 'LRD': {'symbol': 'LRD', 'symbolNarrow': '$'}, + 'LSL': {'symbol': 'LSL'}, + 'LTL': {'symbol': 'LTL', 'symbolNarrow': 'Lt'}, + 'LTT': {'symbol': 'LTT'}, + 'LUC': {'symbol': 'LUC'}, + 'LUF': {'symbol': 'LUF'}, + 'LUL': {'symbol': 'LUL'}, + 'LVL': {'symbol': 'LVL', 'symbolNarrow': 'Ls'}, + 'LVR': {'symbol': 'LVR'}, + 'LYD': {'symbol': 'LYD'}, + 'MAD': {'symbol': 'MAD'}, + 'MAF': {'symbol': 'MAF'}, + 'MCF': {'symbol': 'MCF'}, + 'MDC': {'symbol': 'MDC'}, + 'MDL': {'symbol': 'MDL'}, + 'MGA': {'symbol': 'MGA', 'symbolNarrow': 'Ar'}, + 'MGF': {'symbol': 'MGF'}, + 'MKD': {'symbol': 'MKD'}, + 'MKN': {'symbol': 'MKN'}, + 'MLF': {'symbol': 'MLF'}, + 'MMK': {'symbol': 'MMK', 'symbolNarrow': 'K'}, + 'MNT': {'symbol': 'MNT', 'symbolNarrow': '₮'}, + 'MOP': {'symbol': 'MOP'}, + 'MRO': {'symbol': 'MRO'}, + 'MTL': {'symbol': 'MTL'}, + 'MTP': {'symbol': 'MTP'}, + 'MUR': {'symbol': 'MUR', 'symbolNarrow': 'Rs'}, + 'MVP': {'symbol': 'MVP'}, + 'MVR': {'symbol': 'MVR'}, + 'MWK': {'symbol': 'MWK'}, + 'MXN': {'symbol': 'MX$', 'symbolNarrow': '$'}, + 'MXP': {'symbol': 'MXP'}, + 'MXV': {'symbol': 'MXV'}, + 'MYR': {'symbol': 'MYR', 'symbolNarrow': 'RM'}, + 'MZE': {'symbol': 'MZE'}, + 'MZM': {'symbol': 'MZM'}, + 'MZN': {'symbol': 'MZN'}, + 'NAD': {'symbol': 'NAD', 'symbolNarrow': '$'}, + 'NGN': {'symbol': 'NGN', 'symbolNarrow': '₦'}, + 'NIC': {'symbol': 'NIC'}, + 'NIO': {'symbol': 'NIO', 'symbolNarrow': 'C$'}, + 'NLG': {'symbol': 'NLG'}, + 'NOK': {'symbol': 'NOK', 'symbolNarrow': 'kr'}, + 'NPR': {'symbol': 'NPR', 'symbolNarrow': 'Rs'}, + 'NZD': {'symbol': 'NZ$', 'symbolNarrow': '$'}, + 'OMR': {'symbol': 'OMR'}, + 'PAB': {'symbol': 'PAB'}, + 'PEI': {'symbol': 'PEI'}, + 'PEN': {'symbol': 'PEN'}, + 'PES': {'symbol': 'PES'}, + 'PGK': {'symbol': 'PGK'}, + 'PHP': {'symbol': 'PHP', 'symbolNarrow': '₱'}, + 'PKR': {'symbol': 'PKR', 'symbolNarrow': 'Rs'}, + 'PLN': {'symbol': 'PLN', 'symbolNarrow': 'zł'}, + 'PLZ': {'symbol': 'PLZ'}, + 'PTE': {'symbol': 'PTE'}, + 'PYG': {'symbol': 'PYG', 'symbolNarrow': '₲'}, + 'QAR': {'symbol': 'QAR'}, + 'RHD': {'symbol': 'RHD'}, + 'ROL': {'symbol': 'ROL'}, + 'RON': {'symbol': 'RON', 'symbolNarrow': 'lei'}, + 'RSD': {'symbol': 'RSD'}, + 'RUB': {'symbol': 'RUB', 'symbolNarrow': '₽'}, + 'RUR': {'symbol': 'RUR', 'symbolNarrow': 'р.'}, + 'RWF': {'symbol': 'RWF', 'symbolNarrow': 'RF'}, + 'SAR': {'symbol': 'SAR'}, + 'SBD': {'symbol': 'SBD', 'symbolNarrow': '$'}, + 'SCR': {'symbol': 'SCR'}, + 'SDD': {'symbol': 'SDD'}, + 'SDG': {'symbol': 'SDG'}, + 'SDP': {'symbol': 'SDP'}, + 'SEK': {'symbol': 'SEK', 'symbolNarrow': 'kr'}, + 'SGD': {'symbol': 'SGD', 'symbolNarrow': '$'}, + 'SHP': {'symbol': 'SHP', 'symbolNarrow': '£'}, + 'SIT': {'symbol': 'SIT'}, + 'SKK': {'symbol': 'SKK'}, + 'SLL': {'symbol': 'SLL'}, + 'SOS': {'symbol': 'SOS'}, + 'SRD': {'symbol': 'SRD', 'symbolNarrow': '$'}, + 'SRG': {'symbol': 'SRG'}, + 'SSP': {'symbol': 'SSP', 'symbolNarrow': '£'}, + 'STD': {'symbol': 'STD', 'symbolNarrow': 'Db'}, + 'SUR': {'symbol': 'SUR'}, + 'SVC': {'symbol': 'SVC'}, + 'SYP': {'symbol': 'SYP', 'symbolNarrow': '£'}, + 'SZL': {'symbol': 'SZL'}, + 'THB': {'symbol': 'THB', 'symbolNarrow': '฿'}, + 'TJR': {'symbol': 'TJR'}, + 'TJS': {'symbol': 'TJS'}, + 'TMM': {'symbol': 'TMM'}, + 'TMT': {'symbol': 'TMT'}, + 'TND': {'symbol': 'TND'}, + 'TOP': {'symbol': 'TOP', 'symbolNarrow': 'T$'}, + 'TPE': {'symbol': 'TPE'}, + 'TRL': {'symbol': 'TRL'}, + 'TRY': {'symbol': 'TRY', 'symbolNarrow': '₺'}, + 'TTD': {'symbol': 'TTD', 'symbolNarrow': '$'}, + 'TWD': {'symbol': 'NT$', 'symbolNarrow': '$'}, + 'TZS': {'symbol': 'TZS'}, + 'UAH': {'symbol': 'UAH', 'symbolNarrow': '₴'}, + 'UAK': {'symbol': 'UAK'}, + 'UGS': {'symbol': 'UGS'}, + 'UGX': {'symbol': 'UGX'}, + 'USD': {'symbol': '$'}, + 'USN': {'symbol': 'USN'}, + 'USS': {'symbol': 'USS'}, + 'UYI': {'symbol': 'UYI'}, + 'UYP': {'symbol': 'UYP'}, + 'UYU': {'symbol': 'UYU', 'symbolNarrow': '$'}, + 'UZS': {'symbol': 'UZS'}, + 'VEB': {'symbol': 'VEB'}, + 'VEF': {'symbol': 'VEF', 'symbolNarrow': 'Bs'}, + 'VND': {'symbol': '₫'}, + 'VNN': {'symbol': 'VNN'}, + 'VUV': {'symbol': 'VUV'}, + 'WST': {'symbol': 'WST'}, + 'XAF': {'symbol': 'FCFA'}, + 'XAG': {'symbol': 'XAG'}, + 'XAU': {'symbol': 'XAU'}, + 'XBA': {'symbol': 'XBA'}, + 'XBB': {'symbol': 'XBB'}, + 'XBC': {'symbol': 'XBC'}, + 'XBD': {'symbol': 'XBD'}, + 'XCD': {'symbol': 'EC$', 'symbolNarrow': '$'}, + 'XDR': {'symbol': 'XDR'}, + 'XEU': {'symbol': 'XEU'}, + 'XFO': {'symbol': 'XFO'}, + 'XFU': {'symbol': 'XFU'}, + 'XOF': {'symbol': 'CFA'}, + 'XPD': {'symbol': 'XPD'}, + 'XPF': {'symbol': 'CFPF'}, + 'XPT': {'symbol': 'XPT'}, + 'XRE': {'symbol': 'XRE'}, + 'XSU': {'symbol': 'XSU'}, + 'XTS': {'symbol': 'XTS'}, + 'XUA': {'symbol': 'XUA'}, + 'XXX': {'symbol': 'XXX'}, + 'YDD': {'symbol': 'YDD'}, + 'YER': {'symbol': 'YER'}, + 'YUD': {'symbol': 'YUD'}, + 'YUM': {'symbol': 'YUM'}, + 'YUN': {'symbol': 'YUN'}, + 'YUR': {'symbol': 'YUR'}, + 'ZAL': {'symbol': 'ZAL'}, + 'ZAR': {'symbol': 'ZAR', 'symbolNarrow': 'R'}, + 'ZMK': {'symbol': 'ZMK'}, + 'ZMW': {'symbol': 'ZMW', 'symbolNarrow': 'ZK'}, + 'ZRN': {'symbol': 'ZRN'}, + 'ZRZ': {'symbol': 'ZRZ'}, + 'ZWD': {'symbol': 'ZWD'}, + 'ZWL': {'symbol': 'ZWL'}, + 'ZWR': {'symbol': 'ZWR'} +}; diff --git a/packages/core/src/i18n/data/locale_af-NA.ts b/packages/core/src/i18n/data/locale_af-NA.ts new file mode 100644 index 00000000000000..8cbc13d7aa1e05 --- /dev/null +++ b/packages/core/src/i18n/data/locale_af-NA.ts @@ -0,0 +1,167 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAfNA: NgLocale = { + 'localeId': 'af-NA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'middernag', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'die oggend', + 'afternoon1': 'die middag', + 'evening1': 'die aand', + 'night1': 'die nag' + }, + 'narrow': { + 'midnight': 'mn', + 'am': 'v', + 'pm': 'n', + 'morning1': 'o', + 'afternoon1': 'm', + 'evening1': 'a', + 'night1': 'n' + }, + 'wide': { + 'midnight': 'middernag', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'die oggend', + 'afternoon1': 'die middag', + 'evening1': 'die aand', + 'night1': 'die nag' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'middernag', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'oggend', + 'afternoon1': 'middag', + 'evening1': 'aand', + 'night1': 'nag' + }, + 'narrow': { + 'midnight': 'mn', + 'am': 'v', + 'pm': 'n', + 'morning1': 'o', + 'afternoon1': 'm', + 'evening1': 'a', + 'night1': 'n' + }, + 'wide': { + 'midnight': 'middernag', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'oggend', + 'afternoon1': 'middag', + 'evening1': 'aand', + 'night1': 'nag' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'W', 'D', 'V', 'S'], + 'short': ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], + 'abbreviated': ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], + 'wide': ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'W', 'D', 'V', 'S'], + 'short': ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], + 'abbreviated': ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], + 'wide': ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'Mrt.', 'Apr.', 'Mei', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Des.' + ], + 'wide': [ + 'Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', + 'September', 'Oktober', 'November', 'Desember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'Mrt.', 'Apr.', 'Mei', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Des.' + ], + 'wide': [ + 'Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', + 'September', 'Oktober', 'November', 'Desember' + ] + } + }, + 'eras': { + 'abbreviated': ['v.C.', 'n.C.'], + 'narrow': ['v.C.', 'n.C.'], + 'wide': ['voor Christus', 'na Christus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd MMMM y', + 'long': 'dd MMMM y', + 'medium': 'dd MMM y', + 'short': 'y-MM-dd' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'R', 'name': 'Suid-Afrikaanse rand'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_af.ts b/packages/core/src/i18n/data/locale_af.ts new file mode 100644 index 00000000000000..dff2ebd32f544a --- /dev/null +++ b/packages/core/src/i18n/data/locale_af.ts @@ -0,0 +1,167 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAf: NgLocale = { + 'localeId': 'af', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'middernag', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'die oggend', + 'afternoon1': 'die middag', + 'evening1': 'die aand', + 'night1': 'die nag' + }, + 'narrow': { + 'midnight': 'mn', + 'am': 'v', + 'pm': 'n', + 'morning1': 'o', + 'afternoon1': 'm', + 'evening1': 'a', + 'night1': 'n' + }, + 'wide': { + 'midnight': 'middernag', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'die oggend', + 'afternoon1': 'die middag', + 'evening1': 'die aand', + 'night1': 'die nag' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'middernag', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'oggend', + 'afternoon1': 'middag', + 'evening1': 'aand', + 'night1': 'nag' + }, + 'narrow': { + 'midnight': 'mn', + 'am': 'v', + 'pm': 'n', + 'morning1': 'o', + 'afternoon1': 'm', + 'evening1': 'a', + 'night1': 'n' + }, + 'wide': { + 'midnight': 'middernag', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'oggend', + 'afternoon1': 'middag', + 'evening1': 'aand', + 'night1': 'nag' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'W', 'D', 'V', 'S'], + 'short': ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], + 'abbreviated': ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], + 'wide': ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'W', 'D', 'V', 'S'], + 'short': ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], + 'abbreviated': ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'], + 'wide': ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'Mrt.', 'Apr.', 'Mei', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Des.' + ], + 'wide': [ + 'Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', + 'September', 'Oktober', 'November', 'Desember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'Mrt.', 'Apr.', 'Mei', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Des.' + ], + 'wide': [ + 'Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', + 'September', 'Oktober', 'November', 'Desember' + ] + } + }, + 'eras': { + 'abbreviated': ['v.C.', 'n.C.'], + 'narrow': ['v.C.', 'n.C.'], + 'wide': ['voor Christus', 'na Christus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd MMMM y', + 'long': 'dd MMMM y', + 'medium': 'dd MMM y', + 'short': 'y-MM-dd' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'R', 'name': 'Suid-Afrikaanse rand'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_agq.ts b/packages/core/src/i18n/data/locale_agq.ts new file mode 100644 index 00000000000000..5f1956741fa362 --- /dev/null +++ b/packages/core/src/i18n/data/locale_agq.ts @@ -0,0 +1,112 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAgq: NgLocale = { + 'localeId': 'agq', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'a.g', 'pm': 'a.k'}, + 'narrow': {'am': 'a.g', 'pm': 'a.k'}, + 'wide': {'am': 'a.g', 'pm': 'a.k'} + }, + 'standalone': { + 'abbreviated': {'am': 'a.g', 'pm': 'a.k'}, + 'narrow': {'am': 'a.g', 'pm': 'a.k'}, + 'wide': {'am': 'a.g', 'pm': 'a.k'} + } + }, + 'days': { + 'format': { + 'narrow': ['n', 'k', 'g', 't', 'u', 'g', 'd'], + 'short': ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'], + 'abbreviated': ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'], + 'wide': [ + 'tsuʔntsɨ', 'tsuʔukpà', 'tsuʔughɔe', 'tsuʔutɔ̀mlò', 'tsuʔumè', + 'tsuʔughɨ̂m', 'tsuʔndzɨkɔʔɔ' + ] + }, + 'standalone': { + 'narrow': ['n', 'k', 'g', 't', 'u', 'g', 'd'], + 'short': ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'], + 'abbreviated': ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'], + 'wide': [ + 'tsuʔntsɨ', 'tsuʔukpà', 'tsuʔughɔe', 'tsuʔutɔ̀mlò', 'tsuʔumè', + 'tsuʔughɨ̂m', 'tsuʔndzɨkɔʔɔ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['n', 'k', 't', 't', 's', 'z', 'k', 'f', 'd', 'l', 'c', 'f'], + 'abbreviated': [ + 'nùm', 'kɨz', 'tɨd', 'taa', 'see', 'nzu', 'dum', 'fɔe', 'dzu', 'lɔm', 'kaa', 'fwo' + ], + 'wide': [ + 'ndzɔ̀ŋɔ̀nùm', 'ndzɔ̀ŋɔ̀kƗ̀zùʔ', 'ndzɔ̀ŋɔ̀tƗ̀dʉ̀ghà', + 'ndzɔ̀ŋɔ̀tǎafʉ̄ghā', 'ndzɔ̀ŋèsèe', 'ndzɔ̀ŋɔ̀nzùghò', + 'ndzɔ̀ŋɔ̀dùmlo', 'ndzɔ̀ŋɔ̀kwîfɔ̀e', 'ndzɔ̀ŋɔ̀tƗ̀fʉ̀ghàdzughù', + 'ndzɔ̀ŋɔ̀ghǔuwelɔ̀m', 'ndzɔ̀ŋɔ̀chwaʔàkaa wo', 'ndzɔ̀ŋèfwòo' + ] + }, + 'standalone': { + 'narrow': ['n', 'k', 't', 't', 's', 'z', 'k', 'f', 'd', 'l', 'c', 'f'], + 'abbreviated': [ + 'nùm', 'kɨz', 'tɨd', 'taa', 'see', 'nzu', 'dum', 'fɔe', 'dzu', 'lɔm', 'kaa', 'fwo' + ], + 'wide': [ + 'ndzɔ̀ŋɔ̀nùm', 'ndzɔ̀ŋɔ̀kƗ̀zùʔ', 'ndzɔ̀ŋɔ̀tƗ̀dʉ̀ghà', + 'ndzɔ̀ŋɔ̀tǎafʉ̄ghā', 'ndzɔ̀ŋèsèe', 'ndzɔ̀ŋɔ̀nzùghò', + 'ndzɔ̀ŋɔ̀dùmlo', 'ndzɔ̀ŋɔ̀kwîfɔ̀e', 'ndzɔ̀ŋɔ̀tƗ̀fʉ̀ghàdzughù', + 'ndzɔ̀ŋɔ̀ghǔuwelɔ̀m', 'ndzɔ̀ŋɔ̀chwaʔàkaa wo', 'ndzɔ̀ŋèfwòo' + ] + } + }, + 'eras': { + 'abbreviated': ['SK', 'BK'], + 'narrow': ['SK', 'BK'], + 'wide': ['Sěe Kɨ̀lesto', 'Bǎa Kɨ̀lesto'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'CFA Fàlâŋ BEAC'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ak.ts b/packages/core/src/i18n/data/locale_ak.ts new file mode 100644 index 00000000000000..fba4765e12d0e5 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ak.ts @@ -0,0 +1,114 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAk: NgLocale = { + 'localeId': 'ak', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AN', 'pm': 'EW'}, + 'narrow': {'am': 'AN', 'pm': 'EW'}, + 'wide': {'am': 'AN', 'pm': 'EW'} + }, + 'standalone': { + 'abbreviated': {'am': 'AN', 'pm': 'EW'}, + 'narrow': {'am': 'AN', 'pm': 'EW'}, + 'wide': {'am': 'AN', 'pm': 'EW'} + } + }, + 'days': { + 'format': { + 'narrow': ['K', 'D', 'B', 'W', 'Y', 'F', 'M'], + 'short': ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'], + 'abbreviated': ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'], + 'wide': ['Kwesida', 'Dwowda', 'Benada', 'Wukuda', 'Yawda', 'Fida', 'Memeneda'] + }, + 'standalone': { + 'narrow': ['K', 'D', 'B', 'W', 'Y', 'F', 'M'], + 'short': ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'], + 'abbreviated': ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'], + 'wide': ['Kwesida', 'Dwowda', 'Benada', 'Wukuda', 'Yawda', 'Fida', 'Memeneda'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'S-Ɔ', 'K-Ɔ', 'E-Ɔ', 'E-O', 'E-K', 'O-A', 'A-K', 'D-Ɔ', 'F-Ɛ', 'Ɔ-A', 'Ɔ-O', 'M-Ɔ' + ], + 'wide': [ + 'Sanda-Ɔpɛpɔn', 'Kwakwar-Ɔgyefuo', 'Ebɔw-Ɔbenem', 'Ebɔbira-Oforisuo', + 'Esusow Aketseaba-Kɔtɔnimba', 'Obirade-Ayɛwohomumu', 'Ayɛwoho-Kitawonsa', + 'Difuu-Ɔsandaa', 'Fankwa-Ɛbɔ', 'Ɔbɛsɛ-Ahinime', 'Ɔberɛfɛw-Obubuo', + 'Mumu-Ɔpɛnimba' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'S-Ɔ', 'K-Ɔ', 'E-Ɔ', 'E-O', 'E-K', 'O-A', 'A-K', 'D-Ɔ', 'F-Ɛ', 'Ɔ-A', 'Ɔ-O', 'M-Ɔ' + ], + 'wide': [ + 'Sanda-Ɔpɛpɔn', 'Kwakwar-Ɔgyefuo', 'Ebɔw-Ɔbenem', 'Ebɔbira-Oforisuo', + 'Esusow Aketseaba-Kɔtɔnimba', 'Obirade-Ayɛwohomumu', 'Ayɛwoho-Kitawonsa', + 'Difuu-Ɔsandaa', 'Fankwa-Ɛbɔ', 'Ɔbɛsɛ-Ahinime', 'Ɔberɛfɛw-Obubuo', + 'Mumu-Ɔpɛnimba' + ] + } + }, + 'eras': { + 'abbreviated': ['AK', 'KE'], + 'narrow': ['AK', 'KE'], + 'wide': ['Ansa Kristo', 'Kristo Ekyiri'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, y MMMM dd', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'yy/MM/dd'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'GH₵', 'name': 'Ghana Sidi'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_am.ts b/packages/core/src/i18n/data/locale_am.ts new file mode 100644 index 00000000000000..56b7a87ce43f39 --- /dev/null +++ b/packages/core/src/i18n/data/locale_am.ts @@ -0,0 +1,187 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAm: NgLocale = { + 'localeId': 'am', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'እኩለ ሌሊት', + 'am': 'ጥዋት', + 'noon': 'ቀትር', + 'pm': 'ከሰዓት', + 'morning1': 'ጥዋት1', + 'afternoon1': 'ከሰዓት1', + 'evening1': 'ማታ1', + 'night1': 'ሌሊት1' + }, + 'narrow': { + 'midnight': 'እኩለ ሌሊት', + 'am': 'ጠ', + 'noon': 'ቀ', + 'pm': 'ከ', + 'morning1': 'ጥዋት1', + 'afternoon1': 'ከሰዓት1', + 'evening1': 'ማታ1', + 'night1': 'ሌሊት1' + }, + 'wide': { + 'midnight': 'እኩለ ሌሊት', + 'am': 'ጥዋት', + 'noon': 'ቀትር', + 'pm': 'ከሰዓት', + 'morning1': 'ጥዋት1', + 'afternoon1': 'ከሰዓት1', + 'evening1': 'ማታ1', + 'night1': 'ሌሊት1' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'እኩለ ሌሊት', + 'am': 'ጥዋት', + 'noon': 'ቀትር', + 'pm': 'ከሰዓት', + 'morning1': 'ጥዋት1', + 'afternoon1': 'ከሰዓት በኋላ', + 'evening1': 'ማታ', + 'night1': 'ሌሊት' + }, + 'narrow': { + 'midnight': 'እኩለ ሌሊት', + 'am': 'ጠ', + 'noon': 'ቀትር', + 'pm': 'ከ', + 'morning1': 'ጥዋት', + 'afternoon1': 'ከሰዓት በኋላ', + 'evening1': 'ማታ', + 'night1': 'ሌሊት' + }, + 'wide': { + 'midnight': 'እኩለ ሌሊት', + 'am': 'ጥዋት', + 'noon': 'ቀትር', + 'pm': 'ከሰዓት', + 'morning1': 'ጥዋት1', + 'afternoon1': 'ከሰዓት በኋላ', + 'evening1': 'ማታ', + 'night1': 'ሌሊት' + } + } + }, + 'days': { + 'format': { + 'narrow': ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'], + 'short': ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'], + 'abbreviated': [ + 'እሑድ', 'ሰኞ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ' + ], + 'wide': [ + 'እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ' + ] + }, + 'standalone': { + 'narrow': ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'], + 'short': ['እ', 'ሰ', 'ማ', 'ረ', 'ሐ', 'ዓ', 'ቅ'], + 'abbreviated': [ + 'እሑድ', 'ሰኞ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ' + ], + 'wide': [ + 'እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ' + ] + } + }, + 'months': { + 'format': { + 'narrow': + ['ጃ', 'ፌ', 'ማ', 'ኤ', 'ሜ', 'ጁ', 'ጁ', 'ኦ', 'ሴ', 'ኦ', 'ኖ', 'ዲ'], + 'abbreviated': [ + 'ጃንዩ', 'ፌብሩ', 'ማርች', 'ኤፕሪ', 'ሜይ', 'ጁን', 'ጁላይ', + 'ኦገስ', 'ሴፕቴ', 'ኦክቶ', 'ኖቬም', 'ዲሴም' + ], + 'wide': [ + 'ጃንዩወሪ', 'ፌብሩወሪ', 'ማርች', 'ኤፕሪል', 'ሜይ', 'ጁን', + 'ጁላይ', 'ኦገስት', 'ሴፕቴምበር', 'ኦክቶበር', 'ኖቬምበር', + 'ዲሴምበር' + ] + }, + 'standalone': { + 'narrow': + ['ጃ', 'ፌ', 'ማ', 'ኤ', 'ሜ', 'ጁ', 'ጁ', 'ኦ', 'ሴ', 'ኦ', 'ኖ', 'ዲ'], + 'abbreviated': [ + 'ጃንዩ', 'ፌብሩ', 'ማርች', 'ኤፕሪ', 'ሜይ', 'ጁን', 'ጁላይ', + 'ኦገስ', 'ሴፕቴ', 'ኦክቶ', 'ኖቬም', 'ዲሴም' + ], + 'wide': [ + 'ጃንዩወሪ', 'ፌብሩወሪ', 'ማርች', 'ኤፕሪል', 'ሜይ', 'ጁን', + 'ጁላይ', 'ኦገስት', 'ሴፕቴምበር', 'ኦክቶበር', 'ኖቬምበር', + 'ዲሴምበር' + ] + } + }, + 'eras': { + 'abbreviated': ['ዓ/ዓ', 'ዓ/ም'], + 'narrow': ['ዓ/ዓ', 'ዓ/ም'], + 'wide': ['ዓመተ ዓለም', 'ዓመተ ምሕረት'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE ፣d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ብር', 'name': 'የኢትዮጵያ ብር'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-AE.ts b/packages/core/src/i18n/data/locale_ar-AE.ts new file mode 100644 index 00000000000000..0d21d0049a89f3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-AE.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArAE: NgLocale = { + 'localeId': 'ar-AE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'د.إ.‏', 'name': 'درهم إماراتي'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-BH.ts b/packages/core/src/i18n/data/locale_ar-BH.ts new file mode 100644 index 00000000000000..406a81ad5b269a --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-BH.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArBH: NgLocale = { + 'localeId': 'ar-BH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'د.ب.‏', 'name': 'دينار بحريني'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-DJ.ts b/packages/core/src/i18n/data/locale_ar-DJ.ts new file mode 100644 index 00000000000000..27822896908ed6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-DJ.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArDJ: NgLocale = { + 'localeId': 'ar-DJ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Fdj', 'name': 'فرنك جيبوتي'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-DZ.ts b/packages/core/src/i18n/data/locale_ar-DZ.ts new file mode 100644 index 00000000000000..c3d145099576f9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-DZ.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArDZ: NgLocale = { + 'localeId': 'ar-DZ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], + 'abbreviated': [ + 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', + 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'جانفي', 'ف��فري', 'مارس', 'أفريل', 'ماي', 'جوان', + 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], + 'abbreviated': [ + 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', + 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', + 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'د.ج.‏', 'name': 'دينار جزائري'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-EG.ts b/packages/core/src/i18n/data/locale_ar-EG.ts new file mode 100644 index 00000000000000..75ef776bacc4a5 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-EG.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArEG: NgLocale = { + 'localeId': 'ar-EG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ج.م.‏', 'name': 'جنيه مصري'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-EH.ts b/packages/core/src/i18n/data/locale_ar-EH.ts new file mode 100644 index 00000000000000..0439444d6eb111 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-EH.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArEH: NgLocale = { + 'localeId': 'ar-EH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'د.م.‏', 'name': 'درهم مغربي'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-ER.ts b/packages/core/src/i18n/data/locale_ar-ER.ts new file mode 100644 index 00000000000000..edff0d0362a43d --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-ER.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArER: NgLocale = { + 'localeId': 'ar-ER', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Nfk', 'name': 'ناكفا أريتري'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-IL.ts b/packages/core/src/i18n/data/locale_ar-IL.ts new file mode 100644 index 00000000000000..9bf512294c4bc5 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-IL.ts @@ -0,0 +1,202 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArIL: NgLocale = { + 'localeId': 'ar-IL', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₪', 'name': 'شيكل إسرائيلي جديد'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-IQ.ts b/packages/core/src/i18n/data/locale_ar-IQ.ts new file mode 100644 index 00000000000000..cdc5d8b5339ac5 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-IQ.ts @@ -0,0 +1,211 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArIQ: NgLocale = { + 'localeId': 'ar-IQ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + 'abbreviated': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرین الأول', + 'تشرين الثاني', 'كانون الأول' + ], + 'wide': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ] + }, + 'standalone': { + 'narrow': ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + 'abbreviated': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ], + 'wide': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'د.ع.‏', 'name': 'دينار عراقي'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-JO.ts b/packages/core/src/i18n/data/locale_ar-JO.ts new file mode 100644 index 00000000000000..415d0428822ac0 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-JO.ts @@ -0,0 +1,211 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArJO: NgLocale = { + 'localeId': 'ar-JO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + 'abbreviated': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ], + 'wide': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ] + }, + 'standalone': { + 'narrow': ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + 'abbreviated': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ], + 'wide': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'د.أ.‏', 'name': 'دينار أردني'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-KM.ts b/packages/core/src/i18n/data/locale_ar-KM.ts new file mode 100644 index 00000000000000..79a8b421b1ae8f --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-KM.ts @@ -0,0 +1,203 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArKM: NgLocale = { + 'localeId': 'ar-KM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ف.ج.ق.‏', 'name': 'فرنك جزر القمر'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-KW.ts b/packages/core/src/i18n/data/locale_ar-KW.ts new file mode 100644 index 00000000000000..1b8841727a77b8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-KW.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArKW: NgLocale = { + 'localeId': 'ar-KW', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'د.ك.‏', 'name': 'دينار كويتي'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-LB.ts b/packages/core/src/i18n/data/locale_ar-LB.ts new file mode 100644 index 00000000000000..77f590968d3c3c --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-LB.ts @@ -0,0 +1,211 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArLB: NgLocale = { + 'localeId': 'ar-LB', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + 'abbreviated': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ], + 'wide': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ] + }, + 'standalone': { + 'narrow': ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + 'abbreviated': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ], + 'wide': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ل.ل.‏', 'name': 'جنيه لبناني'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-LY.ts b/packages/core/src/i18n/data/locale_ar-LY.ts new file mode 100644 index 00000000000000..9cad4559c1c57f --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-LY.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArLY: NgLocale = { + 'localeId': 'ar-LY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'ي��اير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'د.ل.‏', 'name': 'دينار ليبي'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-MA.ts b/packages/core/src/i18n/data/locale_ar-MA.ts new file mode 100644 index 00000000000000..3e88ecaaeeed45 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-MA.ts @@ -0,0 +1,203 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArMA: NgLocale = { + 'localeId': 'ar-MA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'م', 'ن', 'ل', 'غ', 'ش', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'ماي', 'يونيو', + 'يوليوز', 'غشت', 'شتنبر', 'أكتوبر', 'نونبر', 'دجنبر' + ], + 'wide': [ + 'يناير', 'فب��اير', 'مارس', 'أبريل', 'ماي', 'يونيو', + 'يوليوز', 'غشت', 'شتنبر', 'أكتوبر', 'نونبر', 'دجنبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'م', 'ن', 'ل', 'غ', 'ش', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'ماي', 'يونيو', + 'يوليوز', 'غشت', 'شتنبر', 'أكتوبر', 'نونبر', 'دجنبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'ماي', 'يونيو', + 'يوليوز', 'غشت', 'شتنبر', 'أكتوبر', 'نونبر', 'دجنبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'د.م.‏', 'name': 'درهم مغربي'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-MR.ts b/packages/core/src/i18n/data/locale_ar-MR.ts new file mode 100644 index 00000000000000..e41b58ee3162ca --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-MR.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArMR: NgLocale = { + 'localeId': 'ar-MR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'إ', 'و', 'ن', 'ل', 'غ', 'ش', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'إبريل', 'مايو', 'يونيو', + 'يوليو', 'أغشت', 'شتمبر', 'أكتوبر', 'نوفمبر', 'دجمبر' + ], + 'wide': [ + 'يناير', '��براير', 'مارس', 'إبريل', 'مايو', 'يونيو', + 'يوليو', 'أغشت', 'شتمبر', 'أكتوبر', 'نوفمبر', 'دجمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'إ', 'و', 'ن', 'ل', 'غ', 'ش', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'إبريل', 'مايو', 'يونيو', + 'يوليو', 'أغشت', 'شتمبر', 'أكتوبر', 'نوفمبر', 'دجمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'إبريل', 'مايو', 'يونيو', + 'يوليو', 'أغشت', 'شتمبر', 'أكتوبر', 'نوفمبر', 'دجمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'أ.م.‏', 'name': 'أوقية موريتانية'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-OM.ts b/packages/core/src/i18n/data/locale_ar-OM.ts new file mode 100644 index 00000000000000..02e6832fd14da4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-OM.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArOM: NgLocale = { + 'localeId': 'ar-OM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ر.ع.‏', 'name': 'ريال عماني'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-PS.ts b/packages/core/src/i18n/data/locale_ar-PS.ts new file mode 100644 index 00000000000000..238416b8028ec2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-PS.ts @@ -0,0 +1,211 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArPS: NgLocale = { + 'localeId': 'ar-PS', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + 'abbreviated': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ], + 'wide': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ] + }, + 'standalone': { + 'narrow': ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + 'abbreviated': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ], + 'wide': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₪', 'name': 'شيكل إسرائيلي جديد'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-QA.ts b/packages/core/src/i18n/data/locale_ar-QA.ts new file mode 100644 index 00000000000000..24a89f06b10f35 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-QA.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArQA: NgLocale = { + 'localeId': 'ar-QA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ر.ق.‏', 'name': 'ريال قطري'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-SA.ts b/packages/core/src/i18n/data/locale_ar-SA.ts new file mode 100644 index 00000000000000..73980645c88c36 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-SA.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArSA: NgLocale = { + 'localeId': 'ar-SA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'ي��اير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '٪', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ر.س.‏', 'name': 'ريال سعودي'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-SD.ts b/packages/core/src/i18n/data/locale_ar-SD.ts new file mode 100644 index 00000000000000..126ba8d9246eba --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-SD.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArSD: NgLocale = { + 'localeId': 'ar-SD', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ج.س.', 'name': 'جنيه سوداني'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-SO.ts b/packages/core/src/i18n/data/locale_ar-SO.ts new file mode 100644 index 00000000000000..a00c99d7b60e56 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-SO.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArSO: NgLocale = { + 'localeId': 'ar-SO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '٪', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'S', 'name': 'شلن صومالي'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-SS.ts b/packages/core/src/i18n/data/locale_ar-SS.ts new file mode 100644 index 00000000000000..dc2613c7254800 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-SS.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArSS: NgLocale = { + 'localeId': 'ar-SS', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'جنيه جنوب السودان'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-SY.ts b/packages/core/src/i18n/data/locale_ar-SY.ts new file mode 100644 index 00000000000000..4ba8fa8c3f59dd --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-SY.ts @@ -0,0 +1,211 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArSY: NgLocale = { + 'localeId': 'ar-SY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + 'abbreviated': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ], + 'wide': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ] + }, + 'standalone': { + 'narrow': ['ك', 'ش', 'آ', 'ن', 'أ', 'ح', 'ت', 'آ', 'أ', 'ت', 'ت', 'ك'], + 'abbreviated': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ], + 'wide': [ + 'كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', + 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', + 'تشرين الثاني', 'كانون الأول' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ل.س.‏', 'name': 'ليرة سورية'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-TD.ts b/packages/core/src/i18n/data/locale_ar-TD.ts new file mode 100644 index 00000000000000..c4738c7353731e --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-TD.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArTD: NgLocale = { + 'localeId': 'ar-TD', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'فرنك وسط أفريقي'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-TN.ts b/packages/core/src/i18n/data/locale_ar-TN.ts new file mode 100644 index 00000000000000..4dbb04bee7e226 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-TN.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArTN: NgLocale = { + 'localeId': 'ar-TN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], + 'abbreviated': [ + 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', + 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'جانفي', 'ف��فري', 'مارس', 'أفريل', 'ماي', 'جوان', + 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'], + 'abbreviated': [ + 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', + 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', + 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'د.ت.‏', 'name': 'دينار تونسي'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar-YE.ts b/packages/core/src/i18n/data/locale_ar-YE.ts new file mode 100644 index 00000000000000..b686267b67b42c --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar-YE.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleArYE: NgLocale = { + 'localeId': 'ar-YE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناي��', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ر.ي.‏', 'name': 'ريال يمني'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ar.ts b/packages/core/src/i18n/data/locale_ar.ts new file mode 100644 index 00000000000000..9f98e620475a17 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ar.ts @@ -0,0 +1,207 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAr: NgLocale = { + 'localeId': 'ar', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ل' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'ص', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'narrow': { + 'am': 'ص', + 'pm': 'م', + 'morning1': 'فجرا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + }, + 'wide': { + 'am': 'صباحًا', + 'pm': 'مساءً', + 'morning1': 'فجرًا', + 'morning2': 'صباحًا', + 'afternoon1': 'ظهرًا', + 'afternoon2': 'بعد الظهر', + 'evening1': 'مساءً', + 'night1': 'منتصف الليل', + 'night2': 'ليلاً' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + }, + 'standalone': { + 'narrow': ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + 'short': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'abbreviated': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ], + 'wide': [ + 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', + 'الجمعة', 'السبت' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + }, + 'standalone': { + 'narrow': ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'], + 'abbreviated': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ], + 'wide': [ + 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', + 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م', 'م'], + 'narrow': ['ق.م', 'م'], + 'wide': ['قبل الميلاد', 'ميلادي'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'dd‏/MM‏/y', + 'short': 'd‏/M‏/y' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '01:00'}, + 'night2': {'from': '01:00', 'to': '03:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '‎%‎', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ليس رقمًا', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ج.م.‏', 'name': 'جنيه مصري'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_as.ts b/packages/core/src/i18n/data/locale_as.ts new file mode 100644 index 00000000000000..cb9c3b8a9d5311 --- /dev/null +++ b/packages/core/src/i18n/data/locale_as.ts @@ -0,0 +1,131 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAs: NgLocale = { + 'localeId': 'as', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'পূৰ্বাহ্ণ', 'pm': 'অপৰাহ্ণ'}, + 'narrow': {'am': 'পূৰ্বাহ্ণ', 'pm': 'অপৰাহ্ণ'}, + 'wide': {'am': 'পূৰ্বাহ্ণ', 'pm': 'অপৰাহ্ণ'} + }, + 'standalone': { + 'abbreviated': {'am': 'পূৰ্বাহ্ণ', 'pm': 'অপৰাহ্ণ'}, + 'narrow': {'am': 'পূৰ্বাহ্ণ', 'pm': 'অপৰাহ্ণ'}, + 'wide': {'am': 'পূৰ্বাহ্ণ', 'pm': 'অপৰাহ্ণ'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ৰবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহষ্পতি', + 'শুক্ৰ', 'শনি' + ], + 'abbreviated': [ + 'ৰবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহষ্পতি', + 'শুক্ৰ', 'শনি' + ], + 'wide': [ + 'দেওবাৰ', 'সোমবাৰ', 'মঙ্গলবাৰ', + 'বুধবাৰ', 'বৃহষ্পতিবাৰ', 'শুক্ৰবাৰ', + 'শনিবাৰ' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ৰবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহষ্পতি', + 'শুক্ৰ', 'শনি' + ], + 'abbreviated': [ + 'ৰবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহষ্পতি', + 'শুক্ৰ', 'শনি' + ], + 'wide': [ + 'দেওবাৰ', 'সোমবাৰ', 'মঙ্গলবাৰ', + 'বুধবাৰ', 'বৃহষ্পতিবাৰ', 'শুক্ৰবাৰ', + 'শনিবাৰ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'জানু', 'ফেব্ৰু', 'মাৰ্চ', 'এপ্ৰিল', 'মে', + 'জুন', 'জুলাই', 'আগ', 'সেপ্ট', 'অক্টো', + 'নভে', 'ডিসে' + ], + 'wide': [ + 'জানুৱাৰী', 'ফেব্ৰুৱাৰী', 'মাৰ্চ', + 'এপ্ৰিল', 'মে', 'জুন', 'জুলাই', 'আগষ্ট', + 'ছেপ্তেম্বৰ', 'অক্টোবৰ', 'নৱেম্বৰ', + 'ডিচেম্বৰ' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'জানু', 'ফেব্ৰু', 'মাৰ্চ', 'এপ্ৰিল', 'মে', + 'জুন', 'জুলাই', 'আগ', 'সেপ্ট', 'অক্টো', + 'নভে', 'ডিসে' + ], + 'wide': [ + 'জানুৱাৰী', 'ফেব্ৰুৱাৰী', 'মাৰ্চ', + 'এপ্ৰিল', 'মে', 'জুন', 'জুলাই', 'আগষ্ট', + 'ছেপ্তেম্বৰ', 'অক্টোবৰ', 'নৱেম্বৰ', + 'ডিচেম্বৰ' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'INR'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_asa.ts b/packages/core/src/i18n/data/locale_asa.ts new file mode 100644 index 00000000000000..bfbc200a57baec --- /dev/null +++ b/packages/core/src/i18n/data/locale_asa.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAsa: NgLocale = { + 'localeId': 'asa', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'icheheavo', 'pm': 'ichamthi'}, + 'narrow': {'am': 'icheheavo', 'pm': 'ichamthi'}, + 'wide': {'am': 'icheheavo', 'pm': 'ichamthi'} + }, + 'standalone': { + 'abbreviated': {'am': 'icheheavo', 'pm': 'ichamthi'}, + 'narrow': {'am': 'icheheavo', 'pm': 'ichamthi'}, + 'wide': {'am': 'icheheavo', 'pm': 'ichamthi'} + } + }, + 'days': { + 'format': { + 'narrow': ['J', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'], + 'wide': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + }, + 'standalone': { + 'narrow': ['J', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'], + 'wide': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Dec'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Dec'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['KM', 'BM'], + 'narrow': ['KM', 'BM'], + 'wide': ['Kabla yakwe Yethu', 'Baada yakwe Yethu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'shilingi ya Tandhania'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ast.ts b/packages/core/src/i18n/data/locale_ast.ts new file mode 100644 index 00000000000000..38662d20fd8900 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ast.ts @@ -0,0 +1,114 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAst: NgLocale = { + 'localeId': 'ast', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'a', 'pm': 'p'}, + 'wide': {'am': 'de la mañana', 'pm': 'de la tarde'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'a', 'pm': 'p'}, + 'wide': {'am': 'mañana', 'pm': 'tarde'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'X', 'V', 'S'], + 'short': ['do', 'll', 'ma', 'mi', 'xu', 'vi', 'sá'], + 'abbreviated': ['dom', 'llu', 'mar', 'mié', 'xue', 'vie', 'sáb'], + 'wide': ['domingu', 'llunes', 'martes', 'miércoles', 'xueves', 'vienres', 'sábadu'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'X', 'V', 'S'], + 'short': ['do', 'll', 'ma', 'mi', 'xu', 'vi', 'sá'], + 'abbreviated': ['dom', 'llu', 'mar', 'mié', 'xue', 'vie', 'sáb'], + 'wide': ['domingu', 'llunes', 'martes', 'miércoles', 'xueves', 'vienres', 'sábadu'] + } + }, + 'months': { + 'format': { + 'narrow': ['X', 'F', 'M', 'A', 'M', 'X', 'X', 'A', 'S', 'O', 'P', 'A'], + 'abbreviated': + ['xin', 'feb', 'mar', 'abr', 'may', 'xun', 'xnt', 'ago', 'set', 'och', 'pay', 'avi'], + 'wide': [ + 'de xineru', 'de febreru', 'de marzu', 'd’abril', 'de mayu', 'de xunu', 'de xunetu', + 'd’agostu', 'de setiembre', 'd’ochobre', 'de payares', 'd’avientu' + ] + }, + 'standalone': { + 'narrow': ['X', 'F', 'M', 'A', 'M', 'X', 'X', 'A', 'S', 'O', 'P', 'A'], + 'abbreviated': + ['Xin', 'Feb', 'Mar', 'Abr', 'May', 'Xun', 'Xnt', 'Ago', 'Set', 'Och', 'Pay', 'Avi'], + 'wide': [ + 'xineru', 'febreru', 'marzu', 'abril', 'mayu', 'xunu', 'xunetu', 'agostu', 'setiembre', + 'ochobre', 'payares', 'avientu' + ] + } + }, + 'eras': { + 'abbreviated': ['e.C.', 'd.C.'], + 'narrow': ['e.C.', 'd.C.'], + 'wide': ['enantes de Cristu', 'después de Cristu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM \'de\' y', + 'long': 'd MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'a\' \'les\' {0}', + 'long': '{1} \'a\' \'les\' {0}', + 'medium': '{1}, {0}', + 'short': '{1} {0}' + } + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ND', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_az-Cyrl.ts b/packages/core/src/i18n/data/locale_az-Cyrl.ts new file mode 100644 index 00000000000000..6d3204ac473c1f --- /dev/null +++ b/packages/core/src/i18n/data/locale_az-Cyrl.ts @@ -0,0 +1,189 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAzCyrl: NgLocale = { + 'localeId': 'az-Cyrl', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ҝеҹәјары', + 'am': 'АМ', + 'noon': 'ҝүнорта', + 'pm': 'ПМ', + 'morning1': 'сүбһ', + 'morning2': 'сәһәр', + 'afternoon1': 'ҝүндүз', + 'evening1': 'ахшамүстү', + 'night1': 'ахшам', + 'night2': 'ҝеҹә' + }, + 'narrow': { + 'midnight': 'ҝеҹәјары', + 'am': 'а', + 'noon': 'ҝ', + 'pm': 'п', + 'morning1': 'сүбһ', + 'morning2': 'сәһәр', + 'afternoon1': 'ҝүндүз', + 'evening1': 'ахшамүстү', + 'night1': 'ахшам', + 'night2': 'ҝеҹә' + }, + 'wide': { + 'midnight': 'ҝеҹәјары', + 'am': 'АМ', + 'noon': 'ҝүнорта', + 'pm': 'ПМ', + 'morning1': 'сүбһ', + 'morning2': 'сәһәр', + 'afternoon1': 'ҝүндүз', + 'evening1': 'ахшамүстү', + 'night1': 'ахшам', + 'night2': 'ҝеҹә' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ҝеҹәјары', + 'am': 'АМ', + 'noon': 'ҝүнорта', + 'pm': 'ПМ', + 'morning1': 'сүбһ', + 'morning2': 'сәһәр', + 'afternoon1': 'ҝүндүз', + 'evening1': 'ахшамүстү', + 'night1': 'ахшам', + 'night2': 'ҝеҹә' + }, + 'narrow': { + 'midnight': 'ҝеҹәјары', + 'am': 'АМ', + 'noon': 'ҝүнорта', + 'pm': 'ПМ', + 'morning1': 'сүбһ', + 'morning2': 'сәһәр', + 'afternoon1': 'ҝүндүз', + 'evening1': 'ахшамүстү', + 'night1': 'ахшам', + 'night2': 'ҝеҹә' + }, + 'wide': { + 'midnight': 'ҝеҹәјары', + 'am': 'АМ', + 'noon': 'ҝүнорта', + 'pm': 'ПМ', + 'morning1': 'сүбһ', + 'morning2': 'сәһәр', + 'afternoon1': 'ҝүндүз', + 'evening1': 'ахшамүстү', + 'night1': 'ахшам', + 'night2': 'ҝеҹә' + } + } + }, + 'days': { + 'format': { + 'narrow': ['7', '1', '2', '3', '4', '5', '6'], + 'short': ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'], + 'abbreviated': ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'], + 'wide': [ + 'базар', 'базар ертәси', 'чәршәнбә ахшамы', + 'чәршәнбә', 'ҹүмә ахшамы', 'ҹүмә', 'шәнбә' + ] + }, + 'standalone': { + 'narrow': ['7', '1', '2', '3', '4', '5', '6'], + 'short': ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'], + 'abbreviated': ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'], + 'wide': [ + 'базар', 'базар ертәси', 'чәршәнбә ахшамы', + 'чәршәнбә', 'ҹүмә ахшамы', 'ҹүмә', 'шәнбә' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'сен', + 'окт', 'ној', 'дек' + ], + 'wide': [ + 'јанвар', 'феврал', 'март', 'апрел', 'май', 'ијун', + 'ијул', 'август', 'сентјабр', 'октјабр', 'нојабр', + 'декабр' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'сен', + 'окт', 'ној', 'дек' + ], + 'wide': [ + 'Јанвар', 'Феврал', 'Март', 'Апрел', 'Май', 'Ијун', + 'Ијул', 'Август', 'Сентјабр', 'Октјабр', 'Нојабр', + 'Декабр' + ] + } + }, + 'eras': { + 'abbreviated': ['е.ә.', 'ј.е.'], + 'narrow': ['е.ә.', 'ј.е.'], + 'wide': ['ерамыздан әввәл', 'јени ера'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'd MMMM y, EEEE', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd.MM.yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '17:00'}, + 'evening1': {'from': '17:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '24:00'}, + 'night2': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₼', 'name': 'AZN'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_az-Latn.ts b/packages/core/src/i18n/data/locale_az-Latn.ts new file mode 100644 index 00000000000000..9f6dd01564d674 --- /dev/null +++ b/packages/core/src/i18n/data/locale_az-Latn.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAzLatn: NgLocale = { + 'localeId': 'az-Latn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'gecəyarı', + 'am': 'AM', + 'noon': 'günorta', + 'pm': 'PM', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + }, + 'narrow': { + 'midnight': 'gecəyarı', + 'am': 'a', + 'noon': 'g', + 'pm': 'p', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + }, + 'wide': { + 'midnight': 'gecəyarı', + 'am': 'AM', + 'noon': 'günorta', + 'pm': 'PM', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'gecəyarı', + 'am': 'AM', + 'noon': 'günorta', + 'pm': 'PM', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + }, + 'narrow': { + 'midnight': 'gecəyarı', + 'am': 'AM', + 'noon': 'günorta', + 'pm': 'PM', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + }, + 'wide': { + 'midnight': 'gecəyarı', + 'am': 'AM', + 'noon': 'günorta', + 'pm': 'PM', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + } + } + }, + 'days': { + 'format': { + 'narrow': ['7', '1', '2', '3', '4', '5', '6'], + 'short': ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], + 'abbreviated': ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], + 'wide': [ + 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', + 'cümə', 'şənbə' + ] + }, + 'standalone': { + 'narrow': ['7', '1', '2', '3', '4', '5', '6'], + 'short': ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], + 'abbreviated': ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], + 'wide': [ + 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', + 'cümə', 'şənbə' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], + 'wide': [ + 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', + 'oktyabr', 'noyabr', 'dekabr' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], + 'wide': [ + 'Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', + 'Oktyabr', 'Noyabr', 'Dekabr' + ] + } + }, + 'eras': { + 'abbreviated': ['e.ə.', 'y.e.'], + 'narrow': ['e.ə.', 'y.e.'], + 'wide': ['eramızdan əvvəl', 'yeni era'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'd MMMM y, EEEE', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd.MM.yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '17:00'}, + 'evening1': {'from': '17:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '24:00'}, + 'night2': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₼', 'name': 'Azərbaycan Manatı'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_az.ts b/packages/core/src/i18n/data/locale_az.ts new file mode 100644 index 00000000000000..cc736f71c51e5a --- /dev/null +++ b/packages/core/src/i18n/data/locale_az.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleAz: NgLocale = { + 'localeId': 'az', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'gecəyarı', + 'am': 'AM', + 'noon': 'günorta', + 'pm': 'PM', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + }, + 'narrow': { + 'midnight': 'gecəyarı', + 'am': 'a', + 'noon': 'g', + 'pm': 'p', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + }, + 'wide': { + 'midnight': 'gecəyarı', + 'am': 'AM', + 'noon': 'günorta', + 'pm': 'PM', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'gecəyarı', + 'am': 'AM', + 'noon': 'günorta', + 'pm': 'PM', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + }, + 'narrow': { + 'midnight': 'gecəyarı', + 'am': 'AM', + 'noon': 'günorta', + 'pm': 'PM', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + }, + 'wide': { + 'midnight': 'gecəyarı', + 'am': 'AM', + 'noon': 'günorta', + 'pm': 'PM', + 'morning1': 'sübh', + 'morning2': 'səhər', + 'afternoon1': 'gündüz', + 'evening1': 'axşamüstü', + 'night1': 'axşam', + 'night2': 'gecə' + } + } + }, + 'days': { + 'format': { + 'narrow': ['7', '1', '2', '3', '4', '5', '6'], + 'short': ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], + 'abbreviated': ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], + 'wide': [ + 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', + 'cümə', 'şənbə' + ] + }, + 'standalone': { + 'narrow': ['7', '1', '2', '3', '4', '5', '6'], + 'short': ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], + 'abbreviated': ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'], + 'wide': [ + 'bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', + 'cümə', 'şənbə' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], + 'wide': [ + 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', + 'oktyabr', 'noyabr', 'dekabr' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'], + 'wide': [ + 'Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', + 'Oktyabr', 'Noyabr', 'Dekabr' + ] + } + }, + 'eras': { + 'abbreviated': ['e.ə.', 'y.e.'], + 'narrow': ['e.ə.', 'y.e.'], + 'wide': ['eramızdan əvvəl', 'yeni era'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'd MMMM y, EEEE', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd.MM.yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '17:00'}, + 'evening1': {'from': '17:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '24:00'}, + 'night2': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₼', 'name': 'Azərbaycan Manatı'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_bas.ts b/packages/core/src/i18n/data/locale_bas.ts new file mode 100644 index 00000000000000..7a1ba94db7aba1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_bas.ts @@ -0,0 +1,106 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBas: NgLocale = { + 'localeId': 'bas', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'I bikɛ̂glà', 'pm': 'I ɓugajɔp'}, + 'narrow': {'am': 'I bikɛ̂glà', 'pm': 'I ɓugajɔp'}, + 'wide': {'am': 'I bikɛ̂glà', 'pm': 'I ɓugajɔp'} + }, + 'standalone': { + 'abbreviated': {'am': 'I bikɛ̂glà', 'pm': 'I ɓugajɔp'}, + 'narrow': {'am': 'I bikɛ̂glà', 'pm': 'I ɓugajɔp'}, + 'wide': {'am': 'I bikɛ̂glà', 'pm': 'I ɓugajɔp'} + } + }, + 'days': { + 'format': { + 'narrow': ['n', 'n', 'u', 'ŋ', 'm', 'k', 'j'], + 'short': ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'], + 'abbreviated': ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'], + 'wide': [ + 'ŋgwà nɔ̂y', 'ŋgwà njaŋgumba', 'ŋgwà ûm', 'ŋgwà ŋgê', 'ŋgwà mbɔk', + 'ŋgwà kɔɔ', 'ŋgwà jôn' + ] + }, + 'standalone': { + 'narrow': ['n', 'n', 'u', 'ŋ', 'm', 'k', 'j'], + 'short': ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'], + 'abbreviated': ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'], + 'wide': [ + 'ŋgwà nɔ̂y', 'ŋgwà njaŋgumba', 'ŋgwà ûm', 'ŋgwà ŋgê', 'ŋgwà mbɔk', + 'ŋgwà kɔɔ', 'ŋgwà jôn' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['k', 'm', 'm', 'm', 'm', 'h', 'n', 'h', 'd', 'b', 'm', 'l'], + 'abbreviated': + ['kɔn', 'mac', 'mat', 'mto', 'mpu', 'hil', 'nje', 'hik', 'dip', 'bio', 'may', 'liɓ'], + 'wide': [ + 'Kɔndɔŋ', 'Màcɛ̂l', 'Màtùmb', 'Màtop', 'M̀puyɛ', 'Hìlòndɛ̀', 'Njèbà', + 'Hìkaŋ', 'Dìpɔ̀s', 'Bìòôm', 'Màyɛsèp', 'Lìbuy li ńyèe' + ] + }, + 'standalone': { + 'narrow': ['k', 'm', 'm', 'm', 'm', 'h', 'n', 'h', 'd', 'b', 'm', 'l'], + 'abbreviated': + ['kɔn', 'mac', 'mat', 'mto', 'mpu', 'hil', 'nje', 'hik', 'dip', 'bio', 'may', 'liɓ'], + 'wide': [ + 'Kɔndɔŋ', 'Màcɛ̂l', 'Màtùmb', 'Màtop', 'M̀puyɛ', 'Hìlòndɛ̀', 'Njèbà', + 'Hìkaŋ', 'Dìpɔ̀s', 'Bìòôm', 'Màyɛsèp', 'Lìbuy li ńyèe' + ] + } + }, + 'eras': { + 'abbreviated': ['b.Y.K', 'm.Y.K'], + 'narrow': ['b.Y.K', 'm.Y.K'], + 'wide': ['bisū bi Yesù Krǐstò', 'i mbūs Yesù Krǐstò'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'Frǎŋ CFA (BEAC)'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_be.ts b/packages/core/src/i18n/data/locale_be.ts new file mode 100644 index 00000000000000..ecaed00fe471fa --- /dev/null +++ b/packages/core/src/i18n/data/locale_be.ts @@ -0,0 +1,133 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBe: NgLocale = { + 'localeId': 'be', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'am', 'pm': 'pm'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['н', 'п', 'а', 'с', 'ч', 'п', 'с'], + 'short': ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], + 'abbreviated': ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], + 'wide': [ + 'нядзеля', 'панядзелак', 'аўторак', 'серада', + 'чацвер', 'пятніца', 'субота' + ] + }, + 'standalone': { + 'narrow': ['н', 'п', 'а', 'с', 'ч', 'п', 'с'], + 'short': ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], + 'abbreviated': ['нд', 'пн', 'аў', 'ср', 'чц', 'пт', 'сб'], + 'wide': [ + 'нядзеля', 'панядзелак', 'аўторак', 'серада', + 'чацвер', 'пятніца', 'субота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'], + 'abbreviated': [ + 'сту', 'лют', 'сак', 'кра', 'мая', 'чэр', 'ліп', 'жні', 'вер', + 'кас', 'ліс', 'сне' + ], + 'wide': [ + 'студзеня', 'лютага', 'сакавіка', 'красавіка', 'мая', + 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', + 'кастрычніка', 'лістапада', 'снежня' + ] + }, + 'standalone': { + 'narrow': ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'], + 'abbreviated': [ + 'сту', 'лют', 'сак', 'кра', 'май', 'чэр', 'ліп', 'жні', 'вер', + 'кас', 'ліс', 'сне' + ], + 'wide': [ + 'студзень', 'люты', 'сакавік', 'красавік', 'май', + 'чэрвень', 'ліпень', 'жнівень', 'верасень', + 'кастрычнік', 'лістапад', 'снежань' + ] + } + }, + 'eras': { + 'abbreviated': ['да н.э.', 'н.э.'], + 'narrow': ['да н.э.', 'н.э.'], + 'wide': [ + 'да нараджэння Хрыстова', 'ад нараджэння Хрыстова' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM y \'г\'.', + 'long': 'd MMMM y \'г\'.', + 'medium': 'd.MM.y', + 'short': 'd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss, zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'у\' {0}', + 'long': '{1} \'у\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Br', 'name': 'беларускі рубель'}, + 'getPluralCase': function(n: number): Plural { + if (n % 10 === 1 && !(n % 100 === 11)) return Plural.One; + if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 4 && + !(n % 100 >= 12 && n % 100 <= 14)) + return Plural.Few; + if (n % 10 === 0 || n % 10 === Math.floor(n % 10) && n % 10 >= 5 && n % 10 <= 9 || + n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 14) + return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_bem.ts b/packages/core/src/i18n/data/locale_bem.ts new file mode 100644 index 00000000000000..68100b5bb3cf5e --- /dev/null +++ b/packages/core/src/i18n/data/locale_bem.ts @@ -0,0 +1,126 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBem: NgLocale = { + 'localeId': 'bem', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'uluchelo', 'pm': 'akasuba'}, + 'narrow': {'am': 'uluchelo', 'pm': 'akasuba'}, + 'wide': {'am': 'uluchelo', 'pm': 'akasuba'} + }, + 'standalone': { + 'abbreviated': {'am': 'uluchelo', 'pm': 'akasuba'}, + 'narrow': {'am': 'uluchelo', 'pm': 'akasuba'}, + 'wide': {'am': 'uluchelo', 'pm': 'akasuba'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'Pa Mulungu', 'Palichimo', 'Palichibuli', 'Palichitatu', 'Palichine', 'Palichisano', + 'Pachibelushi' + ], + 'abbreviated': [ + 'Pa Mulungu', 'Palichimo', 'Palichibuli', 'Palichitatu', 'Palichine', 'Palichisano', + 'Pachibelushi' + ], + 'wide': [ + 'Pa Mulungu', 'Palichimo', 'Palichibuli', 'Palichitatu', 'Palichine', 'Palichisano', + 'Pachibelushi' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'Pa Mulungu', 'Palichimo', 'Palichibuli', 'Palichitatu', 'Palichine', 'Palichisano', + 'Pachibelushi' + ], + 'abbreviated': [ + 'Pa Mulungu', 'Palichimo', 'Palichibuli', 'Palichitatu', 'Palichine', 'Palichisano', + 'Pachibelushi' + ], + 'wide': [ + 'Pa Mulungu', 'Palichimo', 'Palichibuli', 'Palichitatu', 'Palichine', 'Palichisano', + 'Pachibelushi' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'E', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Epr', 'Mei', 'Jun', 'Jul', 'Oga', 'Sep', 'Okt', 'Nov', 'Dis'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Epreo', 'Mei', 'Juni', 'Julai', 'Ogasti', 'Septemba', + 'Oktoba', 'Novemba', 'Disemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'E', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Epr', 'Mei', 'Jun', 'Jul', 'Oga', 'Sep', 'Okt', 'Nov', 'Dis'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Epreo', 'Mei', 'Juni', 'Julai', 'Ogasti', 'Septemba', + 'Oktoba', 'Novemba', 'Disemba' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['BC', 'AD'], + 'wide': ['Before Yesu', 'After Yesu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'K', 'name': 'ZMW'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_bez.ts b/packages/core/src/i18n/data/locale_bez.ts new file mode 100644 index 00000000000000..c9ac676b84d7ec --- /dev/null +++ b/packages/core/src/i18n/data/locale_bez.ts @@ -0,0 +1,114 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBez: NgLocale = { + 'localeId': 'bez', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'pamilau', 'pm': 'pamunyi'}, + 'narrow': {'am': 'pamilau', 'pm': 'pamunyi'}, + 'wide': {'am': 'pamilau', 'pm': 'pamunyi'} + }, + 'standalone': { + 'abbreviated': {'am': 'pamilau', 'pm': 'pamunyi'}, + 'narrow': {'am': 'pamilau', 'pm': 'pamunyi'}, + 'wide': {'am': 'pamilau', 'pm': 'pamunyi'} + } + }, + 'days': { + 'format': { + 'narrow': ['M', 'J', 'H', 'H', 'H', 'W', 'J'], + 'short': ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'], + 'abbreviated': ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'], + 'wide': [ + 'pa mulungu', 'pa shahuviluha', 'pa hivili', 'pa hidatu', 'pa hitayi', 'pa hihanu', + 'pa shahulembela' + ] + }, + 'standalone': { + 'narrow': ['M', 'J', 'H', 'H', 'H', 'W', 'J'], + 'short': ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'], + 'abbreviated': ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'], + 'wide': [ + 'pa mulungu', 'pa shahuviluha', 'pa hivili', 'pa hidatu', 'pa hitayi', 'pa hihanu', + 'pa shahulembela' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['H', 'V', 'D', 'T', 'H', 'S', 'S', 'N', 'T', 'K', 'K', 'K'], + 'abbreviated': + ['Hut', 'Vil', 'Dat', 'Tai', 'Han', 'Sit', 'Sab', 'Nan', 'Tis', 'Kum', 'Kmj', 'Kmb'], + 'wide': [ + 'pa mwedzi gwa hutala', 'pa mwedzi gwa wuvili', 'pa mwedzi gwa wudatu', + 'pa mwedzi gwa wutai', 'pa mwedzi gwa wuhanu', 'pa mwedzi gwa sita', 'pa mwedzi gwa saba', + 'pa mwedzi gwa nane', 'pa mwedzi gwa tisa', 'pa mwedzi gwa kumi', + 'pa mwedzi gwa kumi na moja', 'pa mwedzi gwa kumi na mbili' + ] + }, + 'standalone': { + 'narrow': ['H', 'V', 'D', 'T', 'H', 'S', 'S', 'N', 'T', 'K', 'K', 'K'], + 'abbreviated': + ['Hut', 'Vil', 'Dat', 'Tai', 'Han', 'Sit', 'Sab', 'Nan', 'Tis', 'Kum', 'Kmj', 'Kmb'], + 'wide': [ + 'pa mwedzi gwa hutala', 'pa mwedzi gwa wuvili', 'pa mwedzi gwa wudatu', + 'pa mwedzi gwa wutai', 'pa mwedzi gwa wuhanu', 'pa mwedzi gwa sita', 'pa mwedzi gwa saba', + 'pa mwedzi gwa nane', 'pa mwedzi gwa tisa', 'pa mwedzi gwa kumi', + 'pa mwedzi gwa kumi na moja', 'pa mwedzi gwa kumi na mbili' + ] + } + }, + 'eras': { + 'abbreviated': ['KM', 'BM'], + 'narrow': ['KM', 'BM'], + 'wide': ['Kabla ya Mtwaa', 'Baada ya Mtwaa'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'Shilingi ya Hutanzania'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_bg.ts b/packages/core/src/i18n/data/locale_bg.ts new file mode 100644 index 00000000000000..afbbde43935189 --- /dev/null +++ b/packages/core/src/i18n/data/locale_bg.ts @@ -0,0 +1,178 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBg: NgLocale = { + 'localeId': 'bg', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'полунощ', + 'am': 'am', + 'pm': 'pm', + 'morning1': 'сутринта', + 'morning2': 'на обед', + 'afternoon1': 'следобед', + 'evening1': 'вечерта', + 'night1': 'през нощта' + }, + 'narrow': { + 'midnight': 'полунощ', + 'am': 'am', + 'pm': 'pm', + 'morning1': 'сутринта', + 'morning2': 'на обед', + 'afternoon1': 'следобед', + 'evening1': 'вечерта', + 'night1': 'през нощта' + }, + 'wide': { + 'midnight': 'полунощ', + 'am': 'пр.об.', + 'pm': 'сл.об.', + 'morning1': 'сутринта', + 'morning2': 'на обяд', + 'afternoon1': 'следобед', + 'evening1': 'вечерта', + 'night1': 'през нощта' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'полунощ', + 'am': 'am', + 'pm': 'pm', + 'morning1': 'сутринта', + 'morning2': 'на обед', + 'afternoon1': 'следобед', + 'evening1': 'вечерта', + 'night1': 'през нощта' + }, + 'narrow': { + 'midnight': 'полунощ', + 'am': 'am', + 'pm': 'pm', + 'morning1': 'сутринта', + 'morning2': 'на обед', + 'afternoon1': 'следобед', + 'evening1': 'вечерта', + 'night1': 'през нощта' + }, + 'wide': { + 'midnight': 'полунощ', + 'am': 'am', + 'pm': 'pm', + 'morning1': 'сутринта', + 'morning2': 'на обед', + 'afternoon1': 'следобед', + 'evening1': 'вечерта', + 'night1': 'през нощта' + } + } + }, + 'days': { + 'format': { + 'narrow': ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], + 'short': ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'неделя', 'понеделник', 'вторник', 'сряда', + 'четвъртък', 'петък', 'събота' + ] + }, + 'standalone': { + 'narrow': ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], + 'short': ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'неделя', 'понеделник', 'вторник', 'сряда', + 'четвъртък', 'петък', 'събота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['я', 'ф', 'м', 'а', 'м', 'ю', 'ю', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'яну', 'фев', 'март', 'апр', 'май', 'юни', 'юли', 'авг', + 'сеп', 'окт', 'ное', 'дек' + ], + 'wide': [ + 'януари', 'февруари', 'март', 'април', 'май', 'юни', + 'юли', 'август', 'септември', 'октомври', 'ноември', + 'декември' + ] + }, + 'standalone': { + 'narrow': ['я', 'ф', 'м', 'а', 'м', 'ю', 'ю', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'яну', 'фев', 'март', 'апр', 'май', 'юни', 'юли', 'авг', + 'сеп', 'окт', 'ное', 'дек' + ], + 'wide': [ + 'януари', 'февруари', 'март', 'април', 'май', 'юни', + 'юли', 'август', 'септември', 'октомври', 'ноември', + 'декември' + ] + } + }, + 'eras': { + 'abbreviated': ['пр.Хр.', 'сл.Хр.'], + 'narrow': ['пр.Хр.', 'сл.Хр.'], + 'wide': ['преди Христа', 'след Христа'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM y \'г\'.', + 'long': 'd MMMM y \'г\'.', + 'medium': 'd.MM.y \'г\'.', + 'short': 'd.MM.yy \'г\'.' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '14:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '11:00'}, + 'morning2': {'from': '11:00', 'to': '14:00'}, + 'night1': {'from': '22:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': + {'currency': '0.00 ¤', 'decimal': '#,##0.###', 'percent': '#,##0%', 'scientific': '#E0'} + }, + 'currencySettings': {'symbol': 'лв.', 'name': 'Български лев'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_bm.ts b/packages/core/src/i18n/data/locale_bm.ts new file mode 100644 index 00000000000000..5bd9736bb11d4d --- /dev/null +++ b/packages/core/src/i18n/data/locale_bm.ts @@ -0,0 +1,100 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBm: NgLocale = { + 'localeId': 'bm', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['K', 'N', 'T', 'A', 'A', 'J', 'S'], + 'short': ['kar', 'ntɛ', 'tar', 'ara', 'ala', 'jum', 'sib'], + 'abbreviated': ['kar', 'ntɛ', 'tar', 'ara', 'ala', 'jum', 'sib'], + 'wide': ['kari', 'ntɛnɛ', 'tarata', 'araba', 'alamisa', 'juma', 'sibiri'] + }, + 'standalone': { + 'narrow': ['K', 'N', 'T', 'A', 'A', 'J', 'S'], + 'short': ['kar', 'ntɛ', 'tar', 'ara', 'ala', 'jum', 'sib'], + 'abbreviated': ['kar', 'ntɛ', 'tar', 'ara', 'ala', 'jum', 'sib'], + 'wide': ['kari', 'ntɛnɛ', 'tarata', 'araba', 'alamisa', 'juma', 'sibiri'] + } + }, + 'months': { + 'format': { + 'narrow': ['Z', 'F', 'M', 'A', 'M', 'Z', 'Z', 'U', 'S', 'Ɔ', 'N', 'D'], + 'abbreviated': + ['zan', 'feb', 'mar', 'awi', 'mɛ', 'zuw', 'zul', 'uti', 'sɛt', 'ɔku', 'now', 'des'], + 'wide': [ + 'zanwuye', 'feburuye', 'marisi', 'awirili', 'mɛ', 'zuwɛn', 'zuluye', 'uti', + 'sɛtanburu', 'ɔkutɔburu', 'nowanburu', 'desanburu' + ] + }, + 'standalone': { + 'narrow': ['Z', 'F', 'M', 'A', 'M', 'Z', 'Z', 'U', 'S', 'Ɔ', 'N', 'D'], + 'abbreviated': + ['zan', 'feb', 'mar', 'awi', 'mɛ', 'zuw', 'zul', 'uti', 'sɛt', 'ɔku', 'now', 'des'], + 'wide': [ + 'zanwuye', 'feburuye', 'marisi', 'awirili', 'mɛ', 'zuwɛn', 'zuluye', 'uti', + 'sɛtanburu', 'ɔkutɔburu', 'nowanburu', 'desanburu' + ] + } + }, + 'eras': { + 'abbreviated': ['J.-C. ɲɛ', 'ni J.-C.'], + 'narrow': ['J.-C. ɲɛ', 'ni J.-C.'], + 'wide': ['jezu krisiti ɲɛ', 'jezu krisiti minkɛ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'sefa Fraŋ (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_bn-IN.ts b/packages/core/src/i18n/data/locale_bn-IN.ts new file mode 100644 index 00000000000000..ff81a945009d2d --- /dev/null +++ b/packages/core/src/i18n/data/locale_bn-IN.ts @@ -0,0 +1,204 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBnIN: NgLocale = { + 'localeId': 'bn-IN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + }, + 'narrow': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + }, + 'wide': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + }, + 'narrow': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + }, + 'wide': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + } + } + }, + 'days': { + 'format': { + 'narrow': ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], + 'short': + ['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শোঃ'], + 'abbreviated': [ + 'রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', + 'শুক্র', 'শনি' + ], + 'wide': [ + 'রবিবার', 'সোমবার', 'মঙ্গলবার', + 'বুধবার', 'বৃহস্পতিবার', 'শুক্রবার', + 'শনিবার' + ] + }, + 'standalone': { + 'narrow': ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], + 'short': + ['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শনি'], + 'abbreviated': [ + 'রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', + 'শুক্র', 'শনি' + ], + 'wide': [ + 'রবিবার', 'সোমবার', 'মঙ্গলবার', + 'বুধবার', 'বৃহষ্পতিবার', 'শুক্রবার', + 'শনিবার' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', + 'অ', 'ন', 'ডি' + ], + 'abbreviated': [ + 'জানু', 'ফেব', 'মার্চ', 'এপ্রিল', 'মে', + 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', + 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর' + ], + 'wide': [ + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', + 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', + 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', + 'ডিসেম্বর' + ] + }, + 'standalone': { + 'narrow': [ + 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', + 'অ', 'ন', 'ডি' + ], + 'abbreviated': [ + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', + 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', + 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', + 'ডিসেম্বর' + ], + 'wide': [ + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', + 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', + 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', + 'ডিসেম্বর' + ] + } + }, + 'eras': { + 'abbreviated': ['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], + 'narrow': ['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], + 'wide': ['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM, y', 'medium': 'd MMM, y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'afternoon2': {'from': '16:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '20:00'}, + 'morning1': {'from': '04:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##,##0.00¤', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'ভারতীয় রুপি'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_bn.ts b/packages/core/src/i18n/data/locale_bn.ts new file mode 100644 index 00000000000000..19b51647a14eef --- /dev/null +++ b/packages/core/src/i18n/data/locale_bn.ts @@ -0,0 +1,204 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBn: NgLocale = { + 'localeId': 'bn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + }, + 'narrow': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + }, + 'wide': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + }, + 'narrow': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + }, + 'wide': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ভোর', + 'morning2': 'সকাল', + 'afternoon1': 'দুপুর', + 'afternoon2': 'বিকাল', + 'evening1': 'সন্ধ্যা', + 'night1': 'রাত্রি' + } + } + }, + 'days': { + 'format': { + 'narrow': ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], + 'short': + ['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শোঃ'], + 'abbreviated': [ + 'রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', + 'শুক্র', 'শনি' + ], + 'wide': [ + 'রবিবার', 'সোমবার', 'মঙ্গলবার', + 'বুধবার', 'বৃহস্পতিবার', 'শুক্রবার', + 'শনিবার' + ] + }, + 'standalone': { + 'narrow': ['র', 'সো', 'ম', 'বু', 'বৃ', 'শু', 'শ'], + 'short': + ['রঃ', 'সোঃ', 'মঃ', 'বুঃ', 'বৃঃ', 'শুঃ', 'শনি'], + 'abbreviated': [ + 'রবি', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহস্পতি', + 'শুক্র', 'শনি' + ], + 'wide': [ + 'রবিবার', 'সোমবার', 'মঙ্গলবার', + 'বুধবার', 'বৃহষ্পতিবার', 'শুক্রবার', + 'শনিবার' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', + 'অ', 'ন', 'ডি' + ], + 'abbreviated': [ + 'জানু', 'ফেব', 'মার্চ', 'এপ্রিল', 'মে', + 'জুন', 'জুলাই', 'আগস্ট', 'সেপ্টেম্বর', + 'অক্টোবর', 'নভেম্বর', 'ডিসেম্বর' + ], + 'wide': [ + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', + 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', + 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', + 'ডিসেম্বর' + ] + }, + 'standalone': { + 'narrow': [ + 'জা', 'ফে', 'মা', 'এ', 'মে', 'জুন', 'জু', 'আ', 'সে', + 'অ', 'ন', 'ডি' + ], + 'abbreviated': [ + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', + 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', + 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', + 'ডিসেম্বর' + ], + 'wide': [ + 'জানুয়ারী', 'ফেব্রুয়ারী', 'মার্চ', + 'এপ্রিল', 'মে', 'জুন', 'জুলাই', 'আগস্ট', + 'সেপ্টেম্বর', 'অক্টোবর', 'নভেম্বর', + 'ডিসেম্বর' + ] + } + }, + 'eras': { + 'abbreviated': ['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], + 'narrow': ['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'], + 'wide': ['খ্রিস্টপূর্ব', 'খৃষ্টাব্দ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 5, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM, y', 'medium': 'd MMM, y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'afternoon2': {'from': '16:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '20:00'}, + 'morning1': {'from': '04:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##,##0.00¤', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '৳', 'name': 'বাংলাদেশী টাকা'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_bo-IN.ts b/packages/core/src/i18n/data/locale_bo-IN.ts new file mode 100644 index 00000000000000..a6a67f081bd0a6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_bo-IN.ts @@ -0,0 +1,151 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBoIN: NgLocale = { + 'localeId': 'bo-IN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'}, + 'narrow': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'}, + 'wide': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'} + }, + 'standalone': { + 'abbreviated': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'}, + 'narrow': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'}, + 'wide': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'} + } + }, + 'days': { + 'format': { + 'narrow': [ + 'ཉི', 'ཟླ', 'མིག', 'ལྷག', 'ཕུར', 'སངས', 'སྤེན' + ], + 'short': [ + 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', + 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' + ], + 'abbreviated': [ + 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', + 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' + ], + 'wide': [ + 'གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', + 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', + 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', + 'གཟའ་སྤེན་པ་' + ] + }, + 'standalone': { + 'narrow': [ + 'ཉི', 'ཟླ', 'མིག', 'ལྷག', 'ཕུར', 'སངས', 'སྤེན' + ], + 'short': [ + 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', + 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' + ], + 'abbreviated': [ + 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', + 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' + ], + 'wide': [ + 'གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', + 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', + 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', + 'གཟའ་སྤེན་པ་' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', + 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', + 'ཟླ་༡༡', 'ཟླ་༡༢' + ], + 'wide': [ + 'ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', + 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', + 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', + 'ཟླ་བ་བདུན་པ', 'ཟླ་བ་བརྒྱད་པ', + 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', + 'ཟླ་བ་བཅུ་གཅིག་པ', + 'ཟླ་བ་བཅུ་གཉིས་པ' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', + 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', + 'ཟླ་༡༡', 'ཟླ་༡༢' + ], + 'wide': [ + 'ཟླ་བ་དང་པོ་', 'ཟླ་བ་གཉིས་པ་', + 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', + 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', + 'ཟླ་བ་བདུན་པ་', 'ཟླ་བ་བརྒྱད་པ་', + 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', + 'ཟླ་བ་བཅུ་གཅིག་པ་', + 'ཟླ་བ་བཅུ་གཉིས་པ་' + ] + } + }, + 'eras': { + 'abbreviated': ['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'], + 'narrow': ['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'], + 'wide': ['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': { + 'full': 'y MMMMའི་ཚེས་d, EEEE', + 'long': 'སྤྱི་ལོ་y MMMMའི་ཚེས་d', + 'medium': 'y ལོའི་MMMཚེས་d', + 'short': 'y-MM-dd' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'རྒྱ་གར་སྒོར་'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_bo.ts b/packages/core/src/i18n/data/locale_bo.ts new file mode 100644 index 00000000000000..778697c91213ff --- /dev/null +++ b/packages/core/src/i18n/data/locale_bo.ts @@ -0,0 +1,151 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBo: NgLocale = { + 'localeId': 'bo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'}, + 'narrow': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'}, + 'wide': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'} + }, + 'standalone': { + 'abbreviated': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'}, + 'narrow': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'}, + 'wide': {'am': 'སྔ་དྲོ་', 'pm': 'ཕྱི་དྲོ་'} + } + }, + 'days': { + 'format': { + 'narrow': [ + 'ཉི', 'ཟླ', 'མིག', 'ལྷག', 'ཕུར', 'སངས', 'སྤེན' + ], + 'short': [ + 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', + 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' + ], + 'abbreviated': [ + 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', + 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' + ], + 'wide': [ + 'གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', + 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', + 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', + 'གཟའ་སྤེན་པ་' + ] + }, + 'standalone': { + 'narrow': [ + 'ཉི', 'ཟླ', 'མིག', 'ལྷག', 'ཕུར', 'སངས', 'སྤེན' + ], + 'short': [ + 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', + 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' + ], + 'abbreviated': [ + 'ཉི་མ་', 'ཟླ་བ་', 'མིག་དམར་', 'ལྷག་པ་', + 'ཕུར་བུ་', 'པ་སངས་', 'སྤེན་པ་' + ], + 'wide': [ + 'གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', + 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', + 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', + 'གཟའ་སྤེན་པ་' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', + 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', + 'ཟླ་༡༡', 'ཟླ་༡༢' + ], + 'wide': [ + 'ཟླ་བ་དང་པོ', 'ཟླ་བ་གཉིས་པ', + 'ཟླ་བ་གསུམ་པ', 'ཟླ་བ་བཞི་པ', + 'ཟླ་བ་ལྔ་པ', 'ཟླ་བ་དྲུག་པ', + 'ཟླ་བ་བདུན་པ', 'ཟླ་བ་བརྒྱད་པ', + 'ཟླ་བ་དགུ་པ', 'ཟླ་བ་བཅུ་པ', + 'ཟླ་བ་བཅུ་གཅིག་པ', + 'ཟླ་བ་བཅུ་གཉིས་པ' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', + 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', + 'ཟླ་༡༡', 'ཟླ་༡༢' + ], + 'wide': [ + 'ཟླ་བ���དང་པོ་', 'ཟླ་བ་གཉིས་པ་', + 'ཟླ་བ་གསུམ་པ་', 'ཟླ་བ་བཞི་པ་', + 'ཟླ་བ་ལྔ་པ་', 'ཟླ་བ་དྲུག་པ་', + 'ཟླ་བ་བདུན་པ་', 'ཟླ་བ་བརྒྱད་པ་', + 'ཟླ་བ་དགུ་པ་', 'ཟླ་བ་བཅུ་པ་', + 'ཟླ་བ་བཅུ་གཅིག་པ་', + 'ཟླ་བ་བཅུ་གཉིས་པ་' + ] + } + }, + 'eras': { + 'abbreviated': ['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'], + 'narrow': ['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'], + 'wide': ['སྤྱི་ལོ་སྔོན་', 'སྤྱི་ལོ་'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y MMMMའི་ཚེས་d, EEEE', + 'long': 'སྤྱི་ལོ་y MMMMའི་ཚེས་d', + 'medium': 'y ལོའི་MMMཚེས་d', + 'short': 'y-MM-dd' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '¥', 'name': 'ཡུ་ཨན་'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_br.ts b/packages/core/src/i18n/data/locale_br.ts new file mode 100644 index 00000000000000..87e16c99526ba4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_br.ts @@ -0,0 +1,119 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBr: NgLocale = { + 'localeId': 'br', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'A.M.', 'pm': 'G.M.'}, + 'narrow': {'am': 'am', 'pm': 'gm'}, + 'wide': {'am': 'A.M.', 'pm': 'G.M.'} + }, + 'standalone': { + 'abbreviated': {'am': 'A.M.', 'pm': 'G.M.'}, + 'narrow': {'am': 'A.M.', 'pm': 'G.M.'}, + 'wide': {'am': 'A.M.', 'pm': 'G.M.'} + } + }, + 'days': { + 'format': { + 'narrow': ['Su', 'L', 'Mz', 'Mc', 'Y', 'G', 'Sa'], + 'short': ['Sul', 'Lun', 'Meu.', 'Mer.', 'Yaou', 'Gwe.', 'Sad.'], + 'abbreviated': ['Sul', 'Lun', 'Meu.', 'Mer.', 'Yaou', 'Gwe.', 'Sad.'], + 'wide': ['Sul', 'Lun', 'Meurzh', 'Mercʼher', 'Yaou', 'Gwener', 'Sadorn'] + }, + 'standalone': { + 'narrow': ['Su', 'L', 'Mz', 'Mc', 'Y', 'G', 'Sa'], + 'short': ['Sul', 'Lun', 'Meu.', 'Mer.', 'Yaou', 'Gwe.', 'Sad.'], + 'abbreviated': ['Sul', 'Lun', 'Meu.', 'Mer.', 'Yaou', 'Gwe.', 'Sad.'], + 'wide': ['Sul', 'Lun', 'Meurzh', 'Mercʼher', 'Yaou', 'Gwener', 'Sadorn'] + } + }, + 'months': { + 'format': { + 'narrow': ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'], + 'abbreviated': [ + 'Gen.', 'Cʼhwe.', 'Meur.', 'Ebr.', 'Mae', 'Mezh.', 'Goue.', 'Eost', 'Gwen.', 'Here', + 'Du', 'Kzu.' + ], + 'wide': [ + 'Genver', 'Cʼhwevrer', 'Meurzh', 'Ebrel', 'Mae', 'Mezheven', 'Gouere', 'Eost', + 'Gwengolo', 'Here', 'Du', 'Kerzu' + ] + }, + 'standalone': { + 'narrow': ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'], + 'abbreviated': [ + 'Gen.', 'Cʼhwe.', 'Meur.', 'Ebr.', 'Mae', 'Mezh.', 'Goue.', 'Eost', 'Gwen.', 'Here', + 'Du', 'Ker.' + ], + 'wide': [ + 'Genver', 'Cʼhwevrer', 'Meurzh', 'Ebrel', 'Mae', 'Mezheven', 'Gouere', 'Eost', + 'Gwengolo', 'Here', 'Du', 'Kerzu' + ] + } + }, + 'eras': { + 'abbreviated': ['a-raok J.K.', 'goude J.K.'], + 'narrow': ['a-raok J.K.', 'goude J.K.'], + 'wide': ['a-raok Jezuz-Krist', 'goude Jezuz-Krist'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'da\' {0}', + 'long': '{1} \'da\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + if (n % 10 === 1 && !(n % 100 === 11 || n % 100 === 71 || n % 100 === 91)) return Plural.One; + if (n % 10 === 2 && !(n % 100 === 12 || n % 100 === 72 || n % 100 === 92)) return Plural.Two; + if (n % 10 === Math.floor(n % 10) && (n % 10 >= 3 && n % 10 <= 4 || n % 10 === 9) && + !(n % 100 >= 10 && n % 100 <= 19 || n % 100 >= 70 && n % 100 <= 79 || + n % 100 >= 90 && n % 100 <= 99)) + return Plural.Few; + if (!(n === 0) && n % 1e6 === 0) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_brx.ts b/packages/core/src/i18n/data/locale_brx.ts new file mode 100644 index 00000000000000..d98cbf42deba88 --- /dev/null +++ b/packages/core/src/i18n/data/locale_brx.ts @@ -0,0 +1,144 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBrx: NgLocale = { + 'localeId': 'brx', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'फुं', 'pm': 'बेलासे'}, + 'narrow': {'am': 'फुं', 'pm': 'बेलासे'}, + 'wide': {'am': 'फुं', 'pm': 'बेलासे'} + }, + 'standalone': { + 'abbreviated': {'am': 'फुं', 'pm': 'बेलासे'}, + 'narrow': {'am': 'फुं', 'pm': 'बेलासे'}, + 'wide': {'am': 'फुं', 'pm': 'बेलासे'} + } + }, + 'days': { + 'format': { + 'narrow': ['र', 'स', 'मं', 'बु', 'बि', 'सु', 'सु'], + 'short': [ + 'रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', + 'सुनि' + ], + 'abbreviated': [ + 'रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', + 'सुनि' + ], + 'wide': [ + 'रबिबार', 'समबार', 'मंगलबार', 'बुदबार', + 'बिसथिबार', 'सुखुरबार', 'सुनिबार' + ] + }, + 'standalone': { + 'narrow': ['र', 'स', 'मं', 'बु', 'बि', 'सु', 'सु'], + 'short': [ + 'रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', + 'सुनि' + ], + 'abbreviated': [ + 'रबि', 'सम', 'मंगल', 'बुद', 'बिसथि', 'सुखुर', + 'सुनि' + ], + 'wide': [ + 'रबिबार', 'समबार', 'मंगलबार', 'बुदबार', + 'बिसथिबार', 'सुखुरबार', 'सुनिबार' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ज', 'फे', 'मा', 'ए', 'मे', 'जु', 'जु', 'आ', 'से', 'अ', + 'न', 'दि' + ], + 'abbreviated': [ + 'जानुवारी', 'फेब्रुवारी', 'मार्स', + 'एफ्रिल', 'मे', 'जुन', 'जुलाइ', 'आगस्थ', + 'सेबथेज्ब़र', 'अखथबर', 'नबेज्ब़र', + 'दिसेज्ब़र' + ], + 'wide': [ + 'जानुवारी', 'फेब्रुवारी', 'मार्स', + 'एफ्रिल', 'मे', 'जुन', 'जुलाइ', 'आगस्थ', + 'सेबथेज्ब़र', 'अखथबर', 'नबेज्ब़र', + 'दिसेज्ब़र' + ] + }, + 'standalone': { + 'narrow': [ + 'ज', 'फे', 'मा', 'ए', 'मे', 'जु', 'जु', 'आ', 'से', 'अ', + 'न', 'दि' + ], + 'abbreviated': [ + 'जानुवारी', 'फेब्रुवारी', 'मार्स', + 'एफ्रिल', 'मे', 'जुन', 'जुलाइ', 'आगस्थ', + 'सेबथेज्ब़र', 'अखथबर', 'नबेज्ब़र', + 'दिसेज्ब़र' + ], + 'wide': [ + 'जानुवारी', 'फेब्रुवारी', 'मार्स', + 'एफ्रिल', 'मे', 'जुन', 'जुलाइ', 'आगस्थ', + 'सेबथेज्ब़र', 'अखथबर', 'नबेज्ब़र', + 'दिसेज्ब़र' + ] + } + }, + 'eras': { + 'abbreviated': ['ईसा.पूर्व', 'सन'], + 'narrow': ['ईसा.पूर्व', 'सन'], + 'wide': ['ईसा.पूर्व', 'सन'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'रां'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_bs-Cyrl.ts b/packages/core/src/i18n/data/locale_bs-Cyrl.ts new file mode 100644 index 00000000000000..78183e22edad07 --- /dev/null +++ b/packages/core/src/i18n/data/locale_bs-Cyrl.ts @@ -0,0 +1,125 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBsCyrl: NgLocale = { + 'localeId': 'bs-Cyrl', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'пре подне', 'pm': 'поподне'}, + 'narrow': {'am': 'пре подне', 'pm': 'поподне'}, + 'wide': {'am': 'пре подне', 'pm': 'поподне'} + }, + 'standalone': { + 'abbreviated': {'am': 'пре подне', 'pm': 'поподне'}, + 'narrow': {'am': 'пре подне', 'pm': 'поподне'}, + 'wide': {'am': 'пре подне', 'pm': 'поподне'} + } + }, + 'days': { + 'format': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['нед', 'пон', 'уто', 'сри', 'чет', 'пет', 'суб'], + 'abbreviated': ['нед', 'пон', 'уто', 'сри', 'чет', 'пет', 'суб'], + 'wide': [ + 'недеља', 'понедељак', 'уторак', 'сриједа', + 'четвртак', 'петак', 'субота' + ] + }, + 'standalone': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['нед', 'пон', 'уто', 'сри', 'чет', 'пет', 'суб'], + 'abbreviated': ['нед', 'пон', 'уто', 'сри', 'чет', 'пет', 'суб'], + 'wide': [ + 'недеља', 'понедељак', 'уторак', 'сриједа', + 'четвртак', 'петак', 'субота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', + 'окт', 'нов', 'дец' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јуни', + 'јули', 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + }, + 'standalone': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', + 'окт', 'нов', 'дец' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јуни', + 'јули', 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + } + }, + 'eras': { + 'abbreviated': ['п. н. е.', 'н. е.'], + 'narrow': ['п.н.е.', 'н.е.'], + 'wide': ['Пре нове ере', 'Нове ере'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd. MMMM y.', + 'long': 'dd. MMMM y.', + 'medium': 'dd.MM.y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'КМ', 'name': 'Конвертибилна марка'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_bs-Latn.ts b/packages/core/src/i18n/data/locale_bs-Latn.ts new file mode 100644 index 00000000000000..00240043af97ee --- /dev/null +++ b/packages/core/src/i18n/data/locale_bs-Latn.ts @@ -0,0 +1,183 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBsLatn: NgLocale = { + 'localeId': 'bs-Latn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + } + } + }, + 'days': { + 'format': { + 'narrow': ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], + 'short': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'abbreviated': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'wide': ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + }, + 'standalone': { + 'narrow': ['n', 'p', 'u', 's', 'č', 'p', 's'], + 'short': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'abbreviated': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'wide': ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + }, + 'standalone': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + } + }, + 'eras': { + 'abbreviated': ['p. n. e.', 'n. e.'], + 'narrow': ['p. n. e.', 'n. e.'], + 'wide': ['prije nove ere', 'nove ere'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y.', + 'long': 'd. MMMM y.', + 'medium': 'd. MMM. y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'u\' {0}', + 'long': '{1} \'u\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'KM', 'name': 'Bosanskohercegovačka konvertibilna marka'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) + return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_bs.ts b/packages/core/src/i18n/data/locale_bs.ts new file mode 100644 index 00000000000000..7d5d787bb061e3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_bs.ts @@ -0,0 +1,183 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleBs: NgLocale = { + 'localeId': 'bs', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'prijepodne', + 'noon': 'podne', + 'pm': 'popodne', + 'morning1': 'ujutro', + 'afternoon1': 'poslijepodne', + 'evening1': 'navečer', + 'night1': 'po noći' + } + } + }, + 'days': { + 'format': { + 'narrow': ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], + 'short': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'abbreviated': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'wide': ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + }, + 'standalone': { + 'narrow': ['n', 'p', 'u', 's', 'č', 'p', 's'], + 'short': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'abbreviated': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'wide': ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + }, + 'standalone': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + } + }, + 'eras': { + 'abbreviated': ['p. n. e.', 'n. e.'], + 'narrow': ['p. n. e.', 'n. e.'], + 'wide': ['prije nove ere', 'nove ere'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y.', + 'long': 'd. MMMM y.', + 'medium': 'd. MMM. y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'u\' {0}', + 'long': '{1} \'u\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'KM', 'name': 'Bosanskohercegovačka konvertibilna marka'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) + return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ca-AD.ts b/packages/core/src/i18n/data/locale_ca-AD.ts new file mode 100644 index 00000000000000..14aab13f7b1c46 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ca-AD.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCaAD: NgLocale = { + 'localeId': 'ca-AD', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'narrow': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'mat.', + 'morning2': 'matí', + 'afternoon1': 'md', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'wide': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'narrow': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'wide': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], + 'short': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'abbreviated': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'wide': ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] + }, + 'standalone': { + 'narrow': ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], + 'short': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'abbreviated': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'wide': ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] + } + }, + 'months': { + 'format': { + 'narrow': ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + 'abbreviated': [ + 'de gen.', 'de febr.', 'de març', 'd’abr.', 'de maig', 'de juny', 'de jul.', 'd’ag.', + 'de set.', 'd’oct.', 'de nov.', 'de des.' + ], + 'wide': [ + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', + 'd’agost', 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + ] + }, + 'standalone': { + 'narrow': ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + 'abbreviated': [ + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', + 'des.' + ], + 'wide': [ + 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', + 'octubre', 'novembre', 'desembre' + ] + } + }, + 'eras': { + 'abbreviated': ['aC', 'dC'], + 'narrow': ['aC', 'dC'], + 'wide': ['abans de Crist', 'després de Crist'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM \'de\' y', + 'long': 'd MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': { + 'full': '{1} \'a\' \'les\' {0}', + 'long': '{1} \'a\' \'les\' {0}', + 'medium': '{1}, {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '24:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ca-ES-VALENCIA.ts b/packages/core/src/i18n/data/locale_ca-ES-VALENCIA.ts new file mode 100644 index 00000000000000..150da9f32ed8e1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ca-ES-VALENCIA.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCaESVALENCIA: NgLocale = { + 'localeId': 'ca-ES-VALENCIA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'narrow': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'mat.', + 'morning2': 'matí', + 'afternoon1': 'md', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'wide': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'narrow': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'wide': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], + 'short': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'abbreviated': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'wide': ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] + }, + 'standalone': { + 'narrow': ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], + 'short': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'abbreviated': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'wide': ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] + } + }, + 'months': { + 'format': { + 'narrow': ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + 'abbreviated': [ + 'de gen.', 'de febr.', 'de març', 'd’abr.', 'de maig', 'de juny', 'de jul.', 'd’ag.', + 'de set.', 'd’oct.', 'de nov.', 'de des.' + ], + 'wide': [ + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', + 'd’agost', 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + ] + }, + 'standalone': { + 'narrow': ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + 'abbreviated': [ + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', + 'des.' + ], + 'wide': [ + 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', + 'octubre', 'novembre', 'desembre' + ] + } + }, + 'eras': { + 'abbreviated': ['aC', 'dC'], + 'narrow': ['aC', 'dC'], + 'wide': ['abans de Crist', 'després de Crist'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM \'de\' y', + 'long': 'd MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': { + 'full': '{1} \'a\' \'les\' {0}', + 'long': '{1} \'a\' \'les\' {0}', + 'medium': '{1}, {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '24:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ca-FR.ts b/packages/core/src/i18n/data/locale_ca-FR.ts new file mode 100644 index 00000000000000..19fa42031b0eaa --- /dev/null +++ b/packages/core/src/i18n/data/locale_ca-FR.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCaFR: NgLocale = { + 'localeId': 'ca-FR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'narrow': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'mat.', + 'morning2': 'matí', + 'afternoon1': 'md', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'wide': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'narrow': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'wide': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], + 'short': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'abbreviated': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'wide': ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] + }, + 'standalone': { + 'narrow': ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], + 'short': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'abbreviated': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'wide': ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] + } + }, + 'months': { + 'format': { + 'narrow': ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + 'abbreviated': [ + 'de gen.', 'de febr.', 'de març', 'd’abr.', 'de maig', 'de juny', 'de jul.', 'd’ag.', + 'de set.', 'd’oct.', 'de nov.', 'de des.' + ], + 'wide': [ + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', + 'd’agost', 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + ] + }, + 'standalone': { + 'narrow': ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + 'abbreviated': [ + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', + 'des.' + ], + 'wide': [ + 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', + 'octubre', 'novembre', 'desembre' + ] + } + }, + 'eras': { + 'abbreviated': ['aC', 'dC'], + 'narrow': ['aC', 'dC'], + 'wide': ['abans de Crist', 'després de Crist'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM \'de\' y', + 'long': 'd MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': { + 'full': '{1} \'a\' \'les\' {0}', + 'long': '{1} \'a\' \'les\' {0}', + 'medium': '{1}, {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '24:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ca-IT.ts b/packages/core/src/i18n/data/locale_ca-IT.ts new file mode 100644 index 00000000000000..20a6962012866a --- /dev/null +++ b/packages/core/src/i18n/data/locale_ca-IT.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCaIT: NgLocale = { + 'localeId': 'ca-IT', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'narrow': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'mat.', + 'morning2': 'matí', + 'afternoon1': 'md', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'wide': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'narrow': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'wide': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], + 'short': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'abbreviated': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'wide': ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] + }, + 'standalone': { + 'narrow': ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], + 'short': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'abbreviated': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'wide': ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] + } + }, + 'months': { + 'format': { + 'narrow': ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + 'abbreviated': [ + 'de gen.', 'de febr.', 'de març', 'd’abr.', 'de maig', 'de juny', 'de jul.', 'd’ag.', + 'de set.', 'd’oct.', 'de nov.', 'de des.' + ], + 'wide': [ + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', + 'd’agost', 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + ] + }, + 'standalone': { + 'narrow': ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + 'abbreviated': [ + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', + 'des.' + ], + 'wide': [ + 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', + 'octubre', 'novembre', 'desembre' + ] + } + }, + 'eras': { + 'abbreviated': ['aC', 'dC'], + 'narrow': ['aC', 'dC'], + 'wide': ['abans de Crist', 'després de Crist'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM \'de\' y', + 'long': 'd MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': { + 'full': '{1} \'a\' \'les\' {0}', + 'long': '{1} \'a\' \'les\' {0}', + 'medium': '{1}, {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '24:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ca.ts b/packages/core/src/i18n/data/locale_ca.ts new file mode 100644 index 00000000000000..e7008b95bb90be --- /dev/null +++ b/packages/core/src/i18n/data/locale_ca.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCa: NgLocale = { + 'localeId': 'ca', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'narrow': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'mat.', + 'morning2': 'matí', + 'afternoon1': 'md', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'wide': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'narrow': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + }, + 'wide': { + 'midnight': 'mitjanit', + 'am': 'a. m.', + 'pm': 'p. m.', + 'morning1': 'matinada', + 'morning2': 'matí', + 'afternoon1': 'migdia', + 'afternoon2': 'tarda', + 'evening1': 'vespre', + 'night1': 'nit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], + 'short': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'abbreviated': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'wide': ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] + }, + 'standalone': { + 'narrow': ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], + 'short': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'abbreviated': ['dg.', 'dl.', 'dt.', 'dc.', 'dj.', 'dv.', 'ds.'], + 'wide': ['diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte'] + } + }, + 'months': { + 'format': { + 'narrow': ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + 'abbreviated': [ + 'de gen.', 'de febr.', 'de març', 'd’abr.', 'de maig', 'de juny', 'de jul.', 'd’ag.', + 'de set.', 'd’oct.', 'de nov.', 'de des.' + ], + 'wide': [ + 'de gener', 'de febrer', 'de març', 'd’abril', 'de maig', 'de juny', 'de juliol', + 'd’agost', 'de setembre', 'd’octubre', 'de novembre', 'de desembre' + ] + }, + 'standalone': { + 'narrow': ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'], + 'abbreviated': [ + 'gen.', 'febr.', 'març', 'abr.', 'maig', 'juny', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', + 'des.' + ], + 'wide': [ + 'gener', 'febrer', 'març', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', + 'octubre', 'novembre', 'desembre' + ] + } + }, + 'eras': { + 'abbreviated': ['aC', 'dC'], + 'narrow': ['aC', 'dC'], + 'wide': ['abans de Crist', 'després de Crist'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM \'de\' y', + 'long': 'd MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': { + 'full': '{1} \'a\' \'les\' {0}', + 'long': '{1} \'a\' \'les\' {0}', + 'medium': '{1}, {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '24:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ce.ts b/packages/core/src/i18n/data/locale_ce.ts new file mode 100644 index 00000000000000..a9e4331acd845f --- /dev/null +++ b/packages/core/src/i18n/data/locale_ce.ts @@ -0,0 +1,124 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCe: NgLocale = { + 'localeId': 'ce', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'кӀиранан де', 'оршотан де', 'шинарин де', + 'кхаарин де', 'еарин де', 'пӀераскан де', 'шот де' + ], + 'abbreviated': [ + 'кӀиранан де', 'оршотан де', 'шинарин де', + 'кхаарин де', 'еарин де', 'пӀераскан де', 'шот де' + ], + 'wide': [ + 'кӀиранан де', 'оршотан де', 'шинарин де', + 'кхаарин де', 'еарин де', 'пӀераскан де', 'шот де' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'кӀиранан де', 'оршотан де', 'шинарин де', + 'кхаарин де', 'еарин де', 'пӀераскан де', 'шот де' + ], + 'abbreviated': [ + 'кӀиранан де', 'оршотан де', 'шинарин де', + 'кхаарин де', 'еарин де', 'пӀераскан де', 'шот де' + ], + 'wide': [ + 'кӀиранан де', 'оршотан де', 'шинарин де', + 'кхаарин де', 'еарин де', 'пӀераскан де', 'шот де' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', + 'окт', 'ноя', 'дек' + ], + 'wide': [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', + 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', + 'декабрь' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', + 'окт', 'ноя', 'дек' + ], + 'wide': [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', + 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', + 'декабрь' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'Терхьаш дац', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₽', 'name': 'Российн сом'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_cgg.ts b/packages/core/src/i18n/data/locale_cgg.ts new file mode 100644 index 00000000000000..a0904c218b0261 --- /dev/null +++ b/packages/core/src/i18n/data/locale_cgg.ts @@ -0,0 +1,112 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCgg: NgLocale = { + 'localeId': 'cgg', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'K', 'R', 'S', 'N', 'T', 'M'], + 'short': ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], + 'abbreviated': ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], + 'wide': [ + 'Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', + 'Orwamukaaga' + ] + }, + 'standalone': { + 'narrow': ['S', 'K', 'R', 'S', 'N', 'T', 'M'], + 'short': ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], + 'abbreviated': ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], + 'wide': [ + 'Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', + 'Orwamukaaga' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['KBZ', 'KBR', 'KST', 'KKN', 'KTN', 'KMK', 'KMS', 'KMN', 'KMW', 'KKM', 'KNK', 'KNB'], + 'wide': [ + 'Okwokubanza', 'Okwakabiri', 'Okwakashatu', 'Okwakana', 'Okwakataana', 'Okwamukaaga', + 'Okwamushanju', 'Okwamunaana', 'Okwamwenda', 'Okwaikumi', 'Okwaikumi na kumwe', + 'Okwaikumi na ibiri' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['KBZ', 'KBR', 'KST', 'KKN', 'KTN', 'KMK', 'KMS', 'KMN', 'KMW', 'KKM', 'KNK', 'KNB'], + 'wide': [ + 'Okwokubanza', 'Okwakabiri', 'Okwakashatu', 'Okwakana', 'Okwakataana', 'Okwamukaaga', + 'Okwamushanju', 'Okwamunaana', 'Okwamwenda', 'Okwaikumi', 'Okwaikumi na kumwe', + 'Okwaikumi na ibiri' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['BC', 'AD'], + 'wide': ['Kurisito Atakaijire', 'Kurisito Yaijire'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'USh', 'name': 'Eshiringi ya Uganda'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_chr.ts b/packages/core/src/i18n/data/locale_chr.ts new file mode 100644 index 00000000000000..7d8fc6d7865261 --- /dev/null +++ b/packages/core/src/i18n/data/locale_chr.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleChr: NgLocale = { + 'localeId': 'chr', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ᏌᎾᎴ', + 'noon': 'ᎢᎦ', + 'pm': 'ᏒᎯᏱᎢᏗᏢ', + 'morning1': 'ᏌᎾᎴ', + 'afternoon1': 'ᏒᎯᏱᎢᏗᏢ' + }, + 'narrow': { + 'am': 'Ꮜ', + 'noon': 'Ꭲ', + 'pm': 'Ꮢ', + 'morning1': 'ᏌᎾᎴ', + 'afternoon1': 'ᏒᎯᏱᎢᏗᏢ' + }, + 'wide': { + 'am': 'ᏌᎾᎴ', + 'noon': 'ᎢᎦ', + 'pm': 'ᏒᎯᏱᎢᏗᏢ', + 'morning1': 'ᏌᎾᎴ', + 'afternoon1': 'ᏒᎯᏱᎢᏗᏢ' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ᏌᎾᎴ', + 'noon': 'ᎢᎦ', + 'pm': 'ᏒᎯᏱᎢᏗᏢ', + 'morning1': 'ᏌᎾᎴ', + 'afternoon1': 'ᏒᎯᏱᎢᏗᏢ' + }, + 'narrow': { + 'am': 'ᏌᎾᎴ', + 'noon': 'ᎢᎦ', + 'pm': 'ᏒᎯᏱᎢᏗᏢ', + 'morning1': 'ᏌᎾᎴ', + 'afternoon1': 'ᏒᎯᏱᎢᏗᏢ' + }, + 'wide': { + 'am': 'ᏌᎾᎴ', + 'noon': 'ᎢᎦ', + 'pm': 'ᏒᎯᏱᎢᏗᏢ', + 'morning1': 'ᏌᎾᎴ', + 'afternoon1': 'ᏒᎯᏱᎢᏗᏢ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Ꮖ', 'Ꮙ', 'Ꮤ', 'Ꮶ', 'Ꮕ', 'Ꮷ', 'Ꭴ'], + 'short': ['ᏍᎬ', 'ᏅᎯ', 'ᏔᎵ', 'ᏦᎢ', 'ᏅᎩ', 'ᏧᎾ', 'ᏕᎾ'], + 'abbreviated': [ + 'ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ' + ], + 'wide': [ + 'ᎤᎾᏙᏓᏆᏍᎬ', 'ᎤᎾᏙᏓᏉᏅᎯ', 'ᏔᎵᏁᎢᎦ', 'ᏦᎢᏁᎢᎦ', + 'ᏅᎩᏁᎢᎦ', 'ᏧᎾᎩᎶᏍᏗ', 'ᎤᎾᏙᏓᏈᏕᎾ' + ] + }, + 'standalone': { + 'narrow': ['Ꮖ', 'Ꮙ', 'Ꮤ', 'Ꮶ', 'Ꮕ', 'Ꮷ', 'Ꭴ'], + 'short': ['ᏍᎬ', 'ᏅᎯ', 'ᏔᎵ', 'ᏦᎢ', 'ᏅᎩ', 'ᏧᎾ', 'ᏕᎾ'], + 'abbreviated': [ + 'ᏆᏍᎬ', 'ᏉᏅᎯ', 'ᏔᎵᏁ', 'ᏦᎢᏁ', 'ᏅᎩᏁ', 'ᏧᎾᎩ', 'ᏈᏕᎾ' + ], + 'wide': [ + 'ᎤᎾᏙᏓᏆᏍᎬ', 'ᎤᎾᏙᏓᏉᏅᎯ', 'ᏔᎵᏁᎢᎦ', 'ᏦᎢᏁᎢᎦ', + 'ᏅᎩᏁᎢᎦ', 'ᏧᎾᎩᎶᏍᏗ', 'ᎤᎾᏙᏓᏈᏕᎾ' + ] + } + }, + 'months': { + 'format': { + 'narrow': + ['Ꭴ', 'Ꭷ', 'Ꭰ', 'Ꭷ', 'Ꭰ', 'Ꮥ', 'Ꭻ', 'Ꭶ', 'Ꮪ', 'Ꮪ', 'Ꮕ', 'Ꭵ'], + 'abbreviated': [ + 'ᎤᏃ', 'ᎧᎦ', 'ᎠᏅ', 'ᎧᏬ', 'ᎠᏂ', 'ᏕᎭ', 'ᎫᏰ', 'ᎦᎶ', 'ᏚᎵ', + 'ᏚᏂ', 'ᏅᏓ', 'ᎥᏍ' + ], + 'wide': [ + 'ᎤᏃᎸᏔᏅ', 'ᎧᎦᎵ', 'ᎠᏅᏱ', 'ᎧᏬᏂ', 'ᎠᏂᏍᎬᏘ', + 'ᏕᎭᎷᏱ', 'ᎫᏰᏉᏂ', 'ᎦᎶᏂ', 'ᏚᎵᏍᏗ', 'ᏚᏂᏅᏗ', + 'ᏅᏓᏕᏆ', 'ᎥᏍᎩᏱ' + ] + }, + 'standalone': { + 'narrow': + ['Ꭴ', 'Ꭷ', 'Ꭰ', 'Ꭷ', 'Ꭰ', 'Ꮥ', 'Ꭻ', 'Ꭶ', 'Ꮪ', 'Ꮪ', 'Ꮕ', 'Ꭵ'], + 'abbreviated': [ + 'ᎤᏃ', 'ᎧᎦ', 'ᎠᏅ', 'ᎧᏬ', 'ᎠᏂ', 'ᏕᎭ', 'ᎫᏰ', 'ᎦᎶ', 'ᏚᎵ', + 'ᏚᏂ', 'ᏅᏓ', 'ᎥᏍ' + ], + 'wide': [ + 'ᎤᏃᎸᏔᏅ', 'ᎧᎦᎵ', 'ᎠᏅᏱ', 'ᎧᏬᏂ', 'ᎠᏂᏍᎬᏘ', + 'ᏕᎭᎷᏱ', 'ᎫᏰᏉᏂ', 'ᎦᎶᏂ', 'ᏚᎵᏍᏗ', 'ᏚᏂᏅᏗ', + 'ᏅᏓᏕᏆ', 'ᎥᏍᎩᏱ' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['BC', 'AD'], + 'wide': ['ᏧᏓᎷᎸ ᎤᎷᎯᏍᏗ ᎦᎶᏁᏛ', 'ᎠᏃ ᏙᎻᏂ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} ᎤᎾᎢ {0}', + 'long': '{1} ᎤᎾᎢ {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '24:00'}, + 'morning1': {'from': '00:00', 'to': '12:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'US ᎠᏕᎳ'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ckb-IR.ts b/packages/core/src/i18n/data/locale_ckb-IR.ts new file mode 100644 index 00000000000000..3425a613f27431 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ckb-IR.ts @@ -0,0 +1,128 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCkbIR: NgLocale = { + 'localeId': 'ckb-IR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ب.ن', 'pm': 'د.ن'}, + 'narrow': {'am': 'ب.ن', 'pm': 'د.ن'}, + 'wide': {'am': 'ب.ن', 'pm': 'د.ن'} + }, + 'standalone': { + 'abbreviated': {'am': 'ب.ن', 'pm': 'د.ن'}, + 'narrow': {'am': 'ب.ن', 'pm': 'د.ن'}, + 'wide': {'am': 'ب.ن', 'pm': 'د.ن'} + } + }, + 'days': { + 'format': { + 'narrow': ['ی', 'د', 'س', 'چ', 'پ', 'ھ', 'ش'], + 'short': ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'], + 'abbreviated': [ + 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', + 'پێنجشەممە', 'ھەینی', 'شەممە' + ], + 'wide': [ + 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', + 'پێنجشەممە', 'ھەینی', 'شەممە' + ] + }, + 'standalone': { + 'narrow': ['ی', 'د', 'س', 'چ', 'پ', 'ھ', 'ش'], + 'short': ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'], + 'abbreviated': [ + 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', + 'پێنجشەممە', 'ھەینی', 'شەممە' + ], + 'wide': [ + 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', + 'پێنجشەممە', 'ھەینی', 'شەممە' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ک', 'ش', 'ئ', 'ن', 'ئ', 'ح', 'ت', 'ئ', 'ئ', 'ت', 'ت', 'ک'], + 'abbreviated': [ + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', + 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', + 'تشرینی دووەم', 'کانونی یەکەم' + ], + 'wide': [ + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', + 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', + 'تشرینی دووەم', 'کانونی یەکەم' + ] + }, + 'standalone': { + 'narrow': ['ک', 'ش', 'ئ', 'ن', 'ئ', 'ح', 'ت', 'ئ', 'ئ', 'ت', 'ت', 'ک'], + 'abbreviated': [ + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', + 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', + 'تشرینی دووەم', 'کانونی یەکەم' + ], + 'wide': [ + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', + 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', + 'تشرینی دووەم', 'کانونی یەکەم' + ] + } + }, + 'eras': { + 'abbreviated': ['پێش زایین', 'زایینی'], + 'narrow': ['پێش زایین', 'زایینی'], + 'wide': ['پێش زایین', 'زایینی'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 5], + 'formats': { + 'date': { + 'full': 'y MMMM d, EEEE', + 'long': 'dی MMMMی y', + 'medium': 'y MMM d', + 'short': 'y-MM-dd' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '‎+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'IRR', 'name': 'IRR'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ckb.ts b/packages/core/src/i18n/data/locale_ckb.ts new file mode 100644 index 00000000000000..b5ddef8dbaf0a1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ckb.ts @@ -0,0 +1,132 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCkb: NgLocale = { + 'localeId': 'ckb', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ب.ن', 'pm': 'د.ن'}, + 'narrow': {'am': 'ب.ن', 'pm': 'د.ن'}, + 'wide': {'am': 'ب.ن', 'pm': 'د.ن'} + }, + 'standalone': { + 'abbreviated': {'am': 'ب.ن', 'pm': 'د.ن'}, + 'narrow': {'am': 'ب.ن', 'pm': 'د.ن'}, + 'wide': {'am': 'ب.ن', 'pm': 'د.ن'} + } + }, + 'days': { + 'format': { + 'narrow': ['ی', 'د', 'س', 'چ', 'پ', 'ھ', 'ش'], + 'short': ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'], + 'abbreviated': [ + 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', + 'پێنجشەممە', 'ھەینی', 'شەممە' + ], + 'wide': [ + 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', + 'پێنجشەممە', 'ھەینی', 'شەممە' + ] + }, + 'standalone': { + 'narrow': ['ی', 'د', 'س', 'چ', 'پ', 'ھ', 'ش'], + 'short': ['١ش', '٢ش', '٣ش', '٤ش', '٥ش', 'ھ', 'ش'], + 'abbreviated': [ + 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', + 'پێنجشەممە', 'ھەینی', 'شەممە' + ], + 'wide': [ + 'یەکشەممە', 'دووشەممە', 'سێشەممە', 'چوارشەممە', + 'پێنجشەممە', 'ھەینی', 'شەممە' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ک', 'ش', 'ئ', 'ن', 'ئ', 'ح', 'ت', 'ئ', 'ئ', 'ت', 'ت', 'ک'], + 'abbreviated': [ + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', + 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', + 'تشرینی دووەم', 'کانونی یەکەم' + ], + 'wide': [ + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', + 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', + 'تشرینی دووەم', 'کانونی یەکەم' + ] + }, + 'standalone': { + 'narrow': ['ک', 'ش', 'ئ', 'ن', 'ئ', 'ح', 'ت', 'ئ', 'ئ', 'ت', 'ت', 'ک'], + 'abbreviated': [ + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', + 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', + 'تشرینی دووەم', 'کانونی یەکەم' + ], + 'wide': [ + 'کانوونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', + 'حوزەیران', 'تەمووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', + 'تشرینی دووەم', 'کانونی یەکەم' + ] + } + }, + 'eras': { + 'abbreviated': ['پێش زایین', 'زایینی'], + 'narrow': ['پێش زایین', 'زایینی'], + 'wide': ['پێش زایین', 'زایینی'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'y MMMM d, EEEE', + 'long': 'dی MMMMی y', + 'medium': 'y MMM d', + 'short': 'y-MM-dd' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '‎+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'IQD', 'name': 'IQD'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_cs.ts b/packages/core/src/i18n/data/locale_cs.ts new file mode 100644 index 00000000000000..8d8c03c85326b4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_cs.ts @@ -0,0 +1,179 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCs: NgLocale = { + 'localeId': 'cs', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'půln.', + 'am': 'dop.', + 'noon': 'pol.', + 'pm': 'odp.', + 'morning1': 'r.', + 'morning2': 'dop.', + 'afternoon1': 'odp.', + 'evening1': 'več.', + 'night1': 'v n.' + }, + 'narrow': { + 'midnight': 'půl.', + 'am': 'dop.', + 'noon': 'pol.', + 'pm': 'odp.', + 'morning1': 'r.', + 'morning2': 'd.', + 'afternoon1': 'o.', + 'evening1': 'v.', + 'night1': 'n.' + }, + 'wide': { + 'midnight': 'půlnoc', + 'am': 'dop.', + 'noon': 'poledne', + 'pm': 'odp.', + 'morning1': 'ráno', + 'morning2': 'dopoledne', + 'afternoon1': 'odpoledne', + 'evening1': 'večer', + 'night1': 'v noci' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'půlnoc', + 'am': 'dop.', + 'noon': 'poledne', + 'pm': 'odp.', + 'morning1': 'ráno', + 'morning2': 'dopoledne', + 'afternoon1': 'odpoledne', + 'evening1': 'večer', + 'night1': 'noc' + }, + 'narrow': { + 'midnight': 'půl.', + 'am': 'dop.', + 'noon': 'pol.', + 'pm': 'odp.', + 'morning1': 'ráno', + 'morning2': 'dop.', + 'afternoon1': 'odp.', + 'evening1': 'več.', + 'night1': 'noc' + }, + 'wide': { + 'midnight': 'půlnoc', + 'am': 'dop.', + 'noon': 'poledne', + 'pm': 'odp.', + 'morning1': 'ráno', + 'morning2': 'dopoledne', + 'afternoon1': 'odpoledne', + 'evening1': 'večer', + 'night1': 'noc' + } + } + }, + 'days': { + 'format': { + 'narrow': ['N', 'P', 'Ú', 'S', 'Č', 'P', 'S'], + 'short': ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], + 'abbreviated': ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], + 'wide': ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'] + }, + 'standalone': { + 'narrow': ['N', 'P', 'Ú', 'S', 'Č', 'P', 'S'], + 'short': ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], + 'abbreviated': ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], + 'wide': ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', + 'pro' + ], + 'wide': [ + 'ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', 'srpna', + 'září', 'října', 'listopadu', 'prosince' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', + 'pro' + ], + 'wide': [ + 'leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', + 'září', 'říjen', 'listopad', 'prosinec' + ] + } + }, + 'eras': { + 'abbreviated': ['př. n. l.', 'n. l.'], + 'narrow': ['př.n.l.', 'n.l.'], + 'wide': ['př. n. l.', 'n. l.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d. MMMM y', 'long': 'd. MMMM y', 'medium': 'd. M. y', 'short': 'dd.MM.yy'}, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '09:00'}, + 'morning2': {'from': '09:00', 'to': '12:00'}, + 'night1': {'from': '22:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Kč', 'name': 'česká koruna'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0) return Plural.Few; + if (!(v === 0)) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_cu.ts b/packages/core/src/i18n/data/locale_cu.ts new file mode 100644 index 00000000000000..e632016c830bb8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_cu.ts @@ -0,0 +1,93 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCu: NgLocale = { + 'localeId': 'cu', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₽', 'name': 'RUB'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_cy.ts b/packages/core/src/i18n/data/locale_cy.ts new file mode 100644 index 00000000000000..9f6643cfa2981b --- /dev/null +++ b/packages/core/src/i18n/data/locale_cy.ts @@ -0,0 +1,119 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleCy: NgLocale = { + 'localeId': 'cy', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'yb', 'pm': 'yh'}, + 'narrow': {'am': 'b', 'pm': 'h'}, + 'wide': {'am': 'yb', 'pm': 'yh'} + }, + 'standalone': { + 'abbreviated': {'am': 'yb', 'pm': 'yh'}, + 'narrow': {'am': 'yb', 'pm': 'yh'}, + 'wide': {'am': 'yb', 'pm': 'yh'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'Ll', 'M', 'M', 'I', 'G', 'S'], + 'short': ['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa'], + 'abbreviated': ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwen', 'Sad'], + 'wide': [ + 'Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', + 'Dydd Sadwrn' + ] + }, + 'standalone': { + 'narrow': ['S', 'Ll', 'M', 'M', 'I', 'G', 'S'], + 'short': ['Su', 'Ll', 'Ma', 'Me', 'Ia', 'Gw', 'Sa'], + 'abbreviated': ['Sul', 'Llun', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'], + 'wide': [ + 'Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', + 'Dydd Sadwrn' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['I', 'Ch', 'M', 'E', 'M', 'M', 'G', 'A', 'M', 'H', 'T', 'Rh'], + 'abbreviated': [ + 'Ion', 'Chwef', 'Maw', 'Ebrill', 'Mai', 'Meh', 'Gorff', 'Awst', 'Medi', 'Hyd', 'Tach', + 'Rhag' + ], + 'wide': [ + 'Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', + 'Hydref', 'Tachwedd', 'Rhagfyr' + ] + }, + 'standalone': { + 'narrow': ['I', 'Ch', 'M', 'E', 'M', 'M', 'G', 'A', 'M', 'H', 'T', 'Rh'], + 'abbreviated': [ + 'Ion', 'Chw', 'Maw', 'Ebr', 'Mai', 'Meh', 'Gor', 'Awst', 'Medi', 'Hyd', 'Tach', 'Rhag' + ], + 'wide': [ + 'Ionawr', 'Chwefror', 'Mawrth', 'Ebrill', 'Mai', 'Mehefin', 'Gorffennaf', 'Awst', 'Medi', + 'Hydref', 'Tachwedd', 'Rhagfyr' + ] + } + }, + 'eras': + {'abbreviated': ['CC', 'OC'], 'narrow': ['C', 'O'], 'wide': ['Cyn Crist', 'Oed Crist']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'am\' {0}', + 'long': '{1} \'am\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'Punt Prydain'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n === 3) return Plural.Few; + if (n === 6) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_da-GL.ts b/packages/core/src/i18n/data/locale_da-GL.ts new file mode 100644 index 00000000000000..3a04fd6ddea9ac --- /dev/null +++ b/packages/core/src/i18n/data/locale_da-GL.ts @@ -0,0 +1,182 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDaGL: NgLocale = { + 'localeId': 'da-GL', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnat', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'om morgenen', + 'morning2': 'om formiddagen', + 'afternoon1': 'om eftermiddagen', + 'evening1': 'om aftenen', + 'night1': 'om natten' + }, + 'narrow': { + 'midnight': 'midnat', + 'am': 'a', + 'pm': 'p', + 'morning1': 'om morgenen', + 'morning2': 'om formiddagen', + 'afternoon1': 'om eftermiddagen', + 'evening1': 'om aftenen', + 'night1': 'om natten' + }, + 'wide': { + 'midnight': 'midnat', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'om morgenen', + 'morning2': 'om formiddagen', + 'afternoon1': 'om eftermiddagen', + 'evening1': 'om aftenen', + 'night1': 'om natten' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnat', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'morgen', + 'morning2': 'formiddag', + 'afternoon1': 'eftermiddag', + 'evening1': 'aften', + 'night1': 'nat' + }, + 'narrow': { + 'midnight': 'midnat', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'morgen', + 'morning2': 'formiddag', + 'afternoon1': 'eftermiddag', + 'evening1': 'aften', + 'night1': 'nat' + }, + 'wide': { + 'midnight': 'midnat', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'morgen', + 'morning2': 'formiddag', + 'afternoon1': 'eftermiddag', + 'evening1': 'aften', + 'night1': 'nat' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'], + 'abbreviated': ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + 'wide': ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'], + 'abbreviated': ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'], + 'wide': ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': + {'abbreviated': ['f.Kr.', 'e.Kr.'], 'narrow': ['fKr', 'eKr'], 'wide': ['f.Kr.', 'e.Kr.']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE \'den\' d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'd. MMM y', + 'short': 'dd/MM/y' + }, + 'time': { + 'full': 'h.mm.ss a zzzz', + 'long': 'h.mm.ss a z', + 'medium': 'h.mm.ss a', + 'short': 'h.mm a' + }, + 'dateTime': { + 'full': '{1} \'kl\'. {0}', + 'long': '{1} \'kl\'. {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': '.' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr.', 'name': 'dansk krone'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), + t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0; + if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_da.ts b/packages/core/src/i18n/data/locale_da.ts new file mode 100644 index 00000000000000..95158d26807edd --- /dev/null +++ b/packages/core/src/i18n/data/locale_da.ts @@ -0,0 +1,178 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDa: NgLocale = { + 'localeId': 'da', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnat', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'om morgenen', + 'morning2': 'om formiddagen', + 'afternoon1': 'om eftermiddagen', + 'evening1': 'om aftenen', + 'night1': 'om natten' + }, + 'narrow': { + 'midnight': 'midnat', + 'am': 'a', + 'pm': 'p', + 'morning1': 'om morgenen', + 'morning2': 'om formiddagen', + 'afternoon1': 'om eftermiddagen', + 'evening1': 'om aftenen', + 'night1': 'om natten' + }, + 'wide': { + 'midnight': 'midnat', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'om morgenen', + 'morning2': 'om formiddagen', + 'afternoon1': 'om eftermiddagen', + 'evening1': 'om aftenen', + 'night1': 'om natten' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnat', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'morgen', + 'morning2': 'formiddag', + 'afternoon1': 'eftermiddag', + 'evening1': 'aften', + 'night1': 'nat' + }, + 'narrow': { + 'midnight': 'midnat', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'morgen', + 'morning2': 'formiddag', + 'afternoon1': 'eftermiddag', + 'evening1': 'aften', + 'night1': 'nat' + }, + 'wide': { + 'midnight': 'midnat', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'morgen', + 'morning2': 'formiddag', + 'afternoon1': 'eftermiddag', + 'evening1': 'aften', + 'night1': 'nat' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'], + 'abbreviated': ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + 'wide': ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'], + 'abbreviated': ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'], + 'wide': ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': + {'abbreviated': ['f.Kr.', 'e.Kr.'], 'narrow': ['fKr', 'eKr'], 'wide': ['f.Kr.', 'e.Kr.']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE \'den\' d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'd. MMM y', + 'short': 'dd/MM/y' + }, + 'time': + {'full': 'HH.mm.ss zzzz', 'long': 'HH.mm.ss z', 'medium': 'HH.mm.ss', 'short': 'HH.mm'}, + 'dateTime': { + 'full': '{1} \'kl\'. {0}', + 'long': '{1} \'kl\'. {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': '.' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr.', 'name': 'dansk krone'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), + t = parseInt(n.toString().replace(/^[^.]*\.?|0+$/g, ''), 10) || 0; + if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_dav.ts b/packages/core/src/i18n/data/locale_dav.ts new file mode 100644 index 00000000000000..a3c1aaa7935d42 --- /dev/null +++ b/packages/core/src/i18n/data/locale_dav.ts @@ -0,0 +1,111 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDav: NgLocale = { + 'localeId': 'dav', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Luma lwa K', 'pm': 'luma lwa p'}, + 'narrow': {'am': 'Luma lwa K', 'pm': 'luma lwa p'}, + 'wide': {'am': 'Luma lwa K', 'pm': 'luma lwa p'} + }, + 'standalone': { + 'abbreviated': {'am': 'Luma lwa K', 'pm': 'luma lwa p'}, + 'narrow': {'am': 'Luma lwa K', 'pm': 'luma lwa p'}, + 'wide': {'am': 'Luma lwa K', 'pm': 'luma lwa p'} + } + }, + 'days': { + 'format': { + 'narrow': ['J', 'J', 'K', 'K', 'K', 'K', 'N'], + 'short': ['Jum', 'Jim', 'Kaw', 'Kad', 'Kan', 'Kas', 'Ngu'], + 'abbreviated': ['Jum', 'Jim', 'Kaw', 'Kad', 'Kan', 'Kas', 'Ngu'], + 'wide': [ + 'Ituku ja jumwa', 'Kuramuka jimweri', 'Kuramuka kawi', 'Kuramuka kadadu', 'Kuramuka kana', + 'Kuramuka kasanu', 'Kifula nguwo' + ] + }, + 'standalone': { + 'narrow': ['J', 'J', 'K', 'K', 'K', 'K', 'N'], + 'short': ['Jum', 'Jim', 'Kaw', 'Kad', 'Kan', 'Kas', 'Ngu'], + 'abbreviated': ['Jum', 'Jim', 'Kaw', 'Kad', 'Kan', 'Kas', 'Ngu'], + 'wide': [ + 'Ituku ja jumwa', 'Kuramuka jimweri', 'Kuramuka kawi', 'Kuramuka kadadu', 'Kuramuka kana', + 'Kuramuka kasanu', 'Kifula nguwo' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['I', 'K', 'K', 'K', 'K', 'K', 'M', 'W', 'I', 'I', 'I', 'I'], + 'abbreviated': + ['Imb', 'Kaw', 'Kad', 'Kan', 'Kas', 'Kar', 'Mfu', 'Wun', 'Ike', 'Iku', 'Imw', 'Iwi'], + 'wide': [ + 'Mori ghwa imbiri', 'Mori ghwa kawi', 'Mori ghwa kadadu', 'Mori ghwa kana', + 'Mori ghwa kasanu', 'Mori ghwa karandadu', 'Mori ghwa mfungade', 'Mori ghwa wunyanya', + 'Mori ghwa ikenda', 'Mori ghwa ikumi', 'Mori ghwa ikumi na imweri', + 'Mori ghwa ikumi na iwi' + ] + }, + 'standalone': { + 'narrow': ['I', 'K', 'K', 'K', 'K', 'K', 'M', 'W', 'I', 'I', 'I', 'I'], + 'abbreviated': + ['Imb', 'Kaw', 'Kad', 'Kan', 'Kas', 'Kar', 'Mfu', 'Wun', 'Ike', 'Iku', 'Imw', 'Iwi'], + 'wide': [ + 'Mori ghwa imbiri', 'Mori ghwa kawi', 'Mori ghwa kadadu', 'Mori ghwa kana', + 'Mori ghwa kasanu', 'Mori ghwa karandadu', 'Mori ghwa mfungade', 'Mori ghwa wunyanya', + 'Mori ghwa ikenda', 'Mori ghwa ikumi', 'Mori ghwa ikumi na imweri', + 'Mori ghwa ikumi na iwi' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Kristo', 'Baada ya Kristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Shilingi ya Kenya'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_de-AT.ts b/packages/core/src/i18n/data/locale_de-AT.ts new file mode 100644 index 00000000000000..89e52f355beaf9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_de-AT.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDeAT: NgLocale = { + 'localeId': 'de-AT', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Dez.' + ], + 'wide': [ + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['v. Chr.', 'n. Chr.'], + 'wide': ['v. Chr.', 'n. Chr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'um\' {0}', + 'long': '{1} \'um\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':', + 'currencyGroup': '.' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_de-BE.ts b/packages/core/src/i18n/data/locale_de-BE.ts new file mode 100644 index 00000000000000..d6d94d2e72248e --- /dev/null +++ b/packages/core/src/i18n/data/locale_de-BE.ts @@ -0,0 +1,185 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDeBE: NgLocale = { + 'localeId': 'de-BE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Dez.' + ], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['v. Chr.', 'n. Chr.'], + 'wide': ['v. Chr.', 'n. Chr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'um\' {0}', + 'long': '{1} \'um\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_de-CH.ts b/packages/core/src/i18n/data/locale_de-CH.ts new file mode 100644 index 00000000000000..b5cd7a63555ba4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_de-CH.ts @@ -0,0 +1,185 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDeCH: NgLocale = { + 'localeId': 'de-CH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Dez.' + ], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['v. Chr.', 'n. Chr.'], + 'wide': ['v. Chr.', 'n. Chr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'um\' {0}', + 'long': '{1} \'um\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': '’', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤-#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CHF', 'name': 'Schweizer Franken'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_de-IT.ts b/packages/core/src/i18n/data/locale_de-IT.ts new file mode 100644 index 00000000000000..8524a13a85f8c5 --- /dev/null +++ b/packages/core/src/i18n/data/locale_de-IT.ts @@ -0,0 +1,185 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDeIT: NgLocale = { + 'localeId': 'de-IT', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Dez.' + ], + 'wide': [ + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['v. Chr.', 'n. Chr.'], + 'wide': ['v. Chr.', 'n. Chr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'um\' {0}', + 'long': '{1} \'um\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_de-LI.ts b/packages/core/src/i18n/data/locale_de-LI.ts new file mode 100644 index 00000000000000..be99c884f3a92b --- /dev/null +++ b/packages/core/src/i18n/data/locale_de-LI.ts @@ -0,0 +1,185 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDeLI: NgLocale = { + 'localeId': 'de-LI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Dez.' + ], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['v. Chr.', 'n. Chr.'], + 'wide': ['v. Chr.', 'n. Chr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'um\' {0}', + 'long': '{1} \'um\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': '’', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CHF', 'name': 'Schweizer Franken'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_de-LU.ts b/packages/core/src/i18n/data/locale_de-LU.ts new file mode 100644 index 00000000000000..8e59b5a76bb449 --- /dev/null +++ b/packages/core/src/i18n/data/locale_de-LU.ts @@ -0,0 +1,185 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDeLU: NgLocale = { + 'localeId': 'de-LU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Dez.' + ], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['v. Chr.', 'n. Chr.'], + 'wide': ['v. Chr.', 'n. Chr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'um\' {0}', + 'long': '{1} \'um\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_de.ts b/packages/core/src/i18n/data/locale_de.ts new file mode 100644 index 00000000000000..ab06e1b8d91f29 --- /dev/null +++ b/packages/core/src/i18n/data/locale_de.ts @@ -0,0 +1,185 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDe: NgLocale = { + 'localeId': 'de', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vm.', + 'pm': 'nm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'morgens', + 'morning2': 'vormittags', + 'afternoon1': 'mittags', + 'afternoon2': 'nachmittags', + 'evening1': 'abends', + 'night1': 'nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nachm.', + 'morning1': 'Morgen', + 'morning2': 'Vormittag', + 'afternoon1': 'Mittag', + 'afternoon2': 'Nachmittag', + 'evening1': 'Abend', + 'night1': 'Nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + 'wide': ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Dez.' + ], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['v. Chr.', 'n. Chr.'], + 'wide': ['v. Chr.', 'n. Chr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'um\' {0}', + 'long': '{1} \'um\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_dje.ts b/packages/core/src/i18n/data/locale_dje.ts new file mode 100644 index 00000000000000..e285a782564e63 --- /dev/null +++ b/packages/core/src/i18n/data/locale_dje.ts @@ -0,0 +1,100 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDje: NgLocale = { + 'localeId': 'dje', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Subbaahi', 'pm': 'Zaarikay b'}, + 'narrow': {'am': 'Subbaahi', 'pm': 'Zaarikay b'}, + 'wide': {'am': 'Subbaahi', 'pm': 'Zaarikay b'} + }, + 'standalone': { + 'abbreviated': {'am': 'Subbaahi', 'pm': 'Zaarikay b'}, + 'narrow': {'am': 'Subbaahi', 'pm': 'Zaarikay b'}, + 'wide': {'am': 'Subbaahi', 'pm': 'Zaarikay b'} + } + }, + 'days': { + 'format': { + 'narrow': ['H', 'T', 'T', 'L', 'M', 'Z', 'S'], + 'short': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'abbreviated': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'wide': ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamisi', 'Alzuma', 'Asibti'] + }, + 'standalone': { + 'narrow': ['H', 'T', 'T', 'L', 'M', 'Z', 'S'], + 'short': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'abbreviated': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'wide': ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamisi', 'Alzuma', 'Asibti'] + } + }, + 'months': { + 'format': { + 'narrow': ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], + 'wide': [ + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + }, + 'standalone': { + 'narrow': ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], + 'wide': [ + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + } + }, + 'eras': { + 'abbreviated': ['IJ', 'IZ'], + 'narrow': ['IJ', 'IZ'], + 'wide': ['Isaa jine', 'Isaa zamanoo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'CFA Fraŋ (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_dsb.ts b/packages/core/src/i18n/data/locale_dsb.ts new file mode 100644 index 00000000000000..0dbd5c83504093 --- /dev/null +++ b/packages/core/src/i18n/data/locale_dsb.ts @@ -0,0 +1,111 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDsb: NgLocale = { + 'localeId': 'dsb', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'dopołdnja', 'pm': 'wótpołdnja'}, + 'narrow': {'am': 'dop.', 'pm': 'wótp.'}, + 'wide': {'am': 'dopołdnja', 'pm': 'wótpołdnja'} + }, + 'standalone': { + 'abbreviated': {'am': 'dopołdnja', 'pm': 'wótpołdnja'}, + 'narrow': {'am': 'dopołdnja', 'pm': 'wótpołdnja'}, + 'wide': {'am': 'dopołdnja', 'pm': 'wótpołdnja'} + } + }, + 'days': { + 'format': { + 'narrow': ['n', 'p', 'w', 's', 's', 'p', 's'], + 'short': ['nj', 'pó', 'wa', 'sr', 'st', 'pě', 'so'], + 'abbreviated': ['nje', 'pón', 'wał', 'srj', 'stw', 'pět', 'sob'], + 'wide': ['njeźela', 'pónjeźele', 'wałtora', 'srjoda', 'stwórtk', 'pětk', 'sobota'] + }, + 'standalone': { + 'narrow': ['n', 'p', 'w', 's', 's', 'p', 's'], + 'short': ['nj', 'pó', 'wa', 'sr', 'st', 'pě', 'so'], + 'abbreviated': ['nje', 'pón', 'wał', 'srj', 'stw', 'pět', 'sob'], + 'wide': ['njeźela', 'pónjeźele', 'wałtora', 'srjoda', 'stwórtk', 'pětk', 'sobota'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'jan.', 'feb.', 'měr.', 'apr.', 'maj.', 'jun.', 'jul.', 'awg.', 'sep.', 'okt.', 'now.', + 'dec.' + ], + 'wide': [ + 'januara', 'februara', 'měrca', 'apryla', 'maja', 'junija', 'julija', 'awgusta', + 'septembra', 'oktobra', 'nowembra', 'decembra' + ] + }, + 'standalone': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': + ['jan', 'feb', 'měr', 'apr', 'maj', 'jun', 'jul', 'awg', 'sep', 'okt', 'now', 'dec'], + 'wide': [ + 'januar', 'februar', 'měrc', 'apryl', 'maj', 'junij', 'julij', 'awgust', 'september', + 'oktober', 'nowember', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['pś.Chr.n.', 'pó Chr.n.'], + 'narrow': ['pś.Chr.n.', 'pó Chr.n.'], + 'wide': ['pśed Kristusowym naroźenim', 'pó Kristusowem naroźenju'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d. MMMM y', 'long': 'd. MMMM y', 'medium': 'd.M.y', 'short': 'd.M.yy'}, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 100 === 1 || f % 100 === 1) return Plural.One; + if (v === 0 && i % 100 === 2 || f % 100 === 2) return Plural.Two; + if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || + f % 100 === Math.floor(f % 100) && f % 100 >= 3 && f % 100 <= 4) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_dua.ts b/packages/core/src/i18n/data/locale_dua.ts new file mode 100644 index 00000000000000..f96cc3284d27fa --- /dev/null +++ b/packages/core/src/i18n/data/locale_dua.ts @@ -0,0 +1,105 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDua: NgLocale = { + 'localeId': 'dua', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'idiɓa', 'pm': 'ebyámu'}, + 'narrow': {'am': 'idiɓa', 'pm': 'ebyámu'}, + 'wide': {'am': 'idiɓa', 'pm': 'ebyámu'} + }, + 'standalone': { + 'abbreviated': {'am': 'idiɓa', 'pm': 'ebyámu'}, + 'narrow': {'am': 'idiɓa', 'pm': 'ebyámu'}, + 'wide': {'am': 'idiɓa', 'pm': 'ebyámu'} + } + }, + 'days': { + 'format': { + 'narrow': ['e', 'm', 'k', 'm', 'ŋ', 'ɗ', 'e'], + 'short': ['ét', 'mɔ́s', 'kwa', 'muk', 'ŋgi', 'ɗón', 'esa'], + 'abbreviated': ['ét', 'mɔ́s', 'kwa', 'muk', 'ŋgi', 'ɗón', 'esa'], + 'wide': ['éti', 'mɔ́sú', 'kwasú', 'mukɔ́sú', 'ŋgisú', 'ɗónɛsú', 'esaɓasú'] + }, + 'standalone': { + 'narrow': ['e', 'm', 'k', 'm', 'ŋ', 'ɗ', 'e'], + 'short': ['ét', 'mɔ́s', 'kwa', 'muk', 'ŋgi', 'ɗón', 'esa'], + 'abbreviated': ['ét', 'mɔ́s', 'kwa', 'muk', 'ŋgi', 'ɗón', 'esa'], + 'wide': + ['éti', 'mɔ́sú', 'kwasú', 'mukɔ́sú', 'ŋgisú', 'ɗónɛsú', 'esaɓasú'] + } + }, + 'months': { + 'format': { + 'narrow': ['d', 'ŋ', 's', 'd', 'e', 'e', 'm', 'd', 'n', 'm', 't', 'e'], + 'abbreviated': [ + 'di', 'ŋgɔn', 'sɔŋ', 'diɓ', 'emi', 'esɔ', 'mad', 'diŋ', 'nyɛt', 'may', 'tin', + 'elá' + ], + 'wide': [ + 'dimɔ́di', 'ŋgɔndɛ', 'sɔŋɛ', 'diɓáɓá', 'emiasele', 'esɔpɛsɔpɛ', + 'madiɓɛ́díɓɛ́', 'diŋgindi', 'nyɛtɛki', 'mayésɛ́', 'tiníní', 'eláŋgɛ́' + ] + }, + 'standalone': { + 'narrow': ['d', 'ŋ', 's', 'd', 'e', 'e', 'm', 'd', 'n', 'm', 't', 'e'], + 'abbreviated': [ + 'di', 'ŋgɔn', 'sɔŋ', 'diɓ', 'emi', 'esɔ', 'mad', 'diŋ', 'nyɛt', 'may', 'tin', + 'elá' + ], + 'wide': [ + 'dimɔ́di', 'ŋgɔndɛ', 'sɔŋɛ', 'diɓáɓá', 'emiasele', 'esɔpɛsɔpɛ', + 'madiɓɛ́díɓɛ́', 'diŋgindi', 'nyɛtɛki', 'mayésɛ́', 'tiníní', 'eláŋgɛ́' + ] + } + }, + 'eras': { + 'abbreviated': ['ɓ.Ys', 'mb.Ys'], + 'narrow': ['ɓ.Ys', 'mb.Ys'], + 'wide': ['ɓoso ɓwá yáɓe lá', 'mbúsa kwédi a Yés'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'XAF'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_dyo.ts b/packages/core/src/i18n/data/locale_dyo.ts new file mode 100644 index 00000000000000..a66ceb38b448a5 --- /dev/null +++ b/packages/core/src/i18n/data/locale_dyo.ts @@ -0,0 +1,98 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDyo: NgLocale = { + 'localeId': 'dyo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'T', 'T', 'A', 'A', 'A', 'S'], + 'short': ['Dim', 'Ten', 'Tal', 'Ala', 'Ara', 'Arj', 'Sib'], + 'abbreviated': ['Dim', 'Ten', 'Tal', 'Ala', 'Ara', 'Arj', 'Sib'], + 'wide': ['Dimas', 'Teneŋ', 'Talata', 'Alarbay', 'Aramisay', 'Arjuma', 'Sibiti'] + }, + 'standalone': { + 'narrow': ['D', 'T', 'T', 'A', 'A', 'A', 'S'], + 'short': ['Dim', 'Ten', 'Tal', 'Ala', 'Ara', 'Arj', 'Sib'], + 'abbreviated': ['Dim', 'Ten', 'Tal', 'Ala', 'Ara', 'Arj', 'Sib'], + 'wide': ['Dimas', 'Teneŋ', 'Talata', 'Alarbay', 'Aramisay', 'Arjuma', 'Sibiti'] + } + }, + 'months': { + 'format': { + 'narrow': ['S', 'F', 'M', 'A', 'M', 'S', 'S', 'U', 'S', 'O', 'N', 'D'], + 'abbreviated': ['Sa', 'Fe', 'Ma', 'Ab', 'Me', 'Su', 'Sú', 'Ut', 'Se', 'Ok', 'No', 'De'], + 'wide': [ + 'Sanvie', 'Fébirie', 'Mars', 'Aburil', 'Mee', 'Sueŋ', 'Súuyee', 'Ut', 'Settembar', + 'Oktobar', 'Novembar', 'Disambar' + ] + }, + 'standalone': { + 'narrow': ['S', 'F', 'M', 'A', 'M', 'S', 'S', 'U', 'S', 'O', 'N', 'D'], + 'abbreviated': ['Sa', 'Fe', 'Ma', 'Ab', 'Me', 'Su', 'Sú', 'Ut', 'Se', 'Ok', 'No', 'De'], + 'wide': [ + 'Sanvie', 'Fébirie', 'Mars', 'Aburil', 'Mee', 'Sueŋ', 'Súuyee', 'Ut', 'Settembar', + 'Oktobar', 'Novembar', 'Disambar' + ] + } + }, + 'eras': { + 'abbreviated': ['ArY', 'AtY'], + 'narrow': ['ArY', 'AtY'], + 'wide': ['Ariŋuu Yeesu', 'Atooŋe Yeesu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'seefa yati BCEAO'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_dz.ts b/packages/core/src/i18n/data/locale_dz.ts new file mode 100644 index 00000000000000..e9501cf50e295c --- /dev/null +++ b/packages/core/src/i18n/data/locale_dz.ts @@ -0,0 +1,153 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleDz: NgLocale = { + 'localeId': 'dz', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'སྔ་ཆ་', 'pm': 'ཕྱི་ཆ་'}, + 'narrow': {'am': 'སྔ་ཆ་', 'pm': 'ཕྱི་ཆ་'}, + 'wide': {'am': 'སྔ་ཆ་', 'pm': 'ཕྱི་ཆ་'} + }, + 'standalone': { + 'abbreviated': {'am': 'སྔ་ཆ་', 'pm': 'ཕྱི་ཆ་'}, + 'narrow': {'am': 'སྔ་ཆ་', 'pm': 'ཕྱི་ཆ་'}, + 'wide': {'am': 'སྔ་ཆ་', 'pm': 'ཕྱི་ཆ་'} + } + }, + 'days': { + 'format': { + 'narrow': [ + 'ཟླ', 'མིར', 'ལྷག', 'ཕུར', 'སངྶ', 'སྤེན', 'ཉི' + ], + 'short': [ + 'ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', + 'སྤེན་', 'ཉི་' + ], + 'abbreviated': [ + 'ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', + 'སྤེན་', 'ཉི་' + ], + 'wide': [ + 'གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', + 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', + 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་', + 'གཟའ་ཉི་མ་' + ] + }, + 'standalone': { + 'narrow': [ + 'ཟླ', 'མིར', 'ལྷག', 'ཕུར', 'སངྶ', 'སྤེན', 'ཉི' + ], + 'short': [ + 'ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', + 'སྤེན་', 'ཉི་' + ], + 'abbreviated': [ + 'ཟླ་', 'མིར་', 'ལྷག་', 'ཕུར་', 'སངས་', + 'སྤེན་', 'ཉི་' + ], + 'wide': [ + 'གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', + 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', + 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་', + 'གཟའ་ཉི་མ་' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + '༡', '༢', '༣', '4', '༥', '༦', '༧', '༨', '9', '༡༠', '༡༡', '༡༢' + ], + 'abbreviated': [ + '༡', '༢', '༣', '༤', '༥', '༦', '༧', '༨', '༩', '༡༠', '༡༡', '12' + ], + 'wide': [ + 'ཟླ་དངཔ་', 'ཟླ་གཉིས་པ་', + 'ཟླ་གསུམ་པ་', 'ཟླ་བཞི་པ་', + 'ཟླ་ལྔ་པ་', 'ཟླ་དྲུག་པ', + 'ཟླ་བདུན་པ་', 'ཟླ་བརྒྱད་པ་', + 'ཟླ་དགུ་པ་', 'ཟླ་བཅུ་པ་', + 'ཟླ་བཅུ་གཅིག་པ་', 'ཟླ་བཅུ་གཉིས་པ་' + ] + }, + 'standalone': { + 'narrow': [ + '༡', '༢', '༣', '༤', '༥', '༦', '༧', '༨', '༩', '༡༠', '༡༡', + '༡༢' + ], + 'abbreviated': [ + 'ཟླ་༡', 'ཟླ་༢', 'ཟླ་༣', 'ཟླ་༤', 'ཟླ་༥', + 'ཟླ་༦', 'ཟླ་༧', 'ཟླ་༨', 'ཟླ་༩', 'ཟླ་༡༠', + 'ཟླ་༡༡', 'ཟླ་༡༢' + ], + 'wide': [ + 'སྤྱི་ཟླ་དངཔ་', 'སྤྱི་ཟླ་གཉིས་པ་', + 'སྤྱི་ཟླ་གསུམ་པ་', + 'སྤྱི་ཟླ་བཞི་པ', 'སྤྱི་ཟླ་ལྔ་པ་', + 'སྤྱི་ཟླ་དྲུག་པ', + 'སྤྱི་ཟླ་བདུན་པ་', + '���ྤྱི་ཟླ་བརྒྱད་པ་', + 'སྤྱི་ཟླ་དགུ་པ་', + 'སྤྱི་ཟླ་བཅུ་པ་', + 'སྤྱི་ཟླ་བཅུ་གཅིག་པ་', + 'སྤྱི་ཟླ་བཅུ་གཉིས་པ་' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, སྤྱི་ལོ་y MMMM ཚེས་dd', + 'long': 'སྤྱི་ལོ་y MMMM ཚེས་ dd', + 'medium': 'སྤྱི་ལོ་y ཟླ་MMM ཚེས་dd', + 'short': 'y-MM-dd' + }, + 'time': { + 'full': 'ཆུ་ཚོད་ h སྐར་མ་ mm:ss a zzzz', + 'long': 'ཆུ་ཚོད་ h སྐར་མ་ mm:ss a z', + 'medium': 'ཆུ་ཚོད་h:mm:ss a', + 'short': 'ཆུ་ཚོད་ h སྐར་མ་ mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': + {'symbol': '₹', 'name': 'རྒྱ་གར་གྱི་དངུལ་ རུ་པི'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ebu.ts b/packages/core/src/i18n/data/locale_ebu.ts new file mode 100644 index 00000000000000..2b15edf83c2014 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ebu.ts @@ -0,0 +1,107 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEbu: NgLocale = { + 'localeId': 'ebu', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'KI', 'pm': 'UT'}, + 'narrow': {'am': 'KI', 'pm': 'UT'}, + 'wide': {'am': 'KI', 'pm': 'UT'} + }, + 'standalone': { + 'abbreviated': {'am': 'KI', 'pm': 'UT'}, + 'narrow': {'am': 'KI', 'pm': 'UT'}, + 'wide': {'am': 'KI', 'pm': 'UT'} + } + }, + 'days': { + 'format': { + 'narrow': ['K', 'N', 'N', 'N', 'A', 'M', 'N'], + 'short': ['Kma', 'Tat', 'Ine', 'Tan', 'Arm', 'Maa', 'NMM'], + 'abbreviated': ['Kma', 'Tat', 'Ine', 'Tan', 'Arm', 'Maa', 'NMM'], + 'wide': + ['Kiumia', 'Njumatatu', 'Njumaine', 'Njumatano', 'Aramithi', 'Njumaa', 'NJumamothii'] + }, + 'standalone': { + 'narrow': ['K', 'N', 'N', 'N', 'A', 'M', 'N'], + 'short': ['Kma', 'Tat', 'Ine', 'Tan', 'Arm', 'Maa', 'NMM'], + 'abbreviated': ['Kma', 'Tat', 'Ine', 'Tan', 'Arm', 'Maa', 'NMM'], + 'wide': + ['Kiumia', 'Njumatatu', 'Njumaine', 'Njumatano', 'Aramithi', 'Njumaa', 'NJumamothii'] + } + }, + 'months': { + 'format': { + 'narrow': ['M', 'K', 'K', 'K', 'G', 'G', 'M', 'K', 'K', 'I', 'I', 'I'], + 'abbreviated': + ['Mbe', 'Kai', 'Kat', 'Kan', 'Gat', 'Gan', 'Mug', 'Knn', 'Ken', 'Iku', 'Imw', 'Igi'], + 'wide': [ + 'Mweri wa mbere', 'Mweri wa kaĩri', 'Mweri wa kathatũ', 'Mweri wa kana', + 'Mweri wa gatano', 'Mweri wa gatantatũ', 'Mweri wa mũgwanja', 'Mweri wa kanana', + 'Mweri wa kenda', 'Mweri wa ikũmi', 'Mweri wa ikũmi na ũmwe', + 'Mweri wa ikũmi na Kaĩrĩ' + ] + }, + 'standalone': { + 'narrow': ['M', 'K', 'K', 'K', 'G', 'G', 'M', 'K', 'K', 'I', 'I', 'I'], + 'abbreviated': + ['Mbe', 'Kai', 'Kat', 'Kan', 'Gat', 'Gan', 'Mug', 'Knn', 'Ken', 'Iku', 'Imw', 'Igi'], + 'wide': [ + 'Mweri wa mbere', 'Mweri wa kaĩri', 'Mweri wa kathatũ', 'Mweri wa kana', + 'Mweri wa gatano', 'Mweri wa gatantatũ', 'Mweri wa mũgwanja', 'Mweri wa kanana', + 'Mweri wa kenda', 'Mweri wa ikũmi', 'Mweri wa ikũmi na ũmwe', + 'Mweri wa ikũmi na Kaĩrĩ' + ] + } + }, + 'eras': { + 'abbreviated': ['MK', 'TK'], + 'narrow': ['MK', 'TK'], + 'wide': ['Mbere ya Kristo', 'Thutha wa Kristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Shilingi ya Kenya'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ee-TG.ts b/packages/core/src/i18n/data/locale_ee-TG.ts new file mode 100644 index 00000000000000..3567e26bd66a95 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ee-TG.ts @@ -0,0 +1,170 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEeTG: NgLocale = { + 'localeId': 'ee-TG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ŋdi', + 'pm': 'ɣetrɔ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + }, + 'narrow': { + 'am': 'ŋ', + 'pm': 'ɣ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + }, + 'wide': { + 'am': 'ŋdi', + 'pm': 'ɣetrɔ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ŋdi', + 'pm': 'ɣetrɔ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + }, + 'narrow': { + 'am': 'ŋ', + 'pm': 'ɣ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + }, + 'wide': { + 'am': 'ŋdi', + 'pm': 'ɣetrɔ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + } + } + }, + 'days': { + 'format': { + 'narrow': ['k', 'd', 'b', 'k', 'y', 'f', 'm'], + 'short': ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], + 'abbreviated': ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], + 'wide': ['kɔsiɖa', 'dzoɖa', 'blaɖa', 'kuɖa', 'yawoɖa', 'fiɖa', 'memleɖa'] + }, + 'standalone': { + 'narrow': ['k', 'd', 'b', 'k', 'y', 'f', 'm'], + 'short': ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], + 'abbreviated': ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], + 'wide': ['kɔsiɖa', 'dzoɖa', 'blaɖa', 'kuɖa', 'yawoɖa', 'fiɖa', 'memleɖa'] + } + }, + 'months': { + 'format': { + 'narrow': ['d', 'd', 't', 'a', 'd', 'm', 's', 'd', 'a', 'k', 'a', 'd'], + 'abbreviated': + ['dzv', 'dzd', 'ted', 'afɔ', 'dam', 'mas', 'sia', 'dea', 'any', 'kel', 'ade', 'dzm'], + 'wide': [ + 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', + 'anyɔnyɔ', 'kele', 'adeɛmekpɔxe', 'dzome' + ] + }, + 'standalone': { + 'narrow': ['d', 'd', 't', 'a', 'd', 'm', 's', 'd', 'a', 'k', 'a', 'd'], + 'abbreviated': + ['dzv', 'dzd', 'ted', 'afɔ', 'dam', 'mas', 'sia', 'dea', 'any', 'kel', 'ade', 'dzm'], + 'wide': [ + 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', + 'anyɔnyɔ', 'kele', 'adeɛmekpɔxe', 'dzome' + ] + } + }, + 'eras': { + 'abbreviated': ['hY', 'Yŋ'], + 'narrow': ['hY', 'Yŋ'], + 'wide': ['Hafi Yesu Va Do ŋgɔ', 'Yesu Ŋɔli'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, MMMM d \'lia\' y', + 'long': 'MMMM d \'lia\' y', + 'medium': 'MMM d \'lia\', y', + 'short': 'M/d/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{0} {1}', 'long': '{0} {1}', 'medium': '{0} {1}', 'short': '{0} {1}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'afternoon2': {'from': '14:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'morning1': {'from': '04:00', 'to': '05:00'}, + 'morning2': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'mnn', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'ɣetoɖofe afrikaga CFA franc BCEAO'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ee.ts b/packages/core/src/i18n/data/locale_ee.ts new file mode 100644 index 00000000000000..f1e574b8367637 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ee.ts @@ -0,0 +1,174 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEe: NgLocale = { + 'localeId': 'ee', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'ŋdi', + 'pm': 'ɣetrɔ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + }, + 'narrow': { + 'am': 'ŋ', + 'pm': 'ɣ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + }, + 'wide': { + 'am': 'ŋdi', + 'pm': 'ɣetrɔ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'ŋdi', + 'pm': 'ɣetrɔ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + }, + 'narrow': { + 'am': 'ŋ', + 'pm': 'ɣ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + }, + 'wide': { + 'am': 'ŋdi', + 'pm': 'ɣetrɔ', + 'morning1': 'fɔŋli', + 'morning2': 'ŋdi', + 'afternoon1': 'ŋdɔ', + 'afternoon2': 'ɣetrɔ', + 'evening1': 'fiẽ', + 'night1': 'zã' + } + } + }, + 'days': { + 'format': { + 'narrow': ['k', 'd', 'b', 'k', 'y', 'f', 'm'], + 'short': ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], + 'abbreviated': ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], + 'wide': ['kɔsiɖa', 'dzoɖa', 'blaɖa', 'kuɖa', 'yawoɖa', 'fiɖa', 'memleɖa'] + }, + 'standalone': { + 'narrow': ['k', 'd', 'b', 'k', 'y', 'f', 'm'], + 'short': ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], + 'abbreviated': ['kɔs', 'dzo', 'bla', 'kuɖ', 'yaw', 'fiɖ', 'mem'], + 'wide': ['kɔsiɖa', 'dzoɖa', 'blaɖa', 'kuɖa', 'yawoɖa', 'fiɖa', 'memleɖa'] + } + }, + 'months': { + 'format': { + 'narrow': ['d', 'd', 't', 'a', 'd', 'm', 's', 'd', 'a', 'k', 'a', 'd'], + 'abbreviated': + ['dzv', 'dzd', 'ted', 'afɔ', 'dam', 'mas', 'sia', 'dea', 'any', 'kel', 'ade', 'dzm'], + 'wide': [ + 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', + 'anyɔnyɔ', 'kele', 'adeɛmekpɔxe', 'dzome' + ] + }, + 'standalone': { + 'narrow': ['d', 'd', 't', 'a', 'd', 'm', 's', 'd', 'a', 'k', 'a', 'd'], + 'abbreviated': + ['dzv', 'dzd', 'ted', 'afɔ', 'dam', 'mas', 'sia', 'dea', 'any', 'kel', 'ade', 'dzm'], + 'wide': [ + 'dzove', 'dzodze', 'tedoxe', 'afɔfĩe', 'dama', 'masa', 'siamlɔm', 'deasiamime', + 'anyɔnyɔ', 'kele', 'adeɛmekpɔxe', 'dzome' + ] + } + }, + 'eras': { + 'abbreviated': ['hY', 'Yŋ'], + 'narrow': ['hY', 'Yŋ'], + 'wide': ['Hafi Yesu Va Do ŋgɔ', 'Yesu Ŋɔli'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, MMMM d \'lia\' y', + 'long': 'MMMM d \'lia\' y', + 'medium': 'MMM d \'lia\', y', + 'short': 'M/d/yy' + }, + 'time': { + 'full': 'a \'ga\' h:mm:ss zzzz', + 'long': 'a \'ga\' h:mm:ss z', + 'medium': 'a \'ga\' h:mm:ss', + 'short': 'a \'ga\' h:mm' + }, + 'dateTime': {'full': '{0} {1}', 'long': '{0} {1}', 'medium': '{0} {1}', 'short': '{0} {1}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'afternoon2': {'from': '14:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'morning1': {'from': '04:00', 'to': '05:00'}, + 'morning2': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'mnn', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'GH₵', 'name': 'ghana siɖi'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_el-CY.ts b/packages/core/src/i18n/data/locale_el-CY.ts new file mode 100644 index 00000000000000..31346a77818e2a --- /dev/null +++ b/packages/core/src/i18n/data/locale_el-CY.ts @@ -0,0 +1,171 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleElCY: NgLocale = { + 'localeId': 'el-CY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'π.μ.', + 'pm': 'μ.μ.', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημ.', + 'evening1': 'απόγ.', + 'night1': 'βράδυ' + }, + 'narrow': { + 'am': 'πμ', + 'pm': 'μμ', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημ.', + 'evening1': 'απόγ.', + 'night1': 'βράδυ' + }, + 'wide': { + 'am': 'π.μ.', + 'pm': 'μ.μ.', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημέρι', + 'evening1': 'απόγευμα', + 'night1': 'βράδυ' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'π.μ.', + 'pm': 'μ.μ.', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημ.', + 'evening1': 'απόγ.', + 'night1': 'βράδυ' + }, + 'narrow': { + 'am': 'π.μ.', + 'pm': 'μ.μ.', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημ.', + 'evening1': 'απόγ.', + 'night1': 'βράδυ' + }, + 'wide': { + 'am': 'π.μ.', + 'pm': 'μ.μ.', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημέρι', + 'evening1': 'απόγευμα', + 'night1': 'βράδυ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], + 'short': ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'], + 'abbreviated': ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], + 'wide': [ + 'Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', + 'Παρασκευή', 'Σάββατο' + ] + }, + 'standalone': { + 'narrow': ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], + 'short': ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'], + 'abbreviated': ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], + 'wide': [ + 'Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', + 'Παρασκευή', 'Σάββατο' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + 'abbreviated': [ + 'Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', + 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ' + ], + 'wide': [ + 'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', + 'Μαΐου', 'Ιουνίου', 'Ιουλίου', 'Αυγούστου', + 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', + 'Δεκεμβρίου' + ] + }, + 'standalone': { + 'narrow': ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + 'abbreviated': [ + 'Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', + 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ' + ], + 'wide': [ + 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', + 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', + 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', + 'Δεκέμβριος' + ] + } + }, + 'eras': { + 'abbreviated': ['π.Χ.', 'μ.Χ.'], + 'narrow': ['π.Χ.', 'μ.Χ.'], + 'wide': ['προ Χριστού', 'μετά Χριστόν'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1} - {0}', 'long': '{1} - {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '17:00'}, + 'evening1': {'from': '17:00', 'to': '20:00'}, + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'e', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Ευρώ'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_el.ts b/packages/core/src/i18n/data/locale_el.ts new file mode 100644 index 00000000000000..01e71f32b5d532 --- /dev/null +++ b/packages/core/src/i18n/data/locale_el.ts @@ -0,0 +1,171 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEl: NgLocale = { + 'localeId': 'el', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'π.μ.', + 'pm': 'μ.μ.', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημ.', + 'evening1': 'απόγ.', + 'night1': 'βράδυ' + }, + 'narrow': { + 'am': 'πμ', + 'pm': 'μμ', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημ.', + 'evening1': 'απόγ.', + 'night1': 'βράδυ' + }, + 'wide': { + 'am': 'π.μ.', + 'pm': 'μ.μ.', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημέρι', + 'evening1': 'απόγευμα', + 'night1': 'βράδυ' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'π.μ.', + 'pm': 'μ.μ.', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημ.', + 'evening1': 'απόγ.', + 'night1': 'βράδυ' + }, + 'narrow': { + 'am': 'π.μ.', + 'pm': 'μ.μ.', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημ.', + 'evening1': 'απόγ.', + 'night1': 'βράδυ' + }, + 'wide': { + 'am': 'π.μ.', + 'pm': 'μ.μ.', + 'morning1': 'πρωί', + 'afternoon1': 'μεσημέρι', + 'evening1': 'απόγευμα', + 'night1': 'βράδυ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], + 'short': ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'], + 'abbreviated': ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], + 'wide': [ + 'Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', + 'Παρασκευή', 'Σάββατο' + ] + }, + 'standalone': { + 'narrow': ['Κ', 'Δ', 'Τ', 'Τ', 'Π', 'Π', 'Σ'], + 'short': ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πέ', 'Πα', 'Σά'], + 'abbreviated': ['Κυρ', 'Δευ', 'Τρί', 'Τετ', 'Πέμ', 'Παρ', 'Σάβ'], + 'wide': [ + 'Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', + 'Παρασκευή', 'Σάββατο' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + 'abbreviated': [ + 'Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαΐ', 'Ιουν', 'Ιουλ', 'Αυγ', + 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ' + ], + 'wide': [ + 'Ιανουαρίου', 'Φεβρουαρίου', 'Μαρτίου', 'Απριλίου', + 'Μαΐου', 'Ιουνίου', 'Ιουλίου', 'Αυγούστου', + 'Σεπτεμβρίου', 'Οκτωβρίου', 'Νοεμβρίου', + 'Δεκεμβρίου' + ] + }, + 'standalone': { + 'narrow': ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'], + 'abbreviated': [ + 'Ιαν', 'Φεβ', 'Μάρ', 'Απρ', 'Μάι', 'Ιούν', 'Ιούλ', 'Αύγ', + 'Σεπ', 'Οκτ', 'Νοέ', 'Δεκ' + ], + 'wide': [ + 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', + 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', + 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', + 'Δεκέμβριος' + ] + } + }, + 'eras': { + 'abbreviated': ['π.Χ.', 'μ.Χ.'], + 'narrow': ['π.Χ.', 'μ.Χ.'], + 'wide': ['προ Χριστού', 'μετά Χριστό��'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1} - {0}', 'long': '{1} - {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '17:00'}, + 'evening1': {'from': '17:00', 'to': '20:00'}, + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'e', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Ευρώ'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-001.ts b/packages/core/src/i18n/data/locale_en-001.ts new file mode 100644 index 00000000000000..28a27556ce0f27 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-001.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEn001: NgLocale = { + 'localeId': 'en-001', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-150.ts b/packages/core/src/i18n/data/locale_en-150.ts new file mode 100644 index 00000000000000..8a6cdffa908fd9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-150.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEn150: NgLocale = { + 'localeId': 'en-150', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-AG.ts b/packages/core/src/i18n/data/locale_en-AG.ts new file mode 100644 index 00000000000000..020e2d5f567b32 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-AG.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnAG: NgLocale = { + 'localeId': 'en-AG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'East Caribbean Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-AI.ts b/packages/core/src/i18n/data/locale_en-AI.ts new file mode 100644 index 00000000000000..5346c718e0f4a8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-AI.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnAI: NgLocale = { + 'localeId': 'en-AI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'East Caribbean Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-AS.ts b/packages/core/src/i18n/data/locale_en-AS.ts new file mode 100644 index 00000000000000..7fb938f24f3b96 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-AS.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnAS: NgLocale = { + 'localeId': 'en-AS', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-AT.ts b/packages/core/src/i18n/data/locale_en-AT.ts new file mode 100644 index 00000000000000..c712fdf6a61581 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-AT.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnAT: NgLocale = { + 'localeId': 'en-AT', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-AU.ts b/packages/core/src/i18n/data/locale_en-AU.ts new file mode 100644 index 00000000000000..9c2c10d86d9575 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-AU.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnAU: NgLocale = { + 'localeId': 'en-AU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'am', + 'noon': 'midday', + 'pm': 'pm', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'am', + 'noon': 'midday', + 'pm': 'pm', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'am', + 'noon': 'midday', + 'pm': 'pm', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'midday', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'am', + 'noon': 'midday', + 'pm': 'pm', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'am', + 'noon': 'midday', + 'pm': 'pm', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Su.', 'M.', 'Tu.', 'W.', 'Th.', 'F.', 'Sa.'], + 'short': ['Su.', 'Mon.', 'Tu.', 'Wed.', 'Th.', 'Fri.', 'Sat.'], + 'abbreviated': ['Sun.', 'Mon.', 'Tue.', 'Wed.', 'Thu.', 'Fri.', 'Sat.'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['Su.', 'M.', 'Tu.', 'W.', 'Th.', 'F.', 'Sa.'], + 'short': ['Su.', 'Mon.', 'Tu.', 'Wed.', 'Th.', 'Fri.', 'Sat.'], + 'abbreviated': ['Sun.', 'Mon.', 'Tue.', 'Wed.', 'Thu.', 'Fri.', 'Sat.'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'Mar.', 'Apr.', 'May', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Oct.', 'Nov.', + 'Dec.' + ], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'Mar.', 'Apr.', 'May', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Oct.', 'Nov.', + 'Dec.' + ], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'e', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Australian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-BB.ts b/packages/core/src/i18n/data/locale_en-BB.ts new file mode 100644 index 00000000000000..29829725a25a55 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-BB.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnBB: NgLocale = { + 'localeId': 'en-BB', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Barbadian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-BE.ts b/packages/core/src/i18n/data/locale_en-BE.ts new file mode 100644 index 00000000000000..0dbdd31b4a25f1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-BE.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnBE: NgLocale = { + 'localeId': 'en-BE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'dd MMM y', 'short': 'dd/MM/yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-BI.ts b/packages/core/src/i18n/data/locale_en-BI.ts new file mode 100644 index 00000000000000..626a48203e98dd --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-BI.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnBI: NgLocale = { + 'localeId': 'en-BI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FBu', 'name': 'Burundian Franc'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-BM.ts b/packages/core/src/i18n/data/locale_en-BM.ts new file mode 100644 index 00000000000000..148d212d4586a4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-BM.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnBM: NgLocale = { + 'localeId': 'en-BM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Bermudan Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-BS.ts b/packages/core/src/i18n/data/locale_en-BS.ts new file mode 100644 index 00000000000000..8e33f1a56acb7c --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-BS.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnBS: NgLocale = { + 'localeId': 'en-BS', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Bahamian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-BW.ts b/packages/core/src/i18n/data/locale_en-BW.ts new file mode 100644 index 00000000000000..300cbc2fcd9671 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-BW.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnBW: NgLocale = { + 'localeId': 'en-BW', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd MMMM y', + 'long': 'dd MMMM y', + 'medium': 'dd MMM y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'P', 'name': 'Botswanan Pula'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-BZ.ts b/packages/core/src/i18n/data/locale_en-BZ.ts new file mode 100644 index 00000000000000..17fd5392501fc7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-BZ.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnBZ: NgLocale = { + 'localeId': 'en-BZ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd MMMM y', + 'long': 'dd MMMM y', + 'medium': 'dd-MMM-y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Belize Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-CA.ts b/packages/core/src/i18n/data/locale_en-CA.ts new file mode 100644 index 00000000000000..a8c9417de97aa1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-CA.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnCA: NgLocale = { + 'localeId': 'en-CA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, MMMM d, y', + 'long': 'MMMM d, y', + 'medium': 'MMM d, y', + 'short': 'y-MM-dd' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Canadian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-CC.ts b/packages/core/src/i18n/data/locale_en-CC.ts new file mode 100644 index 00000000000000..d59c83ae628434 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-CC.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnCC: NgLocale = { + 'localeId': 'en-CC', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Australian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-CH.ts b/packages/core/src/i18n/data/locale_en-CH.ts new file mode 100644 index 00000000000000..d79ac14a260940 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-CH.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnCH: NgLocale = { + 'localeId': 'en-CH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤-#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CHF', 'name': 'Swiss Franc'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-CK.ts b/packages/core/src/i18n/data/locale_en-CK.ts new file mode 100644 index 00000000000000..bd80f95c4789b6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-CK.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnCK: NgLocale = { + 'localeId': 'en-CK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'New Zealand Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-CM.ts b/packages/core/src/i18n/data/locale_en-CM.ts new file mode 100644 index 00000000000000..de47607b96d3f6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-CM.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnCM: NgLocale = { + 'localeId': 'en-CM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'Central African CFA Franc'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-CX.ts b/packages/core/src/i18n/data/locale_en-CX.ts new file mode 100644 index 00000000000000..928f8de9b427f2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-CX.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnCX: NgLocale = { + 'localeId': 'en-CX', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Australian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-CY.ts b/packages/core/src/i18n/data/locale_en-CY.ts new file mode 100644 index 00000000000000..ed7ae78d3837ae --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-CY.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnCY: NgLocale = { + 'localeId': 'en-CY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-DE.ts b/packages/core/src/i18n/data/locale_en-DE.ts new file mode 100644 index 00000000000000..3d72a20185d14f --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-DE.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnDE: NgLocale = { + 'localeId': 'en-DE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-DG.ts b/packages/core/src/i18n/data/locale_en-DG.ts new file mode 100644 index 00000000000000..59db1de67b197e --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-DG.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnDG: NgLocale = { + 'localeId': 'en-DG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'US$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-DK.ts b/packages/core/src/i18n/data/locale_en-DK.ts new file mode 100644 index 00000000000000..84609048c20eac --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-DK.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnDK: NgLocale = { + 'localeId': 'en-DK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH.mm.ss zzzz', 'long': 'HH.mm.ss z', 'medium': 'HH.mm.ss', 'short': 'HH.mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': '.' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr.', 'name': 'Danish Krone'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-DM.ts b/packages/core/src/i18n/data/locale_en-DM.ts new file mode 100644 index 00000000000000..acce8154cd99e9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-DM.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnDM: NgLocale = { + 'localeId': 'en-DM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'East Caribbean Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-ER.ts b/packages/core/src/i18n/data/locale_en-ER.ts new file mode 100644 index 00000000000000..57421be2be5f18 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-ER.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnER: NgLocale = { + 'localeId': 'en-ER', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Nfk', 'name': 'Eritrean Nakfa'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-FI.ts b/packages/core/src/i18n/data/locale_en-FI.ts new file mode 100644 index 00000000000000..d5a0aa13294982 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-FI.ts @@ -0,0 +1,171 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnFI: NgLocale = { + 'localeId': 'en-FI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': {'full': 'H.mm.ss zzzz', 'long': 'H.mm.ss z', 'medium': 'H.mm.ss', 'short': 'H.mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': '.' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-FJ.ts b/packages/core/src/i18n/data/locale_en-FJ.ts new file mode 100644 index 00000000000000..23bda0d6e04e80 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-FJ.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnFJ: NgLocale = { + 'localeId': 'en-FJ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Fijian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-FK.ts b/packages/core/src/i18n/data/locale_en-FK.ts new file mode 100644 index 00000000000000..a51c7283db0b29 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-FK.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnFK: NgLocale = { + 'localeId': 'en-FK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'Falkland Islands Pound'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-FM.ts b/packages/core/src/i18n/data/locale_en-FM.ts new file mode 100644 index 00000000000000..cb54a8cda68bbb --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-FM.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnFM: NgLocale = { + 'localeId': 'en-FM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'US$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-GB.ts b/packages/core/src/i18n/data/locale_en-GB.ts new file mode 100644 index 00000000000000..d208a5d92ecd80 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-GB.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnGB: NgLocale = { + 'localeId': 'en-GB', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'am', + 'noon': 'noon', + 'pm': 'pm', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'am', + 'noon': 'noon', + 'pm': 'pm', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'am', + 'noon': 'noon', + 'pm': 'pm', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'am', + 'noon': 'noon', + 'pm': 'pm', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'am', + 'noon': 'noon', + 'pm': 'pm', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'British Pound'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-GD.ts b/packages/core/src/i18n/data/locale_en-GD.ts new file mode 100644 index 00000000000000..e2f75faa77e451 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-GD.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnGD: NgLocale = { + 'localeId': 'en-GD', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'East Caribbean Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-GG.ts b/packages/core/src/i18n/data/locale_en-GG.ts new file mode 100644 index 00000000000000..58770ad63d7b26 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-GG.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnGG: NgLocale = { + 'localeId': 'en-GG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'UK Pound'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-GH.ts b/packages/core/src/i18n/data/locale_en-GH.ts new file mode 100644 index 00000000000000..5b7750e5c7c350 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-GH.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnGH: NgLocale = { + 'localeId': 'en-GH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'GH₵', 'name': 'Ghanaian Cedi'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-GI.ts b/packages/core/src/i18n/data/locale_en-GI.ts new file mode 100644 index 00000000000000..bec37cf1f20397 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-GI.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnGI: NgLocale = { + 'localeId': 'en-GI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'Gibraltar Pound'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-GM.ts b/packages/core/src/i18n/data/locale_en-GM.ts new file mode 100644 index 00000000000000..a9cfe3a07048c8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-GM.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnGM: NgLocale = { + 'localeId': 'en-GM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'D', 'name': 'Gambian Dalasi'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-GU.ts b/packages/core/src/i18n/data/locale_en-GU.ts new file mode 100644 index 00000000000000..82647636ee2876 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-GU.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnGU: NgLocale = { + 'localeId': 'en-GU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-GY.ts b/packages/core/src/i18n/data/locale_en-GY.ts new file mode 100644 index 00000000000000..5edc23fdffe829 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-GY.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnGY: NgLocale = { + 'localeId': 'en-GY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Guyanaese Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-HK.ts b/packages/core/src/i18n/data/locale_en-HK.ts new file mode 100644 index 00000000000000..856f5debea44b2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-HK.ts @@ -0,0 +1,175 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnHK: NgLocale = { + 'localeId': 'en-HK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'HK$', 'name': 'Hong Kong Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-IE.ts b/packages/core/src/i18n/data/locale_en-IE.ts new file mode 100644 index 00000000000000..3d0be5eeeb8882 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-IE.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnIE: NgLocale = { + 'localeId': 'en-IE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'a.m.', + 'noon': 'noon', + 'pm': 'p.m.', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-IL.ts b/packages/core/src/i18n/data/locale_en-IL.ts new file mode 100644 index 00000000000000..d958d1f4ac36af --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-IL.ts @@ -0,0 +1,171 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnIL: NgLocale = { + 'localeId': 'en-IL', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [5, 6], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₪', 'name': 'Israeli New Shekel'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-IM.ts b/packages/core/src/i18n/data/locale_en-IM.ts new file mode 100644 index 00000000000000..aa2301f27c971e --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-IM.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnIM: NgLocale = { + 'localeId': 'en-IM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'UK Pound'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-IN.ts b/packages/core/src/i18n/data/locale_en-IN.ts new file mode 100644 index 00000000000000..aaeeb500dc8cf2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-IN.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnIN: NgLocale = { + 'localeId': 'en-IN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'dd-MMM-y', 'short': 'dd/MM/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'Indian Rupee'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-IO.ts b/packages/core/src/i18n/data/locale_en-IO.ts new file mode 100644 index 00000000000000..4d08f445237aaf --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-IO.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnIO: NgLocale = { + 'localeId': 'en-IO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'US$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-JE.ts b/packages/core/src/i18n/data/locale_en-JE.ts new file mode 100644 index 00000000000000..071332de4a0e9c --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-JE.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnJE: NgLocale = { + 'localeId': 'en-JE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'UK Pound'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-JM.ts b/packages/core/src/i18n/data/locale_en-JM.ts new file mode 100644 index 00000000000000..12f76ef6f0bdcc --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-JM.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnJM: NgLocale = { + 'localeId': 'en-JM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Jamaican Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-KE.ts b/packages/core/src/i18n/data/locale_en-KE.ts new file mode 100644 index 00000000000000..28d1b8dae3f6b5 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-KE.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnKE: NgLocale = { + 'localeId': 'en-KE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Kenyan Shilling'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-KI.ts b/packages/core/src/i18n/data/locale_en-KI.ts new file mode 100644 index 00000000000000..439c98b80ce62c --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-KI.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnKI: NgLocale = { + 'localeId': 'en-KI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Australian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-KN.ts b/packages/core/src/i18n/data/locale_en-KN.ts new file mode 100644 index 00000000000000..921e87dc57a316 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-KN.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnKN: NgLocale = { + 'localeId': 'en-KN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'East Caribbean Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-KY.ts b/packages/core/src/i18n/data/locale_en-KY.ts new file mode 100644 index 00000000000000..d71e79cabe2969 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-KY.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnKY: NgLocale = { + 'localeId': 'en-KY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Cayman Islands Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-LC.ts b/packages/core/src/i18n/data/locale_en-LC.ts new file mode 100644 index 00000000000000..6519290eff7580 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-LC.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnLC: NgLocale = { + 'localeId': 'en-LC', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'East Caribbean Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-LR.ts b/packages/core/src/i18n/data/locale_en-LR.ts new file mode 100644 index 00000000000000..a79934abfe03f7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-LR.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnLR: NgLocale = { + 'localeId': 'en-LR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Liberian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-LS.ts b/packages/core/src/i18n/data/locale_en-LS.ts new file mode 100644 index 00000000000000..0ca8af1ff34569 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-LS.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnLS: NgLocale = { + 'localeId': 'en-LS', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'R', 'name': 'South African Rand'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-MG.ts b/packages/core/src/i18n/data/locale_en-MG.ts new file mode 100644 index 00000000000000..b00358ff59dc24 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-MG.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnMG: NgLocale = { + 'localeId': 'en-MG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ar', 'name': 'Malagasy Ariary'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-MH.ts b/packages/core/src/i18n/data/locale_en-MH.ts new file mode 100644 index 00000000000000..f0724667304f07 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-MH.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnMH: NgLocale = { + 'localeId': 'en-MH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-MO.ts b/packages/core/src/i18n/data/locale_en-MO.ts new file mode 100644 index 00000000000000..3da4eb7637d9d6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-MO.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnMO: NgLocale = { + 'localeId': 'en-MO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MOP$', 'name': 'Macanese Pataca'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-MP.ts b/packages/core/src/i18n/data/locale_en-MP.ts new file mode 100644 index 00000000000000..eee9d489db58cf --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-MP.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnMP: NgLocale = { + 'localeId': 'en-MP', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-MS.ts b/packages/core/src/i18n/data/locale_en-MS.ts new file mode 100644 index 00000000000000..d38244891f1cb7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-MS.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnMS: NgLocale = { + 'localeId': 'en-MS', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'East Caribbean Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-MT.ts b/packages/core/src/i18n/data/locale_en-MT.ts new file mode 100644 index 00000000000000..052165cf700851 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-MT.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnMT: NgLocale = { + 'localeId': 'en-MT', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'dd MMMM y', 'medium': 'dd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-MU.ts b/packages/core/src/i18n/data/locale_en-MU.ts new file mode 100644 index 00000000000000..670ba380fdd573 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-MU.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnMU: NgLocale = { + 'localeId': 'en-MU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Rs', 'name': 'Mauritian Rupee'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-MW.ts b/packages/core/src/i18n/data/locale_en-MW.ts new file mode 100644 index 00000000000000..349b16cb045ed3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-MW.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnMW: NgLocale = { + 'localeId': 'en-MW', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MK', 'name': 'Malawian Kwacha'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-MY.ts b/packages/core/src/i18n/data/locale_en-MY.ts new file mode 100644 index 00000000000000..328952607253dd --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-MY.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnMY: NgLocale = { + 'localeId': 'en-MY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'RM', 'name': 'Malaysian Ringgit'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-NA.ts b/packages/core/src/i18n/data/locale_en-NA.ts new file mode 100644 index 00000000000000..67e361927f7c67 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-NA.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnNA: NgLocale = { + 'localeId': 'en-NA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ZAR', 'name': 'South African Rand'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-NF.ts b/packages/core/src/i18n/data/locale_en-NF.ts new file mode 100644 index 00000000000000..669d1275714860 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-NF.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnNF: NgLocale = { + 'localeId': 'en-NF', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Australian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-NG.ts b/packages/core/src/i18n/data/locale_en-NG.ts new file mode 100644 index 00000000000000..9a7edb5095b327 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-NG.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnNG: NgLocale = { + 'localeId': 'en-NG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₦', 'name': 'Nigerian Naira'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-NL.ts b/packages/core/src/i18n/data/locale_en-NL.ts new file mode 100644 index 00000000000000..860be99e672e1c --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-NL.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnNL: NgLocale = { + 'localeId': 'en-NL', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤ -#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-NR.ts b/packages/core/src/i18n/data/locale_en-NR.ts new file mode 100644 index 00000000000000..c45875abc0a81f --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-NR.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnNR: NgLocale = { + 'localeId': 'en-NR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Australian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-NU.ts b/packages/core/src/i18n/data/locale_en-NU.ts new file mode 100644 index 00000000000000..ef345522e128b8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-NU.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnNU: NgLocale = { + 'localeId': 'en-NU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'New Zealand Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-NZ.ts b/packages/core/src/i18n/data/locale_en-NZ.ts new file mode 100644 index 00000000000000..8fcbe8b1e88db3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-NZ.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnNZ: NgLocale = { + 'localeId': 'en-NZ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd/MM/y', 'short': 'd/MM/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'New Zealand Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-PG.ts b/packages/core/src/i18n/data/locale_en-PG.ts new file mode 100644 index 00000000000000..686a947b2e98bd --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-PG.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnPG: NgLocale = { + 'localeId': 'en-PG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'K', 'name': 'Papua New Guinean Kina'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-PH.ts b/packages/core/src/i18n/data/locale_en-PH.ts new file mode 100644 index 00000000000000..00275563b16360 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-PH.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnPH: NgLocale = { + 'localeId': 'en-PH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₱', 'name': 'Philippine Peso'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-PK.ts b/packages/core/src/i18n/data/locale_en-PK.ts new file mode 100644 index 00000000000000..b18f9f826d13c8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-PK.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnPK: NgLocale = { + 'localeId': 'en-PK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'dd-MMM-y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Rs', 'name': 'Pakistani Rupee'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-PN.ts b/packages/core/src/i18n/data/locale_en-PN.ts new file mode 100644 index 00000000000000..61bcde989421c6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-PN.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnPN: NgLocale = { + 'localeId': 'en-PN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'New Zealand Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-PR.ts b/packages/core/src/i18n/data/locale_en-PR.ts new file mode 100644 index 00000000000000..964a8cf2d3b809 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-PR.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnPR: NgLocale = { + 'localeId': 'en-PR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-PW.ts b/packages/core/src/i18n/data/locale_en-PW.ts new file mode 100644 index 00000000000000..d3c97ccc8cc410 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-PW.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnPW: NgLocale = { + 'localeId': 'en-PW', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'US$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-RW.ts b/packages/core/src/i18n/data/locale_en-RW.ts new file mode 100644 index 00000000000000..0acb9cde617890 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-RW.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnRW: NgLocale = { + 'localeId': 'en-RW', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'RF', 'name': 'Rwandan Franc'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-SB.ts b/packages/core/src/i18n/data/locale_en-SB.ts new file mode 100644 index 00000000000000..da8b8682363cc7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-SB.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnSB: NgLocale = { + 'localeId': 'en-SB', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Solomon Islands Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-SC.ts b/packages/core/src/i18n/data/locale_en-SC.ts new file mode 100644 index 00000000000000..9fe60ba8ca50ee --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-SC.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnSC: NgLocale = { + 'localeId': 'en-SC', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'SR', 'name': 'Seychellois Rupee'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-SD.ts b/packages/core/src/i18n/data/locale_en-SD.ts new file mode 100644 index 00000000000000..494762035c770a --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-SD.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnSD: NgLocale = { + 'localeId': 'en-SD', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'SDG', 'name': 'Sudanese Pound'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-SE.ts b/packages/core/src/i18n/data/locale_en-SE.ts new file mode 100644 index 00000000000000..ad4f79b8009145 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-SE.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnSE: NgLocale = { + 'localeId': 'en-SE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': '×10^', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr', 'name': 'Swedish Krona'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-SG.ts b/packages/core/src/i18n/data/locale_en-SG.ts new file mode 100644 index 00000000000000..59b0f83ceed478 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-SG.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnSG: NgLocale = { + 'localeId': 'en-SG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Singapore Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-SH.ts b/packages/core/src/i18n/data/locale_en-SH.ts new file mode 100644 index 00000000000000..adf3bd2a58b74b --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-SH.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnSH: NgLocale = { + 'localeId': 'en-SH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'St. Helena Pound'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-SI.ts b/packages/core/src/i18n/data/locale_en-SI.ts new file mode 100644 index 00000000000000..941b2a5a17efc4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-SI.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnSI: NgLocale = { + 'localeId': 'en-SI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'e', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-SL.ts b/packages/core/src/i18n/data/locale_en-SL.ts new file mode 100644 index 00000000000000..ed3907122dabc8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-SL.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnSL: NgLocale = { + 'localeId': 'en-SL', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Le', 'name': 'Sierra Leonean Leone'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-SS.ts b/packages/core/src/i18n/data/locale_en-SS.ts new file mode 100644 index 00000000000000..dacf930fdc1e85 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-SS.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnSS: NgLocale = { + 'localeId': 'en-SS', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'South Sudanese Pound'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-SX.ts b/packages/core/src/i18n/data/locale_en-SX.ts new file mode 100644 index 00000000000000..fed7f12d477389 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-SX.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnSX: NgLocale = { + 'localeId': 'en-SX', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'NAf.', 'name': 'Netherlands Antillean Guilder'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-SZ.ts b/packages/core/src/i18n/data/locale_en-SZ.ts new file mode 100644 index 00000000000000..ff0ae23f7b764c --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-SZ.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnSZ: NgLocale = { + 'localeId': 'en-SZ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'E', 'name': 'Swazi Lilangeni'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-TC.ts b/packages/core/src/i18n/data/locale_en-TC.ts new file mode 100644 index 00000000000000..7233d5179b510c --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-TC.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnTC: NgLocale = { + 'localeId': 'en-TC', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'US$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-TK.ts b/packages/core/src/i18n/data/locale_en-TK.ts new file mode 100644 index 00000000000000..d131a7655004e9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-TK.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnTK: NgLocale = { + 'localeId': 'en-TK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'New Zealand Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-TO.ts b/packages/core/src/i18n/data/locale_en-TO.ts new file mode 100644 index 00000000000000..9ba33b8fd7a219 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-TO.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnTO: NgLocale = { + 'localeId': 'en-TO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'T$', 'name': 'Tongan Paʻanga'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-TT.ts b/packages/core/src/i18n/data/locale_en-TT.ts new file mode 100644 index 00000000000000..dc4496fee42e7d --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-TT.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnTT: NgLocale = { + 'localeId': 'en-TT', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Trinidad & Tobago Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-TV.ts b/packages/core/src/i18n/data/locale_en-TV.ts new file mode 100644 index 00000000000000..827462c53addc9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-TV.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnTV: NgLocale = { + 'localeId': 'en-TV', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Australian Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-TZ.ts b/packages/core/src/i18n/data/locale_en-TZ.ts new file mode 100644 index 00000000000000..5d27d8b46a8c0b --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-TZ.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnTZ: NgLocale = { + 'localeId': 'en-TZ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'Tanzanian Shilling'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-UG.ts b/packages/core/src/i18n/data/locale_en-UG.ts new file mode 100644 index 00000000000000..220f6e8fae6d3e --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-UG.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnUG: NgLocale = { + 'localeId': 'en-UG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'USh', 'name': 'Ugandan Shilling'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-UM.ts b/packages/core/src/i18n/data/locale_en-UM.ts new file mode 100644 index 00000000000000..c27520091f1c8c --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-UM.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnUM: NgLocale = { + 'localeId': 'en-UM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-US-POSIX.ts b/packages/core/src/i18n/data/locale_en-US-POSIX.ts new file mode 100644 index 00000000000000..99cd6f33c25bc7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-US-POSIX.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnUSPOSIX: NgLocale = { + 'localeId': 'en-US-POSIX', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '0/00', + 'infinity': 'INF', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #0.00', + 'decimal': '#0.######', + 'percent': '#0%', + 'scientific': '0.000000E+000' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-VC.ts b/packages/core/src/i18n/data/locale_en-VC.ts new file mode 100644 index 00000000000000..f0866ca1875df9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-VC.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnVC: NgLocale = { + 'localeId': 'en-VC', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'East Caribbean Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-VG.ts b/packages/core/src/i18n/data/locale_en-VG.ts new file mode 100644 index 00000000000000..2b3b84bb30d230 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-VG.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnVG: NgLocale = { + 'localeId': 'en-VG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'US$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-VI.ts b/packages/core/src/i18n/data/locale_en-VI.ts new file mode 100644 index 00000000000000..8e7796cb7e7883 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-VI.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnVI: NgLocale = { + 'localeId': 'en-VI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-VU.ts b/packages/core/src/i18n/data/locale_en-VU.ts new file mode 100644 index 00000000000000..9051bdcdcd74e0 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-VU.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnVU: NgLocale = { + 'localeId': 'en-VU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'VT', 'name': 'Vanuatu Vatu'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-WS.ts b/packages/core/src/i18n/data/locale_en-WS.ts new file mode 100644 index 00000000000000..19604568b1026a --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-WS.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnWS: NgLocale = { + 'localeId': 'en-WS', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'WS$', 'name': 'Samoan Tala'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-ZA.ts b/packages/core/src/i18n/data/locale_en-ZA.ts new file mode 100644 index 00000000000000..9592af9c3d8b4a --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-ZA.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnZA: NgLocale = { + 'localeId': 'en-ZA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd MMMM y', + 'long': 'dd MMMM y', + 'medium': 'dd MMM y', + 'short': 'y/MM/dd' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'R', 'name': 'South African Rand'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-ZM.ts b/packages/core/src/i18n/data/locale_en-ZM.ts new file mode 100644 index 00000000000000..031f29600d4fa7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-ZM.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnZM: NgLocale = { + 'localeId': 'en-ZM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'K', 'name': 'Zambian Kwacha'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en-ZW.ts b/packages/core/src/i18n/data/locale_en-ZW.ts new file mode 100644 index 00000000000000..f44425e4329d8f --- /dev/null +++ b/packages/core/src/i18n/data/locale_en-ZW.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEnZW: NgLocale = { + 'localeId': 'en-ZW', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, dd MMMM y', 'long': 'dd MMMM y', 'medium': 'dd MMM,y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'US$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_en.ts b/packages/core/src/i18n/data/locale_en.ts new file mode 100644 index 00000000000000..79d5c84fc3e0d9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_en.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEn: NgLocale = { + 'localeId': 'en', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_eo.ts b/packages/core/src/i18n/data/locale_eo.ts new file mode 100644 index 00000000000000..a3794c52ea33aa --- /dev/null +++ b/packages/core/src/i18n/data/locale_eo.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEo: NgLocale = { + 'localeId': 'eo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'atm', 'pm': 'ptm'}, + 'narrow': {'am': 'atm', 'pm': 'ptm'}, + 'wide': {'am': 'atm', 'pm': 'ptm'} + }, + 'standalone': { + 'abbreviated': {'am': 'atm', 'pm': 'ptm'}, + 'narrow': {'am': 'atm', 'pm': 'ptm'}, + 'wide': {'am': 'atm', 'pm': 'ptm'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'], + 'abbreviated': ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'], + 'wide': ['dimanĉo', 'lundo', 'mardo', 'merkredo', 'ĵaŭdo', 'vendredo', 'sabato'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'], + 'abbreviated': ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'], + 'wide': ['dimanĉo', 'lundo', 'mardo', 'merkredo', 'ĵaŭdo', 'vendredo', 'sabato'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aŭg', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'januaro', 'februaro', 'marto', 'aprilo', 'majo', 'junio', 'julio', 'aŭgusto', + 'septembro', 'oktobro', 'novembro', 'decembro' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aŭg', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'januaro', 'februaro', 'marto', 'aprilo', 'majo', 'junio', 'julio', 'aŭgusto', + 'septembro', 'oktobro', 'novembro', 'decembro' + ] + } + }, + 'eras': {'abbreviated': ['aK', 'pK'], 'narrow': ['aK', 'pK'], 'wide': ['aK', 'pK']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d-\'a\' \'de\' MMMM y', + 'long': 'y-MMMM-dd', + 'medium': 'y-MMM-dd', + 'short': 'yy-MM-dd' + }, + 'time': { + 'full': 'H-\'a\' \'horo\' \'kaj\' m:ss zzzz', + 'long': 'HH:mm:ss z', + 'medium': 'HH:mm:ss', + 'short': 'HH:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-419.ts b/packages/core/src/i18n/data/locale_es-419.ts new file mode 100644 index 00000000000000..3b0bfb061f1389 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-419.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEs419: NgLocale = { + 'localeId': 'es-419', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a.m.', + 'noon': 'del mediodía', + 'pm': 'p.m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a.m.', + 'noon': 'del mediodía', + 'pm': 'p.m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'EUR', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-AR.ts b/packages/core/src/i18n/data/locale_es-AR.ts new file mode 100644 index 00000000000000..50a205177110be --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-AR.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsAR: NgLocale = { + 'localeId': 'es-AR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'm.', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'peso argentino'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-BO.ts b/packages/core/src/i18n/data/locale_es-BO.ts new file mode 100644 index 00000000000000..6c47c6f7e16c39 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-BO.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsBO: NgLocale = { + 'localeId': 'es-BO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM \'de\' y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Bs', 'name': 'boliviano'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-BR.ts b/packages/core/src/i18n/data/locale_es-BR.ts new file mode 100644 index 00000000000000..18a933dabfe61d --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-BR.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsBR: NgLocale = { + 'localeId': 'es-BR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a.m.', + 'noon': 'del mediodía', + 'pm': 'p.m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a.m.', + 'noon': 'del mediodía', + 'pm': 'p.m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'R$', 'name': 'real brasileño'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-BZ.ts b/packages/core/src/i18n/data/locale_es-BZ.ts new file mode 100644 index 00000000000000..e44840ae737b01 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-BZ.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsBZ: NgLocale = { + 'localeId': 'es-BZ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a.m.', + 'noon': 'del mediodía', + 'pm': 'p.m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a.m.', + 'noon': 'del mediodía', + 'pm': 'p.m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'dólar beliceño'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-CL.ts b/packages/core/src/i18n/data/locale_es-CL.ts new file mode 100644 index 00000000000000..06bafde9d071e3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-CL.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsCL: NgLocale = { + 'localeId': 'es-CL', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['do', 'lu', 'ma', 'mi', 'ju', 'vi', 'sá'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd-MM-y', + 'short': 'dd-MM-yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00;¤-#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Peso chileno'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-CO.ts b/packages/core/src/i18n/data/locale_es-CO.ts new file mode 100644 index 00000000000000..161c17971bf4be --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-CO.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsCO: NgLocale = { + 'localeId': 'es-CO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'm.', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'm.', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'm.', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd/MM/y', + 'short': 'd/MM/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'peso colombiano'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-CR.ts b/packages/core/src/i18n/data/locale_es-CR.ts new file mode 100644 index 00000000000000..deedbaedea0362 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-CR.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsCR: NgLocale = { + 'localeId': 'es-CR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₡', 'name': 'colón costarricense'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-CU.ts b/packages/core/src/i18n/data/locale_es-CU.ts new file mode 100644 index 00000000000000..e18d1a94606fba --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-CU.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsCU: NgLocale = { + 'localeId': 'es-CU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a.m.', + 'noon': 'del mediodía', + 'pm': 'p.m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a.m.', + 'noon': 'del mediodía', + 'pm': 'p.m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a.m.', + 'noon': 'mediodía', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'peso cubano'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-DO.ts b/packages/core/src/i18n/data/locale_es-DO.ts new file mode 100644 index 00000000000000..9e72d20068b83f --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-DO.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsDO: NgLocale = { + 'localeId': 'es-DO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'día', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'm.', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'RD$', 'name': 'peso dominicano'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-EA.ts b/packages/core/src/i18n/data/locale_es-EA.ts new file mode 100644 index 00000000000000..0ab61b3d0cd988 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-EA.ts @@ -0,0 +1,167 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsEA: NgLocale = { + 'localeId': 'es-EA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': {'full': 'H:mm:ss (zzzz)', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-EC.ts b/packages/core/src/i18n/data/locale_es-EC.ts new file mode 100644 index 00000000000000..8de8d6efa8fb3c --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-EC.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsEC: NgLocale = { + 'localeId': 'es-EC', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00;¤-#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'dólar estadounidense'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-GQ.ts b/packages/core/src/i18n/data/locale_es-GQ.ts new file mode 100644 index 00000000000000..fc01b3efdb6a4c --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-GQ.ts @@ -0,0 +1,167 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsGQ: NgLocale = { + 'localeId': 'es-GQ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': {'full': 'H:mm:ss (zzzz)', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'franco CFA BEAC'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-GT.ts b/packages/core/src/i18n/data/locale_es-GT.ts new file mode 100644 index 00000000000000..43deb232ebf331 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-GT.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsGT: NgLocale = { + 'localeId': 'es-GT', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd/MM/y', + 'short': 'd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Q', 'name': 'quetzal'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-HN.ts b/packages/core/src/i18n/data/locale_es-HN.ts new file mode 100644 index 00000000000000..a88a07e6086651 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-HN.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsHN: NgLocale = { + 'localeId': 'es-HN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE dd \'de\' MMMM \'de\' y', + 'long': 'dd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'L', 'name': 'lempira hondureño'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-IC.ts b/packages/core/src/i18n/data/locale_es-IC.ts new file mode 100644 index 00000000000000..e9831aae24fa16 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-IC.ts @@ -0,0 +1,167 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsIC: NgLocale = { + 'localeId': 'es-IC', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': {'full': 'H:mm:ss (zzzz)', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-MX.ts b/packages/core/src/i18n/data/locale_es-MX.ts new file mode 100644 index 00000000000000..4c9e2b72256acd --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-MX.ts @@ -0,0 +1,166 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsMX: NgLocale = { + 'localeId': 'es-MX', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['do', 'lu', 'ma', 'mi', 'ju', 'vi', 'sá'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': + ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic'], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'peso mexicano'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-NI.ts b/packages/core/src/i18n/data/locale_es-NI.ts new file mode 100644 index 00000000000000..f3556697e1b35f --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-NI.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsNI: NgLocale = { + 'localeId': 'es-NI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'C$', 'name': 'córdoba nicaragüense'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-PA.ts b/packages/core/src/i18n/data/locale_es-PA.ts new file mode 100644 index 00000000000000..e53c0553d2bcfd --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-PA.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsPA: NgLocale = { + 'localeId': 'es-PA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'MM/dd/y', + 'short': 'MM/dd/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'B/.', 'name': 'balboa panameño'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-PE.ts b/packages/core/src/i18n/data/locale_es-PE.ts new file mode 100644 index 00000000000000..658e41cd4ee0c6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-PE.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsPE: NgLocale = { + 'localeId': 'es-PE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'set.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'setiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Ene.', 'Feb.', 'Mar.', 'Abr.', 'May.', 'Jun.', 'Jul.', 'Ago.', 'Set.', 'Oct.', 'Nov.', + 'Dic.' + ], + 'wide': [ + 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Setiembre', + 'Octubre', 'Noviembre', 'Diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'S/', 'name': 'sol peruano'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-PH.ts b/packages/core/src/i18n/data/locale_es-PH.ts new file mode 100644 index 00000000000000..8be998a9020dcb --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-PH.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsPH: NgLocale = { + 'localeId': 'es-PH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₱', 'name': 'peso filipino'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-PR.ts b/packages/core/src/i18n/data/locale_es-PR.ts new file mode 100644 index 00000000000000..624c798f1a3a2f --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-PR.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsPR: NgLocale = { + 'localeId': 'es-PR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'MM/dd/y', + 'short': 'MM/dd/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'dólar estadounidense'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-PY.ts b/packages/core/src/i18n/data/locale_es-PY.ts new file mode 100644 index 00000000000000..1d4292e12f2315 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-PY.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsPY: NgLocale = { + 'localeId': 'es-PY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'm.', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['do', 'lu', 'ma', 'mi', 'ju', 'vi', 'sa'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤ -#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Gs.', 'name': 'guaraní paraguayo'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-SV.ts b/packages/core/src/i18n/data/locale_es-SV.ts new file mode 100644 index 00000000000000..100a9f310bc153 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-SV.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsSV: NgLocale = { + 'localeId': 'es-SV', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'dólar estadounidense'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-US.ts b/packages/core/src/i18n/data/locale_es-US.ts new file mode 100644 index 00000000000000..81546c3e08fc35 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-US.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsUS: NgLocale = { + 'localeId': 'es-US', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sep.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'dólar estadounidense'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-UY.ts b/packages/core/src/i18n/data/locale_es-UY.ts new file mode 100644 index 00000000000000..d2cfb55ab7d9d4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-UY.ts @@ -0,0 +1,168 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsUY: NgLocale = { + 'localeId': 'es-UY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['e', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'set.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'setiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Ene.', 'Feb.', 'Mar.', 'Abr.', 'May.', 'Jun.', 'Jul.', 'Ago.', 'Set.', 'Oct.', 'Nov.', + 'Dic.' + ], + 'wide': [ + 'Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Setiembre', + 'Octubre', 'Noviembre', 'Diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'peso uruguayo'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es-VE.ts b/packages/core/src/i18n/data/locale_es-VE.ts new file mode 100644 index 00000000000000..165e58c6e80f98 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es-VE.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEsVE: NgLocale = { + 'localeId': 'es-VE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'm.', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'j', 'v', 's'], + 'short': ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00;¤-#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Bs.', 'name': 'bolívar venezolano'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_es.ts b/packages/core/src/i18n/data/locale_es.ts new file mode 100644 index 00000000000000..0164346de79cb9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_es.ts @@ -0,0 +1,167 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEs: NgLocale = { + 'localeId': 'es', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'del mediodía', + 'pm': 'p. m.', + 'morning1': 'de la madrugada', + 'morning2': 'de la mañana', + 'evening1': 'de la tarde', + 'night1': 'de la noche' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'narrow': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + }, + 'wide': { + 'am': 'a. m.', + 'noon': 'mediodía', + 'pm': 'p. m.', + 'morning1': 'madrugada', + 'morning2': 'mañana', + 'evening1': 'tarde', + 'night1': 'noche' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['DO', 'LU', 'MA', 'MI', 'JU', 'VI', 'SA'], + 'abbreviated': ['dom.', 'lun.', 'mar.', 'mié.', 'jue.', 'vie.', 'sáb.'], + 'wide': ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ene.', 'feb.', 'mar.', 'abr.', 'may.', 'jun.', 'jul.', 'ago.', 'sept.', 'oct.', 'nov.', + 'dic.' + ], + 'wide': [ + 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', + 'octubre', 'noviembre', 'diciembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a. C.', 'd. C.'], + 'narrow': ['a. C.', 'd. C.'], + 'wide': ['antes de Cristo', 'después de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': {'full': 'H:mm:ss (zzzz)', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'evening1': {'from': '12:00', 'to': '20:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_et.ts b/packages/core/src/i18n/data/locale_et.ts new file mode 100644 index 00000000000000..c29e3f5b943fb7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_et.ts @@ -0,0 +1,179 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEt: NgLocale = { + 'localeId': 'et', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'keskööl', + 'am': 'AM', + 'noon': 'keskpäeval', + 'pm': 'PM', + 'morning1': 'hommikul', + 'afternoon1': 'pärastlõunal', + 'evening1': 'õhtul', + 'night1': 'öösel' + }, + 'narrow': { + 'midnight': 'keskööl', + 'am': 'AM', + 'noon': 'keskpäeval', + 'pm': 'PM', + 'morning1': 'hommikul', + 'afternoon1': 'pärastlõunal', + 'evening1': 'õhtul', + 'night1': 'öösel' + }, + 'wide': { + 'midnight': 'keskööl', + 'am': 'AM', + 'noon': 'keskpäeval', + 'pm': 'PM', + 'morning1': 'hommikul', + 'afternoon1': 'pärastlõunal', + 'evening1': 'õhtul', + 'night1': 'öösel' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'kesköö', + 'am': 'AM', + 'noon': 'keskpäev', + 'pm': 'PM', + 'morning1': 'hommik', + 'afternoon1': 'pärastlõuna', + 'evening1': 'õhtu', + 'night1': 'öö' + }, + 'narrow': { + 'midnight': 'kesköö', + 'am': 'AM', + 'noon': 'keskpäev', + 'pm': 'PM', + 'morning1': 'hommik', + 'afternoon1': 'pärastlõuna', + 'evening1': 'õhtu', + 'night1': 'öö' + }, + 'wide': { + 'midnight': 'kesköö', + 'am': 'AM', + 'noon': 'keskpäev', + 'pm': 'PM', + 'morning1': 'hommik', + 'afternoon1': 'pärastlõuna', + 'evening1': 'õhtu', + 'night1': 'öö' + } + } + }, + 'days': { + 'format': { + 'narrow': ['P', 'E', 'T', 'K', 'N', 'R', 'L'], + 'short': ['P', 'E', 'T', 'K', 'N', 'R', 'L'], + 'abbreviated': ['P', 'E', 'T', 'K', 'N', 'R', 'L'], + 'wide': [ + 'pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev' + ] + }, + 'standalone': { + 'narrow': ['P', 'E', 'T', 'K', 'N', 'R', 'L'], + 'short': ['P', 'E', 'T', 'K', 'N', 'R', 'L'], + 'abbreviated': ['P', 'E', 'T', 'K', 'N', 'R', 'L'], + 'wide': [ + 'pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'V', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', + 'dets' + ], + 'wide': [ + 'jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september', + 'oktoober', 'november', 'detsember' + ] + }, + 'standalone': { + 'narrow': ['J', 'V', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', + 'dets' + ], + 'wide': [ + 'jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september', + 'oktoober', 'november', 'detsember' + ] + } + }, + 'eras': { + 'abbreviated': ['eKr', 'pKr'], + 'narrow': ['eKr', 'pKr'], + 'wide': ['enne Kristust', 'pärast Kristust'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'd. MMM y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '23:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '23:00', 'to': '05:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': '×10^', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_eu.ts b/packages/core/src/i18n/data/locale_eu.ts new file mode 100644 index 00000000000000..570fede8a10bc3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_eu.ts @@ -0,0 +1,189 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEu: NgLocale = { + 'localeId': 'eu', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'gauerdia', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'goiz.', + 'morning2': 'goizeko', + 'afternoon1': 'eguerd.', + 'afternoon2': 'arrats.', + 'evening1': 'iluntz.', + 'night1': 'gau.' + }, + 'narrow': { + 'midnight': 'gauerdia', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'goiz.', + 'morning2': 'goizeko', + 'afternoon1': 'eguerd.', + 'afternoon2': 'arrats.', + 'evening1': 'iluntz.', + 'night1': 'gau.' + }, + 'wide': { + 'midnight': 'gauerdia', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'goizaldeko', + 'morning2': 'goizeko', + 'afternoon1': 'eguerdiko', + 'afternoon2': 'arratsaldeko', + 'evening1': 'iluntzeko', + 'night1': 'gaueko' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'gauerdia', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'goiz.', + 'morning2': 'goiza', + 'afternoon1': 'eguerd.', + 'afternoon2': 'arrats.', + 'evening1': 'iluntz.', + 'night1': 'gaua' + }, + 'narrow': { + 'midnight': 'gauerdia', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'goiz.', + 'morning2': 'goiza', + 'afternoon1': 'eguerd.', + 'afternoon2': 'arrats.', + 'evening1': 'iluntz.', + 'night1': 'gaua' + }, + 'wide': { + 'midnight': 'gauerdia', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'goizaldea', + 'morning2': 'goiza', + 'afternoon1': 'eguerdia', + 'afternoon2': 'arratsaldea', + 'evening1': 'iluntzea', + 'night1': 'gaua' + } + } + }, + 'days': { + 'format': { + 'narrow': ['I', 'A', 'A', 'A', 'O', 'O', 'L'], + 'short': ['ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.'], + 'abbreviated': ['ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.'], + 'wide': [ + 'igandea', 'astelehena', 'asteartea', 'asteazkena', 'osteguna', 'ostirala', 'larunbata' + ] + }, + 'standalone': { + 'narrow': ['I', 'A', 'A', 'A', 'O', 'O', 'L'], + 'short': ['ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.'], + 'abbreviated': ['ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.'], + 'wide': [ + 'Igandea', 'Astelehena', 'Asteartea', 'Asteazkena', 'Osteguna', 'Ostirala', 'Larunbata' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['U', 'O', 'M', 'A', 'M', 'E', 'U', 'A', 'I', 'U', 'A', 'A'], + 'abbreviated': [ + 'urt.', 'ots.', 'mar.', 'api.', 'mai.', 'eka.', 'uzt.', 'abu.', 'ira.', 'urr.', 'aza.', + 'abe.' + ], + 'wide': [ + 'urtarrila', 'otsaila', 'martxoa', 'apirila', 'maiatza', 'ekaina', 'uztaila', 'abuztua', + 'iraila', 'urria', 'azaroa', 'abendua' + ] + }, + 'standalone': { + 'narrow': ['U', 'O', 'M', 'A', 'M', 'E', 'U', 'A', 'I', 'U', 'A', 'A'], + 'abbreviated': [ + 'urt.', 'ots.', 'mar.', 'api.', 'mai.', 'eka.', 'uzt.', 'abu.', 'ira.', 'urr.', 'aza.', + 'abe.' + ], + 'wide': [ + 'urtarrila', 'Otsaila', 'Martxoa', 'Apirila', 'Maiatza', 'Ekaina', 'Uztaila', 'Abuztua', + 'Iraila', 'Urria', 'Azaroa', 'Abendua' + ] + } + }, + 'eras': { + 'abbreviated': ['K.a.', 'K.o.'], + 'narrow': ['K.a.', 'K.o.'], + 'wide': ['K.a.', 'Kristo ondoren'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y(\'e\')\'ko\' MMMM d, EEEE', + 'long': 'y(\'e\')\'ko\' MMMM d', + 'medium': 'y MMM d', + 'short': 'yy/M/d' + }, + 'time': { + 'full': 'HH:mm:ss (zzzz)', + 'long': 'HH:mm:ss (z)', + 'medium': 'HH:mm:ss', + 'short': 'HH:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'afternoon2': {'from': '14:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '24:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '% #,##0', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euroa'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ewo.ts b/packages/core/src/i18n/data/locale_ewo.ts new file mode 100644 index 00000000000000..07075293f0facf --- /dev/null +++ b/packages/core/src/i18n/data/locale_ewo.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleEwo: NgLocale = { + 'localeId': 'ewo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'kíkíríg', 'pm': 'ngəgógəle'}, + 'narrow': {'am': 'kíkíríg', 'pm': 'ngəgógəle'}, + 'wide': {'am': 'kíkíríg', 'pm': 'ngəgógəle'} + }, + 'standalone': { + 'abbreviated': {'am': 'kíkíríg', 'pm': 'ngəgógəle'}, + 'narrow': {'am': 'kíkíríg', 'pm': 'ngəgógəle'}, + 'wide': {'am': 'kíkíríg', 'pm': 'ngəgógəle'} + } + }, + 'days': { + 'format': { + 'narrow': ['s', 'm', 's', 's', 's', 'f', 's'], + 'short': ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'fúl', 'sér'], + 'abbreviated': ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'fúl', 'sér'], + 'wide': [ + 'sɔ́ndɔ', 'mɔ́ndi', 'sɔ́ndɔ məlú mə́bɛ̌', 'sɔ́ndɔ məlú mə́lɛ́', + 'sɔ́ndɔ məlú mə́nyi', 'fúladé', 'séradé' + ] + }, + 'standalone': { + 'narrow': ['s', 'm', 's', 's', 's', 'f', 's'], + 'short': ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'fúl', 'sér'], + 'abbreviated': ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'fúl', 'sér'], + 'wide': [ + 'sɔ́ndɔ', 'mɔ́ndi', 'sɔ́ndɔ məlú mə́bɛ̌', 'sɔ́ndɔ məlú mə́lɛ́', + 'sɔ́ndɔ məlú mə́nyi', 'fúladé', 'séradé' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['o', 'b', 'l', 'n', 't', 's', 'z', 'm', 'e', 'a', 'd', 'b'], + 'abbreviated': + ['ngo', 'ngb', 'ngl', 'ngn', 'ngt', 'ngs', 'ngz', 'ngm', 'nge', 'nga', 'ngad', 'ngab'], + 'wide': [ + 'ngɔn osú', 'ngɔn bɛ̌', 'ngɔn lála', 'ngɔn nyina', 'ngɔn tána', 'ngɔn saməna', + 'ngɔn zamgbála', 'ngɔn mwom', 'ngɔn ebulú', 'ngɔn awóm', 'ngɔn awóm ai dziá', + 'ngɔn awóm ai bɛ̌' + ] + }, + 'standalone': { + 'narrow': ['o', 'b', 'l', 'n', 't', 's', 'z', 'm', 'e', 'a', 'd', 'b'], + 'abbreviated': + ['ngo', 'ngb', 'ngl', 'ngn', 'ngt', 'ngs', 'ngz', 'ngm', 'nge', 'nga', 'ngad', 'ngab'], + 'wide': [ + 'ngɔn osú', 'ngɔn bɛ̌', 'ngɔn lála', 'ngɔn nyina', 'ngɔn tána', 'ngɔn saməna', + 'ngɔn zamgbála', 'ngɔn mwom', 'ngɔn ebulú', 'ngɔn awóm', 'ngɔn awóm ai dziá', + 'ngɔn awóm ai bɛ̌' + ] + } + }, + 'eras': { + 'abbreviated': ['oyk', 'ayk'], + 'narrow': ['oyk', 'ayk'], + 'wide': ['osúsúa Yésus kiri', 'ámvus Yésus Kirís'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'Fəláŋ CFA (BEAC)'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_fa-AF.ts b/packages/core/src/i18n/data/locale_fa-AF.ts new file mode 100644 index 00000000000000..bc081f1bac372f --- /dev/null +++ b/packages/core/src/i18n/data/locale_fa-AF.ts @@ -0,0 +1,187 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFaAF: NgLocale = { + 'localeId': 'fa-AF', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'نیمه‌شب', + 'am': 'ق.ظ.', + 'noon': 'ظهر', + 'pm': 'ب.ظ.', + 'morning1': 'صبح', + 'afternoon1': 'بعد از چاشت', + 'evening1': 'شام', + 'night1': 'شب' + }, + 'narrow': { + 'midnight': 'ن', + 'am': 'ق', + 'noon': 'ظ', + 'pm': 'ب', + 'morning1': 'ص', + 'afternoon1': 'ب.ظ.', + 'evening1': 'ش', + 'night1': 'ش' + }, + 'wide': { + 'midnight': 'نیمه‌شب', + 'am': 'قبل‌ازظهر', + 'noon': 'ظهر', + 'pm': 'بعدازظهر', + 'morning1': 'صبح', + 'afternoon1': 'بعد از چاشت', + 'evening1': 'شام', + 'night1': 'شب' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'نیمه‌شب', + 'am': 'ق.ظ.', + 'noon': 'ظ', + 'pm': 'ب.ظ.', + 'morning1': 'صبح', + 'afternoon1': 'بعد از چاشت', + 'evening1': 'شام', + 'night1': 'شب' + }, + 'narrow': { + 'midnight': 'ن', + 'am': 'ق.ظ.', + 'noon': 'ظ', + 'pm': 'ب.ظ.', + 'morning1': 'ص', + 'afternoon1': 'بعد از چاشت', + 'evening1': 'شام', + 'night1': 'ش' + }, + 'wide': { + 'midnight': 'نیمه‌شب', + 'am': 'قبل‌ازظهر', + 'noon': 'ظهر', + 'pm': 'بعدازظهر', + 'morning1': 'صبح', + 'afternoon1': 'بعد از چاشت', + 'evening1': 'شام', + 'night1': 'شب' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + 'short': ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'], + 'abbreviated': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ], + 'wide': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ] + }, + 'standalone': { + 'narrow': ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + 'short': ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'], + 'abbreviated': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ], + 'wide': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], + 'abbreviated': [ + 'جنو', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جول', + 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسم' + ], + 'wide': [ + 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', + 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + }, + 'standalone': { + 'narrow': ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'ا', 'ن', 'د'], + 'abbreviated': [ + 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', + 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ], + 'wide': [ + 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', + 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م.', 'م.'], + 'narrow': ['ق', 'م'], + 'wide': ['قبل از میلاد', 'میلادی'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [4, 5], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'y/M/d'}, + 'time': + {'full': 'H:mm:ss (zzzz)', 'long': 'H:mm:ss (z)', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': { + 'full': '{1}، ساعت {0}', + 'long': '{1}، ساعت {0}', + 'medium': '{1}،‏ {0}', + 'short': '{1}،‏ {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '17:00'}, + 'evening1': {'from': '17:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '‎+', + 'minusSign': '‎−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ناعدد', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '؋', 'name': 'افغانی افغانستان'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fa.ts b/packages/core/src/i18n/data/locale_fa.ts new file mode 100644 index 00000000000000..343c4ac981dfcc --- /dev/null +++ b/packages/core/src/i18n/data/locale_fa.ts @@ -0,0 +1,187 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFa: NgLocale = { + 'localeId': 'fa', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'نیمه‌شب', + 'am': 'ق.ظ.', + 'noon': 'ظهر', + 'pm': 'ب.ظ.', + 'morning1': 'صبح', + 'afternoon1': 'ب.ظ.', + 'evening1': 'عصر', + 'night1': 'شب' + }, + 'narrow': { + 'midnight': 'ن', + 'am': 'ق', + 'noon': 'ظ', + 'pm': 'ب', + 'morning1': 'ص', + 'afternoon1': 'ب.ظ.', + 'evening1': 'ع', + 'night1': 'ش' + }, + 'wide': { + 'midnight': 'نیمه‌شب', + 'am': 'قبل‌ازظهر', + 'noon': 'ظهر', + 'pm': 'بعدازظهر', + 'morning1': 'صبح', + 'afternoon1': 'عصر', + 'evening1': 'عصر', + 'night1': 'شب' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'نیمه‌شب', + 'am': 'ق.ظ.', + 'noon': 'ظ', + 'pm': 'ب.ظ.', + 'morning1': 'صبح', + 'afternoon1': 'ب.ظ.', + 'evening1': 'عصر', + 'night1': 'شب' + }, + 'narrow': { + 'midnight': 'ن', + 'am': 'ق.ظ.', + 'noon': 'ظ', + 'pm': 'ب.ظ.', + 'morning1': 'ص', + 'afternoon1': 'ب.ظ.', + 'evening1': 'ع', + 'night1': 'ش' + }, + 'wide': { + 'midnight': 'نیمه‌شب', + 'am': 'قبل‌ازظهر', + 'noon': 'ظهر', + 'pm': 'بعدازظهر', + 'morning1': 'صبح', + 'afternoon1': 'بعدازظهر', + 'evening1': 'عصر', + 'night1': 'شب' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + 'short': ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'], + 'abbreviated': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ], + 'wide': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ] + }, + 'standalone': { + 'narrow': ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + 'short': ['۱ش', '۲ش', '۳ش', '۴ش', '۵ش', 'ج', 'ش'], + 'abbreviated': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ], + 'wide': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'], + 'abbreviated': [ + 'ژانویهٔ', 'فوریهٔ', 'مارس', 'آوریل', 'مهٔ', 'ژوئن', + 'ژوئیهٔ', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' + ], + 'wide': [ + 'ژانویهٔ', 'فوریهٔ', 'مارس', 'آوریل', 'مهٔ', 'ژوئن', + 'ژوئیهٔ', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' + ] + }, + 'standalone': { + 'narrow': ['ژ', 'ف', 'م', 'آ', 'م', 'ژ', 'ژ', 'ا', 'س', 'ا', 'ن', 'د'], + 'abbreviated': [ + 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', + 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' + ], + 'wide': [ + 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', + 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ق.م.', 'م.'], + 'narrow': ['ق', 'م'], + 'wide': ['قبل از میلاد', 'میلادی'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 5], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'y/M/d'}, + 'time': + {'full': 'H:mm:ss (zzzz)', 'long': 'H:mm:ss (z)', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': { + 'full': '{1}، ساعت {0}', + 'long': '{1}، ساعت {0}', + 'medium': '{1}،‏ {0}', + 'short': '{1}،‏ {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '17:00'}, + 'evening1': {'from': '17:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '‎+', + 'minusSign': '‎−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ناعدد', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '‎¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ریال', 'name': 'ریال ایران'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ff-CM.ts b/packages/core/src/i18n/data/locale_ff-CM.ts new file mode 100644 index 00000000000000..377fc3a5b96b44 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ff-CM.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFfCM: NgLocale = { + 'localeId': 'ff-CM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'narrow': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'wide': {'am': 'subaka', 'pm': 'kikiiɗe'} + }, + 'standalone': { + 'abbreviated': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'narrow': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'wide': {'am': 'subaka', 'pm': 'kikiiɗe'} + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'a', 'm', 'n', 'n', 'm', 'h'], + 'short': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'abbreviated': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'wide': ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'] + }, + 'standalone': { + 'narrow': ['d', 'a', 'm', 'n', 'n', 'm', 'h'], + 'short': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'abbreviated': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'wide': ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'] + } + }, + 'months': { + 'format': { + 'narrow': ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + 'abbreviated': + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + 'wide': [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', + 'yarkomaa', 'jolal', 'bowte' + ] + }, + 'standalone': { + 'narrow': ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + 'abbreviated': + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + 'wide': [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', + 'yarkomaa', 'jolal', 'bowte' + ] + } + }, + 'eras': { + 'abbreviated': ['H-I', 'C-I'], + 'narrow': ['H-I', 'C-I'], + 'wide': ['Hade Iisa', 'Caggal Iisa'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'Mbuuɗi Seefaa BEAC'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ff-GN.ts b/packages/core/src/i18n/data/locale_ff-GN.ts new file mode 100644 index 00000000000000..bb88a29ca39786 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ff-GN.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFfGN: NgLocale = { + 'localeId': 'ff-GN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'narrow': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'wide': {'am': 'subaka', 'pm': 'kikiiɗe'} + }, + 'standalone': { + 'abbreviated': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'narrow': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'wide': {'am': 'subaka', 'pm': 'kikiiɗe'} + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'a', 'm', 'n', 'n', 'm', 'h'], + 'short': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'abbreviated': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'wide': ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'] + }, + 'standalone': { + 'narrow': ['d', 'a', 'm', 'n', 'n', 'm', 'h'], + 'short': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'abbreviated': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'wide': ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'] + } + }, + 'months': { + 'format': { + 'narrow': ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + 'abbreviated': + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + 'wide': [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', + 'yarkomaa', 'jolal', 'bowte' + ] + }, + 'standalone': { + 'narrow': ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + 'abbreviated': + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + 'wide': [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', + 'yarkomaa', 'jolal', 'bowte' + ] + } + }, + 'eras': { + 'abbreviated': ['H-I', 'C-I'], + 'narrow': ['H-I', 'C-I'], + 'wide': ['Hade Iisa', 'Caggal Iisa'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FG', 'name': 'GNF'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ff-MR.ts b/packages/core/src/i18n/data/locale_ff-MR.ts new file mode 100644 index 00000000000000..45a6be2ac4da98 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ff-MR.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFfMR: NgLocale = { + 'localeId': 'ff-MR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'narrow': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'wide': {'am': 'subaka', 'pm': 'kikiiɗe'} + }, + 'standalone': { + 'abbreviated': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'narrow': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'wide': {'am': 'subaka', 'pm': 'kikiiɗe'} + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'a', 'm', 'n', 'n', 'm', 'h'], + 'short': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'abbreviated': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'wide': ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'] + }, + 'standalone': { + 'narrow': ['d', 'a', 'm', 'n', 'n', 'm', 'h'], + 'short': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'abbreviated': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'wide': ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'] + } + }, + 'months': { + 'format': { + 'narrow': ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + 'abbreviated': + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + 'wide': [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', + 'yarkomaa', 'jolal', 'bowte' + ] + }, + 'standalone': { + 'narrow': ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + 'abbreviated': + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + 'wide': [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', + 'yarkomaa', 'jolal', 'bowte' + ] + } + }, + 'eras': { + 'abbreviated': ['H-I', 'C-I'], + 'narrow': ['H-I', 'C-I'], + 'wide': ['Hade Iisa', 'Caggal Iisa'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'UM', 'name': 'Ugiyya Muritani'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ff.ts b/packages/core/src/i18n/data/locale_ff.ts new file mode 100644 index 00000000000000..6c49d07e43e90b --- /dev/null +++ b/packages/core/src/i18n/data/locale_ff.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFf: NgLocale = { + 'localeId': 'ff', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'narrow': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'wide': {'am': 'subaka', 'pm': 'kikiiɗe'} + }, + 'standalone': { + 'abbreviated': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'narrow': {'am': 'subaka', 'pm': 'kikiiɗe'}, + 'wide': {'am': 'subaka', 'pm': 'kikiiɗe'} + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'a', 'm', 'n', 'n', 'm', 'h'], + 'short': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'abbreviated': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'wide': ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'] + }, + 'standalone': { + 'narrow': ['d', 'a', 'm', 'n', 'n', 'm', 'h'], + 'short': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'abbreviated': ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], + 'wide': ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'] + } + }, + 'months': { + 'format': { + 'narrow': ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + 'abbreviated': + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + 'wide': [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', + 'yarkomaa', 'jolal', 'bowte' + ] + }, + 'standalone': { + 'narrow': ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], + 'abbreviated': + ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], + 'wide': [ + 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', + 'yarkomaa', 'jolal', 'bowte' + ] + } + }, + 'eras': { + 'abbreviated': ['H-I', 'C-I'], + 'narrow': ['H-I', 'C-I'], + 'wide': ['Hade Iisa', 'Caggal Iisa'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'Mbuuɗu Seefaa BCEAO'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fi.ts b/packages/core/src/i18n/data/locale_fi.ts new file mode 100644 index 00000000000000..7b7370529a9f2b --- /dev/null +++ b/packages/core/src/i18n/data/locale_fi.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFi: NgLocale = { + 'localeId': 'fi', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'keskiyöllä', + 'am': 'ap.', + 'noon': 'keskip.', + 'pm': 'ip.', + 'morning1': 'aamulla', + 'morning2': 'aamup.', + 'afternoon1': 'iltap.', + 'evening1': 'illalla', + 'night1': 'yöllä' + }, + 'narrow': { + 'midnight': 'ky.', + 'am': 'ap.', + 'noon': 'kp.', + 'pm': 'ip.', + 'morning1': 'aamulla', + 'morning2': 'ap.', + 'afternoon1': 'ip.', + 'evening1': 'illalla', + 'night1': 'yöllä' + }, + 'wide': { + 'midnight': 'keskiyöllä', + 'am': 'ap.', + 'noon': 'keskipäivällä', + 'pm': 'ip.', + 'morning1': 'aamulla', + 'morning2': 'aamupäivällä', + 'afternoon1': 'iltapäivällä', + 'evening1': 'illalla', + 'night1': 'yöllä' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'keskiyö', + 'am': 'ap.', + 'noon': 'keskip.', + 'pm': 'ip.', + 'morning1': 'aamu', + 'morning2': 'aamup.', + 'afternoon1': 'iltap.', + 'evening1': 'ilta', + 'night1': 'yö' + }, + 'narrow': { + 'midnight': 'ky.', + 'am': 'ap.', + 'noon': 'kp.', + 'pm': 'ip.', + 'morning1': 'aamu', + 'morning2': 'ap.', + 'afternoon1': 'ip.', + 'evening1': 'ilta', + 'night1': 'yö' + }, + 'wide': { + 'midnight': 'keskiyö', + 'am': 'ap.', + 'noon': 'keskipäivä', + 'pm': 'ip.', + 'morning1': 'aamu', + 'morning2': 'aamupäivä', + 'afternoon1': 'iltapäivä', + 'evening1': 'ilta', + 'night1': 'yö' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'K', 'T', 'P', 'L'], + 'short': ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'], + 'abbreviated': ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'], + 'wide': [ + 'sunnuntaina', 'maanantaina', 'tiistaina', 'keskiviikkona', 'torstaina', 'perjantaina', + 'lauantaina' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'K', 'T', 'P', 'L'], + 'short': ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'], + 'abbreviated': ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'], + 'wide': [ + 'sunnuntai', 'maanantai', 'tiistai', 'keskiviikko', 'torstai', 'perjantai', 'lauantai' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['T', 'H', 'M', 'H', 'T', 'K', 'H', 'E', 'S', 'L', 'M', 'J'], + 'abbreviated': [ + 'tammik.', 'helmik.', 'maalisk.', 'huhtik.', 'toukok.', 'kesäk.', 'heinäk.', 'elok.', + 'syysk.', 'lokak.', 'marrask.', 'jouluk.' + ], + 'wide': [ + 'tammikuuta', 'helmikuuta', 'maaliskuuta', 'huhtikuuta', 'toukokuuta', 'kesäkuuta', + 'heinäkuuta', 'elokuuta', 'syyskuuta', 'lokakuuta', 'marraskuuta', 'joulukuuta' + ] + }, + 'standalone': { + 'narrow': ['T', 'H', 'M', 'H', 'T', 'K', 'H', 'E', 'S', 'L', 'M', 'J'], + 'abbreviated': [ + 'tammi', 'helmi', 'maalis', 'huhti', 'touko', 'kesä', 'heinä', 'elo', 'syys', 'loka', + 'marras', 'joulu' + ], + 'wide': [ + 'tammikuu', 'helmikuu', 'maaliskuu', 'huhtikuu', 'toukokuu', 'kesäkuu', 'heinäkuu', + 'elokuu', 'syyskuu', 'lokakuu', 'marraskuu', 'joulukuu' + ] + } + }, + 'eras': { + 'abbreviated': ['eKr.', 'jKr.'], + 'narrow': ['eKr', 'jKr'], + 'wide': ['ennen Kristuksen syntymää', 'jälkeen Kristuksen syntymän'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'cccc d. MMMM y', 'long': 'd. MMMM y', 'medium': 'd.M.y', 'short': 'd.M.y'}, + 'time': {'full': 'H.mm.ss zzzz', 'long': 'H.mm.ss z', 'medium': 'H.mm.ss', 'short': 'H.mm'}, + 'dateTime': { + 'full': '{1} \'klo\' {0}', + 'long': '{1} \'klo\' {0}', + 'medium': '{1} \'klo\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '23:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '23:00', 'to': '05:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'epäluku', + 'timeSeparator': '.' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fil.ts b/packages/core/src/i18n/data/locale_fil.ts new file mode 100644 index 00000000000000..cda510d4b1f43f --- /dev/null +++ b/packages/core/src/i18n/data/locale_fil.ts @@ -0,0 +1,184 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFil: NgLocale = { + 'localeId': 'fil', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'hatinggabi', + 'am': 'AM', + 'noon': 'tanghaling-tapat', + 'pm': 'PM', + 'morning1': 'nang umaga', + 'morning2': 'madaling-araw', + 'afternoon1': 'tanghali', + 'evening1': 'ng hapon', + 'night1': 'gabi' + }, + 'narrow': { + 'midnight': 'hatinggabi', + 'am': 'am', + 'noon': 'tanghaling-tapat', + 'pm': 'pm', + 'morning1': 'umaga', + 'morning2': 'madaling-araw', + 'afternoon1': 'tanghali', + 'evening1': 'ng hapon', + 'night1': 'gabi' + }, + 'wide': { + 'midnight': 'hatinggabi', + 'am': 'AM', + 'noon': 'tanghaling-tapat', + 'pm': 'PM', + 'morning1': 'nang umaga', + 'morning2': 'madaling-araw', + 'afternoon1': 'tanghali', + 'evening1': 'ng hapon', + 'night1': 'ng gabi' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'hatinggabi', + 'am': 'AM', + 'noon': 'tanghaling-tapat', + 'pm': 'PM', + 'morning1': 'umaga', + 'morning2': 'madaling-araw', + 'afternoon1': 'tanghali', + 'evening1': 'hapon', + 'night1': 'gabi' + }, + 'narrow': { + 'midnight': 'hatinggabi', + 'am': 'AM', + 'noon': 'tanghaling-tapat', + 'pm': 'PM', + 'morning1': 'umaga', + 'morning2': 'madaling-araw', + 'afternoon1': 'tanghali', + 'evening1': 'hapon', + 'night1': 'gabi' + }, + 'wide': { + 'midnight': 'hatinggabi', + 'am': 'AM', + 'noon': 'tanghaling-tapat', + 'pm': 'PM', + 'morning1': 'umaga', + 'morning2': 'madaling-araw', + 'afternoon1': 'tanghali', + 'evening1': 'hapon', + 'night1': 'gabi' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'], + 'short': ['Li', 'Lu', 'Ma', 'Mi', 'Hu', 'Bi', 'Sa'], + 'abbreviated': ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'], + 'wide': ['Linggo', 'Lunes', 'Martes', 'Miyerkules', 'Huwebes', 'Biyernes', 'Sabado'] + }, + 'standalone': { + 'narrow': ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'], + 'short': ['Li', 'Lu', 'Ma', 'Mi', 'Hu', 'Bi', 'Sa'], + 'abbreviated': ['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'], + 'wide': ['Linggo', 'Lunes', 'Martes', 'Miyerkules', 'Huwebes', 'Biyernes', 'Sabado'] + } + }, + 'months': { + 'format': { + 'narrow': + ['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], + 'abbreviated': + ['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], + 'wide': [ + 'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre', + 'Oktubre', 'Nobyembre', 'Disyembre' + ] + }, + 'standalone': { + 'narrow': ['E', 'P', 'M', 'A', 'M', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], + 'abbreviated': + ['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], + 'wide': [ + 'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre', + 'Oktubre', 'Nobyembre', 'Disyembre' + ] + } + }, + 'eras': {'abbreviated': ['BC', 'AD'], 'narrow': ['BC', 'AD'], 'wide': ['BC', 'AD']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'nang\' {0}', + 'long': '{1} \'nang\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '18:00'}, + 'midnight': '00:00', + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '18:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₱', 'name': 'Piso ng Pilipinas'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && (i === 1 || i === 2 || i === 3) || + v === 0 && !(i % 10 === 4 || i % 10 === 6 || i % 10 === 9) || + !(v === 0) && !(f % 10 === 4 || f % 10 === 6 || f % 10 === 9)) + return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fo-DK.ts b/packages/core/src/i18n/data/locale_fo-DK.ts new file mode 100644 index 00000000000000..008a3314572587 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fo-DK.ts @@ -0,0 +1,121 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFoDK: NgLocale = { + 'localeId': 'fo-DK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'M', 'H', 'F', 'L'], + 'short': ['su.', 'má.', 'tý.', 'mi.', 'hó.', 'fr.', 'le.'], + 'abbreviated': ['sun.', 'mán.', 'týs.', 'mik.', 'hós.', 'frí.', 'ley.'], + 'wide': [ + 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', + 'leygardagur' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'M', 'H', 'F', 'L'], + 'short': ['su', 'má', 'tý', 'mi', 'hó', 'fr', 'le'], + 'abbreviated': ['sun', 'mán', 'týs', 'mik', 'hós', 'frí', 'ley'], + 'wide': [ + 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', + 'leygardagur' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'des.' + ], + 'wide': [ + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'desember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], + 'wide': [ + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'desember' + ] + } + }, + 'eras': { + 'abbreviated': ['f.Kr.', 'e.Kr.'], + 'narrow': ['fKr', 'eKr'], + 'wide': ['fyri Krist', 'eftir Krist'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'kl\'. {0}', + 'long': '{1} \'kl\'. {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr.', 'name': 'donsk króna'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fo.ts b/packages/core/src/i18n/data/locale_fo.ts new file mode 100644 index 00000000000000..956cbc2c2d3e16 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fo.ts @@ -0,0 +1,121 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFo: NgLocale = { + 'localeId': 'fo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'M', 'H', 'F', 'L'], + 'short': ['su.', 'má.', 'tý.', 'mi.', 'hó.', 'fr.', 'le.'], + 'abbreviated': ['sun.', 'mán.', 'týs.', 'mik.', 'hós.', 'frí.', 'ley.'], + 'wide': [ + 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', + 'leygardagur' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'M', 'H', 'F', 'L'], + 'short': ['su', 'má', 'tý', 'mi', 'hó', 'fr', 'le'], + 'abbreviated': ['sun', 'mán', 'týs', 'mik', 'hós', 'frí', 'ley'], + 'wide': [ + 'sunnudagur', 'mánadagur', 'týsdagur', 'mikudagur', 'hósdagur', 'fríggjadagur', + 'leygardagur' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'des.' + ], + 'wide': [ + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'desember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], + 'wide': [ + 'januar', 'februar', 'mars', 'apríl', 'mai', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'desember' + ] + } + }, + 'eras': { + 'abbreviated': ['f.Kr.', 'e.Kr.'], + 'narrow': ['fKr', 'eKr'], + 'wide': ['fyri Krist', 'eftir Krist'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'kl\'. {0}', + 'long': '{1} \'kl\'. {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr', 'name': 'donsk króna'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-BE.ts b/packages/core/src/i18n/data/locale_fr-BE.ts new file mode 100644 index 00000000000000..5bebd11eedb74d --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-BE.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrBE: NgLocale = { + 'localeId': 'fr-BE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/MM/yy'}, + 'time': { + 'full': 'H \'h\' mm \'min\' ss \'s\' zzzz', + 'long': 'HH:mm:ss z', + 'medium': 'HH:mm:ss', + 'short': 'HH:mm' + }, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-BF.ts b/packages/core/src/i18n/data/locale_fr-BF.ts new file mode 100644 index 00000000000000..b38af408e960f3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-BF.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrBF: NgLocale = { + 'localeId': 'fr-BF', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'franc CFA (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-BI.ts b/packages/core/src/i18n/data/locale_fr-BI.ts new file mode 100644 index 00000000000000..4ebe7d9cca58c7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-BI.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrBI: NgLocale = { + 'localeId': 'fr-BI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FBu', 'name': 'franc burundais'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-BJ.ts b/packages/core/src/i18n/data/locale_fr-BJ.ts new file mode 100644 index 00000000000000..178d9575a4080d --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-BJ.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrBJ: NgLocale = { + 'localeId': 'fr-BJ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'franc CFA (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-BL.ts b/packages/core/src/i18n/data/locale_fr-BL.ts new file mode 100644 index 00000000000000..4d7323e8e90e2c --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-BL.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrBL: NgLocale = { + 'localeId': 'fr-BL', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-CA.ts b/packages/core/src/i18n/data/locale_fr-CA.ts new file mode 100644 index 00000000000000..bfd70c43f43482 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-CA.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrCA: NgLocale = { + 'localeId': 'fr-CA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'a.m.', + 'noon': 'midi', + 'pm': 'p.m.', + 'morning1': 'du mat.', + 'afternoon1': 'après-midi', + 'evening1': 'du soir', + 'night1': 'du matin' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'a', + 'noon': 'midi', + 'pm': 'p', + 'morning1': 'mat.', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'a.m.', + 'noon': 'midi', + 'pm': 'p.m.', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'du matin' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'a.m.', + 'noon': 'midi', + 'pm': 'p.m.', + 'morning1': 'mat.', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'a.m.', + 'noon': 'midi', + 'pm': 'p.m.', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juill.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juill.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'yy-MM-dd'}, + 'time': { + 'full': 'HH:mm:ss zzzz', + 'long': 'HH:mm:ss z', + 'medium': 'HH:mm:ss', + 'short': 'HH \'h\' mm' + }, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'dollar canadien'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-CD.ts b/packages/core/src/i18n/data/locale_fr-CD.ts new file mode 100644 index 00000000000000..ac72c8a25e4f63 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-CD.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrCD: NgLocale = { + 'localeId': 'fr-CD', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FC', 'name': 'franc congolais'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-CF.ts b/packages/core/src/i18n/data/locale_fr-CF.ts new file mode 100644 index 00000000000000..fb430b5c301427 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-CF.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrCF: NgLocale = { + 'localeId': 'fr-CF', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'franc CFA (BEAC)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-CG.ts b/packages/core/src/i18n/data/locale_fr-CG.ts new file mode 100644 index 00000000000000..06987a8974f383 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-CG.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrCG: NgLocale = { + 'localeId': 'fr-CG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'franc CFA (BEAC)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-CH.ts b/packages/core/src/i18n/data/locale_fr-CH.ts new file mode 100644 index 00000000000000..b2e057c25bf957 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-CH.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrCH: NgLocale = { + 'localeId': 'fr-CH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du mat.', + 'afternoon1': 'de l’ap.m.', + 'evening1': 'du soir', + 'night1': 'du mat.' + }, + 'narrow': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du mat.', + 'afternoon1': 'de l’ap.m.', + 'evening1': 'du soir', + 'night1': 'du mat.' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'du matin' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd.MM.yy'}, + 'time': { + 'full': 'HH.mm:ss \'h\' zzzz', + 'long': 'HH:mm:ss z', + 'medium': 'HH:mm:ss', + 'short': 'HH:mm' + }, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CHF', 'name': 'franc suisse'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-CI.ts b/packages/core/src/i18n/data/locale_fr-CI.ts new file mode 100644 index 00000000000000..653e5c51bccba9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-CI.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrCI: NgLocale = { + 'localeId': 'fr-CI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'franc CFA (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-CM.ts b/packages/core/src/i18n/data/locale_fr-CM.ts new file mode 100644 index 00000000000000..41cada51e9009f --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-CM.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrCM: NgLocale = { + 'localeId': 'fr-CM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'mat.', + 'noon': 'midi', + 'pm': 'soir', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'mat.', + 'noon': 'midi', + 'pm': 'soir', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'matin', + 'noon': 'midi', + 'pm': 'soir', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'mat.', + 'noon': 'midi', + 'pm': 'soir', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'mat.', + 'noon': 'midi', + 'pm': 'soir', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'matin', + 'noon': 'midi', + 'pm': 'soir', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'��\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'franc CFA (BEAC)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-DJ.ts b/packages/core/src/i18n/data/locale_fr-DJ.ts new file mode 100644 index 00000000000000..3409ab9ab58172 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-DJ.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrDJ: NgLocale = { + 'localeId': 'fr-DJ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Fdj', 'name': 'franc djiboutien'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-DZ.ts b/packages/core/src/i18n/data/locale_fr-DZ.ts new file mode 100644 index 00000000000000..b75a027d9288c2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-DZ.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrDZ: NgLocale = { + 'localeId': 'fr-DZ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'DA', 'name': 'dinar algérien'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-GA.ts b/packages/core/src/i18n/data/locale_fr-GA.ts new file mode 100644 index 00000000000000..df1b5e433c5a2d --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-GA.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrGA: NgLocale = { + 'localeId': 'fr-GA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'franc CFA (BEAC)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-GF.ts b/packages/core/src/i18n/data/locale_fr-GF.ts new file mode 100644 index 00000000000000..e78d89ed33252c --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-GF.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrGF: NgLocale = { + 'localeId': 'fr-GF', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-GN.ts b/packages/core/src/i18n/data/locale_fr-GN.ts new file mode 100644 index 00000000000000..f878916d264c56 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-GN.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrGN: NgLocale = { + 'localeId': 'fr-GN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FG', 'name': 'franc guinéen'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-GP.ts b/packages/core/src/i18n/data/locale_fr-GP.ts new file mode 100644 index 00000000000000..4bfea9c162f129 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-GP.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrGP: NgLocale = { + 'localeId': 'fr-GP', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-GQ.ts b/packages/core/src/i18n/data/locale_fr-GQ.ts new file mode 100644 index 00000000000000..e61a4cc947a8f9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-GQ.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrGQ: NgLocale = { + 'localeId': 'fr-GQ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'franc CFA (BEAC)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-HT.ts b/packages/core/src/i18n/data/locale_fr-HT.ts new file mode 100644 index 00000000000000..05395857465a54 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-HT.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrHT: NgLocale = { + 'localeId': 'fr-HT', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de la nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'G', 'name': 'gourde haïtienne'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-KM.ts b/packages/core/src/i18n/data/locale_fr-KM.ts new file mode 100644 index 00000000000000..455ac5815cf014 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-KM.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrKM: NgLocale = { + 'localeId': 'fr-KM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CF', 'name': 'franc comorien'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-LU.ts b/packages/core/src/i18n/data/locale_fr-LU.ts new file mode 100644 index 00000000000000..fe43bcfe5082ec --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-LU.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrLU: NgLocale = { + 'localeId': 'fr-LU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-MA.ts b/packages/core/src/i18n/data/locale_fr-MA.ts new file mode 100644 index 00000000000000..3bd5630379d6fa --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-MA.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrMA: NgLocale = { + 'localeId': 'fr-MA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'a.m.', + 'noon': 'midi', + 'pm': 'p.m.', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'fév.', 'mar.', 'avr.', 'mai', 'jui.', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'fév.', 'mar.', 'avr.', 'mai', 'jui.', 'juil.', 'août', 'sept.', 'oct.', 'nov.', + 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MAD', 'name': 'dirham marocain'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-MC.ts b/packages/core/src/i18n/data/locale_fr-MC.ts new file mode 100644 index 00000000000000..12d6597ff8198e --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-MC.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrMC: NgLocale = { + 'localeId': 'fr-MC', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-MF.ts b/packages/core/src/i18n/data/locale_fr-MF.ts new file mode 100644 index 00000000000000..2e60196887a464 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-MF.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrMF: NgLocale = { + 'localeId': 'fr-MF', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-MG.ts b/packages/core/src/i18n/data/locale_fr-MG.ts new file mode 100644 index 00000000000000..e45d8669d4a6ba --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-MG.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrMG: NgLocale = { + 'localeId': 'fr-MG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ar', 'name': 'ariary malgache'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-ML.ts b/packages/core/src/i18n/data/locale_fr-ML.ts new file mode 100644 index 00000000000000..183b3d2c7d94e9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-ML.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrML: NgLocale = { + 'localeId': 'fr-ML', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'franc CFA (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-MQ.ts b/packages/core/src/i18n/data/locale_fr-MQ.ts new file mode 100644 index 00000000000000..d43d1f40e0ffc1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-MQ.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrMQ: NgLocale = { + 'localeId': 'fr-MQ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-MR.ts b/packages/core/src/i18n/data/locale_fr-MR.ts new file mode 100644 index 00000000000000..0bc58ec9348ee3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-MR.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrMR: NgLocale = { + 'localeId': 'fr-MR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'UM', 'name': 'ouguiya mauritanien'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-MU.ts b/packages/core/src/i18n/data/locale_fr-MU.ts new file mode 100644 index 00000000000000..c6529836adba65 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-MU.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrMU: NgLocale = { + 'localeId': 'fr-MU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Rs', 'name': 'roupie mauricienne'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-NC.ts b/packages/core/src/i18n/data/locale_fr-NC.ts new file mode 100644 index 00000000000000..7bc8ed26f26956 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-NC.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrNC: NgLocale = { + 'localeId': 'fr-NC', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFP', 'name': 'franc CFP'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-NE.ts b/packages/core/src/i18n/data/locale_fr-NE.ts new file mode 100644 index 00000000000000..71d345ae7f8b96 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-NE.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrNE: NgLocale = { + 'localeId': 'fr-NE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'franc CFA (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-PF.ts b/packages/core/src/i18n/data/locale_fr-PF.ts new file mode 100644 index 00000000000000..9937c1300ebb20 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-PF.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrPF: NgLocale = { + 'localeId': 'fr-PF', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFP', 'name': 'franc CFP'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-PM.ts b/packages/core/src/i18n/data/locale_fr-PM.ts new file mode 100644 index 00000000000000..d1e43aa719b1f6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-PM.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrPM: NgLocale = { + 'localeId': 'fr-PM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-RE.ts b/packages/core/src/i18n/data/locale_fr-RE.ts new file mode 100644 index 00000000000000..0c35d516a47c5e --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-RE.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrRE: NgLocale = { + 'localeId': 'fr-RE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-RW.ts b/packages/core/src/i18n/data/locale_fr-RW.ts new file mode 100644 index 00000000000000..c1c02c27ce2e2d --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-RW.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrRW: NgLocale = { + 'localeId': 'fr-RW', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'RF', 'name': 'franc rwandais'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-SC.ts b/packages/core/src/i18n/data/locale_fr-SC.ts new file mode 100644 index 00000000000000..09f730f37f55d3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-SC.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrSC: NgLocale = { + 'localeId': 'fr-SC', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'SR', 'name': 'roupie des Seychelles'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-SN.ts b/packages/core/src/i18n/data/locale_fr-SN.ts new file mode 100644 index 00000000000000..c6ca2eb48fc4a0 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-SN.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrSN: NgLocale = { + 'localeId': 'fr-SN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'min.', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'��\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'franc CFA (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-SY.ts b/packages/core/src/i18n/data/locale_fr-SY.ts new file mode 100644 index 00000000000000..4564eed599c701 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-SY.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrSY: NgLocale = { + 'localeId': 'fr-SY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'LS', 'name': 'livre syrienne'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-TD.ts b/packages/core/src/i18n/data/locale_fr-TD.ts new file mode 100644 index 00000000000000..7f120254fe971c --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-TD.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrTD: NgLocale = { + 'localeId': 'fr-TD', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'franc CFA (BEAC)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-TG.ts b/packages/core/src/i18n/data/locale_fr-TG.ts new file mode 100644 index 00000000000000..384172f01988c8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-TG.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrTG: NgLocale = { + 'localeId': 'fr-TG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'franc CFA (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-TN.ts b/packages/core/src/i18n/data/locale_fr-TN.ts new file mode 100644 index 00000000000000..59664ee74a5173 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-TN.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrTN: NgLocale = { + 'localeId': 'fr-TN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [5, 6], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'DT', 'name': 'dinar tunisien'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-VU.ts b/packages/core/src/i18n/data/locale_fr-VU.ts new file mode 100644 index 00000000000000..332ec50b52474d --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-VU.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrVU: NgLocale = { + 'localeId': 'fr-VU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'VT', 'name': 'vatu vanuatuan'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-WF.ts b/packages/core/src/i18n/data/locale_fr-WF.ts new file mode 100644 index 00000000000000..5c715a7485c2b8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-WF.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrWF: NgLocale = { + 'localeId': 'fr-WF', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFP', 'name': 'franc CFP'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr-YT.ts b/packages/core/src/i18n/data/locale_fr-YT.ts new file mode 100644 index 00000000000000..fcc441fe8e0aa4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr-YT.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFrYT: NgLocale = { + 'localeId': 'fr-YT', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fr.ts b/packages/core/src/i18n/data/locale_fr.ts new file mode 100644 index 00000000000000..6521edd84137a7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fr.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFr: NgLocale = { + 'localeId': 'fr', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'du matin', + 'afternoon1': 'de l’après-midi', + 'evening1': 'du soir', + 'night1': 'de nuit' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'narrow': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'mat.', + 'afternoon1': 'ap.m.', + 'evening1': 'soir', + 'night1': 'nuit' + }, + 'wide': { + 'midnight': 'minuit', + 'am': 'AM', + 'noon': 'midi', + 'pm': 'PM', + 'morning1': 'matin', + 'afternoon1': 'après-midi', + 'evening1': 'soir', + 'night1': 'nuit' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['di', 'lu', 'ma', 'me', 'je', 've', 'sa'], + 'abbreviated': ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'], + 'wide': ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin', 'juil.', 'août', 'sept.', 'oct.', + 'nov.', 'déc.' + ], + 'wide': [ + 'janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', + 'octobre', 'novembre', 'décembre' + ] + } + }, + 'eras': { + 'abbreviated': ['av. J.-C.', 'ap. J.-C.'], + 'narrow': ['av. J.-C.', 'ap. J.-C.'], + 'wide': ['avant Jésus-Christ', 'après Jésus-Christ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'à\' {0}', + 'long': '{1} \'à\' {0}', + 'medium': '{1} \'à\' {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fur.ts b/packages/core/src/i18n/data/locale_fur.ts new file mode 100644 index 00000000000000..81834cd5068db1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_fur.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFur: NgLocale = { + 'localeId': 'fur', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'a.', 'pm': 'p.'}, + 'narrow': {'am': 'a.', 'pm': 'p.'}, + 'wide': {'am': 'a.', 'pm': 'p.'} + }, + 'standalone': { + 'abbreviated': {'am': 'a.', 'pm': 'p.'}, + 'narrow': {'am': 'a.', 'pm': 'p.'}, + 'wide': {'am': 'a.', 'pm': 'p.'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['dom', 'lun', 'mar', 'mie', 'joi', 'vin', 'sab'], + 'abbreviated': ['dom', 'lun', 'mar', 'mie', 'joi', 'vin', 'sab'], + 'wide': ['domenie', 'lunis', 'martars', 'miercus', 'joibe', 'vinars', 'sabide'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['dom', 'lun', 'mar', 'mie', 'joi', 'vin', 'sab'], + 'abbreviated': ['dom', 'lun', 'mar', 'mie', 'joi', 'vin', 'sab'], + 'wide': ['domenie', 'lunis', 'martars', 'miercus', 'joibe', 'vinars', 'sabide'] + } + }, + 'months': { + 'format': { + 'narrow': ['Z', 'F', 'M', 'A', 'M', 'J', 'L', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Zen', 'Fev', 'Mar', 'Avr', 'Mai', 'Jug', 'Lui', 'Avo', 'Set', 'Otu', 'Nov', 'Dic'], + 'wide': [ + 'Zenâr', 'Fevrâr', 'Març', 'Avrîl', 'Mai', 'Jugn', 'Lui', 'Avost', 'Setembar', + 'Otubar', 'Novembar', 'Dicembar' + ] + }, + 'standalone': { + 'narrow': ['Z', 'F', 'M', 'A', 'M', 'J', 'L', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Zen', 'Fev', 'Mar', 'Avr', 'Mai', 'Jug', 'Lui', 'Avo', 'Set', 'Otu', 'Nov', 'Dic'], + 'wide': [ + 'Zenâr', 'Fevrâr', 'Març', 'Avrîl', 'Mai', 'Jugn', 'Lui', 'Avost', 'Setembar', + 'Otubar', 'Novembar', 'Dicembar' + ] + } + }, + 'eras': {'abbreviated': ['pdC', 'ddC'], 'narrow': ['pdC', 'ddC'], 'wide': ['pdC', 'ddC']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE d \'di\' MMMM \'dal\' y', + 'long': 'd \'di\' MMMM \'dal\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_fy.ts b/packages/core/src/i18n/data/locale_fy.ts new file mode 100644 index 00000000000000..bf97e8477fc84a --- /dev/null +++ b/packages/core/src/i18n/data/locale_fy.ts @@ -0,0 +1,110 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleFy: NgLocale = { + 'localeId': 'fy', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'], + 'abbreviated': ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'], + 'wide': ['snein', 'moandei', 'tiisdei', 'woansdei', 'tongersdei', 'freed', 'sneon'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'], + 'abbreviated': ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'], + 'wide': ['snein', 'moandei', 'tiisdei', 'woansdei', 'tongersdei', 'freed', 'sneon'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mrt', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Jannewaris', 'Febrewaris', 'Maart', 'April', 'Maaie', 'Juny', 'July', 'Augustus', + 'Septimber', 'Oktober', 'Novimber', 'Desimber' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mrt', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Jannewaris', 'Febrewaris', 'Maart', 'April', 'Maaie', 'Juny', 'July', 'Augustus', + 'Septimber', 'Oktober', 'Novimber', 'Desimber' + ] + } + }, + 'eras': { + 'abbreviated': ['f.Kr.', 'n.Kr.'], + 'narrow': ['f.K.', 'n.K.'], + 'wide': ['Foar Kristus', 'nei Kristus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd-MM-yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'om\' {0}', + 'long': '{1} \'om\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤ #,##0.00-', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ga.ts b/packages/core/src/i18n/data/locale_ga.ts new file mode 100644 index 00000000000000..eb599d011bfdf7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ga.ts @@ -0,0 +1,117 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleGa: NgLocale = { + 'localeId': 'ga', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a', 'pm': 'p'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + }, + 'standalone': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a', 'pm': 'p'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'C', 'D', 'A', 'S'], + 'short': ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'Ao', 'Sa'], + 'abbreviated': ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], + 'wide': [ + 'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', + 'Dé Sathairn' + ] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'C', 'D', 'A', 'S'], + 'short': ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'Ao', 'Sa'], + 'abbreviated': ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'], + 'wide': [ + 'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', + 'Dé Sathairn' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['E', 'F', 'M', 'A', 'B', 'M', 'I', 'L', 'M', 'D', 'S', 'N'], + 'abbreviated': [ + 'Ean', 'Feabh', 'Márta', 'Aib', 'Beal', 'Meith', 'Iúil', 'Lún', 'MFómh', 'DFómh', + 'Samh', 'Noll' + ], + 'wide': [ + 'Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Meitheamh', 'Iúil', 'Lúnasa', + 'Meán Fómhair', 'Deireadh Fómhair', 'Samhain', 'Nollaig' + ] + }, + 'standalone': { + 'narrow': ['E', 'F', 'M', 'A', 'B', 'M', 'I', 'L', 'M', 'D', 'S', 'N'], + 'abbreviated': [ + 'Ean', 'Feabh', 'Márta', 'Aib', 'Beal', 'Meith', 'Iúil', 'Lún', 'MFómh', 'DFómh', + 'Samh', 'Noll' + ], + 'wide': [ + 'Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Meitheamh', 'Iúil', 'Lúnasa', + 'Meán Fómhair', 'Deireadh Fómhair', 'Samhain', 'Nollaig' + ] + } + }, + 'eras': { + 'abbreviated': ['RC', 'AD'], + 'narrow': ['RC', 'AD'], + 'wide': ['Roimh Chríost', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + if (n === Math.floor(n) && n >= 3 && n <= 6) return Plural.Few; + if (n === Math.floor(n) && n >= 7 && n <= 10) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_gd.ts b/packages/core/src/i18n/data/locale_gd.ts new file mode 100644 index 00000000000000..b72424dce37dba --- /dev/null +++ b/packages/core/src/i18n/data/locale_gd.ts @@ -0,0 +1,120 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleGd: NgLocale = { + 'localeId': 'gd', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'm', 'pm': 'f'}, + 'narrow': {'am': 'm', 'pm': 'f'}, + 'wide': {'am': 'm', 'pm': 'f'} + }, + 'standalone': { + 'abbreviated': {'am': 'm', 'pm': 'f'}, + 'narrow': {'am': 'm', 'pm': 'f'}, + 'wide': {'am': 'm', 'pm': 'f'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'C', 'A', 'H', 'S'], + 'short': ['Dò', 'Lu', 'Mà', 'Ci', 'Da', 'hA', 'Sa'], + 'abbreviated': ['DiD', 'DiL', 'DiM', 'DiC', 'Dia', 'Dih', 'DiS'], + 'wide': [ + 'DiDòmhnaich', 'DiLuain', 'DiMàirt', 'DiCiadain', 'DiarDaoin', 'DihAoine', 'DiSathairne' + ] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'C', 'A', 'H', 'S'], + 'short': ['Dò', 'Lu', 'Mà', 'Ci', 'Da', 'hA', 'Sa'], + 'abbreviated': ['DiD', 'DiL', 'DiM', 'DiC', 'Dia', 'Dih', 'DiS'], + 'wide': [ + 'DiDòmhnaich', 'DiLuain', 'DiMàirt', 'DiCiadain', 'DiarDaoin', 'DihAoine', 'DiSathairne' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['F', 'G', 'M', 'G', 'C', 'Ò', 'I', 'L', 'S', 'D', 'S', 'D'], + 'abbreviated': [ + 'Faoi', 'Gearr', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùna', 'Sult', 'Dàmh', + 'Samh', 'Dùbh' + ], + 'wide': [ + 'dhen Fhaoilleach', 'dhen Ghearran', 'dhen Mhàrt', 'dhen Ghiblean', 'dhen Chèitean', + 'dhen Ògmhios', 'dhen Iuchar', 'dhen Lùnastal', 'dhen t-Sultain', 'dhen Dàmhair', + 'dhen t-Samhain', 'dhen Dùbhlachd' + ] + }, + 'standalone': { + 'narrow': ['F', 'G', 'M', 'G', 'C', 'Ò', 'I', 'L', 'S', 'D', 'S', 'D'], + 'abbreviated': [ + 'Faoi', 'Gearr', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùna', 'Sult', 'Dàmh', + 'Samh', 'Dùbh' + ], + 'wide': [ + 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', + 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', + 'An Dùbhlachd' + ] + } + }, + 'eras': { + 'abbreviated': ['RC', 'AD'], + 'narrow': ['R', 'A'], + 'wide': ['Ro Chrìosta', 'An dèidh Chrìosta'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d\'mh\' MMMM y', + 'long': 'd\'mh\' MMMM y', + 'medium': 'd MMM y', + 'short': 'dd/MM/y' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'Punnd Sasannach'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1 || n === 11) return Plural.One; + if (n === 2 || n === 12) return Plural.Two; + if (n === Math.floor(n) && (n >= 3 && n <= 10 || n >= 13 && n <= 19)) return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_gl.ts b/packages/core/src/i18n/data/locale_gl.ts new file mode 100644 index 00000000000000..e799521d7e0cb5 --- /dev/null +++ b/packages/core/src/i18n/data/locale_gl.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleGl: NgLocale = { + 'localeId': 'gl', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'da noite', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'da madrugada', + 'morning2': 'da mañá', + 'afternoon1': 'do mediodía', + 'evening1': 'da tarde', + 'night1': 'da noite' + }, + 'narrow': { + 'midnight': 'da noite', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'da madrugada', + 'morning2': 'da mañá', + 'afternoon1': 'do mediodía', + 'evening1': 'da tarde', + 'night1': 'da noite' + }, + 'wide': { + 'midnight': 'da noite', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'da madrugada', + 'morning2': 'da mañá', + 'afternoon1': 'do mediodía', + 'evening1': 'da tarde', + 'night1': 'da noite' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'medianoite', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañá', + 'afternoon1': 'mediodía', + 'evening1': 'tarde', + 'night1': 'noite' + }, + 'narrow': { + 'midnight': 'medianoite', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañá', + 'afternoon1': 'mediodía', + 'evening1': 'tarde', + 'night1': 'noite' + }, + 'wide': { + 'midnight': 'medianoite', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'madrugada', + 'morning2': 'mañá', + 'afternoon1': 'mediodía', + 'evening1': 'tarde', + 'night1': 'noite' + } + } + }, + 'days': { + 'format': { + 'narrow': ['d.', 'l.', 'm.', 'm.', 'x.', 'v.', 's.'], + 'short': ['dom.', 'luns', 'mar.', 'mér.', 'xov.', 'ven.', 'sáb.'], + 'abbreviated': ['dom.', 'luns', 'mar.', 'mér.', 'xov.', 'ven.', 'sáb.'], + 'wide': ['domingo', 'luns', 'martes', 'mércores', 'xoves', 'venres', 'sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'X', 'V', 'S'], + 'short': ['Do', 'Lu', 'Ma', 'Mé', 'Xo', 'Ve', 'Sá'], + 'abbreviated': ['Dom.', 'Luns', 'Mar.', 'Mér.', 'Xov.', 'Ven.', 'Sáb.'], + 'wide': ['Domingo', 'Luns', 'Martes', 'Mércores', 'Xoves', 'Venres', 'Sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['x.', 'f.', 'm.', 'a.', 'm.', 'x.', 'x.', 'a.', 's.', 'o.', 'n.', 'd.'], + 'abbreviated': [ + 'xan.', 'feb.', 'mar.', 'abr.', 'maio', 'xuño', 'xul.', 'ago.', 'set.', 'out.', 'nov.', + 'dec.' + ], + 'wide': [ + 'xaneiro', 'febreiro', 'marzo', 'abril', 'maio', 'xuño', 'xullo', 'agosto', 'setembro', + 'outubro', 'novembro', 'decembro' + ] + }, + 'standalone': { + 'narrow': ['X', 'F', 'M', 'A', 'M', 'X', 'X', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Xan.', 'Feb.', 'Mar.', 'Abr.', 'Maio', 'Xuño', 'Xul.', 'Ago.', 'Set.', 'Out.', 'Nov.', + 'Dec.' + ], + 'wide': [ + 'Xaneiro', 'Febreiro', 'Marzo', 'Abril', 'Maio', 'Xuño', 'Xullo', 'Agosto', 'Setembro', + 'Outubro', 'Novembro', 'Decembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'despois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd \'de\' MMM \'de\' y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{0} \'do\' {1}', + 'long': '{0} \'do\' {1}', + 'medium': '{0}, {1}', + 'short': '{0}, {1}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'evening1': {'from': '13:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '24:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_gsw-FR.ts b/packages/core/src/i18n/data/locale_gsw-FR.ts new file mode 100644 index 00000000000000..656e1c72a1b63f --- /dev/null +++ b/packages/core/src/i18n/data/locale_gsw-FR.ts @@ -0,0 +1,173 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleGswFR: NgLocale = { + 'localeId': 'gsw-FR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'am Vormittag', + 'pm': 'am Namittag', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'Vormittag', + 'pm': 'Namittag', + 'morning1': 'Morge', + 'afternoon1': 'Mittag', + 'afternoon2': 'Namittag', + 'evening1': 'Aabig', + 'night1': 'Nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'abbreviated': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'wide': + ['Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'abbreviated': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'wide': [ + 'Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', + 'Oktoober', 'Novämber', 'Dezämber' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', + 'Oktoober', 'Novämber', 'Dezämber' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['v. Chr.', 'n. Chr.'], + 'wide': ['v. Chr.', 'n. Chr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'afternoon2': {'from': '14:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': '’', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_gsw-LI.ts b/packages/core/src/i18n/data/locale_gsw-LI.ts new file mode 100644 index 00000000000000..bd09416a7bea26 --- /dev/null +++ b/packages/core/src/i18n/data/locale_gsw-LI.ts @@ -0,0 +1,173 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleGswLI: NgLocale = { + 'localeId': 'gsw-LI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'am Vormittag', + 'pm': 'am Namittag', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'Vormittag', + 'pm': 'Namittag', + 'morning1': 'Morge', + 'afternoon1': 'Mittag', + 'afternoon2': 'Namittag', + 'evening1': 'Aabig', + 'night1': 'Nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'abbreviated': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'wide': + ['Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'abbreviated': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'wide': [ + 'Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', + 'Oktoober', 'Novämber', 'Dezämber' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', + 'Oktoober', 'Novämber', 'Dezämber' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['v. Chr.', 'n. Chr.'], + 'wide': ['v. Chr.', 'n. Chr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'afternoon2': {'from': '14:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': '’', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CHF', 'name': 'Schwiizer Franke'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_gsw.ts b/packages/core/src/i18n/data/locale_gsw.ts new file mode 100644 index 00000000000000..32c7d957e0318b --- /dev/null +++ b/packages/core/src/i18n/data/locale_gsw.ts @@ -0,0 +1,173 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleGsw: NgLocale = { + 'localeId': 'gsw', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'am Vormittag', + 'pm': 'am Namittag', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'narrow': { + 'midnight': 'Mitternacht', + 'am': 'vorm.', + 'pm': 'nam.', + 'morning1': 'am Morge', + 'afternoon1': 'zmittag', + 'afternoon2': 'am Namittag', + 'evening1': 'zaabig', + 'night1': 'znacht' + }, + 'wide': { + 'midnight': 'Mitternacht', + 'am': 'Vormittag', + 'pm': 'Namittag', + 'morning1': 'Morge', + 'afternoon1': 'Mittag', + 'afternoon2': 'Namittag', + 'evening1': 'Aabig', + 'night1': 'Nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'abbreviated': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'wide': + ['Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'abbreviated': ['Su.', 'Mä.', 'Zi.', 'Mi.', 'Du.', 'Fr.', 'Sa.'], + 'wide': [ + 'Sunntig', 'Määntig', 'Ziischtig', 'Mittwuch', 'Dunschtig', 'Friitig', 'Samschtig' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', + 'Oktoober', 'Novämber', 'Dezämber' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', + 'Oktoober', 'Novämber', 'Dezämber' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['v. Chr.', 'n. Chr.'], + 'wide': ['v. Chr.', 'n. Chr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'dd.MM.y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'afternoon2': {'from': '14:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': '’', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CHF', 'name': 'Schwiizer Franke'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_gu.ts b/packages/core/src/i18n/data/locale_gu.ts new file mode 100644 index 00000000000000..76849abe2563d3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_gu.ts @@ -0,0 +1,192 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleGu: NgLocale = { + 'localeId': 'gu', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'મધ્યરાત્રિ', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'સવારે', + 'afternoon1': 'બપોરે', + 'evening1': 'સાંજે', + 'night1': 'રાત્રે' + }, + 'narrow': { + 'midnight': 'મ.રાત્રિ', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'સવારે', + 'afternoon1': 'બપોરે', + 'evening1': 'સાંજે', + 'night1': 'રાત્રે' + }, + 'wide': { + 'midnight': 'મધ્યરાત્રિ', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'સવારે', + 'afternoon1': 'બપોરે', + 'evening1': 'સાંજે', + 'night1': 'રાત્રે' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'મધ્યરાત્રિ', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'સવારે', + 'afternoon1': 'બપોરે', + 'evening1': 'સાંજે', + 'night1': 'રાત્રે' + }, + 'narrow': { + 'midnight': 'મધ્યરાત્રિ', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'સવારે', + 'afternoon1': 'બપોરે', + 'evening1': 'સાંજે', + 'night1': 'રાત્રે' + }, + 'wide': { + 'midnight': 'મધ્યરાત્રિ', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'સવાર', + 'afternoon1': 'બપોર', + 'evening1': 'સાંજ', + 'night1': 'રાત્રિ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], + 'short': ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], + 'abbreviated': [ + 'રવિ', 'સોમ', 'મંગળ', 'બુધ', 'ગુરુ', 'શુક્ર', + 'શનિ' + ], + 'wide': [ + 'રવિવાર', 'સોમવાર', 'મંગળવાર', 'બુધવાર', + 'ગુરુવાર', 'શુક્રવાર', 'શનિવાર' + ] + }, + 'standalone': { + 'narrow': ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], + 'short': ['ર', 'સો', 'મં', 'બુ', 'ગુ', 'શુ', 'શ'], + 'abbreviated': [ + 'રવિ', 'સોમ', 'મંગળ', 'બુધ', 'ગુરુ', 'શુક્ર', + 'શનિ' + ], + 'wide': [ + 'રવિવાર', 'સોમવાર', 'મંગળવાર', 'બુધવાર', + 'ગુરુવાર', 'શુક્રવાર', 'શનિવાર' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'જા', 'ફે', 'મા', 'એ', 'મે', 'જૂ', 'જુ', 'ઑ', 'સ', 'ઑ', + 'ન', 'ડિ' + ], + 'abbreviated': [ + 'જાન્યુ', 'ફેબ્રુ', 'માર્ચ', 'એપ્રિલ', + 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટે', + 'ઑક્ટો', 'નવે', 'ડિસે' + ], + 'wide': [ + 'જાન્યુઆરી', 'ફેબ્રુઆરી', 'માર્ચ', + 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', + 'સપ્ટેમ્બર', 'ઑક્ટોબર', 'નવેમ્બર', + 'ડિસેમ્બર' + ] + }, + 'standalone': { + 'narrow': [ + 'જા', 'ફે', 'મા', 'એ', 'મે', 'જૂ', 'જુ', 'ઑ', 'સ', 'ઑ', + 'ન', 'ડિ' + ], + 'abbreviated': [ + 'જાન્યુ', 'ફેબ્રુ', 'માર્ચ', 'એપ્રિલ', + 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', 'સપ્ટે', + 'ઑક્ટો', 'નવે', 'ડિસે' + ], + 'wide': [ + 'જાન્યુઆરી', 'ફેબ્રુઆરી', 'માર્ચ', + 'એપ્રિલ', 'મે', 'જૂન', 'જુલાઈ', 'ઑગસ્ટ', + 'સપ્ટેમ્બર', 'ઑક્ટોબર', 'નવેમ્બર', + 'ડિસેમ્બર' + ] + } + }, + 'eras': { + 'abbreviated': ['ઈ.સ.પૂર્વે', 'ઈ.સ.'], + 'narrow': ['ઇ સ પુ', 'ઇસ'], + 'wide': ['ઈસવીસન પૂર્વે', 'ઇસવીસન'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM, y', 'medium': 'd MMM, y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'hh:mm:ss a zzzz', + 'long': 'hh:mm:ss a z', + 'medium': 'hh:mm:ss a', + 'short': 'hh:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '20:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '[#E0]' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'ભારતીય રૂપિયા'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_guz.ts b/packages/core/src/i18n/data/locale_guz.ts new file mode 100644 index 00000000000000..b719afbf103061 --- /dev/null +++ b/packages/core/src/i18n/data/locale_guz.ts @@ -0,0 +1,103 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleGuz: NgLocale = { + 'localeId': 'guz', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Ma', 'pm': 'Mo'}, + 'narrow': {'am': 'Ma', 'pm': 'Mo'}, + 'wide': {'am': 'Mambia', 'pm': 'Mog'} + }, + 'standalone': { + 'abbreviated': {'am': 'Ma', 'pm': 'Mo'}, + 'narrow': {'am': 'Ma', 'pm': 'Mo'}, + 'wide': {'am': 'Ma', 'pm': 'Mo'} + } + }, + 'days': { + 'format': { + 'narrow': ['C', 'C', 'C', 'C', 'A', 'I', 'E'], + 'short': ['Cpr', 'Ctt', 'Cmn', 'Cmt', 'Ars', 'Icm', 'Est'], + 'abbreviated': ['Cpr', 'Ctt', 'Cmn', 'Cmt', 'Ars', 'Icm', 'Est'], + 'wide': + ['Chumapiri', 'Chumatato', 'Chumaine', 'Chumatano', 'Aramisi', 'Ichuma', 'Esabato'] + }, + 'standalone': { + 'narrow': ['C', 'C', 'C', 'C', 'A', 'I', 'E'], + 'short': ['Cpr', 'Ctt', 'Cmn', 'Cmt', 'Ars', 'Icm', 'Est'], + 'abbreviated': ['Cpr', 'Ctt', 'Cmn', 'Cmt', 'Ars', 'Icm', 'Est'], + 'wide': + ['Chumapiri', 'Chumatato', 'Chumaine', 'Chumatano', 'Aramisi', 'Ichuma', 'Esabato'] + } + }, + 'months': { + 'format': { + 'narrow': ['C', 'F', 'M', 'A', 'M', 'J', 'C', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Can', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Cul', 'Agt', 'Sep', 'Okt', 'Nob', 'Dis'], + 'wide': [ + 'Chanuari', 'Feburari', 'Machi', 'Apiriri', 'Mei', 'Juni', 'Chulai', 'Agosti', 'Septemba', + 'Okitoba', 'Nobemba', 'Disemba' + ] + }, + 'standalone': { + 'narrow': ['C', 'F', 'M', 'A', 'M', 'J', 'C', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Can', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Cul', 'Agt', 'Sep', 'Okt', 'Nob', 'Dis'], + 'wide': [ + 'Chanuari', 'Feburari', 'Machi', 'Apiriri', 'Mei', 'Juni', 'Chulai', 'Agosti', 'Septemba', + 'Okitoba', 'Nobemba', 'Disemba' + ] + } + }, + 'eras': { + 'abbreviated': ['YA', 'YK'], + 'narrow': ['YA', 'YK'], + 'wide': ['Yeso ataiborwa', 'Yeso kaiboirwe'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Shilingi ya Kenya'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_gv.ts b/packages/core/src/i18n/data/locale_gv.ts new file mode 100644 index 00000000000000..56d15a444d9c2b --- /dev/null +++ b/packages/core/src/i18n/data/locale_gv.ts @@ -0,0 +1,112 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleGv: NgLocale = { + 'localeId': 'gv', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + }, + 'standalone': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Jed', 'Jel', 'Jem', 'Jerc', 'Jerd', 'Jeh', 'Jes'], + 'abbreviated': ['Jed', 'Jel', 'Jem', 'Jerc', 'Jerd', 'Jeh', 'Jes'], + 'wide': ['Jedoonee', 'Jelhein', 'Jemayrt', 'Jercean', 'Jerdein', 'Jeheiney', 'Jesarn'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Jed', 'Jel', 'Jem', 'Jerc', 'Jerd', 'Jeh', 'Jes'], + 'abbreviated': ['Jed', 'Jel', 'Jem', 'Jerc', 'Jerd', 'Jeh', 'Jes'], + 'wide': ['Jedoonee', 'Jelhein', 'Jemayrt', 'Jercean', 'Jerdein', 'Jeheiney', 'Jesarn'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'J-guer', 'T-arree', 'Mayrnt', 'Avrril', 'Boaldyn', 'M-souree', 'J-souree', 'Luanistyn', + 'M-fouyir', 'J-fouyir', 'M-Houney', 'M-Nollick' + ], + 'wide': [ + 'Jerrey-geuree', 'Toshiaght-arree', 'Mayrnt', 'Averil', 'Boaldyn', 'Mean-souree', + 'Jerrey-souree', 'Luanistyn', 'Mean-fouyir', 'Jerrey-fouyir', 'Mee Houney', + 'Mee ny Nollick' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'J-guer', 'T-arree', 'Mayrnt', 'Avrril', 'Boaldyn', 'M-souree', 'J-souree', 'Luanistyn', + 'M-fouyir', 'J-fouyir', 'M-Houney', 'M-Nollick' + ], + 'wide': [ + 'Jerrey-geuree', 'Toshiaght-arree', 'Mayrnt', 'Averil', 'Boaldyn', 'Mean-souree', + 'Jerrey-souree', 'Luanistyn', 'Mean-fouyir', 'Jerrey-fouyir', 'Mee Houney', + 'Mee ny Nollick' + ] + } + }, + 'eras': {'abbreviated': ['RC', 'AD'], 'narrow': ['RC', 'AD'], 'wide': ['RC', 'AD']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'GBP'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1) return Plural.One; + if (v === 0 && i % 10 === 2) return Plural.Two; + if (v === 0 && + (i % 100 === 0 || i % 100 === 20 || i % 100 === 40 || i % 100 === 60 || i % 100 === 80)) + return Plural.Few; + if (!(v === 0)) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ha-GH.ts b/packages/core/src/i18n/data/locale_ha-GH.ts new file mode 100644 index 00000000000000..a5c7a0b1e14f6a --- /dev/null +++ b/packages/core/src/i18n/data/locale_ha-GH.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleHaGH: NgLocale = { + 'localeId': 'ha-GH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['L', 'L', 'T', 'L', 'A', 'J', 'A'], + 'short': ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'], + 'abbreviated': ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], + 'wide': ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'] + }, + 'standalone': { + 'narrow': ['L', 'L', 'T', 'L', 'A', 'J', 'A'], + 'short': ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'], + 'abbreviated': ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], + 'wide': ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], + 'wide': [ + 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', + 'Oktoba', 'Nuwamba', 'Disamba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], + 'wide': [ + 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', + 'Oktoba', 'Nuwamba', 'Disamba' + ] + } + }, + 'eras': { + 'abbreviated': ['KHAI', 'BHAI'], + 'narrow': ['KHAI', 'BHAI'], + 'wide': ['Kafin haihuwar annab', 'Bayan haihuwar annab'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM, y', 'medium': 'd MMM, y', 'short': 'd/M/yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'GH₵', 'name': 'GHS'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ha-NE.ts b/packages/core/src/i18n/data/locale_ha-NE.ts new file mode 100644 index 00000000000000..5853e1fd0f405f --- /dev/null +++ b/packages/core/src/i18n/data/locale_ha-NE.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleHaNE: NgLocale = { + 'localeId': 'ha-NE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['L', 'L', 'T', 'L', 'A', 'J', 'A'], + 'short': ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'], + 'abbreviated': ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], + 'wide': ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'] + }, + 'standalone': { + 'narrow': ['L', 'L', 'T', 'L', 'A', 'J', 'A'], + 'short': ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'], + 'abbreviated': ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], + 'wide': ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], + 'wide': [ + 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', + 'Oktoba', 'Nuwamba', 'Disamba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], + 'wide': [ + 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', + 'Oktoba', 'Nuwamba', 'Disamba' + ] + } + }, + 'eras': { + 'abbreviated': ['KHAI', 'BHAI'], + 'narrow': ['KHAI', 'BHAI'], + 'wide': ['Kafin haihuwar annab', 'Bayan haihuwar annab'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM, y', 'medium': 'd MMM, y', 'short': 'd/M/yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'Kuɗin Sefa na Afirka Ta Yamma'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ha.ts b/packages/core/src/i18n/data/locale_ha.ts new file mode 100644 index 00000000000000..fb097b0210bbc3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ha.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleHa: NgLocale = { + 'localeId': 'ha', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['L', 'L', 'T', 'L', 'A', 'J', 'A'], + 'short': ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'], + 'abbreviated': ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], + 'wide': ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'] + }, + 'standalone': { + 'narrow': ['L', 'L', 'T', 'L', 'A', 'J', 'A'], + 'short': ['Lh', 'Li', 'Ta', 'Lr', 'Al', 'Ju', 'As'], + 'abbreviated': ['Lah', 'Lit', 'Tal', 'Lar', 'Alh', 'Jum', 'Asa'], + 'wide': ['Lahadi', 'Litinin', 'Talata', 'Laraba', 'Alhamis', 'Jummaʼa', 'Asabar'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], + 'wide': [ + 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', + 'Oktoba', 'Nuwamba', 'Disamba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'Y', 'Y', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Fab', 'Mar', 'Afi', 'May', 'Yun', 'Yul', 'Agu', 'Sat', 'Okt', 'Nuw', 'Dis'], + 'wide': [ + 'Janairu', 'Faburairu', 'Maris', 'Afirilu', 'Mayu', 'Yuni', 'Yuli', 'Agusta', 'Satumba', + 'Oktoba', 'Nuwamba', 'Disamba' + ] + } + }, + 'eras': { + 'abbreviated': ['KHAI', 'BHAI'], + 'narrow': ['KHAI', 'BHAI'], + 'wide': ['Kafin haihuwar annab', 'Bayan haihuwar annab'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM, y', 'medium': 'd MMM, y', 'short': 'd/M/yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₦', 'name': 'Naira'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_haw.ts b/packages/core/src/i18n/data/locale_haw.ts new file mode 100644 index 00000000000000..2d016cdf881135 --- /dev/null +++ b/packages/core/src/i18n/data/locale_haw.ts @@ -0,0 +1,111 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleHaw: NgLocale = { + 'localeId': 'haw', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6'], + 'abbreviated': ['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6'], + 'wide': + ['Lāpule', 'Poʻakahi', 'Poʻalua', 'Poʻakolu', 'Poʻahā', 'Poʻalima', 'Poʻaono'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6'], + 'abbreviated': ['LP', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6'], + 'wide': [ + 'Lāpule', 'Poʻakahi', 'Poʻalua', 'Poʻakolu', 'Poʻahā', 'Poʻalima', 'Poʻaono' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Ian.', 'Pep.', 'Mal.', 'ʻAp.', 'Mei', 'Iun.', 'Iul.', 'ʻAu.', 'Kep.', 'ʻOk.', 'Now.', + 'Kek.' + ], + 'wide': [ + 'Ianuali', 'Pepeluali', 'Malaki', 'ʻApelila', 'Mei', 'Iune', 'Iulai', 'ʻAukake', + 'Kepakemapa', 'ʻOkakopa', 'Nowemapa', 'Kekemapa' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Ian.', 'Pep.', 'Mal.', 'ʻAp.', 'Mei', 'Iun.', 'Iul.', 'ʻAu.', 'Kep.', 'ʻOk.', 'Now.', + 'Kek.' + ], + 'wide': [ + 'Ianuali', 'Pepeluali', 'Malaki', 'ʻApelila', 'Mei', 'Iune', 'Iulai', 'ʻAukake', + 'Kepakemapa', 'ʻOkakopa', 'Nowemapa', 'Kekemapa' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'USD'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_he.ts b/packages/core/src/i18n/data/locale_he.ts new file mode 100644 index 00000000000000..1888fd1df3541f --- /dev/null +++ b/packages/core/src/i18n/data/locale_he.ts @@ -0,0 +1,200 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleHe: NgLocale = { + 'localeId': 'he', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'חצות', + 'am': 'לפנה״צ', + 'pm': 'אחה״צ', + 'morning1': 'בוקר', + 'afternoon1': 'צהריים', + 'afternoon2': 'אחר הצהריים', + 'evening1': 'ערב', + 'night1': 'לילה', + 'night2': 'לפנות בוקר' + }, + 'narrow': { + 'midnight': 'חצות', + 'am': 'לפנה״צ', + 'pm': 'אחה״צ', + 'morning1': 'בוקר', + 'afternoon1': 'צהריים', + 'afternoon2': 'אחר הצהריים', + 'evening1': 'ערב', + 'night1': 'לילה', + 'night2': 'לפנות בוקר' + }, + 'wide': { + 'midnight': 'חצות', + 'am': 'לפנה״צ', + 'pm': 'אחה״צ', + 'morning1': 'בוקר', + 'afternoon1': 'צהריים', + 'afternoon2': 'אחר הצהריים', + 'evening1': 'ערב', + 'night1': 'לילה', + 'night2': 'לפנות בוקר' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'חצות', + 'am': 'לפנה״צ', + 'pm': 'אחה״צ', + 'morning1': 'בוקר', + 'afternoon1': 'צהריים', + 'afternoon2': 'אחר הצהריים', + 'evening1': 'ערב', + 'night1': 'לילה', + 'night2': 'לפנות בוקר' + }, + 'narrow': { + 'midnight': 'חצות', + 'am': 'לפנה״צ', + 'pm': 'אחה״צ', + 'morning1': 'בוקר', + 'afternoon1': 'צהריים', + 'afternoon2': 'אחר הצהריים', + 'evening1': 'ערב', + 'night1': 'לילה', + 'night2': 'לפנות בוקר' + }, + 'wide': { + 'midnight': 'חצות', + 'am': 'לפנה״צ', + 'pm': 'אחה״צ', + 'morning1': 'בוקר', + 'afternoon1': 'צהריים', + 'afternoon2': 'אחר הצהריים', + 'evening1': 'ערב', + 'night1': 'לילה', + 'night2': 'לפנות בוקר' + } + } + }, + 'days': { + 'format': { + 'narrow': ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], + 'short': ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], + 'abbreviated': [ + 'יום א׳', 'יום ב׳', 'יום ג׳', 'יום ד׳', 'יום ה׳', 'יום ו׳', + 'שבת' + ], + 'wide': [ + 'יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', + 'יום חמישי', 'יום שישי', 'יום שבת' + ] + }, + 'standalone': { + 'narrow': ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], + 'short': ['א׳', 'ב׳', 'ג׳', 'ד׳', 'ה׳', 'ו׳', 'ש׳'], + 'abbreviated': [ + 'יום א׳', 'יום ב׳', 'יום ג׳', 'יום ד׳', 'יום ה׳', 'יום ו׳', + 'שבת' + ], + 'wide': [ + 'יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', + 'יום חמישי', 'יום שישי', 'יום שבת' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', + 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳' + ], + 'wide': [ + 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', + 'אוגוסט', 'ספטמבר', 'או��טובר', 'נובמבר', 'דצמבר' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', + 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳' + ], + 'wide': [ + 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', + 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר' + ] + } + }, + 'eras': { + 'abbreviated': ['לפנה״ס', 'לספירה'], + 'narrow': ['לפנה״ס', 'לספירה'], + 'wide': ['לפני הספירה', 'לספירה'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [5, 6], + 'formats': { + 'date': { + 'full': 'EEEE, d בMMMM y', + 'long': 'd בMMMM y', + 'medium': 'd בMMM y', + 'short': 'd.M.y' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': { + 'full': '{1} בשעה {0}', + 'long': '{1} בשעה {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'afternoon2': {'from': '16:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '22:00', 'to': '03:00'}, + 'night2': {'from': '03:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '‏#,##0.00 ¤;‏-#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₪', 'name': 'שקל חדש'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + if (i === 2 && v === 0) return Plural.Two; + if (v === 0 && !(n >= 0 && n <= 10) && n % 10 === 0) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_hi.ts b/packages/core/src/i18n/data/locale_hi.ts new file mode 100644 index 00000000000000..a34d87ec820b55 --- /dev/null +++ b/packages/core/src/i18n/data/locale_hi.ts @@ -0,0 +1,195 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleHi: NgLocale = { + 'localeId': 'hi', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'मध्यरात्रि', + 'am': 'पूर्वाह्न', + 'pm': 'अपराह्न', + 'morning1': 'सुबह', + 'afternoon1': 'अपराह्न', + 'evening1': 'शाम', + 'night1': 'रात' + }, + 'narrow': { + 'midnight': 'मध्यरात्रि', + 'am': 'पू', + 'pm': 'अ', + 'morning1': 'सुबह', + 'afternoon1': 'अपराह्न', + 'evening1': 'शाम', + 'night1': 'शाम' + }, + 'wide': { + 'midnight': 'मध्यरात्रि', + 'am': 'पूर्वाह्न', + 'pm': 'अपराह्न', + 'morning1': 'सुबह', + 'afternoon1': 'अपराह्न', + 'evening1': 'शाम', + 'night1': 'रात' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'मध्यरात्रि', + 'am': 'पूर्वाह्न', + 'pm': 'अपराह्न', + 'morning1': 'सुबह', + 'afternoon1': 'दोपहर', + 'evening1': 'शाम', + 'night1': 'रात' + }, + 'narrow': { + 'midnight': 'आधी रात', + 'am': 'पू', + 'pm': 'अ', + 'morning1': 'सुबह', + 'afternoon1': 'अपराह्न', + 'evening1': 'शाम', + 'night1': 'रात' + }, + 'wide': { + 'midnight': 'मध्यरात्रि', + 'am': 'पूर्वाह्न', + 'pm': 'अपराह्न', + 'morning1': 'सुबह', + 'afternoon1': 'दोपहर', + 'evening1': 'शाम', + 'night1': 'रात' + } + } + }, + 'days': { + 'format': { + 'narrow': ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + 'short': ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + 'abbreviated': [ + 'रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', + 'शनि' + ], + 'wide': [ + 'रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', + 'गुरुवार', 'शुक्रवार', 'शनिवार' + ] + }, + 'standalone': { + 'narrow': ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + 'short': ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + 'abbreviated': [ + 'रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', + 'शनि' + ], + 'wide': [ + 'रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', + 'गुरुवार', 'शुक्रवार', 'शनिवार' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ज', 'फ़', 'मा', 'अ', 'म', 'जू', 'जु', 'अ', 'सि', 'अ', + 'न', 'दि' + ], + 'abbreviated': [ + 'जन॰', 'फ़र॰', 'मार्च', 'अप्रैल', 'मई', + 'जून', 'जुल॰', 'अग॰', 'सित॰', 'अक्तू॰', + 'नव॰', 'दिस॰' + ], + 'wide': [ + 'जनवरी', 'फ़रवरी', 'मार्च', 'अप्रैल', + 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितंबर', + 'अक्तूबर', 'नवंबर', 'दिसंबर' + ] + }, + 'standalone': { + 'narrow': [ + 'ज', 'फ़', 'मा', 'अ', 'म', 'जू', 'जु', 'अ', 'सि', 'अ', + 'न', 'दि' + ], + 'abbreviated': [ + 'जन॰', 'फ़र॰', 'मार्च', 'अप्रैल', 'मई', + 'जून', 'जुल॰', 'अग॰', 'सित॰', 'अक्तू॰', + 'नव॰', 'दिस॰' + ], + 'wide': [ + 'जनवरी', 'फ़रवरी', 'मार्च', 'अप्रैल', + 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितंबर', + 'अक्तूबर', 'नवंबर', 'दिसंबर' + ] + } + }, + 'eras': { + 'abbreviated': ['ईसा-पूर्व', 'ईस्वी'], + 'narrow': ['ईसा-पूर्व', 'ईस्वी'], + 'wide': ['ईसा-पूर्व', 'ईसवी सन'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'dd/MM/y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} को {0}', + 'long': '{1} को {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '20:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '[#E0]' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'भारतीय रुपया'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_hr-BA.ts b/packages/core/src/i18n/data/locale_hr-BA.ts new file mode 100644 index 00000000000000..8ee8f8cf56cfc0 --- /dev/null +++ b/packages/core/src/i18n/data/locale_hr-BA.ts @@ -0,0 +1,183 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleHrBA: NgLocale = { + 'localeId': 'hr-BA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + } + } + }, + 'days': { + 'format': { + 'narrow': ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], + 'short': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'abbreviated': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'wide': ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + }, + 'standalone': { + 'narrow': ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], + 'short': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'abbreviated': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'wide': ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + } + }, + 'months': { + 'format': { + 'narrow': ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + 'abbreviated': + ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + 'wide': [ + 'siječnja', 'veljače', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza', + 'rujna', 'listopada', 'studenoga', 'prosinca' + ] + }, + 'standalone': { + 'narrow': ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + 'abbreviated': + ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + 'wide': [ + 'siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', + 'rujan', 'listopad', 'studeni', 'prosinac' + ] + } + }, + 'eras': { + 'abbreviated': ['pr. Kr.', 'po. Kr.'], + 'narrow': ['pr.n.e.', 'AD'], + 'wide': ['prije Krista', 'poslije Krista'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y.', + 'long': 'd. MMMM y.', + 'medium': 'd. MMM y.', + 'short': 'd. M. yy.' + }, + 'time': + {'full': 'HH:mm:ss (zzzz)', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'u\' {0}', + 'long': '{1} \'u\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'KM', 'name': 'konvertibilna marka'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) + return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_hr.ts b/packages/core/src/i18n/data/locale_hr.ts new file mode 100644 index 00000000000000..b0c483a42bb2c4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_hr.ts @@ -0,0 +1,183 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleHr: NgLocale = { + 'localeId': 'hr', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'AM', + 'noon': 'podne', + 'pm': 'PM', + 'morning1': 'ujutro', + 'afternoon1': 'popodne', + 'evening1': 'navečer', + 'night1': 'noću' + } + } + }, + 'days': { + 'format': { + 'narrow': ['N', 'P', 'U', 'S', 'Č', 'P', 'S'], + 'short': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'abbreviated': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'wide': ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + }, + 'standalone': { + 'narrow': ['n', 'p', 'u', 's', 'č', 'p', 's'], + 'short': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'abbreviated': ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'], + 'wide': ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + } + }, + 'months': { + 'format': { + 'narrow': ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + 'abbreviated': + ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + 'wide': [ + 'siječnja', 'veljače', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza', + 'rujna', 'listopada', 'studenoga', 'prosinca' + ] + }, + 'standalone': { + 'narrow': ['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'], + 'abbreviated': + ['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'], + 'wide': [ + 'siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', + 'rujan', 'listopad', 'studeni', 'prosinac' + ] + } + }, + 'eras': { + 'abbreviated': ['pr. Kr.', 'po. Kr.'], + 'narrow': ['pr.n.e.', 'AD'], + 'wide': ['prije Krista', 'poslije Krista'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y.', + 'long': 'd. MMMM y.', + 'medium': 'd. MMM y.', + 'short': 'dd. MM. y.' + }, + 'time': + {'full': 'HH:mm:ss (zzzz)', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'u\' {0}', + 'long': '{1} \'u\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'HRK', 'name': 'hrvatska kuna'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) + return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_hsb.ts b/packages/core/src/i18n/data/locale_hsb.ts new file mode 100644 index 00000000000000..0fff4556513150 --- /dev/null +++ b/packages/core/src/i18n/data/locale_hsb.ts @@ -0,0 +1,116 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleHsb: NgLocale = { + 'localeId': 'hsb', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'dopołdnja', 'pm': 'popołdnju'}, + 'narrow': {'am': 'dop.', 'pm': 'pop.'}, + 'wide': {'am': 'dopołdnja', 'pm': 'popołdnju'} + }, + 'standalone': { + 'abbreviated': {'am': 'dopołdnja', 'pm': 'popołdnju'}, + 'narrow': {'am': 'dopołdnja', 'pm': 'popołdnju'}, + 'wide': {'am': 'dopołdnja', 'pm': 'popołdnju'} + } + }, + 'days': { + 'format': { + 'narrow': ['n', 'p', 'w', 's', 'š', 'p', 's'], + 'short': ['nj', 'pó', 'wu', 'sr', 'št', 'pj', 'so'], + 'abbreviated': ['nje', 'pón', 'wut', 'srj', 'štw', 'pja', 'sob'], + 'wide': ['njedźela', 'póndźela', 'wutora', 'srjeda', 'štwórtk', 'pjatk', 'sobota'] + }, + 'standalone': { + 'narrow': ['n', 'p', 'w', 's', 'š', 'p', 's'], + 'short': ['nj', 'pó', 'wu', 'sr', 'št', 'pj', 'so'], + 'abbreviated': ['nje', 'pón', 'wut', 'srj', 'štw', 'pja', 'sob'], + 'wide': ['njedźela', 'póndźela', 'wutora', 'srjeda', 'štwórtk', 'pjatk', 'sobota'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'jan.', 'feb.', 'měr.', 'apr.', 'mej.', 'jun.', 'jul.', 'awg.', 'sep.', 'okt.', 'now.', + 'dec.' + ], + 'wide': [ + 'januara', 'februara', 'měrca', 'apryla', 'meje', 'junija', 'julija', 'awgusta', + 'septembra', 'oktobra', 'nowembra', 'decembra' + ] + }, + 'standalone': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': + ['jan', 'feb', 'měr', 'apr', 'mej', 'jun', 'jul', 'awg', 'sep', 'okt', 'now', 'dec'], + 'wide': [ + 'januar', 'februar', 'měrc', 'apryl', 'meja', 'junij', 'julij', 'awgust', 'september', + 'oktober', 'nowember', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['př.Chr.n.', 'po Chr.n.'], + 'narrow': ['př.Chr.n.', 'po Chr.n.'], + 'wide': ['před Chrystowym narodźenjom', 'po Chrystowym narodźenju'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d. MMMM y', 'long': 'd. MMMM y', 'medium': 'd.M.y', 'short': 'd.M.yy'}, + 'time': { + 'full': 'H:mm:ss zzzz', + 'long': 'H:mm:ss z', + 'medium': 'H:mm:ss', + 'short': 'H:mm \'hodź\'.' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 100 === 1 || f % 100 === 1) return Plural.One; + if (v === 0 && i % 100 === 2 || f % 100 === 2) return Plural.Two; + if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || + f % 100 === Math.floor(f % 100) && f % 100 >= 3 && f % 100 <= 4) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_hu.ts b/packages/core/src/i18n/data/locale_hu.ts new file mode 100644 index 00000000000000..9267f891032a73 --- /dev/null +++ b/packages/core/src/i18n/data/locale_hu.ts @@ -0,0 +1,187 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleHu: NgLocale = { + 'localeId': 'hu', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'éjfél', + 'am': 'de.', + 'noon': 'dél', + 'pm': 'du.', + 'morning1': 'reggel', + 'morning2': 'reggel', + 'afternoon1': 'délután', + 'evening1': 'este', + 'night1': 'éjszaka', + 'night2': 'éjszaka' + }, + 'narrow': { + 'midnight': 'éjfél', + 'am': 'de.', + 'noon': 'dél', + 'pm': 'du.', + 'morning1': 'reggel', + 'morning2': 'reggel', + 'afternoon1': 'délután', + 'evening1': 'délután', + 'night1': 'éjszaka', + 'night2': 'éjszaka' + }, + 'wide': { + 'midnight': 'éjfél', + 'am': 'de.', + 'noon': 'dél', + 'pm': 'du.', + 'morning1': 'reggel', + 'morning2': 'reggel', + 'afternoon1': 'délután', + 'evening1': 'este', + 'night1': 'éjszaka', + 'night2': 'éjszaka' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'éjfél', + 'am': 'de.', + 'noon': 'dél', + 'pm': 'du.', + 'morning1': 'reggel', + 'morning2': 'délelőtt', + 'afternoon1': 'délután', + 'evening1': 'este', + 'night1': 'éjjel', + 'night2': 'hajnal' + }, + 'narrow': { + 'midnight': 'éjfél', + 'am': 'de.', + 'noon': 'dél', + 'pm': 'du.', + 'morning1': 'reggel', + 'morning2': 'délelőtt', + 'afternoon1': 'délután', + 'evening1': 'este', + 'night1': 'éjjel', + 'night2': 'hajnal' + }, + 'wide': { + 'midnight': 'éjfél', + 'am': 'de.', + 'noon': 'dél', + 'pm': 'du.', + 'morning1': 'reggel', + 'morning2': 'délelőtt', + 'afternoon1': 'délután', + 'evening1': 'este', + 'night1': 'éjjel', + 'night2': 'hajnal' + } + } + }, + 'days': { + 'format': { + 'narrow': ['V', 'H', 'K', 'Sz', 'Cs', 'P', 'Sz'], + 'short': ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], + 'abbreviated': ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], + 'wide': ['vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat'] + }, + 'standalone': { + 'narrow': ['V', 'H', 'K', 'Sz', 'Cs', 'P', 'Sz'], + 'short': ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], + 'abbreviated': ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], + 'wide': ['vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'Á', 'M', 'J', 'J', 'A', 'Sz', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'febr.', 'márc.', 'ápr.', 'máj.', 'jún.', 'júl.', 'aug.', 'szept.', 'okt.', + 'nov.', 'dec.' + ], + 'wide': [ + 'január', 'február', 'március', 'április', 'május', 'június', 'július', + 'augusztus', 'szeptember', 'október', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'Á', 'M', 'J', 'J', 'A', 'Sz', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'febr.', 'márc.', 'ápr.', 'máj.', 'jún.', 'júl.', 'aug.', 'szept.', 'okt.', + 'nov.', 'dec.' + ], + 'wide': [ + 'január', 'február', 'március', 'április', 'május', 'június', 'július', + 'augusztus', 'szeptember', 'október', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['i. e.', 'i. sz.'], + 'narrow': ['ie.', 'isz.'], + 'wide': ['időszámításunk előtt', 'időszámításunk szerint'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y. MMMM d., EEEE', + 'long': 'y. MMMM d.', + 'medium': 'y. MMM d.', + 'short': 'y. MM. dd.' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '09:00'}, + 'morning2': {'from': '09:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'}, + 'night2': {'from': '04:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ft', 'name': 'magyar forint'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_hy.ts b/packages/core/src/i18n/data/locale_hy.ts new file mode 100644 index 00000000000000..2105c07fb93b72 --- /dev/null +++ b/packages/core/src/i18n/data/locale_hy.ts @@ -0,0 +1,184 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleHy: NgLocale = { + 'localeId': 'hy', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'կեսգիշեր', + 'am': 'ԿԱ', + 'noon': 'կեսօր', + 'pm': 'ԿՀ', + 'morning1': 'առավոտյան', + 'afternoon1': 'ցերեկը', + 'evening1': 'երեկոյան', + 'night1': 'գիշերը' + }, + 'narrow': { + 'midnight': 'կգ․', + 'am': 'ա', + 'noon': 'կօ․', + 'pm': 'հ', + 'morning1': 'առվ', + 'afternoon1': 'ցրկ', + 'evening1': 'երկ', + 'night1': 'գշր' + }, + 'wide': { + 'midnight': 'կեսգիշեր', + 'am': 'AM', + 'noon': 'կեսօր', + 'pm': 'PM', + 'morning1': 'առավոտյան', + 'afternoon1': 'ցերեկը', + 'evening1': 'երեկոյան', + 'night1': 'գիշերը' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'կեսգիշեր', + 'am': 'ԿԱ', + 'noon': 'կեսօր', + 'pm': 'ԿՀ', + 'morning1': 'առավոտ', + 'afternoon1': 'ցերեկ', + 'evening1': 'երեկո', + 'night1': 'գիշեր' + }, + 'narrow': { + 'midnight': 'կեսգիշեր', + 'am': 'ԿԱ', + 'noon': 'կեսօր', + 'pm': 'ԿՀ', + 'morning1': 'առավոտ', + 'afternoon1': 'ցերեկ', + 'evening1': 'երեկո', + 'night1': 'գիշեր' + }, + 'wide': { + 'midnight': 'կեսգիշեր', + 'am': 'AM', + 'noon': 'կեսօր', + 'pm': 'PM', + 'morning1': 'առավոտ', + 'afternoon1': 'ցերեկ', + 'evening1': 'երեկո', + 'night1': 'գիշեր' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Կ', 'Ե', 'Ե', 'Չ', 'Հ', 'Ո', 'Շ'], + 'short': ['կր', 'եկ', 'եք', 'չք', 'հգ', 'ու', 'շբ'], + 'abbreviated': ['կիր', 'երկ', 'երք', 'չրք', 'հնգ', 'ուր', 'շբթ'], + 'wide': [ + 'կիրակի', 'երկուշաբթի', 'երեքշաբթի', 'չորեքշաբթի', + 'հինգշաբթի', 'ուրբաթ', 'շաբաթ' + ] + }, + 'standalone': { + 'narrow': ['Կ', 'Ե', 'Ե', 'Չ', 'Հ', 'Ո', 'Շ'], + 'short': ['կր', 'եկ', 'եք', 'չք', 'հգ', 'ու', 'շբ'], + 'abbreviated': ['կիր', 'երկ', 'երք', 'չրք', 'հնգ', 'ուր', 'շբթ'], + 'wide': [ + 'կիրակի', 'երկուշաբթի', 'երեքշաբթի', 'չորեքշաբթի', + 'հինգշաբթի', 'ուրբաթ', 'շաբաթ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], + 'abbreviated': [ + 'հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', + 'հոկ', 'նոյ', 'դեկ' + ], + 'wide': [ + 'հունվարի', 'փետրվարի', 'մարտի', 'ապրիլի', 'մայիսի', + 'հունիսի', 'հուլիսի', 'օգոստոսի', 'սեպտեմբերի', + 'հոկտեմբերի', 'նոյեմբերի', 'դեկտեմբերի' + ] + }, + 'standalone': { + 'narrow': ['Հ', 'Փ', 'Մ', 'Ա', 'Մ', 'Հ', 'Հ', 'Օ', 'Ս', 'Հ', 'Ն', 'Դ'], + 'abbreviated': [ + 'հնվ', 'փտվ', 'մրտ', 'ապր', 'մյս', 'հնս', 'հլս', 'օգս', 'սեպ', + 'հոկ', 'նոյ', 'դեկ' + ], + 'wide': [ + 'հունվար', 'փետրվար', 'մարտ', 'ապրիլ', 'մայիս', + 'հունիս', 'հուլիս', 'օգոստոս', 'սեպտեմբեր', + 'հոկտեմբեր', 'նոյեմբեր', 'դեկտեմբեր' + ] + } + }, + 'eras': { + 'abbreviated': ['մ.թ.ա.', 'մ.թ.'], + 'narrow': ['մ.թ.ա.', 'մ.թ.'], + 'wide': ['Քրիստոսից առաջ', 'Քրիստոսից հետո'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y թ. MMMM d, EEEE', + 'long': 'dd MMMM, y թ.', + 'medium': 'dd MMM, y թ.', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ՈչԹ', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '֏', 'name': 'Հայկական դրամ'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_id.ts b/packages/core/src/i18n/data/locale_id.ts new file mode 100644 index 00000000000000..1f45e347e12279 --- /dev/null +++ b/packages/core/src/i18n/data/locale_id.ts @@ -0,0 +1,160 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleId: NgLocale = { + 'localeId': 'id', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'tengah malam', + 'am': 'AM', + 'noon': 'tengah hari', + 'pm': 'PM', + 'morning1': 'pagi', + 'afternoon1': 'siang', + 'evening1': 'sore', + 'night1': 'malam' + }, + 'narrow': { + 'midnight': 'tengah malam', + 'am': 'AM', + 'noon': 'tengah hari', + 'pm': 'PM', + 'morning1': 'pagi', + 'afternoon1': 'siang', + 'evening1': 'sore', + 'night1': 'malam' + }, + 'wide': { + 'midnight': 'tengah malam', + 'am': 'AM', + 'noon': 'tengah hari', + 'pm': 'PM', + 'morning1': 'pagi', + 'afternoon1': 'siang', + 'evening1': 'sore', + 'night1': 'malam' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'tengah malam', + 'am': 'AM', + 'noon': 'tengah hari', + 'pm': 'PM', + 'morning1': 'pagi', + 'afternoon1': 'siang', + 'evening1': 'sore', + 'night1': 'malam' + }, + 'narrow': { + 'midnight': 'tengah malam', + 'am': 'AM', + 'noon': 'tengah hari', + 'pm': 'PM', + 'morning1': 'pagi', + 'afternoon1': 'siang', + 'evening1': 'sore', + 'night1': 'malam' + }, + 'wide': { + 'midnight': 'tengah malam', + 'am': 'AM', + 'noon': 'tengah hari', + 'pm': 'PM', + 'morning1': 'pagi', + 'afternoon1': 'siang', + 'evening1': 'sore', + 'night1': 'malam' + } + } + }, + 'days': { + 'format': { + 'narrow': ['M', 'S', 'S', 'R', 'K', 'J', 'S'], + 'short': ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], + 'abbreviated': ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], + 'wide': ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'] + }, + 'standalone': { + 'narrow': ['M', 'S', 'S', 'R', 'K', 'J', 'S'], + 'short': ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], + 'abbreviated': ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'], + 'wide': ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agt', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', + 'Oktober', 'November', 'Desember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agt', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', + 'Oktober', 'November', 'Desember' + ] + } + }, + 'eras': + {'abbreviated': ['SM', 'M'], 'narrow': ['SM', 'M'], 'wide': ['Sebelum Masehi', 'Masehi']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, dd MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/yy'}, + 'time': + {'full': 'HH.mm.ss zzzz', 'long': 'HH.mm.ss z', 'medium': 'HH.mm.ss', 'short': 'HH.mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '10:00', 'to': '15:00'}, + 'evening1': {'from': '15:00', 'to': '18:00'}, + 'midnight': '00:00', + 'morning1': {'from': '00:00', 'to': '10:00'}, + 'night1': {'from': '18:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': '.' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Rp', 'name': 'Rupiah Indonesia'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ig.ts b/packages/core/src/i18n/data/locale_ig.ts new file mode 100644 index 00000000000000..cd580d04fc73c3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ig.ts @@ -0,0 +1,109 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleIg: NgLocale = { + 'localeId': 'ig', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'A.M.', 'pm': 'P.M.'}, + 'narrow': {'am': 'A.M.', 'pm': 'P.M.'}, + 'wide': {'am': 'A.M.', 'pm': 'P.M.'} + }, + 'standalone': { + 'abbreviated': {'am': 'A.M.', 'pm': 'P.M.'}, + 'narrow': {'am': 'A.M.', 'pm': 'P.M.'}, + 'wide': {'am': 'A.M.', 'pm': 'P.M.'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Ụka', 'Mọn', 'Tiu', 'Wen', 'Tọọ', 'Fraị', 'Sat'], + 'abbreviated': ['Ụka', 'Mọn', 'Tiu', 'Wen', 'Tọọ', 'Fraị', 'Sat'], + 'wide': [ + 'Mbọsị Ụka', 'Mọnde', 'Tiuzdee', 'Wenezdee', 'Tọọzdee', 'Fraịdee', + 'Satọdee' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Ụka', 'Mọn', 'Tiu', 'Wen', 'Tọọ', 'Fraị', 'Sat'], + 'abbreviated': ['Ụka', 'Mọn', 'Tiu', 'Wen', 'Tọọ', 'Fraị', 'Sat'], + 'wide': [ + 'Mbọsị Ụka', 'Mọnde', 'Tiuzdee', 'Wenezdee', 'Tọọzdee', 'Fraịdee', + 'Satọdee' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Jen', 'Feb', 'Maa', 'Epr', 'Mee', 'Juu', 'Jul', 'Ọgọ', 'Sep', 'Ọkt', 'Nov', 'Dis' + ], + 'wide': [ + 'Jenụwarị', 'Febrụwarị', 'Maachị', 'Eprel', 'Mee', 'Juun', 'Julaị', + 'Ọgọọst', 'Septemba', 'Ọktoba', 'Novemba', 'Disemba' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Jen', 'Feb', 'Maa', 'Epr', 'Mee', 'Juu', 'Jul', 'Ọgọ', 'Sep', 'Ọkt', 'Nov', 'Dis' + ], + 'wide': [ + 'Jenụwarị', 'Febrụwarị', 'Maachị', 'Eprel', 'Mee', 'Juun', 'Julaị', + 'Ọgọọst', 'Septemba', 'Ọktoba', 'Novemba', 'Disemba' + ] + } + }, + 'eras': { + 'abbreviated': ['T.K.', 'A.K.'], + 'narrow': ['T.K.', 'A.K.'], + 'wide': ['Tupu Kristi', 'Afọ Kristi'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₦', 'name': 'Naịra'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ii.ts b/packages/core/src/i18n/data/locale_ii.ts new file mode 100644 index 00000000000000..c5d1681f6c2696 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ii.ts @@ -0,0 +1,113 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleIi: NgLocale = { + 'localeId': 'ii', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ꎸꄑ', 'pm': 'ꁯꋒ'}, + 'narrow': {'am': 'ꎸꄑ', 'pm': 'ꁯꋒ'}, + 'wide': {'am': 'ꎸꄑ', 'pm': 'ꁯꋒ'} + }, + 'standalone': { + 'abbreviated': {'am': 'ꎸꄑ', 'pm': 'ꁯꋒ'}, + 'narrow': {'am': 'ꎸꄑ', 'pm': 'ꁯꋒ'}, + 'wide': {'am': 'ꎸꄑ', 'pm': 'ꁯꋒ'} + } + }, + 'days': { + 'format': { + 'narrow': ['ꆏ', 'ꋍ', 'ꑍ', 'ꌕ', 'ꇖ', 'ꉬ', 'ꃘ'], + 'short': ['ꑭꆏ', 'ꆏꋍ', 'ꆏꑍ', 'ꆏꌕ', 'ꆏꇖ', 'ꆏꉬ', 'ꆏꃘ'], + 'abbreviated': ['ꑭꆏ', 'ꆏꋍ', 'ꆏꑍ', 'ꆏꌕ', 'ꆏꇖ', 'ꆏꉬ', 'ꆏꃘ'], + 'wide': [ + 'ꑭꆏꑍ', 'ꆏꊂꋍ', 'ꆏꊂꑍ', 'ꆏꊂꌕ', 'ꆏꊂꇖ', 'ꆏꊂꉬ', 'ꆏꊂꃘ' + ] + }, + 'standalone': { + 'narrow': ['ꆏ', 'ꋍ', 'ꑍ', 'ꌕ', 'ꇖ', 'ꉬ', 'ꃘ'], + 'short': ['ꑭꆏ', 'ꆏꋍ', 'ꆏꑍ', 'ꆏꌕ', 'ꆏꇖ', 'ꆏꉬ', 'ꆏꃘ'], + 'abbreviated': ['ꑭꆏ', 'ꆏꋍ', 'ꆏꑍ', 'ꆏꌕ', 'ꆏꇖ', 'ꆏꉬ', 'ꆏꃘ'], + 'wide': [ + 'ꑭꆏꑍ', 'ꆏꊂꋍ', 'ꆏꊂꑍ', 'ꆏꊂꌕ', 'ꆏꊂꇖ', 'ꆏꊂꉬ', 'ꆏꊂꃘ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ꋍꆪ', 'ꑍꆪ', 'ꌕꆪ', 'ꇖꆪ', 'ꉬꆪ', 'ꃘꆪ', 'ꏃꆪ', 'ꉆꆪ', 'ꈬꆪ', + 'ꊰꆪ', 'ꊰꊪꆪ', 'ꊰꑋꆪ' + ], + 'wide': [ + 'ꋍꆪ', 'ꑍꆪ', 'ꌕꆪ', 'ꇖꆪ', 'ꉬꆪ', 'ꃘꆪ', 'ꏃꆪ', 'ꉆꆪ', 'ꈬꆪ', + 'ꊰꆪ', 'ꊰꊪꆪ', 'ꊰꑋꆪ' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ꋍꆪ', 'ꑍꆪ', 'ꌕꆪ', 'ꇖꆪ', 'ꉬꆪ', 'ꃘꆪ', 'ꏃꆪ', 'ꉆꆪ', 'ꈬꆪ', + 'ꊰꆪ', 'ꊰꊪꆪ', 'ꊰꑋꆪ' + ], + 'wide': [ + 'ꋍꆪ', 'ꑍꆪ', 'ꌕꆪ', 'ꇖꆪ', 'ꉬꆪ', 'ꃘꆪ', 'ꏃꆪ', 'ꉆꆪ', 'ꈬꆪ', + 'ꊰꆪ', 'ꊰꊪꆪ', 'ꊰꑋꆪ' + ] + } + }, + 'eras': { + 'abbreviated': ['ꃅꋊꂿ', 'ꃅꋊꊂ'], + 'narrow': ['ꃅꋊꂿ', 'ꃅꋊꊂ'], + 'wide': ['ꃅꋊꂿ', 'ꃅꋊꊂ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '¥', 'name': 'CNY'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_is.ts b/packages/core/src/i18n/data/locale_is.ts new file mode 100644 index 00000000000000..a54be9207cb51a --- /dev/null +++ b/packages/core/src/i18n/data/locale_is.ts @@ -0,0 +1,183 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleIs: NgLocale = { + 'localeId': 'is', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'miðn.', + 'am': 'f.h.', + 'noon': 'hád.', + 'pm': 'e.h.', + 'morning1': 'að morgni', + 'afternoon1': 'síðd.', + 'evening1': 'að kv.', + 'night1': 'að nóttu' + }, + 'narrow': { + 'midnight': 'mn.', + 'am': 'f.', + 'noon': 'h.', + 'pm': 'e.', + 'morning1': 'mrg.', + 'afternoon1': 'sd.', + 'evening1': 'kv.', + 'night1': 'n.' + }, + 'wide': { + 'midnight': 'miðnætti', + 'am': 'f.h.', + 'noon': 'hádegi', + 'pm': 'e.h.', + 'morning1': 'að morgni', + 'afternoon1': 'síðdegis', + 'evening1': 'að kvöldi', + 'night1': 'að nóttu' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'miðn.', + 'am': 'f.h.', + 'noon': 'hád.', + 'pm': 'e.h.', + 'morning1': 'morg.', + 'afternoon1': 'síðd.', + 'evening1': 'kv.', + 'night1': 'nótt' + }, + 'narrow': { + 'midnight': 'mn.', + 'am': 'f.h.', + 'noon': 'hd.', + 'pm': 'e.h.', + 'morning1': 'mrg.', + 'afternoon1': 'sd.', + 'evening1': 'kv.', + 'night1': 'n.' + }, + 'wide': { + 'midnight': 'miðnætti', + 'am': 'f.h.', + 'noon': 'hádegi', + 'pm': 'e.h.', + 'morning1': 'morgunn', + 'afternoon1': 'eftir hádegi', + 'evening1': 'kvöld', + 'night1': 'nótt' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'Þ', 'M', 'F', 'F', 'L'], + 'short': ['su.', 'má.', 'þr.', 'mi.', 'fi.', 'fö.', 'la.'], + 'abbreviated': ['sun.', 'mán.', 'þri.', 'mið.', 'fim.', 'fös.', 'lau.'], + 'wide': [ + 'sunnudagur', 'mánudagur', 'þriðjudagur', 'miðvikudagur', 'fimmtudagur', + 'föstudagur', 'laugardagur' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'Þ', 'M', 'F', 'F', 'L'], + 'short': ['su.', 'má.', 'þr.', 'mi.', 'fi.', 'fö.', 'la.'], + 'abbreviated': ['sun.', 'mán.', 'þri.', 'mið.', 'fim.', 'fös.', 'lau.'], + 'wide': [ + 'sunnudagur', 'mánudagur', 'þriðjudagur', 'miðvikudagur', 'fimmtudagur', + 'föstudagur', 'laugardagur' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'Á', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'maí', 'jún.', 'júl.', 'ágú.', 'sep.', 'okt.', + 'nóv.', 'des.' + ], + 'wide': [ + 'janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', + 'september', 'október', 'nóvember', 'desember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'Á', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'maí', 'jún.', 'júl.', 'ágú.', 'sep.', 'okt.', + 'nóv.', 'des.' + ], + 'wide': [ + 'janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', + 'september', 'október', 'nóvember', 'desember' + ] + } + }, + 'eras': { + 'abbreviated': ['f.Kr.', 'e.Kr.'], + 'narrow': ['f.k.', 'e.k.'], + 'wide': ['fyrir Krist', 'eftir Krist'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d. MMMM y', 'long': 'd. MMMM y', 'medium': 'd. MMM y', 'short': 'd.M.y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'kl\'. {0}', + 'long': '{1} \'kl\'. {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ISK', 'name': 'íslensk króna'}, + 'getPluralCase': function(n: number): Plural { + 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 Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_it-CH.ts b/packages/core/src/i18n/data/locale_it-CH.ts new file mode 100644 index 00000000000000..c51904fb513a47 --- /dev/null +++ b/packages/core/src/i18n/data/locale_it-CH.ts @@ -0,0 +1,170 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleItCH: NgLocale = { + 'localeId': 'it-CH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'di mattina', + 'afternoon1': 'del pomeriggio', + 'evening1': 'di sera', + 'night1': 'di notte' + }, + 'narrow': { + 'midnight': 'mezzanotte', + 'am': 'm.', + 'noon': 'mezzogiorno', + 'pm': 'p.', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'wide': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'di mattina', + 'afternoon1': 'del pomeriggio', + 'evening1': 'di sera', + 'night1': 'di notte' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'narrow': { + 'midnight': 'mezzanotte', + 'am': 'm.', + 'noon': 'mezzogiorno', + 'pm': 'p.', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'wide': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'G', 'V', 'S'], + 'short': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'abbreviated': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'wide': + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'G', 'V', 'S'], + 'short': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'abbreviated': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'wide': + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'] + } + }, + 'months': { + 'format': { + 'narrow': ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], + 'wide': [ + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', + 'settembre', 'ottobre', 'novembre', 'dicembre' + ] + }, + 'standalone': { + 'narrow': ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], + 'wide': [ + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', + 'settembre', 'ottobre', 'novembre', 'dicembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['aC', 'dC'], + 'wide': ['avanti Cristo', 'dopo Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd.MM.yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': '’', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤-#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CHF', 'name': 'franco svizzero'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_it-SM.ts b/packages/core/src/i18n/data/locale_it-SM.ts new file mode 100644 index 00000000000000..b1a52e190d9fb2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_it-SM.ts @@ -0,0 +1,170 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleItSM: NgLocale = { + 'localeId': 'it-SM', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'di mattina', + 'afternoon1': 'del pomeriggio', + 'evening1': 'di sera', + 'night1': 'di notte' + }, + 'narrow': { + 'midnight': 'mezzanotte', + 'am': 'm.', + 'noon': 'mezzogiorno', + 'pm': 'p.', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'wide': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'di mattina', + 'afternoon1': 'del pomeriggio', + 'evening1': 'di sera', + 'night1': 'di notte' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'narrow': { + 'midnight': 'mezzanotte', + 'am': 'm.', + 'noon': 'mezzogiorno', + 'pm': 'p.', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'wide': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'G', 'V', 'S'], + 'short': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'abbreviated': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'wide': + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'G', 'V', 'S'], + 'short': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'abbreviated': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'wide': + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'] + } + }, + 'months': { + 'format': { + 'narrow': ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], + 'wide': [ + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', + 'settembre', 'ottobre', 'novembre', 'dicembre' + ] + }, + 'standalone': { + 'narrow': ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], + 'wide': [ + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', + 'settembre', 'ottobre', 'novembre', 'dicembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['aC', 'dC'], + 'wide': ['avanti Cristo', 'dopo Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'dd MMM y', 'short': 'dd/MM/yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_it-VA.ts b/packages/core/src/i18n/data/locale_it-VA.ts new file mode 100644 index 00000000000000..9b60b75b3eafb1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_it-VA.ts @@ -0,0 +1,170 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleItVA: NgLocale = { + 'localeId': 'it-VA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'di mattina', + 'afternoon1': 'del pomeriggio', + 'evening1': 'di sera', + 'night1': 'di notte' + }, + 'narrow': { + 'midnight': 'mezzanotte', + 'am': 'm.', + 'noon': 'mezzogiorno', + 'pm': 'p.', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'wide': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'di mattina', + 'afternoon1': 'del pomeriggio', + 'evening1': 'di sera', + 'night1': 'di notte' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'narrow': { + 'midnight': 'mezzanotte', + 'am': 'm.', + 'noon': 'mezzogiorno', + 'pm': 'p.', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'wide': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'G', 'V', 'S'], + 'short': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'abbreviated': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'wide': + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'G', 'V', 'S'], + 'short': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'abbreviated': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'wide': + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'] + } + }, + 'months': { + 'format': { + 'narrow': ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], + 'wide': [ + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', + 'settembre', 'ottobre', 'novembre', 'dicembre' + ] + }, + 'standalone': { + 'narrow': ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], + 'wide': [ + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', + 'settembre', 'ottobre', 'novembre', 'dicembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['aC', 'dC'], + 'wide': ['avanti Cristo', 'dopo Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'dd MMM y', 'short': 'dd/MM/yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_it.ts b/packages/core/src/i18n/data/locale_it.ts new file mode 100644 index 00000000000000..8d2bfbdafd2ad5 --- /dev/null +++ b/packages/core/src/i18n/data/locale_it.ts @@ -0,0 +1,170 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleIt: NgLocale = { + 'localeId': 'it', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'di mattina', + 'afternoon1': 'del pomeriggio', + 'evening1': 'di sera', + 'night1': 'di notte' + }, + 'narrow': { + 'midnight': 'mezzanotte', + 'am': 'm.', + 'noon': 'mezzogiorno', + 'pm': 'p.', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'wide': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'di mattina', + 'afternoon1': 'del pomeriggio', + 'evening1': 'di sera', + 'night1': 'di notte' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'narrow': { + 'midnight': 'mezzanotte', + 'am': 'm.', + 'noon': 'mezzogiorno', + 'pm': 'p.', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + }, + 'wide': { + 'midnight': 'mezzanotte', + 'am': 'AM', + 'noon': 'mezzogiorno', + 'pm': 'PM', + 'morning1': 'mattina', + 'afternoon1': 'pomeriggio', + 'evening1': 'sera', + 'night1': 'notte' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'G', 'V', 'S'], + 'short': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'abbreviated': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'wide': + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'G', 'V', 'S'], + 'short': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'abbreviated': ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'], + 'wide': + ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'] + } + }, + 'months': { + 'format': { + 'narrow': ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], + 'wide': [ + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', + 'settembre', 'ottobre', 'novembre', 'dicembre' + ] + }, + 'standalone': { + 'narrow': ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'], + 'wide': [ + 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', + 'settembre', 'ottobre', 'novembre', 'dicembre' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['aC', 'dC'], + 'wide': ['avanti Cristo', 'dopo Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'dd MMM y', 'short': 'dd/MM/yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ja.ts b/packages/core/src/i18n/data/locale_ja.ts new file mode 100644 index 00000000000000..f97788dca5010a --- /dev/null +++ b/packages/core/src/i18n/data/locale_ja.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleJa: NgLocale = { + 'localeId': 'ja', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '真夜中', + 'am': '午前', + 'noon': '正午', + 'pm': '午後', + 'morning1': '朝', + 'afternoon1': '昼', + 'evening1': '夕方', + 'night1': '夜', + 'night2': '夜中' + }, + 'narrow': { + 'midnight': '真夜中', + 'am': '午前', + 'noon': '正午', + 'pm': '午後', + 'morning1': '朝', + 'afternoon1': '昼', + 'evening1': '夕方', + 'night1': '夜', + 'night2': '夜中' + }, + 'wide': { + 'midnight': '真夜中', + 'am': '午前', + 'noon': '正午', + 'pm': '午後', + 'morning1': '朝', + 'afternoon1': '昼', + 'evening1': '夕方', + 'night1': '夜', + 'night2': '夜中' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '真夜中', + 'am': '午前', + 'noon': '正午', + 'pm': '午後', + 'morning1': '朝', + 'afternoon1': '昼', + 'evening1': '夕方', + 'night1': '夜', + 'night2': '夜中' + }, + 'narrow': { + 'midnight': '真夜中', + 'am': '午前', + 'noon': '正午', + 'pm': '午後', + 'morning1': '朝', + 'afternoon1': '昼', + 'evening1': '夕方', + 'night1': '夜', + 'night2': '夜中' + }, + 'wide': { + 'midnight': '真夜中', + 'am': '午前', + 'noon': '正午', + 'pm': '午後', + 'morning1': '朝', + 'afternoon1': '昼', + 'evening1': '夕方', + 'night1': '夜', + 'night2': '夜中' + } + } + }, + 'days': { + 'format': { + 'narrow': ['日', '月', '火', '水', '木', '金', '土'], + 'short': ['日', '月', '火', '水', '木', '金', '土'], + 'abbreviated': ['日', '月', '火', '水', '木', '金', '土'], + 'wide': [ + '日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日' + ] + }, + 'standalone': { + 'narrow': ['日', '月', '火', '水', '木', '金', '土'], + 'short': ['日', '月', '火', '水', '木', '金', '土'], + 'abbreviated': ['日', '月', '火', '水', '木', '金', '土'], + 'wide': [ + '日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ] + } + }, + 'eras': { + 'abbreviated': ['紀元前', '西暦'], + 'narrow': ['BC', 'AD'], + 'wide': ['紀元前', '西暦'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y年M月d日EEEE', + 'long': 'y���M月d日', + 'medium': 'y/MM/dd', + 'short': 'y/MM/dd' + }, + 'time': { + 'full': 'H時mm分ss秒 zzzz', + 'long': 'H:mm:ss z', + 'medium': 'H:mm:ss', + 'short': 'H:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '23:00'}, + 'night2': {'from': '23:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '¥', 'name': '日本円'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_jgo.ts b/packages/core/src/i18n/data/locale_jgo.ts new file mode 100644 index 00000000000000..f5fe10a553bb1b --- /dev/null +++ b/packages/core/src/i18n/data/locale_jgo.ts @@ -0,0 +1,137 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleJgo: NgLocale = { + 'localeId': 'jgo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'mbaꞌmbaꞌ', 'pm': 'ŋka mbɔ́t nji'}, + 'narrow': {'am': 'mbaꞌmbaꞌ', 'pm': 'ŋka mbɔ́t nji'}, + 'wide': {'am': 'mbaꞌmbaꞌ', 'pm': 'ŋka mbɔ́t nji'} + }, + 'standalone': { + 'abbreviated': {'am': 'mbaꞌmbaꞌ', 'pm': 'ŋka mbɔ́t nji'}, + 'narrow': {'am': 'mbaꞌmbaꞌ', 'pm': 'ŋka mbɔ́t nji'}, + 'wide': {'am': 'mbaꞌmbaꞌ', 'pm': 'ŋka mbɔ́t nji'} + } + }, + 'days': { + 'format': { + 'narrow': ['Sɔ́', 'Mɔ́', 'ÁM', 'Wɛ́', 'Tɔ́', 'Fɛ', 'Sá'], + 'short': [ + 'Sɔ́ndi', 'Mɔ́ndi', 'Ápta Mɔ́ndi', 'Wɛ́nɛsɛdɛ', 'Tɔ́sɛdɛ', 'Fɛlâyɛdɛ', + 'Sásidɛ' + ], + 'abbreviated': [ + 'Sɔ́ndi', 'Mɔ́ndi', 'Ápta Mɔ́ndi', 'Wɛ́nɛsɛdɛ', 'Tɔ́sɛdɛ', 'Fɛlâyɛdɛ', + 'Sásidɛ' + ], + 'wide': [ + 'Sɔ́ndi', 'Mɔ́ndi', 'Ápta Mɔ́ndi', 'Wɛ́nɛsɛdɛ', 'Tɔ́sɛdɛ', 'Fɛlâyɛdɛ', + 'Sásidɛ' + ] + }, + 'standalone': { + 'narrow': ['Sɔ́', 'Mɔ́', 'ÁM', 'Wɛ́', 'Tɔ́', 'Fɛ', 'Sá'], + 'short': [ + 'Sɔ́ndi', 'Mɔ́ndi', 'Ápta Mɔ́ndi', 'Wɛ́nɛsɛdɛ', 'Tɔ́sɛdɛ', 'Fɛlâyɛdɛ', + 'Sásidɛ' + ], + 'abbreviated': [ + 'Sɔ́ndi', 'Mɔ́ndi', 'Ápta Mɔ́ndi', 'Wɛ́nɛsɛdɛ', 'Tɔ́sɛdɛ', 'Fɛlâyɛdɛ', + 'Sásidɛ' + ], + 'wide': [ + 'Sɔ́ndi', 'Mɔ́ndi', 'Ápta Mɔ́ndi', 'Wɛ́nɛsɛdɛ', 'Tɔ́sɛdɛ', 'Fɛlâyɛdɛ', + 'Sásidɛ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Nduŋmbi Saŋ', 'Pɛsaŋ Pɛ́pá', 'Pɛsaŋ Pɛ́tát', 'Pɛsaŋ Pɛ́nɛ́kwa', + 'Pɛsaŋ Pataa', 'Pɛsaŋ Pɛ́nɛ́ntúkú', 'Pɛsaŋ Saambá', 'Pɛsaŋ Pɛ́nɛ́fɔm', + 'Pɛsaŋ Pɛ́nɛ́pfúꞋú', 'Pɛsaŋ Nɛgɛ́m', 'Pɛsaŋ Ntsɔ̌pmɔ́', + 'Pɛsaŋ Ntsɔ̌ppá' + ], + 'wide': [ + 'Nduŋmbi Saŋ', 'Pɛsaŋ Pɛ́pá', 'Pɛsaŋ Pɛ́tát', 'Pɛsaŋ Pɛ́nɛ́kwa', + 'Pɛsaŋ Pataa', 'Pɛsaŋ Pɛ́nɛ́ntúkú', 'Pɛsaŋ Saambá', 'Pɛsaŋ Pɛ́nɛ́fɔm', + 'Pɛsaŋ Pɛ́nɛ́pfúꞋú', 'Pɛsaŋ Nɛgɛ́m', 'Pɛsaŋ Ntsɔ̌pmɔ́', + 'Pɛsaŋ Ntsɔ̌ppá' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Nduŋmbi Saŋ', 'Pɛsaŋ Pɛ́pá', 'Pɛsaŋ Pɛ́tát', 'Pɛsaŋ Pɛ́nɛ́kwa', + 'Pɛsaŋ Pataa', 'Pɛsaŋ Pɛ́nɛ́ntúkú', 'Pɛsaŋ Saambá', 'Pɛsaŋ Pɛ́nɛ́fɔm', + 'Pɛsaŋ Pɛ́nɛ́pfúꞋú', 'Pɛsaŋ Nɛgɛ́m', 'Pɛsaŋ Ntsɔ̌pmɔ́', + 'Pɛsaŋ Ntsɔ̌ppá' + ], + 'wide': [ + 'Nduŋmbi Saŋ', 'Pɛsaŋ Pɛ́pá', 'Pɛsaŋ Pɛ́tát', 'Pɛsaŋ Pɛ́nɛ́kwa', + 'Pɛsaŋ Pataa', 'Pɛsaŋ Pɛ́nɛ́ntúkú', 'Pɛsaŋ Saambá', 'Pɛsaŋ Pɛ́nɛ́fɔm', + 'Pɛsaŋ Pɛ́nɛ́pfúꞋú', 'Pɛsaŋ Nɛgɛ́m', 'Pɛsaŋ Ntsɔ̌pmɔ́', + 'Pɛsaŋ Ntsɔ̌ppá' + ] + } + }, + 'eras': { + 'abbreviated': ['BCE', 'CE'], + 'narrow': ['BCE', 'CE'], + 'wide': [ + 'tsɛttsɛt mɛŋguꞌ mi ɛ́ lɛɛnɛ Kɛlísɛtɔ gɔ ńɔ́', + 'tsɛttsɛt mɛŋguꞌ mi ɛ́ fúnɛ Kɛlísɛtɔ tɔ́ mɔ́' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, y MMMM dd', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'Fɛlâŋ'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_jmc.ts b/packages/core/src/i18n/data/locale_jmc.ts new file mode 100644 index 00000000000000..830a5f5c06150c --- /dev/null +++ b/packages/core/src/i18n/data/locale_jmc.ts @@ -0,0 +1,106 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleJmc: NgLocale = { + 'localeId': 'jmc', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'narrow': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'wide': {'am': 'utuko', 'pm': 'kyiukonyi'} + }, + 'standalone': { + 'abbreviated': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'narrow': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'wide': {'am': 'utuko', 'pm': 'kyiukonyi'} + } + }, + 'days': { + 'format': { + 'narrow': ['J', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': + ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + }, + 'standalone': { + 'narrow': ['J', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': + ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Kristu', 'Baada ya Kristu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'Shilingi ya Tanzania'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ka.ts b/packages/core/src/i18n/data/locale_ka.ts new file mode 100644 index 00000000000000..1e756c31e37d29 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ka.ts @@ -0,0 +1,196 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKa: NgLocale = { + 'localeId': 'ka', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'შუაღამეს', + 'am': 'AM', + 'noon': 'შუადღ.', + 'pm': 'PM', + 'morning1': 'დილ.', + 'afternoon1': 'ნაშუადღ.', + 'evening1': 'საღ.', + 'night1': 'ღამ.' + }, + 'narrow': { + 'midnight': 'შუაღამეს', + 'am': 'a', + 'noon': 'შუადღ.', + 'pm': 'p', + 'morning1': 'დილ.', + 'afternoon1': 'ნაშუადღ.', + 'evening1': 'საღ.', + 'night1': 'ღამ.' + }, + 'wide': { + 'midnight': 'შუაღამეს', + 'am': 'AM', + 'noon': 'შუადღეს', + 'pm': 'PM', + 'morning1': 'დილით', + 'afternoon1': 'ნაშუადღევს', + 'evening1': 'საღამოს', + 'night1': 'ღამით' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'შუაღამე', + 'am': 'AM', + 'noon': 'შუადღე', + 'pm': 'PM', + 'morning1': 'დილა', + 'afternoon1': 'ნაშუადღევი', + 'evening1': 'საღამო', + 'night1': 'ღამე' + }, + 'narrow': { + 'midnight': 'შუაღამე', + 'am': 'AM', + 'noon': 'შუადღე', + 'pm': 'PM', + 'morning1': 'დილა', + 'afternoon1': 'ნაშუადღევი', + 'evening1': 'საღამო', + 'night1': 'ღამე' + }, + 'wide': { + 'midnight': 'შუაღამე', + 'am': 'AM', + 'noon': 'შუადღე', + 'pm': 'შუადღ. შემდეგ', + 'morning1': 'დილა', + 'afternoon1': 'ნაშუადღევი', + 'evening1': 'საღამო', + 'night1': 'ღამე' + } + } + }, + 'days': { + 'format': { + 'narrow': ['კ', 'ო', 'ს', 'ო', 'ხ', 'პ', 'შ'], + 'short': ['კვ', 'ორ', 'სმ', 'ოთ', 'ხთ', 'პრ', 'შბ'], + 'abbreviated': [ + 'კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ' + ], + 'wide': [ + 'კვირა', 'ორშაბათი', 'სამშაბათი', + 'ოთხშაბათი', 'ხუთშაბათი', + 'პარასკევი', 'შაბათი' + ] + }, + 'standalone': { + 'narrow': ['კ', 'ო', 'ს', 'ო', 'ხ', 'პ', 'შ'], + 'short': ['კვ', 'ორ', 'სმ', 'ოთ', 'ხთ', 'პრ', 'შბ'], + 'abbreviated': [ + 'კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ' + ], + 'wide': [ + 'კვირა', 'ორშაბათი', 'სამშაბათი', + 'ოთხშაბათი', 'ხუთშაბათი', + 'პარასკევი', 'შაბათი' + ] + } + }, + 'months': { + 'format': { + 'narrow': + ['ი', 'თ', 'მ', 'ა', 'მ', 'ი', 'ი', 'ა', 'ს', 'ო', 'ნ', 'დ'], + 'abbreviated': [ + 'იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', + 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ' + ], + 'wide': [ + 'იანვარი', 'თებერვალი', 'მარტი', + 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', + 'აგვისტო', 'სექტემბერი', 'ოქტომბერი', + 'ნოემბერი', 'დეკემბერი' + ] + }, + 'standalone': { + 'narrow': + ['ი', 'თ', 'მ', 'ა', 'მ', 'ი', 'ი', 'ა', 'ს', 'ო', 'ნ', 'დ'], + 'abbreviated': [ + 'იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', + 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ' + ], + 'wide': [ + 'იანვარი', 'თებერვალი', 'მარტი', + 'აპრილი', 'მაისი', 'ივნისი', 'ივლისი', + 'აგვისტო', 'სექტემბერი', 'ოქტომბერი', + 'ნოემბერი', 'დეკემბერი' + ] + } + }, + 'eras': { + 'abbreviated': ['ძვ. წ.', 'ახ. წ.'], + 'narrow': ['ძვ. წ.', 'ახ. წ.'], + 'wide': [ + 'ძველი წელთაღრიცხვით', + 'ახალი წელთაღრიცხვით' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd MMMM, y', + 'long': 'd MMMM, y', + 'medium': 'd MMM. y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '05:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'არ არის რიცხვი', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₾', 'name': 'ქართული ლარი'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_kab.ts b/packages/core/src/i18n/data/locale_kab.ts new file mode 100644 index 00000000000000..85e87c80230b2c --- /dev/null +++ b/packages/core/src/i18n/data/locale_kab.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKab: NgLocale = { + 'localeId': 'kab', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'n tufat', 'pm': 'n tmeddit'}, + 'narrow': {'am': 'n tufat', 'pm': 'n tmeddit'}, + 'wide': {'am': 'n tufat', 'pm': 'n tmeddit'} + }, + 'standalone': { + 'abbreviated': {'am': 'n tufat', 'pm': 'n tmeddit'}, + 'narrow': {'am': 'n tufat', 'pm': 'n tmeddit'}, + 'wide': {'am': 'n tufat', 'pm': 'n tmeddit'} + } + }, + 'days': { + 'format': { + 'narrow': ['Y', 'S', 'K', 'K', 'S', 'S', 'S'], + 'short': ['Yan', 'San', 'Kraḍ', 'Kuẓ', 'Sam', 'Sḍis', 'Say'], + 'abbreviated': ['Yan', 'San', 'Kraḍ', 'Kuẓ', 'Sam', 'Sḍis', 'Say'], + 'wide': ['Yanass', 'Sanass', 'Kraḍass', 'Kuẓass', 'Samass', 'Sḍisass', 'Sayass'] + }, + 'standalone': { + 'narrow': ['Y', 'S', 'K', 'K', 'S', 'S', 'S'], + 'short': ['Yan', 'San', 'Kraḍ', 'Kuẓ', 'Sam', 'Sḍis', 'Say'], + 'abbreviated': ['Yan', 'San', 'Kraḍ', 'Kuẓ', 'Sam', 'Sḍis', 'Say'], + 'wide': ['Yanass', 'Sanass', 'Kraḍass', 'Kuẓass', 'Samass', 'Sḍisass', 'Sayass'] + } + }, + 'months': { + 'format': { + 'narrow': ['Y', 'F', 'M', 'Y', 'M', 'Y', 'Y', 'Ɣ', 'C', 'T', 'N', 'D'], + 'abbreviated': + ['Yen', 'Fur', 'Meɣ', 'Yeb', 'May', 'Yun', 'Yul', 'Ɣuc', 'Cte', 'Tub', 'Nun', 'Duǧ'], + 'wide': [ + 'Yennayer', 'Fuṛar', 'Meɣres', 'Yebrir', 'Mayyu', 'Yunyu', 'Yulyu', 'Ɣuct', + 'Ctembeṛ', 'Tubeṛ', 'Nunembeṛ', 'Duǧembeṛ' + ] + }, + 'standalone': { + 'narrow': ['Y', 'F', 'M', 'Y', 'M', 'Y', 'Y', 'Ɣ', 'C', 'T', 'N', 'D'], + 'abbreviated': + ['Yen', 'Fur', 'Meɣ', 'Yeb', 'May', 'Yun', 'Yul', 'Ɣuc', 'Cte', 'Tub', 'Nun', 'Duǧ'], + 'wide': [ + 'Yennayer', 'Fuṛar', 'Meɣres', 'Yebrir', 'Mayyu', 'Yunyu', 'Yulyu', 'Ɣuct', + 'Ctembeṛ', 'Tubeṛ', 'Nunembeṛ', 'Duǧembeṛ' + ] + } + }, + 'eras': { + 'abbreviated': ['snd. T.Ɛ', 'sld. T.Ɛ'], + 'narrow': ['snd. T.Ɛ', 'sld. T.Ɛ'], + 'wide': ['send talalit n Ɛisa', 'seld talalit n Ɛisa'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'DA', 'name': 'Adinar Azzayri'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || i === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_kam.ts b/packages/core/src/i18n/data/locale_kam.ts new file mode 100644 index 00000000000000..1a3f43aa9c0b0a --- /dev/null +++ b/packages/core/src/i18n/data/locale_kam.ts @@ -0,0 +1,111 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKam: NgLocale = { + 'localeId': 'kam', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Ĩyakwakya', 'pm': 'Ĩyawĩoo'}, + 'narrow': {'am': 'Ĩyakwakya', 'pm': 'Ĩyawĩoo'}, + 'wide': {'am': 'Ĩyakwakya', 'pm': 'Ĩyawĩoo'} + }, + 'standalone': { + 'abbreviated': {'am': 'Ĩyakwakya', 'pm': 'Ĩyawĩoo'}, + 'narrow': {'am': 'Ĩyakwakya', 'pm': 'Ĩyawĩoo'}, + 'wide': {'am': 'Ĩyakwakya', 'pm': 'Ĩyawĩoo'} + } + }, + 'days': { + 'format': { + 'narrow': ['Y', 'W', 'E', 'A', 'A', 'A', 'A'], + 'short': ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'], + 'abbreviated': ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'], + 'wide': [ + 'Wa kyumwa', 'Wa kwambĩlĩlya', 'Wa kelĩ', 'Wa katatũ', 'Wa kana', 'Wa katano', + 'Wa thanthatũ' + ] + }, + 'standalone': { + 'narrow': ['Y', 'W', 'E', 'A', 'A', 'A', 'A'], + 'short': ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'], + 'abbreviated': ['Wky', 'Wkw', 'Wkl', 'Wtũ', 'Wkn', 'Wtn', 'Wth'], + 'wide': [ + 'Wa kyumwa', 'Wa kwambĩlĩlya', 'Wa kelĩ', 'Wa katatũ', 'Wa kana', 'Wa katano', + 'Wa thanthatũ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['M', 'K', 'K', 'K', 'K', 'T', 'M', 'N', 'K', 'Ĩ', 'Ĩ', 'Ĩ'], + 'abbreviated': [ + 'Mbe', 'Kel', 'Ktũ', 'Kan', 'Ktn', 'Tha', 'Moo', 'Nya', 'Knd', 'Ĩku', 'Ĩkm', 'Ĩkl' + ], + 'wide': [ + 'Mwai wa mbee', 'Mwai wa kelĩ', 'Mwai wa katatũ', 'Mwai wa kana', 'Mwai wa katano', + 'Mwai wa thanthatũ', 'Mwai wa muonza', 'Mwai wa nyaanya', 'Mwai wa kenda', + 'Mwai wa ĩkumi', 'Mwai wa ĩkumi na ĩmwe', 'Mwai wa ĩkumi na ilĩ' + ] + }, + 'standalone': { + 'narrow': ['M', 'K', 'K', 'K', 'K', 'T', 'M', 'N', 'K', 'Ĩ', 'Ĩ', 'Ĩ'], + 'abbreviated': [ + 'Mbe', 'Kel', 'Ktũ', 'Kan', 'Ktn', 'Tha', 'Moo', 'Nya', 'Knd', 'Ĩku', 'Ĩkm', 'Ĩkl' + ], + 'wide': [ + 'Mwai wa mbee', 'Mwai wa kelĩ', 'Mwai wa katatũ', 'Mwai wa kana', 'Mwai wa katano', + 'Mwai wa thanthatũ', 'Mwai wa muonza', 'Mwai wa nyaanya', 'Mwai wa kenda', + 'Mwai wa ĩkumi', 'Mwai wa ĩkumi na ĩmwe', 'Mwai wa ĩkumi na ilĩ' + ] + } + }, + 'eras': { + 'abbreviated': ['MY', 'IY'], + 'narrow': ['MY', 'IY'], + 'wide': ['Mbee wa Yesũ', 'Ĩtina wa Yesũ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Silingi ya Kenya'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_kde.ts b/packages/core/src/i18n/data/locale_kde.ts new file mode 100644 index 00000000000000..e97cdfc540bcb1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_kde.ts @@ -0,0 +1,111 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKde: NgLocale = { + 'localeId': 'kde', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Muhi', 'pm': 'Chilo'}, + 'narrow': {'am': 'Muhi', 'pm': 'Chilo'}, + 'wide': {'am': 'Muhi', 'pm': 'Chilo'} + }, + 'standalone': { + 'abbreviated': {'am': 'Muhi', 'pm': 'Chilo'}, + 'narrow': {'am': 'Muhi', 'pm': 'Chilo'}, + 'wide': {'am': 'Muhi', 'pm': 'Chilo'} + } + }, + 'days': { + 'format': { + 'narrow': ['2', '3', '4', '5', '6', '7', '1'], + 'short': ['Ll2', 'Ll3', 'Ll4', 'Ll5', 'Ll6', 'Ll7', 'Ll1'], + 'abbreviated': ['Ll2', 'Ll3', 'Ll4', 'Ll5', 'Ll6', 'Ll7', 'Ll1'], + 'wide': [ + 'Liduva lyapili', 'Liduva lyatatu', 'Liduva lyanchechi', 'Liduva lyannyano', + 'Liduva lyannyano na linji', 'Liduva lyannyano na mavili', 'Liduva litandi' + ] + }, + 'standalone': { + 'narrow': ['2', '3', '4', '5', '6', '7', '1'], + 'short': ['Ll2', 'Ll3', 'Ll4', 'Ll5', 'Ll6', 'Ll7', 'Ll1'], + 'abbreviated': ['Ll2', 'Ll3', 'Ll4', 'Ll5', 'Ll6', 'Ll7', 'Ll1'], + 'wide': [ + 'Liduva lyapili', 'Liduva lyatatu', 'Liduva lyanchechi', 'Liduva lyannyano', + 'Liduva lyannyano na linji', 'Liduva lyannyano na mavili', 'Liduva litandi' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Mwedi Ntandi', 'Mwedi wa Pili', 'Mwedi wa Tatu', 'Mwedi wa Nchechi', 'Mwedi wa Nnyano', + 'Mwedi wa Nnyano na Umo', 'Mwedi wa Nnyano na Mivili', 'Mwedi wa Nnyano na Mitatu', + 'Mwedi wa Nnyano na Nchechi', 'Mwedi wa Nnyano na Nnyano', + 'Mwedi wa Nnyano na Nnyano na U', 'Mwedi wa Nnyano na Nnyano na M' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Mwedi Ntandi', 'Mwedi wa Pili', 'Mwedi wa Tatu', 'Mwedi wa Nchechi', 'Mwedi wa Nnyano', + 'Mwedi wa Nnyano na Umo', 'Mwedi wa Nnyano na Mivili', 'Mwedi wa Nnyano na Mitatu', + 'Mwedi wa Nnyano na Nchechi', 'Mwedi wa Nnyano na Nnyano', + 'Mwedi wa Nnyano na Nnyano na U', 'Mwedi wa Nnyano na Nnyano na M' + ] + } + }, + 'eras': { + 'abbreviated': ['AY', 'NY'], + 'narrow': ['AY', 'NY'], + 'wide': ['Akanapawa Yesu', 'Nankuida Yesu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'Shilingi ya Tanzania'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_kea.ts b/packages/core/src/i18n/data/locale_kea.ts new file mode 100644 index 00000000000000..8420e77d691726 --- /dev/null +++ b/packages/core/src/i18n/data/locale_kea.ts @@ -0,0 +1,111 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKea: NgLocale = { + 'localeId': 'kea', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'am', 'pm': 'pm'}, + 'narrow': {'am': 'a', 'pm': 'p'}, + 'wide': {'am': 'am', 'pm': 'pm'} + }, + 'standalone': { + 'abbreviated': {'am': 'am', 'pm': 'pm'}, + 'narrow': {'am': 'am', 'pm': 'pm'}, + 'wide': {'am': 'am', 'pm': 'pm'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'K', 'K', 'S', 'S'], + 'short': ['du', 'si', 'te', 'ku', 'ki', 'se', 'sa'], + 'abbreviated': ['dum', 'sig', 'ter', 'kua', 'kin', 'ses', 'sab'], + 'wide': [ + 'dumingu', 'sigunda-fera', 'tersa-fera', 'kuarta-fera', 'kinta-fera', 'sesta-fera', + 'sabadu' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'K', 'K', 'S', 'S'], + 'short': ['du', 'si', 'te', 'ku', 'ki', 'se', 'sa'], + 'abbreviated': ['dum', 'sig', 'ter', 'kua', 'kin', 'ses', 'sab'], + 'wide': [ + 'dumingu', 'sigunda-fera', 'tersa-fera', 'kuarta-fera', 'kinta-fera', 'sesta-fera', + 'sábadu' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Otu', 'Nuv', 'Diz'], + 'wide': [ + 'Janeru', 'Febreru', 'Marsu', 'Abril', 'Maiu', 'Junhu', 'Julhu', 'Agostu', 'Setenbru', + 'Otubru', 'Nuvenbru', 'Dizenbru' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Otu', 'Nuv', 'Diz'], + 'wide': [ + 'Janeru', 'Febreru', 'Marsu', 'Abril', 'Maiu', 'Junhu', 'Julhu', 'Agostu', 'Setenbru', + 'Otubru', 'Nuvenbru', 'Dizenbru' + ] + } + }, + 'eras': { + 'abbreviated': ['AK', 'DK'], + 'narrow': ['AK', 'DK'], + 'wide': ['Antis di Kristu', 'Dispos di Kristu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'di\' MMMM \'di\' y', + 'long': 'd \'di\' MMMM \'di\' y', + 'medium': 'd MMM y', + 'short': 'd/M/y' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '​', 'name': 'Skudu Kabuverdianu'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_khq.ts b/packages/core/src/i18n/data/locale_khq.ts new file mode 100644 index 00000000000000..92080832bd8442 --- /dev/null +++ b/packages/core/src/i18n/data/locale_khq.ts @@ -0,0 +1,100 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKhq: NgLocale = { + 'localeId': 'khq', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Adduha', 'pm': 'Aluula'}, + 'narrow': {'am': 'Adduha', 'pm': 'Aluula'}, + 'wide': {'am': 'Adduha', 'pm': 'Aluula'} + }, + 'standalone': { + 'abbreviated': {'am': 'Adduha', 'pm': 'Aluula'}, + 'narrow': {'am': 'Adduha', 'pm': 'Aluula'}, + 'wide': {'am': 'Adduha', 'pm': 'Aluula'} + } + }, + 'days': { + 'format': { + 'narrow': ['H', 'T', 'T', 'L', 'L', 'L', 'S'], + 'short': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alj', 'Ass'], + 'abbreviated': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alj', 'Ass'], + 'wide': ['Alhadi', 'Atini', 'Atalata', 'Alarba', 'Alhamiisa', 'Aljuma', 'Assabdu'] + }, + 'standalone': { + 'narrow': ['H', 'T', 'T', 'L', 'L', 'L', 'S'], + 'short': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alj', 'Ass'], + 'abbreviated': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alj', 'Ass'], + 'wide': ['Alhadi', 'Atini', 'Atalata', 'Alarba', 'Alhamiisa', 'Aljuma', 'Assabdu'] + } + }, + 'months': { + 'format': { + 'narrow': ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], + 'wide': [ + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + }, + 'standalone': { + 'narrow': ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], + 'wide': [ + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + } + }, + 'eras': { + 'abbreviated': ['IJ', 'IZ'], + 'narrow': ['IJ', 'IZ'], + 'wide': ['Isaa jine', 'Isaa jamanoo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'CFA Fraŋ (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ki.ts b/packages/core/src/i18n/data/locale_ki.ts new file mode 100644 index 00000000000000..ef92d58ca6925d --- /dev/null +++ b/packages/core/src/i18n/data/locale_ki.ts @@ -0,0 +1,105 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKi: NgLocale = { + 'localeId': 'ki', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Kiroko', 'pm': 'Hwaĩ-inĩ'}, + 'narrow': {'am': 'Kiroko', 'pm': 'Hwaĩ-inĩ'}, + 'wide': {'am': 'Kiroko', 'pm': 'Hwaĩ-inĩ'} + }, + 'standalone': { + 'abbreviated': {'am': 'Kiroko', 'pm': 'Hwaĩ-inĩ'}, + 'narrow': {'am': 'Kiroko', 'pm': 'Hwaĩ-inĩ'}, + 'wide': {'am': 'Kiroko', 'pm': 'Hwaĩ-inĩ'} + } + }, + 'days': { + 'format': { + 'narrow': ['K', 'N', 'N', 'N', 'A', 'N', 'N'], + 'short': ['KMA', 'NTT', 'NMN', 'NMT', 'ART', 'NMA', 'NMM'], + 'abbreviated': ['KMA', 'NTT', 'NMN', 'NMT', 'ART', 'NMA', 'NMM'], + 'wide': + ['Kiumia', 'Njumatatũ', 'Njumaine', 'Njumatana', 'Aramithi', 'Njumaa', 'Njumamothi'] + }, + 'standalone': { + 'narrow': ['K', 'N', 'N', 'N', 'A', 'N', 'N'], + 'short': ['KMA', 'NTT', 'NMN', 'NMT', 'ART', 'NMA', 'NMM'], + 'abbreviated': ['KMA', 'NTT', 'NMN', 'NMT', 'ART', 'NMA', 'NMM'], + 'wide': + ['Kiumia', 'Njumatatũ', 'Njumaine', 'Njumatana', 'Aramithi', 'Njumaa', 'Njumamothi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'K', 'G', 'K', 'G', 'G', 'M', 'K', 'K', 'I', 'I', 'D'], + 'abbreviated': + ['JEN', 'WKR', 'WGT', 'WKN', 'WTN', 'WTD', 'WMJ', 'WNN', 'WKD', 'WIK', 'WMW', 'DIT'], + 'wide': [ + 'Njenuarĩ', 'Mwere wa kerĩ', 'Mwere wa gatatũ', 'Mwere wa kana', 'Mwere wa gatano', + 'Mwere wa gatandatũ', 'Mwere wa mũgwanja', 'Mwere wa kanana', 'Mwere wa kenda', + 'Mwere wa ikũmi', 'Mwere wa ikũmi na ũmwe', 'Ndithemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'K', 'G', 'K', 'G', 'G', 'M', 'K', 'K', 'I', 'I', 'D'], + 'abbreviated': + ['JEN', 'WKR', 'WGT', 'WKN', 'WTN', 'WTD', 'WMJ', 'WNN', 'WKD', 'WIK', 'WMW', 'DIT'], + 'wide': [ + 'Njenuarĩ', 'Mwere wa kerĩ', 'Mwere wa gatatũ', 'Mwere wa kana', 'Mwere wa gatano', + 'Mwere wa gatandatũ', 'Mwere wa mũgwanja', 'Mwere wa kanana', 'Mwere wa kenda', + 'Mwere wa ikũmi', 'Mwere wa ikũmi na ũmwe', 'Ndithemba' + ] + } + }, + 'eras': { + 'abbreviated': ['MK', 'TK'], + 'narrow': ['MK', 'TK'], + 'wide': ['Mbere ya Kristo', 'Thutha wa Kristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Ciringi ya Kenya'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_kk.ts b/packages/core/src/i18n/data/locale_kk.ts new file mode 100644 index 00000000000000..d98b73f16aa655 --- /dev/null +++ b/packages/core/src/i18n/data/locale_kk.ts @@ -0,0 +1,184 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKk: NgLocale = { + 'localeId': 'kk', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'түн жарымы', + 'am': 'AM', + 'noon': 'түскі', + 'pm': 'PM', + 'morning1': 'таңғы', + 'afternoon1': 'түстен кейінгі', + 'evening1': 'кешкі', + 'night1': 'түнгі' + }, + 'narrow': { + 'midnight': 'түнгі', + 'am': 'AM', + 'noon': 'түскі', + 'pm': 'PM', + 'morning1': 'таңғы', + 'afternoon1': 'түстен кейінгі', + 'evening1': 'кешкі', + 'night1': 'түнгі' + }, + 'wide': { + 'midnight': 'түн жарымы', + 'am': 'AM', + 'noon': 'түскі', + 'pm': 'PM', + 'morning1': 'таңғы', + 'afternoon1': 'түстен кейінгі', + 'evening1': 'кешкі', + 'night1': 'түнгі' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'түн жарымы', + 'am': 'AM', + 'noon': 'талтүс', + 'pm': 'PM', + 'morning1': 'таң', + 'afternoon1': 'түстен кейін', + 'evening1': 'кеш', + 'night1': 'түн' + }, + 'narrow': { + 'midnight': 'түн жарымы', + 'am': 'AM', + 'noon': 'талтүс', + 'pm': 'PM', + 'morning1': 'таң', + 'afternoon1': 'түстен кейін', + 'evening1': 'кеш', + 'night1': 'түн' + }, + 'wide': { + 'midnight': 'түн жарымы', + 'am': 'AM', + 'noon': 'талтүс', + 'pm': 'PM', + 'morning1': 'таң', + 'afternoon1': 'түстен кейін', + 'evening1': 'кеш', + 'night1': 'түн' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Ж', 'Д', 'С', 'С', 'Б', 'Ж', 'С'], + 'short': ['Жс', 'Дс', 'Сс', 'Ср', 'Бс', 'Жм', 'Сб'], + 'abbreviated': ['Жс', 'Дс', 'Сс', 'Ср', 'Бс', 'Жм', 'Сб'], + 'wide': [ + 'жексенбі', 'дүйсенбі', 'сейсенбі', 'сәрсенбі', + 'бейсенбі', 'жұма', 'сенбі' + ] + }, + 'standalone': { + 'narrow': ['Ж', 'Д', 'С', 'С', 'Б', 'Ж', 'С'], + 'short': ['Жс', 'Дс', 'Сс', 'Ср', 'Бс', 'Жм', 'Сб'], + 'abbreviated': ['Жс', 'Дс', 'Сс', 'Ср', 'Бс', 'Жм', 'Сб'], + 'wide': [ + 'Жексенбі', 'Дүйсенбі', 'Сейсенбі', 'Сәрсенбі', + 'Бейсенбі', 'Жұма', 'Сенбі' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], + 'abbreviated': [ + 'қаң.', 'ақп.', 'нау.', 'сәу.', 'мам.', 'мау.', 'шіл.', 'там.', + 'қыр.', 'қаз.', 'қар.', 'жел.' + ], + 'wide': [ + 'қаңтар', 'ақпан', 'наурыз', 'сәуір', 'мамыр', 'маусым', + 'шілде', 'тамыз', 'қыркүйек', 'қазан', 'қараша', + 'желтоқсан' + ] + }, + 'standalone': { + 'narrow': ['Қ', 'А', 'Н', 'С', 'М', 'М', 'Ш', 'Т', 'Қ', 'Қ', 'Қ', 'Ж'], + 'abbreviated': [ + 'Қаң.', 'Ақп.', 'Нау.', 'Сәу.', 'Мам.', 'Мау.', 'Шіл.', 'Там.', + 'Қыр.', 'Қаз.', 'Қар.', 'Жел.' + ], + 'wide': [ + 'Қаңтар', 'Ақпан', 'Наурыз', 'Сәуір', 'Мамыр', 'Маусым', + 'Шілде', 'Тамыз', 'Қыркүйек', 'Қазан', 'Қараша', + 'Желтоқсан' + ] + } + }, + 'eras': { + 'abbreviated': ['б.з.д.', 'б.з.'], + 'narrow': ['б.з.д.', 'б.з.'], + 'wide': + ['Біздің заманымызға дейін', 'Біздің заманымыз'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y \'ж\'. d MMMM, EEEE', + 'long': 'y \'ж\'. d MMMM', + 'medium': 'y \'ж\'. dd MMM', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'сан емес', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₸', 'name': 'Қазақстан теңгесі'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_kkj.ts b/packages/core/src/i18n/data/locale_kkj.ts new file mode 100644 index 00000000000000..f034c0809b68d5 --- /dev/null +++ b/packages/core/src/i18n/data/locale_kkj.ts @@ -0,0 +1,109 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKkj: NgLocale = { + 'localeId': 'kkj', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['so', 'lu', 'ma', 'mɛ', 'ye', 'va', 'ms'], + 'short': + ['sɔndi', 'lundi', 'mardi', 'mɛrkɛrɛdi', 'yedi', 'vaŋdɛrɛdi', 'mɔnɔ sɔndi'], + 'abbreviated': + ['sɔndi', 'lundi', 'mardi', 'mɛrkɛrɛdi', 'yedi', 'vaŋdɛrɛdi', 'mɔnɔ sɔndi'], + 'wide': + ['sɔndi', 'lundi', 'mardi', 'mɛrkɛrɛdi', 'yedi', 'vaŋdɛrɛdi', 'mɔnɔ sɔndi'] + }, + 'standalone': { + 'narrow': ['so', 'lu', 'ma', 'mɛ', 'ye', 'va', 'ms'], + 'short': ['so', 'lu', 'ma', 'mɛ', 'ye', 'va', 'ms'], + 'abbreviated': + ['sɔndi', 'lundi', 'mardi', 'mɛrkɛrɛdi', 'yedi', 'vaŋdɛrɛdi', 'mɔnɔ sɔndi'], + 'wide': + ['sɔndi', 'lundi', 'mardi', 'mɛrkɛrɛdi', 'yedi', 'vaŋdɛrɛdi', 'mɔnɔ sɔndi'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'pamba', 'wanja', 'mbiyɔ mɛndoŋgɔ', 'Nyɔlɔmbɔŋgɔ', 'Mɔnɔ ŋgbanja', + 'Nyaŋgwɛ ŋgbanja', 'kuŋgwɛ', 'fɛ', 'njapi', 'nyukul', '11', 'ɓulɓusɛ' + ], + 'wide': [ + 'pamba', 'wanja', 'mbiyɔ mɛndoŋgɔ', 'Nyɔlɔmbɔŋgɔ', 'Mɔnɔ ŋgbanja', + 'Nyaŋgwɛ ŋgbanja', 'kuŋgwɛ', 'fɛ', 'njapi', 'nyukul', '11', 'ɓulɓusɛ' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'pamba', 'wanja', 'mbiyɔ mɛndoŋgɔ', 'Nyɔlɔmbɔŋgɔ', 'Mɔnɔ ŋgbanja', + 'Nyaŋgwɛ ŋgbanja', 'kuŋgwɛ', 'fɛ', 'njapi', 'nyukul', '11', 'ɓulɓusɛ' + ], + 'wide': [ + 'pamba', 'wanja', 'mbiyɔ mɛndoŋgɔ', 'Nyɔlɔmbɔŋgɔ', 'Mɔnɔ ŋgbanja', + 'Nyaŋgwɛ ŋgbanja', 'kuŋgwɛ', 'fɛ', 'njapi', 'nyukul', '11', 'ɓulɓusɛ' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE dd MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'Franc CFA'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_kl.ts b/packages/core/src/i18n/data/locale_kl.ts new file mode 100644 index 00000000000000..1c08e536654aca --- /dev/null +++ b/packages/core/src/i18n/data/locale_kl.ts @@ -0,0 +1,106 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKl: NgLocale = { + 'localeId': 'kl', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['sab', 'ata', 'mar', 'pin', 'sis', 'tal', 'arf'], + 'abbreviated': ['sab', 'ata', 'mar', 'pin', 'sis', 'tal', 'arf'], + 'wide': [ + 'sabaat', 'ataasinngorneq', 'marlunngorneq', 'pingasunngorneq', 'sisamanngorneq', + 'tallimanngorneq', 'arfininngorneq' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['sab', 'ata', 'mar', 'pin', 'sis', 'tal', 'arf'], + 'abbreviated': ['sab', 'ata', 'mar', 'pin', 'sis', 'tal', 'arf'], + 'wide': [ + 'sabaat', 'ataasinngorneq', 'marlunngorneq', 'pingasunngorneq', 'sisamanngorneq', + 'tallimanngorneq', 'arfininngorneq' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'januari', 'februari', 'martsi', 'aprili', 'maji', 'juni', 'juli', 'augustusi', + 'septemberi', 'oktoberi', 'novemberi', 'decemberi' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'januari', 'februari', 'martsi', 'aprili', 'maji', 'juni', 'juli', 'augustusi', + 'septemberi', 'oktoberi', 'novemberi', 'decemberi' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00;¤-#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr.', 'name': 'DKK'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_kln.ts b/packages/core/src/i18n/data/locale_kln.ts new file mode 100644 index 00000000000000..9826d010e38660 --- /dev/null +++ b/packages/core/src/i18n/data/locale_kln.ts @@ -0,0 +1,101 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKln: NgLocale = { + 'localeId': 'kln', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'krn', 'pm': 'koosk'}, + 'narrow': {'am': 'krn', 'pm': 'koosk'}, + 'wide': {'am': 'karoon', 'pm': 'kooskoliny'} + }, + 'standalone': { + 'abbreviated': {'am': 'krn', 'pm': 'koosk'}, + 'narrow': {'am': 'krn', 'pm': 'koosk'}, + 'wide': {'am': 'krn', 'pm': 'koosk'} + } + }, + 'days': { + 'format': { + 'narrow': ['T', 'T', 'O', 'S', 'A', 'M', 'L'], + 'short': ['Kts', 'Kot', 'Koo', 'Kos', 'Koa', 'Kom', 'Kol'], + 'abbreviated': ['Kts', 'Kot', 'Koo', 'Kos', 'Koa', 'Kom', 'Kol'], + 'wide': ['Kotisap', 'Kotaai', 'Koaeng’', 'Kosomok', 'Koang’wan', 'Komuut', 'Kolo'] + }, + 'standalone': { + 'narrow': ['T', 'T', 'O', 'S', 'A', 'M', 'L'], + 'short': ['Kts', 'Kot', 'Koo', 'Kos', 'Koa', 'Kom', 'Kol'], + 'abbreviated': ['Kts', 'Kot', 'Koo', 'Kos', 'Koa', 'Kom', 'Kol'], + 'wide': ['Kotisap', 'Kotaai', 'Koaeng’', 'Kosomok', 'Koang’wan', 'Komuut', 'Kolo'] + } + }, + 'months': { + 'format': { + 'narrow': ['M', 'N', 'T', 'I', 'M', 'P', 'N', 'R', 'B', 'E', 'K', 'K'], + 'abbreviated': + ['Mul', 'Ngat', 'Taa', 'Iwo', 'Mam', 'Paa', 'Nge', 'Roo', 'Bur', 'Epe', 'Kpt', 'Kpa'], + 'wide': [ + 'Mulgul', 'Ng’atyaato', 'Kiptaamo', 'Iwootkuut', 'Mamuut', 'Paagi', 'Ng’eiyeet', + 'Rooptui', 'Bureet', 'Epeeso', 'Kipsuunde ne taai', 'Kipsuunde nebo aeng’' + ] + }, + 'standalone': { + 'narrow': ['M', 'N', 'T', 'I', 'M', 'P', 'N', 'R', 'B', 'E', 'K', 'K'], + 'abbreviated': + ['Mul', 'Ngat', 'Taa', 'Iwo', 'Mam', 'Paa', 'Nge', 'Roo', 'Bur', 'Epe', 'Kpt', 'Kpa'], + 'wide': [ + 'Mulgul', 'Ng’atyaato', 'Kiptaamo', 'Iwootkuut', 'Mamuut', 'Paagi', 'Ng’eiyeet', + 'Rooptui', 'Bureet', 'Epeeso', 'Kipsuunde ne taai', 'Kipsuunde nebo aeng’' + ] + } + }, + 'eras': { + 'abbreviated': ['AM', 'KO'], + 'narrow': ['AM', 'KO'], + 'wide': ['Amait kesich Jesu', 'Kokakesich Jesu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Silingitab ya Kenya'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_km.ts b/packages/core/src/i18n/data/locale_km.ts new file mode 100644 index 00000000000000..6b93bf87aac008 --- /dev/null +++ b/packages/core/src/i18n/data/locale_km.ts @@ -0,0 +1,195 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKm: NgLocale = { + 'localeId': 'km', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'អធ្រាត្រ', + 'am': 'AM', + 'noon': 'ថ្ងៃត្រង់', + 'pm': 'PM', + 'morning1': 'ព្រឹក', + 'afternoon1': 'រសៀល', + 'evening1': 'ល្ងាច', + 'night1': 'យប់' + }, + 'narrow': { + 'midnight': 'អធ្រាត្រ', + 'am': 'a', + 'noon': 'ថ្ងៃត្រង់', + 'pm': 'p', + 'morning1': 'ព្រឹក', + 'afternoon1': 'រសៀល', + 'evening1': 'ល្ងាច', + 'night1': 'យប់' + }, + 'wide': { + 'midnight': 'អធ្រាត្រ', + 'am': 'AM', + 'noon': 'ថ្ងៃត្រង់', + 'pm': 'PM', + 'morning1': 'ព្រឹក', + 'afternoon1': 'រសៀល', + 'evening1': 'ល្ងាច', + 'night1': 'យប់' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'អធ្រាត្រ', + 'am': 'AM', + 'noon': 'ថ្ងៃ​ត្រង់', + 'pm': 'PM', + 'morning1': 'ព្រឹក', + 'afternoon1': 'រសៀល', + 'evening1': 'ល្ងាច', + 'night1': 'យប់' + }, + 'narrow': { + 'midnight': 'អធ្រាត្រ', + 'am': 'AM', + 'noon': 'ថ្ងៃ​ត្រង់', + 'pm': 'PM', + 'morning1': 'ព្រឹក', + 'afternoon1': 'រសៀល', + 'evening1': 'ល្ងាច', + 'night1': 'យប់' + }, + 'wide': { + 'midnight': 'អធ្រាត្រ', + 'am': 'AM', + 'noon': 'ថ្ងៃ​ត្រង់', + 'pm': 'PM', + 'morning1': 'ព្រឹក', + 'afternoon1': 'រសៀល', + 'evening1': 'ល្ងាច', + 'night1': 'យប់' + } + } + }, + 'days': { + 'format': { + 'narrow': ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], + 'short': ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'], + 'abbreviated': [ + 'អាទិត្យ', 'ច័ន្ទ', 'អង្គារ', 'ពុធ', + 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍' + ], + 'wide': [ + 'អាទិត្យ', 'ច័ន្ទ', 'អង្គារ', 'ពុធ', + 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍' + ] + }, + 'standalone': { + 'narrow': ['អ', 'ច', 'អ', 'ព', 'ព', 'ស', 'ស'], + 'short': ['អា', 'ច', 'អ', 'ពុ', 'ព្រ', 'សុ', 'ស'], + 'abbreviated': [ + 'អាទិត្យ', 'ច័ន្ទ', 'អង្គារ', 'ពុធ', + 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍' + ], + 'wide': [ + 'អាទិត្យ', 'ច័ន្ទ', 'អង្គារ', 'ពុធ', + 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍' + ] + } + }, + 'months': { + 'format': { + 'narrow': + ['ម', 'ក', 'ម', 'ម', 'ឧ', 'ម', 'ក', 'ស', 'ក', 'ត', 'វ', 'ធ'], + 'abbreviated': [ + 'មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', + 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', + 'តុលា', 'វិច្ឆិកា', 'ធ្នូ' + ], + 'wide': [ + 'មករា', 'កុម្ភៈ', 'មីន���', 'មេសា', 'ឧសភា', + 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', + 'តុលា', 'វិច្ឆិកា', 'ធ្នូ' + ] + }, + 'standalone': { + 'narrow': + ['ម', 'ក', 'ម', 'ម', 'ឧ', 'ម', 'ក', 'ស', 'ក', 'ត', 'វ', 'ធ'], + 'abbreviated': [ + 'មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', + 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', + 'តុលា', 'វិច្ឆិកា', 'ធ្នូ' + ], + 'wide': [ + 'មករា', 'កុម្ភៈ', 'មីនា', 'មេសា', 'ឧសភា', + 'មិថុនា', 'កក្កដា', 'សីហា', 'កញ្ញា', + 'តុលា', 'វិច្ឆិកា', 'ធ្នូ' + ] + } + }, + 'eras': { + 'abbreviated': ['មុន គ.ស.', 'គ.ស.'], + 'narrow': ['មុន គ.ស.', 'គ.ស.'], + 'wide': [ + 'មុន​គ្រិស្តសករាជ', 'គ្រិស្តសករាជ' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} នៅ​ម៉ោង {0}', + 'long': '{1} នៅ​ម៉ោង {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '00:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '៛', 'name': 'រៀល​កម្ពុជា'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_kn.ts b/packages/core/src/i18n/data/locale_kn.ts new file mode 100644 index 00000000000000..f7a59fd00a8c15 --- /dev/null +++ b/packages/core/src/i18n/data/locale_kn.ts @@ -0,0 +1,200 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKn: NgLocale = { + 'localeId': 'kn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ಮಧ್ಯ ರಾತ್ರಿ', + 'am': 'ಪೂರ್ವಾಹ್ನ', + 'pm': 'ಅಪರಾಹ್ನ', + 'morning1': 'ಬೆಳಗ್ಗೆ', + 'afternoon1': 'ಮಧ್ಯಾಹ್ನ', + 'evening1': 'ಸಂಜೆ', + 'night1': 'ರಾತ್ರಿ' + }, + 'narrow': { + 'midnight': 'ಮಧ್ಯರಾತ್ರಿ', + 'am': 'ಪೂ', + 'pm': 'ಅ', + 'morning1': 'ಬೆಳಗ್ಗೆ', + 'afternoon1': 'ಮಧ್ಯಾಹ್ನ', + 'evening1': 'ಸಂಜೆ', + 'night1': 'ರಾತ್ರಿ' + }, + 'wide': { + 'midnight': 'ಮಧ್ಯ ರಾತ್ರಿ', + 'am': 'ಪೂರ್ವಾಹ್ನ', + 'pm': 'ಅಪರಾಹ್ನ', + 'morning1': 'ಬೆಳಗ್ಗೆ', + 'afternoon1': 'ಮಧ್ಯಾಹ್ನ', + 'evening1': 'ಸಂಜೆ', + 'night1': 'ರಾತ್ರಿ' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ಮಧ್ಯರಾತ್ರಿ', + 'am': 'ಪೂರ್ವಾಹ್ನ', + 'pm': 'ಅಪರಾಹ್ನ', + 'morning1': 'ಬೆಳಗ್ಗೆ', + 'afternoon1': 'ಮಧ್ಯಾಹ್ನ', + 'evening1': 'ಸಂಜೆ', + 'night1': 'ರಾತ್ರಿ' + }, + 'narrow': { + 'midnight': 'ಮಧ್ಯರಾತ್ರಿ', + 'am': 'ಪೂರ್ವಾಹ್ನ', + 'pm': 'ಅಪರಾಹ್ನ', + 'morning1': 'ಬೆಳಗ್ಗೆ', + 'afternoon1': 'ಮಧ್ಯಾಹ್ನ', + 'evening1': 'ಸಂಜೆ', + 'night1': 'ರಾತ್ರಿ' + }, + 'wide': { + 'midnight': 'ಮಧ್ಯರಾತ್ರಿ', + 'am': 'ಪೂರ್ವಾಹ್ನ', + 'pm': 'ಅಪರಾಹ್ನ', + 'morning1': 'ಬೆಳಗ್ಗೆ', + 'afternoon1': 'ಮಧ್ಯಾಹ್ನ', + 'evening1': 'ಸಂಜೆ', + 'night1': 'ರಾತ್ರಿ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ಭಾ', 'ಸೋ', 'ಮಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], + 'short': [ + 'ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', + 'ಶುಕ್ರ', 'ಶನಿ' + ], + 'abbreviated': [ + 'ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', + 'ಶುಕ್ರ', 'ಶನಿ' + ], + 'wide': [ + 'ಭಾನುವಾರ', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', + 'ಬುಧವಾರ', 'ಗುರುವಾರ', 'ಶುಕ್ರವಾರ', + 'ಶನಿವಾರ' + ] + }, + 'standalone': { + 'narrow': ['ಭಾ', 'ಸೋ', 'ಮಂ', 'ಬು', 'ಗು', 'ಶು', 'ಶ'], + 'short': [ + 'ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', + 'ಶುಕ್ರ', 'ಶನಿ' + ], + 'abbreviated': [ + 'ಭಾನು', 'ಸೋಮ', 'ಮಂಗಳ', 'ಬುಧ', 'ಗುರು', + 'ಶುಕ್ರ', 'ಶನಿ' + ], + 'wide': [ + 'ಭಾನುವಾರ', 'ಸೋಮವಾರ', 'ಮಂಗಳವಾರ', + 'ಬುಧವಾರ', 'ಗುರುವಾರ', 'ಶುಕ್ರವಾರ', + 'ಶನಿವಾರ' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', + 'ನ', 'ಡಿ' + ], + 'abbreviated': [ + 'ಜನ', 'ಫೆಬ್ರ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', + 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', + 'ನವೆಂ', 'ಡಿಸೆಂ' + ], + 'wide': [ + 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', + 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', + 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', + 'ಡಿಸೆಂಬರ್' + ] + }, + 'standalone': { + 'narrow': [ + 'ಜ', 'ಫೆ', 'ಮಾ', 'ಏ', 'ಮೇ', 'ಜೂ', 'ಜು', 'ಆ', 'ಸೆ', 'ಅ', + 'ನ', 'ಡಿ' + ], + 'abbreviated': [ + 'ಜನ', 'ಫೆಬ್ರ', 'ಮಾರ್ಚ್', 'ಏಪ್ರಿ', 'ಮೇ', + 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗ', 'ಸೆಪ್ಟೆಂ', 'ಅಕ್ಟೋ', + 'ನವೆಂ', 'ಡಿಸೆಂ' + ], + 'wide': [ + 'ಜನವರಿ', 'ಫೆಬ್ರವರಿ', 'ಮಾರ್ಚ್', + 'ಏಪ್ರಿಲ್', 'ಮೇ', 'ಜೂನ್', 'ಜುಲೈ', 'ಆಗಸ್ಟ್', + 'ಸೆಪ್ಟೆಂಬರ್', 'ಅಕ್ಟೋಬರ್', 'ನವೆಂಬರ್', + 'ಡಿಸೆಂಬರ್' + ] + } + }, + 'eras': { + 'abbreviated': ['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], + 'narrow': ['ಕ್ರಿ.ಪೂ', 'ಕ್ರಿ.ಶ'], + 'wide': ['ಕ್ರಿಸ್ತ ಪೂರ್ವ', 'ಕ್ರಿಸ್ತ ಶಕ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'hh:mm:ss a zzzz', + 'long': 'hh:mm:ss a z', + 'medium': 'hh:mm:ss a', + 'short': 'hh:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'ಭಾರತೀಯ ರೂಪಾಯಿ'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ko-KP.ts b/packages/core/src/i18n/data/locale_ko-KP.ts new file mode 100644 index 00000000000000..ba8cf1e1380f8f --- /dev/null +++ b/packages/core/src/i18n/data/locale_ko-KP.ts @@ -0,0 +1,188 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKoKP: NgLocale = { + 'localeId': 'ko-KP', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '자정', + 'am': 'AM', + 'noon': '정오', + 'pm': 'PM', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + }, + 'narrow': { + 'midnight': '자정', + 'am': 'AM', + 'noon': '정오', + 'pm': 'PM', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + }, + 'wide': { + 'midnight': '자정', + 'am': '오전', + 'noon': '정오', + 'pm': '오후', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '자정', + 'am': 'AM', + 'noon': '정오', + 'pm': 'PM', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + }, + 'narrow': { + 'midnight': '자정', + 'am': 'AM', + 'noon': '정오', + 'pm': 'PM', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + }, + 'wide': { + 'midnight': '자정', + 'am': '오전', + 'noon': '정오', + 'pm': '오후', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + } + } + }, + 'days': { + 'format': { + 'narrow': ['일', '월', '화', '수', '목', '금', '토'], + 'short': ['일', '월', '화', '수', '목', '금', '토'], + 'abbreviated': ['일', '월', '화', '수', '목', '금', '토'], + 'wide': [ + '일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일' + ] + }, + 'standalone': { + 'narrow': ['일', '월', '화', '수', '목', '금', '토'], + 'short': ['일', '월', '화', '수', '목', '금', '토'], + 'abbreviated': ['일', '월', '화', '수', '목', '금', '토'], + 'wide': [ + '일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ], + 'abbreviated': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ], + 'wide': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ] + }, + 'standalone': { + 'narrow': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ], + 'abbreviated': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ], + 'wide': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ] + } + }, + 'eras': {'abbreviated': ['BC', 'AD'], 'narrow': ['BC', 'AD'], 'wide': ['기원전', '서기']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y년 M월 d일 EEEE', + 'long': 'y년 M월 d일', + 'medium': 'y. M. d.', + 'short': 'yy. M. d.' + }, + 'time': { + 'full': 'a h시 m분 s초 zzzz', + 'long': 'a h시 m분 s초 z', + 'medium': 'a h:mm:ss', + 'short': 'a h:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '03:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'KPW', 'name': '조선 민주주의 인민 공화국 원'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ko.ts b/packages/core/src/i18n/data/locale_ko.ts new file mode 100644 index 00000000000000..036512d62f8b06 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ko.ts @@ -0,0 +1,188 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKo: NgLocale = { + 'localeId': 'ko', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '자정', + 'am': 'AM', + 'noon': '정오', + 'pm': 'PM', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + }, + 'narrow': { + 'midnight': '자정', + 'am': 'AM', + 'noon': '정오', + 'pm': 'PM', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + }, + 'wide': { + 'midnight': '자정', + 'am': '오전', + 'noon': '정오', + 'pm': '오후', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '자정', + 'am': 'AM', + 'noon': '정오', + 'pm': 'PM', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + }, + 'narrow': { + 'midnight': '자정', + 'am': 'AM', + 'noon': '정오', + 'pm': 'PM', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + }, + 'wide': { + 'midnight': '자정', + 'am': '오전', + 'noon': '정오', + 'pm': '오후', + 'morning1': '새벽', + 'morning2': '오전', + 'afternoon1': '오후', + 'evening1': '저녁', + 'night1': '밤' + } + } + }, + 'days': { + 'format': { + 'narrow': ['일', '월', '화', '수', '목', '금', '토'], + 'short': ['일', '월', '화', '수', '목', '금', '토'], + 'abbreviated': ['일', '월', '화', '수', '목', '금', '토'], + 'wide': [ + '일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일' + ] + }, + 'standalone': { + 'narrow': ['일', '월', '화', '수', '목', '금', '토'], + 'short': ['일', '월', '화', '수', '목', '금', '토'], + 'abbreviated': ['일', '월', '화', '수', '목', '금', '토'], + 'wide': [ + '일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ], + 'abbreviated': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ], + 'wide': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ] + }, + 'standalone': { + 'narrow': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ], + 'abbreviated': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ], + 'wide': [ + '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', + '12월' + ] + } + }, + 'eras': {'abbreviated': ['BC', 'AD'], 'narrow': ['BC', 'AD'], 'wide': ['기원전', '서기']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y년 M월 d일 EEEE', + 'long': 'y년 M월 d일', + 'medium': 'y. M. d.', + 'short': 'yy. M. d.' + }, + 'time': { + 'full': 'a h시 m분 s초 zzzz', + 'long': 'a h시 m분 s초 z', + 'medium': 'a h:mm:ss', + 'short': 'a h:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '03:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₩', 'name': '대한민국 원'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_kok.ts b/packages/core/src/i18n/data/locale_kok.ts new file mode 100644 index 00000000000000..38327b5c91dfd6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_kok.ts @@ -0,0 +1,133 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKok: NgLocale = { + 'localeId': 'kok', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'म.पू.', 'pm': 'म.नं.'}, + 'narrow': {'am': 'म.पू.', 'pm': 'म.नं.'}, + 'wide': {'am': 'म.पू.', 'pm': 'म.नं.'} + }, + 'standalone': { + 'abbreviated': {'am': 'म.पू.', 'pm': 'म.नं.'}, + 'narrow': {'am': 'म.पू.', 'pm': 'म.नं.'}, + 'wide': {'am': 'म.पू.', 'pm': 'म.नं.'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', + 'शनि' + ], + 'abbreviated': [ + 'रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', + 'शनि' + ], + 'wide': [ + 'आदित्यवार', 'सोमवार', 'मंगळार', + 'बुधवार', 'गुरुवार', 'शुक्रवार', + 'शनिवार' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', + 'शनि' + ], + 'abbreviated': [ + 'रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', + 'शनि' + ], + 'wide': [ + 'आदित्यवार', 'सोमवार', 'मंगळार', + 'बुधवार', 'गुरुवार', 'शुक्रवार', + 'शनिवार' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'जानेवारी', 'फेब्रुवारी', 'मार्च', + 'एप्रिल', 'मे', 'जून', 'जुलै', 'ओगस्ट', + 'सेप्टेंबर', 'ओक्टोबर', 'नोव्हेंबर', + 'डिसेंबर' + ], + 'wide': [ + 'जानेवारी', 'फेब्रुवारी', 'मार्च', + 'एप्रिल', 'मे', 'जून', 'जुलै', 'ओगस्ट', + 'सेप्टेंबर', 'ओक्टोबर', 'नोव्हेंबर', + 'डिसेंबर' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'जानेवारी', 'फेब्रुवारी', 'मार्च', + 'एप्रिल', 'मे', 'जून', 'जुलै', 'ओगस्ट', + 'सेप्टेंबर', 'ओक्टोबर', 'नोव्हेंबर', + 'डिसेंबर' + ], + 'wide': [ + 'जानेवारी', 'फेब्रुवारी', 'मार्च', + 'एप्रिल', 'मे', 'जून', 'जुलै', 'ओगस्ट', + 'सेप्टेंबर', 'ओक्टोबर', 'नोव्हेंबर', + 'डिसेंबर' + ] + } + }, + 'eras': { + 'abbreviated': ['क्रिस्तपूर्व', 'क्रिस्तशखा'], + 'narrow': ['क्रिस्तपूर्व', 'क्रिस्तशखा'], + 'wide': ['क्रिस्तपूर्व', 'क्रिस्तशखा'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'INR'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ks.ts b/packages/core/src/i18n/data/locale_ks.ts new file mode 100644 index 00000000000000..0b7447d99df305 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ks.ts @@ -0,0 +1,130 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKs: NgLocale = { + 'localeId': 'ks', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['ا', 'ژ', 'ب', 'ب', 'ب', 'ج', 'ب'], + 'short': [ + 'آتھوار', 'ژٔنٛدٕروار', 'بوٚموار', 'بودوار', + 'برٛٮ۪سوار', 'جُمہ', 'بٹوار' + ], + 'abbreviated': [ + 'آتھوار', 'ژٔنٛدٕروار', 'بوٚموار', 'بودوار', + 'برٛٮ۪سوار', 'جُمہ', 'بٹوار' + ], + 'wide': [ + 'اَتھوار', 'ژٔنٛدرٕروار', 'بوٚموار', 'بودوار', + 'برٛٮ۪سوار', 'جُمہ', 'بٹوار' + ] + }, + 'standalone': { + 'narrow': ['ا', 'ژ', 'ب', 'ب', 'ب', 'ج', 'ب'], + 'short': [ + 'آتھوار', 'ژٔنٛدٕروار', 'بوٚموار', 'بودوار', + 'برٛٮ۪سوار', 'جُمہ', 'بٹوار' + ], + 'abbreviated': [ + 'آتھوار', 'ژٔنٛدٕروار', 'بوٚموار', 'بودوار', + 'برٛٮ۪سوار', 'جُمہ', 'بٹوار' + ], + 'wide': [ + 'اَتھوار', 'ژٔنٛدرٕروار', 'بوٚموار', 'بودوار', + 'برٛٮ۪سوار', 'جُمہ', 'بٹوار' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'س', 'ا', 'ن'], + 'abbreviated': [ + 'جنؤری', 'فرؤری', 'مارٕچ', 'اپریل', 'میٔ', 'جوٗن', + 'جوٗلایی', 'اگست', 'ستمبر', 'اکتوٗبر', 'نومبر', 'دسمبر' + ], + 'wide': [ + 'جنؤری', 'فرؤری', 'مارٕچ', 'اپریل', 'میٔ', 'جوٗن', + 'جوٗلایی', 'اگست', 'ستمبر', 'اکتوٗبر', 'نومبر', 'دسمبر' + ] + }, + 'standalone': { + 'narrow': ['ج', 'ف', 'م', 'ا', 'م', 'ج', 'ج', 'ا', 'س', 'س', 'ا', 'ن'], + 'abbreviated': [ + 'جنؤری', 'فرؤری', 'مارٕچ', 'اپریل', 'میٔ', 'جوٗن', + 'جوٗلایی', 'اگست', 'ستمبر', 'اکتوٗبر', 'نومبر', 'دسمبر' + ], + 'wide': [ + 'جنؤری', 'فرؤری', 'مارٕچ', 'اپریل', 'میٔ', 'جوٗن', + 'جوٗلایی', 'اگست', 'ستمبر', 'اکتوٗبر', 'نومبر', 'دسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['بی سی', 'اے ڈی'], + 'narrow': ['بی سی', 'اے ڈی'], + 'wide': ['قبٕل مسیٖح', 'عیٖسوی سنہٕ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'ہِندُستٲنۍ رۄپَے'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ksb.ts b/packages/core/src/i18n/data/locale_ksb.ts new file mode 100644 index 00000000000000..dd60aaafc9a66d --- /dev/null +++ b/packages/core/src/i18n/data/locale_ksb.ts @@ -0,0 +1,106 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKsb: NgLocale = { + 'localeId': 'ksb', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'makeo', 'pm': 'nyiaghuo'}, + 'narrow': {'am': 'makeo', 'pm': 'nyiaghuo'}, + 'wide': {'am': 'makeo', 'pm': 'nyiaghuo'} + }, + 'standalone': { + 'abbreviated': {'am': 'makeo', 'pm': 'nyiaghuo'}, + 'narrow': {'am': 'makeo', 'pm': 'nyiaghuo'}, + 'wide': {'am': 'makeo', 'pm': 'nyiaghuo'} + } + }, + 'days': { + 'format': { + 'narrow': ['2', '3', '4', '5', 'A', 'I', '1'], + 'short': ['Jpi', 'Jtt', 'Jmn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jmn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': + ['Jumaapii', 'Jumaatatu', 'Jumaane', 'Jumaatano', 'Alhamisi', 'Ijumaa', 'Jumaamosi'] + }, + 'standalone': { + 'narrow': ['2', '3', '4', '5', 'A', 'I', '1'], + 'short': ['Jpi', 'Jtt', 'Jmn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jmn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': + ['Jumaapii', 'Jumaatatu', 'Jumaane', 'Jumaatano', 'Alhamisi', 'Ijumaa', 'Jumaamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januali', 'Febluali', 'Machi', 'Aplili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januali', 'Febluali', 'Machi', 'Aplili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Klisto', 'Baada ya Klisto'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'shilingi ya Tanzania'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ksf.ts b/packages/core/src/i18n/data/locale_ksf.ts new file mode 100644 index 00000000000000..5824fdc9c11d52 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ksf.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKsf: NgLocale = { + 'localeId': 'ksf', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'sárúwá', 'pm': 'cɛɛ́nko'}, + 'narrow': {'am': 'sárúwá', 'pm': 'cɛɛ́nko'}, + 'wide': {'am': 'sárúwá', 'pm': 'cɛɛ́nko'} + }, + 'standalone': { + 'abbreviated': {'am': 'sárúwá', 'pm': 'cɛɛ́nko'}, + 'narrow': {'am': 'sárúwá', 'pm': 'cɛɛ́nko'}, + 'wide': {'am': 'sárúwá', 'pm': 'cɛɛ́nko'} + } + }, + 'days': { + 'format': { + 'narrow': ['s', 'l', 'm', 'm', 'j', 'j', 's'], + 'short': ['sɔ́n', 'lǝn', 'maa', 'mɛk', 'jǝǝ', 'júm', 'sam'], + 'abbreviated': ['sɔ́n', 'lǝn', 'maa', 'mɛk', 'jǝǝ', 'júm', 'sam'], + 'wide': ['sɔ́ndǝ', 'lǝndí', 'maadí', 'mɛkrɛdí', 'jǝǝdí', 'júmbá', 'samdí'] + }, + 'standalone': { + 'narrow': ['s', 'l', 'm', 'm', 'j', 'j', 's'], + 'short': ['sɔ́n', 'lǝn', 'maa', 'mɛk', 'jǝǝ', 'júm', 'sam'], + 'abbreviated': ['sɔ́n', 'lǝn', 'maa', 'mɛk', 'jǝǝ', 'júm', 'sam'], + 'wide': ['sɔ́ndǝ', 'lǝndí', 'maadí', 'mɛkrɛdí', 'jǝǝdí', 'júmbá', 'samdí'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['ŋ1', 'ŋ2', 'ŋ3', 'ŋ4', 'ŋ5', 'ŋ6', 'ŋ7', 'ŋ8', 'ŋ9', 'ŋ10', 'ŋ11', 'ŋ12'], + 'wide': [ + 'ŋwíí a ntɔ́ntɔ', 'ŋwíí akǝ bɛ́ɛ', 'ŋwíí akǝ ráá', 'ŋwíí akǝ nin', + 'ŋwíí akǝ táan', 'ŋwíí akǝ táafɔk', 'ŋwíí akǝ táabɛɛ', + 'ŋwíí akǝ táaraa', 'ŋwíí akǝ táanin', 'ŋwíí akǝ ntɛk', + 'ŋwíí akǝ ntɛk di bɔ́k', 'ŋwíí akǝ ntɛk di bɛ́ɛ' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['ŋ1', 'ŋ2', 'ŋ3', 'ŋ4', 'ŋ5', 'ŋ6', 'ŋ7', 'ŋ8', 'ŋ9', 'ŋ10', 'ŋ11', 'ŋ12'], + 'wide': [ + 'ŋwíí a ntɔ́ntɔ', 'ŋwíí akǝ bɛ́ɛ', 'ŋwíí akǝ ráá', 'ŋwíí akǝ nin', + 'ŋwíí akǝ táan', 'ŋwíí akǝ táafɔk', 'ŋwíí akǝ táabɛɛ', + 'ŋwíí akǝ táaraa', 'ŋwíí akǝ táanin', 'ŋwíí akǝ ntɛk', + 'ŋwíí akǝ ntɛk di bɔ́k', 'ŋwíí akǝ ntɛk di bɛ́ɛ' + ] + } + }, + 'eras': { + 'abbreviated': ['d.Y.', 'k.Y.'], + 'narrow': ['d.Y.', 'k.Y.'], + 'wide': ['di Yɛ́sus aká yálɛ', 'cámɛɛn kǝ kǝbɔpka Y'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'fráŋ'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ksh.ts b/packages/core/src/i18n/data/locale_ksh.ts new file mode 100644 index 00000000000000..71d217a403fcd0 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ksh.ts @@ -0,0 +1,117 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKsh: NgLocale = { + 'localeId': 'ksh', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'v.M.', 'pm': 'n.M.'}, + 'narrow': {'am': 'v.M.', 'pm': 'n.M.'}, + 'wide': {'am': 'Uhr vörmiddaachs', 'pm': 'Uhr nommendaachs'} + }, + 'standalone': { + 'abbreviated': {'am': 'v.M.', 'pm': 'n.M.'}, + 'narrow': {'am': 'v.M.', 'pm': 'n.M.'}, + 'wide': {'am': 'Vörmeddaach', 'pm': 'Nommendaach'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['Su', 'Mo', 'Di', 'Me', 'Du', 'Fr', 'Sa'], + 'abbreviated': ['Su.', 'Mo.', 'Di.', 'Me.', 'Du.', 'Fr.', 'Sa.'], + 'wide': [ + 'Sunndaach', 'Mohndaach', 'Dinnsdaach', 'Metwoch', 'Dunnersdaach', 'Friidaach', + 'Samsdaach' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['Su', 'Mo', 'Di', 'Me', 'Du', 'Fr', 'Sa'], + 'abbreviated': ['Su.', 'Mo.', 'Di.', 'Me.', 'Du.', 'Fr.', 'Sa.'], + 'wide': [ + 'Sunndaach', 'Mohndaach', 'Dinnsdaach', 'Metwoch', 'Dunnersdaach', 'Friidaach', + 'Samsdaach' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Fäb', 'Mäz', 'Apr', 'Mai', 'Jun', 'Jul', 'Ouj', 'Säp', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Jannewa', 'Fäbrowa', 'Määz', 'Aprell', 'Mai', 'Juuni', 'Juuli', 'Oujoß', + 'Septämber', 'Oktohber', 'Novämber', 'Dezämber' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Fäb.', 'Mäz.', 'Apr.', 'Mai', 'Jun.', 'Jul.', 'Ouj.', 'Säp.', 'Okt.', 'Nov.', + 'Dez.' + ], + 'wide': [ + 'Jannewa', 'Fäbrowa', 'Määz', 'Aprell', 'Mai', 'Juuni', 'Juuli', 'Oujoß', + 'Septämber', 'Oktohber', 'Novämber', 'Dezämber' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['vC', 'nC'], + 'wide': ['vür Krestos', 'noh Krestos'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, \'dä\' d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'd. MMM. y', + 'short': 'd. M. y' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': '×10^', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': '¤¤¤', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 0) return Plural.Zero; + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_kw.ts b/packages/core/src/i18n/data/locale_kw.ts new file mode 100644 index 00000000000000..6176352c6b12e2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_kw.ts @@ -0,0 +1,102 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKw: NgLocale = { + 'localeId': 'kw', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + }, + 'standalone': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sul', 'Lun', 'Mth', 'Mhr', 'Yow', 'Gwe', 'Sad'], + 'abbreviated': ['Sul', 'Lun', 'Mth', 'Mhr', 'Yow', 'Gwe', 'Sad'], + 'wide': ['dy Sul', 'dy Lun', 'dy Meurth', 'dy Merher', 'dy Yow', 'dy Gwener', 'dy Sadorn'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sul', 'Lun', 'Mth', 'Mhr', 'Yow', 'Gwe', 'Sad'], + 'abbreviated': ['Sul', 'Lun', 'Mth', 'Mhr', 'Yow', 'Gwe', 'Sad'], + 'wide': + ['dy Sul', 'dy Lun', 'dy Meurth', 'dy Merher', 'dy Yow', 'dy Gwener', 'dy Sadorn'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Gen', 'Hwe', 'Meu', 'Ebr', 'Me', 'Met', 'Gor', 'Est', 'Gwn', 'Hed', 'Du', 'Kev'], + 'wide': [ + 'mis Genver', 'mis Hwevrer', 'mis Meurth', 'mis Ebrel', 'mis Me', 'mis Metheven', + 'mis Gortheren', 'mis Est', 'mis Gwynngala', 'mis Hedra', 'mis Du', 'mis Kevardhu' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Gen', 'Hwe', 'Meu', 'Ebr', 'Me', 'Met', 'Gor', 'Est', 'Gwn', 'Hed', 'Du', 'Kev'], + 'wide': [ + 'mis Genver', 'mis Hwevrer', 'mis Meurth', 'mis Ebrel', 'mis Me', 'mis Metheven', + 'mis Gortheren', 'mis Est', 'mis Gwynngala', 'mis Hedra', 'mis Du', 'mis Kevardhu' + ] + } + }, + 'eras': {'abbreviated': ['RC', 'AD'], 'narrow': ['RC', 'AD'], 'wide': ['RC', 'AD']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'GBP'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ky.ts b/packages/core/src/i18n/data/locale_ky.ts new file mode 100644 index 00000000000000..ec53587e49cb34 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ky.ts @@ -0,0 +1,185 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleKy: NgLocale = { + 'localeId': 'ky', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'түн ортосу', + 'am': 'тң', + 'noon': 'чак түш', + 'pm': 'тк', + 'morning1': 'эртең менен', + 'afternoon1': 'түштөн кийин', + 'evening1': 'кечинде', + 'night1': 'түн ичинде' + }, + 'narrow': { + 'midnight': 'түн орт', + 'am': 'тң', + 'noon': 'чт', + 'pm': 'тк', + 'morning1': 'эртң мн', + 'afternoon1': 'түшт кйн', + 'evening1': 'кечк', + 'night1': 'түн' + }, + 'wide': { + 'midnight': 'түн ортосу', + 'am': 'таңкы', + 'noon': 'чак түш', + 'pm': 'түштөн кийинки', + 'morning1': 'эртең менен', + 'afternoon1': 'түштөн кийин', + 'evening1': 'кечинде', + 'night1': 'түн ичинде' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'түн ортосу', + 'am': 'тң', + 'noon': 'чак түш', + 'pm': 'тк', + 'morning1': 'эртең менен', + 'afternoon1': 'түштөн кийин', + 'evening1': 'кечкурун', + 'night1': 'түн' + }, + 'narrow': { + 'midnight': 'түн ортосу', + 'am': 'тң', + 'noon': 'чак түш', + 'pm': 'тк', + 'morning1': 'эртең менен', + 'afternoon1': 'түштөн кийин', + 'evening1': 'кечкурун', + 'night1': 'түн' + }, + 'wide': { + 'midnight': 'түн ортосу', + 'am': 'таңкы', + 'noon': 'чак түш', + 'pm': 'түштөн кийинки', + 'morning1': 'эртең менен', + 'afternoon1': 'түштөн кийин', + 'evening1': 'кечкурун', + 'night1': 'түн' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Ж', 'Д', 'Ш', 'Ш', 'Б', 'Ж', 'И'], + 'short': + ['жек.', 'дүй.', 'шейш.', 'шарш.', 'бейш.', 'жума', 'ишм.'], + 'abbreviated': + ['жек.', 'дүй.', 'шейш.', 'шарш.', 'бейш.', 'жума', 'ишм.'], + 'wide': [ + 'жекшемби', 'дүйшөмбү', 'шейшемби', 'шаршемби', + 'бейшемби', 'жума', 'ишемби' + ] + }, + 'standalone': { + 'narrow': ['Ж', 'Д', 'Ш', 'Ш', 'Б', 'Ж', 'И'], + 'short': ['жк', 'дш.', 'шш.', 'шр.', 'бш.', 'жм.', 'иш.'], + 'abbreviated': + ['жек.', 'дүй.', 'шейш.', 'шарш.', 'бейш.', 'жума', 'ишм.'], + 'wide': [ + 'жекшемби', 'дүйшөмбү', 'шейшемби', 'шаршемби', + 'бейшемби', 'жума', 'ишемби' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'фев.', 'мар.', 'апр.', 'май', 'июн.', 'июл.', 'авг.', + 'сен.', 'окт.', 'ноя.', 'дек.' + ], + 'wide': [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', + 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', + 'декабрь' + ] + }, + 'standalone': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', '��'], + 'abbreviated': [ + 'Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', + 'Окт', 'Ноя', 'Дек' + ], + 'wide': [ + 'Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', + 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', + 'Декабрь' + ] + } + }, + 'eras': { + 'abbreviated': ['б.з.ч.', 'б.з.'], + 'narrow': ['б.з.ч.', 'б.з.'], + 'wide': ['биздин заманга чейин', 'биздин заман'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y-\'ж\'., d-MMMM, EEEE', + 'long': 'y-\'ж\'., d-MMMM', + 'medium': 'y-\'ж\'., d-MMM', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'сан эмес', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'сом', 'name': 'Кыргызстан сому'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_lag.ts b/packages/core/src/i18n/data/locale_lag.ts new file mode 100644 index 00000000000000..f67ee1d3ef1319 --- /dev/null +++ b/packages/core/src/i18n/data/locale_lag.ts @@ -0,0 +1,114 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLag: NgLocale = { + 'localeId': 'lag', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'TOO', 'pm': 'MUU'}, + 'narrow': {'am': 'TOO', 'pm': 'MUU'}, + 'wide': {'am': 'TOO', 'pm': 'MUU'} + }, + 'standalone': { + 'abbreviated': {'am': 'TOO', 'pm': 'MUU'}, + 'narrow': {'am': 'TOO', 'pm': 'MUU'}, + 'wide': {'am': 'TOO', 'pm': 'MUU'} + } + }, + 'days': { + 'format': { + 'narrow': ['P', 'T', 'E', 'O', 'A', 'I', 'M'], + 'short': ['Píili', 'Táatu', 'Íne', 'Táano', 'Alh', 'Ijm', 'Móosi'], + 'abbreviated': ['Píili', 'Táatu', 'Íne', 'Táano', 'Alh', 'Ijm', 'Móosi'], + 'wide': [ + 'Jumapíiri', 'Jumatátu', 'Jumaíne', 'Jumatáano', 'Alamíisi', 'Ijumáa', 'Jumamóosi' + ] + }, + 'standalone': { + 'narrow': ['P', 'T', 'E', 'O', 'A', 'I', 'M'], + 'short': ['Píili', 'Táatu', 'Íne', 'Táano', 'Alh', 'Ijm', 'Móosi'], + 'abbreviated': ['Píili', 'Táatu', 'Íne', 'Táano', 'Alh', 'Ijm', 'Móosi'], + 'wide': [ + 'Jumapíiri', 'Jumatátu', 'Jumaíne', 'Jumatáano', 'Alamíisi', 'Ijumáa', 'Jumamóosi' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['F', 'N', 'K', 'I', 'I', 'I', 'M', 'V', 'S', 'I', 'S', 'S'], + 'abbreviated': [ + 'Fúngatɨ', 'Naanɨ', 'Keenda', 'Ikúmi', 'Inyambala', 'Idwaata', 'Mʉʉnchɨ', + 'Vɨɨrɨ', 'Saatʉ', 'Inyi', 'Saano', 'Sasatʉ' + ], + 'wide': [ + 'Kʉfúngatɨ', 'Kʉnaanɨ', 'Kʉkeenda', 'Kwiikumi', 'Kwiinyambála', 'Kwiidwaata', + 'Kʉmʉʉnchɨ', 'Kʉvɨɨrɨ', 'Kʉsaatʉ', 'Kwiinyi', 'Kʉsaano', 'Kʉsasatʉ' + ] + }, + 'standalone': { + 'narrow': ['F', 'N', 'K', 'I', 'I', 'I', 'M', 'V', 'S', 'I', 'S', 'S'], + 'abbreviated': [ + 'Fúngatɨ', 'Naanɨ', 'Keenda', 'Ikúmi', 'Inyambala', 'Idwaata', 'Mʉʉnchɨ', + 'Vɨɨrɨ', 'Saatʉ', 'Inyi', 'Saano', 'Sasatʉ' + ], + 'wide': [ + 'Kʉfúngatɨ', 'Kʉnaanɨ', 'Kʉkeenda', 'Kwiikumi', 'Kwiinyambála', 'Kwiidwaata', + 'Kʉmʉʉnchɨ', 'Kʉvɨɨrɨ', 'Kʉsaatʉ', 'Kwiinyi', 'Kʉsaano', 'Kʉsasatʉ' + ] + } + }, + 'eras': { + 'abbreviated': ['KSA', 'KA'], + 'narrow': ['KSA', 'KA'], + 'wide': ['Kɨrɨsitʉ sɨ anavyaal', 'Kɨrɨsitʉ akavyaalwe'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'Shilíingi ya Taansanía'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (n === 0) return Plural.Zero; + if ((i === 0 || i === 1) && !(n === 0)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_lb.ts b/packages/core/src/i18n/data/locale_lb.ts new file mode 100644 index 00000000000000..4f1bef27c38fd8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_lb.ts @@ -0,0 +1,114 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLb: NgLocale = { + 'localeId': 'lb', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'moies', 'pm': 'nomëttes'}, + 'narrow': {'am': 'mo.', 'pm': 'nomë.'}, + 'wide': {'am': 'moies', 'pm': 'nomëttes'} + }, + 'standalone': { + 'abbreviated': {'am': 'moies', 'pm': 'nomëttes'}, + 'narrow': {'am': 'moies', 'pm': 'nomëttes'}, + 'wide': {'am': 'moies', 'pm': 'nomëttes'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['Son.', 'Méi.', 'Dën.', 'Mët.', 'Don.', 'Fre.', 'Sam.'], + 'wide': [ + 'Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'M', 'D', 'F', 'S'], + 'short': ['So.', 'Mé.', 'Dë.', 'Më.', 'Do.', 'Fr.', 'Sa.'], + 'abbreviated': ['Son', 'Méi', 'Dën', 'Mët', 'Don', 'Fre', 'Sam'], + 'wide': [ + 'Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'Jan.', 'Feb.', 'Mäe.', 'Abr.', 'Mee', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', + 'Dez.' + ], + 'wide': [ + 'Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + 'wide': [ + 'Januar', 'Februar', 'Mäerz', 'Abrëll', 'Mee', 'Juni', 'Juli', 'August', 'September', + 'Oktober', 'November', 'Dezember' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr.'], + 'narrow': ['v. Chr.', 'n. Chr.'], + 'wide': ['v. Chr.', 'n. Chr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'd. MMM y', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_lg.ts b/packages/core/src/i18n/data/locale_lg.ts new file mode 100644 index 00000000000000..aa64a6d6cdbeef --- /dev/null +++ b/packages/core/src/i18n/data/locale_lg.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLg: NgLocale = { + 'localeId': 'lg', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'B', 'L', 'L', 'L', 'L', 'L'], + 'short': ['Sab', 'Bal', 'Lw2', 'Lw3', 'Lw4', 'Lw5', 'Lw6'], + 'abbreviated': ['Sab', 'Bal', 'Lw2', 'Lw3', 'Lw4', 'Lw5', 'Lw6'], + 'wide': [ + 'Sabbiiti', 'Balaza', 'Lwakubiri', 'Lwakusatu', 'Lwakuna', 'Lwakutaano', 'Lwamukaaga' + ] + }, + 'standalone': { + 'narrow': ['S', 'B', 'L', 'L', 'L', 'L', 'L'], + 'short': ['Sab', 'Bal', 'Lw2', 'Lw3', 'Lw4', 'Lw5', 'Lw6'], + 'abbreviated': ['Sab', 'Bal', 'Lw2', 'Lw3', 'Lw4', 'Lw5', 'Lw6'], + 'wide': [ + 'Sabbiiti', 'Balaza', 'Lwakubiri', 'Lwakusatu', 'Lwakuna', 'Lwakutaano', 'Lwamukaaga' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apu', 'Maa', 'Juu', 'Jul', 'Agu', 'Seb', 'Oki', 'Nov', 'Des'], + 'wide': [ + 'Janwaliyo', 'Febwaliyo', 'Marisi', 'Apuli', 'Maayi', 'Juuni', 'Julaayi', 'Agusito', + 'Sebuttemba', 'Okitobba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apu', 'Maa', 'Juu', 'Jul', 'Agu', 'Seb', 'Oki', 'Nov', 'Des'], + 'wide': [ + 'Janwaliyo', 'Febwaliyo', 'Marisi', 'Apuli', 'Maayi', 'Juuni', 'Julaayi', 'Agusito', + 'Sebuttemba', 'Okitobba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['BC', 'AD'], + 'wide': ['Kulisito nga tannaza', 'Bukya Kulisito Azaal'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'USh', 'name': 'Silingi eya Yuganda'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_lkt.ts b/packages/core/src/i18n/data/locale_lkt.ts new file mode 100644 index 00000000000000..55bba19b6cda70 --- /dev/null +++ b/packages/core/src/i18n/data/locale_lkt.ts @@ -0,0 +1,127 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLkt: NgLocale = { + 'localeId': 'lkt', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['A', 'W', 'N', 'Y', 'T', 'Z', 'O'], + 'short': [ + 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', + 'Aŋpétuzaptaŋ', 'Owáŋgyužažapi' + ], + 'abbreviated': [ + 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', + 'Aŋpétuzaptaŋ', 'Owáŋgyužažapi' + ], + 'wide': [ + 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', + 'Aŋpétuzaptaŋ', 'Owáŋgyužažapi' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', + 'Aŋpétuzaptaŋ', 'Owáŋgyužažapi' + ], + 'abbreviated': [ + 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', + 'Aŋpétuzaptaŋ', 'Owáŋgyužažapi' + ], + 'wide': [ + 'Aŋpétuwakȟaŋ', 'Aŋpétuwaŋži', 'Aŋpétunuŋpa', 'Aŋpétuyamni', 'Aŋpétutopa', + 'Aŋpétuzaptaŋ', 'Owáŋgyužažapi' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Wiótheȟika Wí', 'Thiyóȟeyuŋka Wí', 'Ištáwičhayazaŋ Wí', 'Pȟežítȟo Wí', + 'Čhaŋwápetȟo Wí', 'Wípazukȟa-wašté Wí', 'Čhaŋpȟásapa Wí', + 'Wasútȟuŋ Wí', 'Čhaŋwápeǧi Wí', 'Čhaŋwápe-kasná Wí', 'Waníyetu Wí', + 'Tȟahékapšuŋ Wí' + ], + 'wide': [ + 'Wiótheȟika Wí', 'Thiyóȟeyuŋka Wí', 'Ištáwičhayazaŋ Wí', 'Pȟežítȟo Wí', + 'Čhaŋwápetȟo Wí', 'Wípazukȟa-wašté Wí', 'Čhaŋpȟásapa Wí', + 'Wasútȟuŋ Wí', 'Čhaŋwápeǧi Wí', 'Čhaŋwápe-kasná Wí', 'Waníyetu Wí', + 'Tȟahékapšuŋ Wí' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Wiótheȟika Wí', 'Thiyóȟeyuŋka Wí', 'Ištáwičhayazaŋ Wí', 'Pȟežítȟo Wí', + 'Čhaŋwápetȟo Wí', 'Wípazukȟa-wašté Wí', 'Čhaŋpȟásapa Wí', + 'Wasútȟuŋ Wí', 'Čhaŋwápeǧi Wí', 'Čhaŋwápe-kasná Wí', 'Waníyetu Wí', + 'Tȟahékapšuŋ Wí' + ], + 'wide': [ + 'Wiótheȟika Wí', 'Thiyóȟeyuŋka Wí', 'Ištáwičhayazaŋ Wí', 'Pȟežítȟo Wí', + 'Čhaŋwápetȟo Wí', 'Wípazukȟa-wašté Wí', 'Čhaŋpȟásapa Wí', + 'Wasútȟuŋ Wí', 'Čhaŋwápeǧi Wí', 'Čhaŋwápe-kasná Wí', 'Waníyetu Wí', + 'Tȟahékapšuŋ Wí' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'USD'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ln-AO.ts b/packages/core/src/i18n/data/locale_ln-AO.ts new file mode 100644 index 00000000000000..d2f62ec38e0c1f --- /dev/null +++ b/packages/core/src/i18n/data/locale_ln-AO.ts @@ -0,0 +1,113 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLnAO: NgLocale = { + 'localeId': 'ln-AO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'narrow': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'wide': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'} + }, + 'standalone': { + 'abbreviated': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'narrow': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'wide': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'} + } + }, + 'days': { + 'format': { + 'narrow': ['e', 'y', 'm', 'm', 'm', 'm', 'p'], + 'short': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'abbreviated': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'wide': [ + '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ɔ' + ] + }, + 'standalone': { + 'narrow': ['e', 'y', 'm', 'm', 'm', 'm', 'p'], + 'short': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'abbreviated': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'wide': [ + '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ɔ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + 'abbreviated': + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], + 'wide': [ + '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é' + ] + }, + 'standalone': { + 'narrow': ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + 'abbreviated': + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], + 'wide': [ + '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é' + ] + } + }, + 'eras': { + 'abbreviated': ['libóso ya', 'nsima ya Y'], + 'narrow': ['libóso ya', 'nsima ya Y'], + 'wide': ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Kz', 'name': 'Kwanza ya Angóla'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ln-CF.ts b/packages/core/src/i18n/data/locale_ln-CF.ts new file mode 100644 index 00000000000000..cebf4a99fc87b4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ln-CF.ts @@ -0,0 +1,113 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLnCF: NgLocale = { + 'localeId': 'ln-CF', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'narrow': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'wide': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'} + }, + 'standalone': { + 'abbreviated': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'narrow': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'wide': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'} + } + }, + 'days': { + 'format': { + 'narrow': ['e', 'y', 'm', 'm', 'm', 'm', 'p'], + 'short': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'abbreviated': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'wide': [ + '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ɔ' + ] + }, + 'standalone': { + 'narrow': ['e', 'y', 'm', 'm', 'm', 'm', 'p'], + 'short': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'abbreviated': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'wide': [ + '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ɔ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + 'abbreviated': + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], + 'wide': [ + '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é' + ] + }, + 'standalone': { + 'narrow': ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + 'abbreviated': + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], + 'wide': [ + '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é' + ] + } + }, + 'eras': { + 'abbreviated': ['libóso ya', 'nsima ya Y'], + 'narrow': ['libóso ya', 'nsima ya Y'], + 'wide': ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'Falánga CFA BEAC'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ln-CG.ts b/packages/core/src/i18n/data/locale_ln-CG.ts new file mode 100644 index 00000000000000..96d4f0b8719bd1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ln-CG.ts @@ -0,0 +1,113 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLnCG: NgLocale = { + 'localeId': 'ln-CG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'narrow': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'wide': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'} + }, + 'standalone': { + 'abbreviated': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'narrow': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'wide': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'} + } + }, + 'days': { + 'format': { + 'narrow': ['e', 'y', 'm', 'm', 'm', 'm', 'p'], + 'short': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'abbreviated': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'wide': [ + '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ɔ' + ] + }, + 'standalone': { + 'narrow': ['e', 'y', 'm', 'm', 'm', 'm', 'p'], + 'short': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'abbreviated': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'wide': [ + '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ɔ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + 'abbreviated': + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], + 'wide': [ + '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é' + ] + }, + 'standalone': { + 'narrow': ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + 'abbreviated': + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], + 'wide': [ + '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é' + ] + } + }, + 'eras': { + 'abbreviated': ['libóso ya', 'nsima ya Y'], + 'narrow': ['libóso ya', 'nsima ya Y'], + 'wide': ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'Falánga CFA BEAC'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ln.ts b/packages/core/src/i18n/data/locale_ln.ts new file mode 100644 index 00000000000000..1c5cfcb91abff3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ln.ts @@ -0,0 +1,113 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLn: NgLocale = { + 'localeId': 'ln', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'narrow': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'wide': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'} + }, + 'standalone': { + 'abbreviated': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'narrow': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'}, + 'wide': {'am': 'ntɔ́ngɔ́', 'pm': 'mpókwa'} + } + }, + 'days': { + 'format': { + 'narrow': ['e', 'y', 'm', 'm', 'm', 'm', 'p'], + 'short': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'abbreviated': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'wide': [ + '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ɔ' + ] + }, + 'standalone': { + 'narrow': ['e', 'y', 'm', 'm', 'm', 'm', 'p'], + 'short': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'abbreviated': ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'], + 'wide': [ + '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ɔ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + 'abbreviated': + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], + 'wide': [ + '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é' + ] + }, + 'standalone': { + 'narrow': ['y', 'f', 'm', 'a', 'm', 'y', 'y', 'a', 's', 'ɔ', 'n', 'd'], + 'abbreviated': + ['yan', 'fbl', 'msi', 'apl', 'mai', 'yun', 'yul', 'agt', 'stb', 'ɔtb', 'nvb', 'dsb'], + 'wide': [ + '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é' + ] + } + }, + 'eras': { + 'abbreviated': ['libóso ya', 'nsima ya Y'], + 'narrow': ['libóso ya', 'nsima ya Y'], + 'wide': ['Yambo ya Yézu Krís', 'Nsima ya Yézu Krís'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FC', 'name': 'Falánga ya Kongó'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_lo.ts b/packages/core/src/i18n/data/locale_lo.ts new file mode 100644 index 00000000000000..17785e3554e136 --- /dev/null +++ b/packages/core/src/i18n/data/locale_lo.ts @@ -0,0 +1,194 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLo: NgLocale = { + 'localeId': 'lo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ທ່ຽງຄືນ', + 'am': 'ກ່ອນທ່ຽງ', + 'noon': 'ຕອນທ່ຽງ', + 'pm': 'ຫຼັງທ່ຽງ', + 'morning1': 'ຕອນເຊົ້າ', + 'afternoon1': 'ຕອນບ່າຍ', + 'evening1': 'ຕອນແລງ', + 'night1': 'ກາງຄືນ' + }, + 'narrow': { + 'midnight': 'ທຄ', + 'am': 'ກທ', + 'noon': 'ທ', + 'pm': 'ຫຼທ', + 'morning1': 'ຕອນເຊົ້າ', + 'afternoon1': 'ຕອນທ່ຽງ', + 'evening1': 'ຕອນແລງ', + 'night1': 'ກາງຄືນ1' + }, + 'wide': { + 'midnight': 'ທ່ຽງຄືນ', + 'am': 'ກ່ອນທ່ຽງ', + 'noon': 'ຕອນທ່ຽງ', + 'pm': 'ຫຼັງທ່ຽງ', + 'morning1': 'ຕອນເຊົ້າ', + 'afternoon1': 'ຕອນບ່າຍ', + 'evening1': 'ຕອນແລງ', + 'night1': 'ຕອນກາງຄືນ' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ທ່ຽງ​ຄືນ', + 'am': 'ກ່ອນທ່ຽງ', + 'noon': 'ທ່ຽງ', + 'pm': 'ຫຼັງທ່ຽງ', + 'morning1': '​ເຊົ້າ', + 'afternoon1': 'ສວຍ', + 'evening1': 'ແລງ', + 'night1': '​ກາງ​ຄືນ' + }, + 'narrow': { + 'midnight': 'ທຄ', + 'am': 'ກທ', + 'noon': 'ຕອນທ່ຽງ', + 'pm': 'ຫຼທ', + 'morning1': 'ຊ', + 'afternoon1': 'ສ', + 'evening1': 'ລ', + 'night1': 'ກຄ' + }, + 'wide': { + 'midnight': 'ທ່ຽງຄືນ', + 'am': 'ກ່ອນທ່ຽງ', + 'noon': 'ຕອນທ່ຽງ', + 'pm': 'ຫຼັງທ່ຽງ', + 'morning1': '​ເຊົ້າ', + 'afternoon1': 'ສວຍ', + 'evening1': 'ແລງ', + 'night1': '​ກາງ​ຄືນ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ອາ', 'ຈ', 'ອ', 'ພ', 'ພຫ', 'ສຸ', 'ສ'], + 'short': ['ອາ.', 'ຈ.', 'ອ.', 'ພ.', 'ພຫ.', 'ສຸ.', 'ສ.'], + 'abbreviated': [ + 'ອາທິດ', 'ຈັນ', 'ອັງຄານ', 'ພຸດ', 'ພະຫັດ', + 'ສຸກ', 'ເສົາ' + ], + 'wide': [ + 'ວັນອາທິດ', 'ວັນຈັນ', 'ວັນອັງຄານ', + 'ວັນພຸດ', 'ວັນພະຫັດ', 'ວັນສຸກ', + 'ວັນເສົາ' + ] + }, + 'standalone': { + 'narrow': ['ອາ', 'ຈ', 'ອ', 'ພ', 'ພຫ', 'ສຸ', 'ສ'], + 'short': ['ອາ.', 'ຈ.', 'ອ.', 'ພ.', 'ພຫ.', 'ສຸ.', 'ສ.'], + 'abbreviated': [ + 'ອາທິດ', 'ຈັນ', 'ອັງຄານ', 'ພຸດ', 'ພະຫັດ', + 'ສຸກ', 'ເສົາ' + ], + 'wide': [ + 'ວັນອາທິດ', 'ວັນຈັນ', 'ວັນອັງຄານ', + 'ວັນພຸດ', 'ວັນພະຫັດ', 'ວັນສຸກ', + 'ວັນເສົາ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ມ.ກ.', 'ກ.ພ.', 'ມ.ນ.', 'ມ.ສ.', 'ພ.ພ.', 'ມິ.ຖ.', 'ກ.ລ.', + 'ສ.ຫ.', 'ກ.ຍ.', 'ຕ.ລ.', 'ພ.ຈ.', 'ທ.ວ.' + ], + 'wide': [ + 'ມັງກອນ', 'ກຸມພາ', 'ມີນາ', 'ເມສາ', + 'ພຶດສະພາ', 'ມິຖຸນາ', 'ກໍລະກົດ', 'ສິງຫາ', + 'ກັນຍາ', 'ຕຸລາ', 'ພະຈິກ', 'ທັນວາ' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ມ.ກ.', 'ກ.ພ.', 'ມ.ນ.', 'ມ.ສ.', 'ພ.ພ.', 'ມິ.ຖ.', 'ກ.ລ.', + 'ສ.ຫ.', 'ກ.ຍ.', 'ຕ.ລ.', 'ພ.ຈ.', 'ທ.ວ.' + ], + 'wide': [ + 'ມັງກອນ', 'ກຸມພາ', 'ມີນາ', 'ເມສາ', + 'ພຶດສະພາ', 'ມິຖຸນາ', 'ກໍລະກົດ', 'ສິງຫາ', + 'ກັນຍາ', 'ຕຸລາ', 'ພະຈິກ', 'ທັນວາ' + ] + } + }, + 'eras': { + 'abbreviated': ['ກ່ອນ ຄ.ສ.', 'ຄ.ສ.'], + 'narrow': ['ກ່ອນ ຄ.ສ.', 'ຄ.ສ.'], + 'wide': [ + 'ກ່ອນຄຣິດສັກກະລາດ', 'ຄຣິດສັກກະລາດ' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE ທີ d MMMM G y', + 'long': 'd MMMM y', + 'medium': 'd MMM y', + 'short': 'd/M/y' + }, + 'time': { + 'full': 'H ໂມງ m ນາທີ ss ວິນາທີ zzzz', + 'long': 'H ໂມງ m ນາທີ ss ວິນາທີ z', + 'medium': 'H:mm:ss', + 'short': 'H:mm' + }, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '20:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '05:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ບໍ່​ແມ່ນ​ໂຕ​ເລກ', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00;¤-#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#' + } + }, + 'currencySettings': {'symbol': '₭', 'name': 'ລາວ ກີບ'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_lrc-IQ.ts b/packages/core/src/i18n/data/locale_lrc-IQ.ts new file mode 100644 index 00000000000000..47b56d0583bf90 --- /dev/null +++ b/packages/core/src/i18n/data/locale_lrc-IQ.ts @@ -0,0 +1,109 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLrcIQ: NgLocale = { + 'localeId': 'lrc-IQ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', + 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', + 'دئسامر' + ], + 'wide': [ + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', + 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', + 'دئسامر' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', + 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', + 'دئسامر' + ], + 'wide': [ + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', + 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', + 'دئسامر' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'IQD', 'name': 'IQD'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_lrc.ts b/packages/core/src/i18n/data/locale_lrc.ts new file mode 100644 index 00000000000000..0148e8b122a427 --- /dev/null +++ b/packages/core/src/i18n/data/locale_lrc.ts @@ -0,0 +1,105 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLrc: NgLocale = { + 'localeId': 'lrc', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', + 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', + 'دئسامر' + ], + 'wide': [ + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', + 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', + 'دئسامر' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', + 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', + 'دئسامر' + ], + 'wide': [ + 'جانڤیە', 'فئڤریە', 'مارس', 'آڤریل', 'مئی', 'جوٙأن', + 'جوٙلا', 'آگوست', 'سئپتامر', 'ئوکتوڤر', 'نوڤامر', + 'دئسامر' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 5], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'IRR', 'name': 'IRR'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_lt.ts b/packages/core/src/i18n/data/locale_lt.ts new file mode 100644 index 00000000000000..5bd06f136519c6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_lt.ts @@ -0,0 +1,185 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLt: NgLocale = { + 'localeId': 'lt', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'vidurnaktis', + 'am': 'priešpiet', + 'noon': 'perpiet', + 'pm': 'popiet', + 'morning1': 'rytas', + 'afternoon1': 'popietė', + 'evening1': 'vakaras', + 'night1': 'naktis' + }, + 'narrow': { + 'midnight': 'vidurnaktis', + 'am': 'pr. p.', + 'noon': 'perpiet', + 'pm': 'pop.', + 'morning1': 'rytas', + 'afternoon1': 'popietė', + 'evening1': 'vakaras', + 'night1': 'naktis' + }, + 'wide': { + 'midnight': 'vidurnaktis', + 'am': 'priešpiet', + 'noon': 'perpiet', + 'pm': 'popiet', + 'morning1': 'rytas', + 'afternoon1': 'popietė', + 'evening1': 'vakaras', + 'night1': 'naktis' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'vidurnaktis', + 'am': 'priešpiet', + 'noon': 'vidurdienis', + 'pm': 'popiet', + 'morning1': 'rytas', + 'afternoon1': 'diena', + 'evening1': 'vakaras', + 'night1': 'naktis' + }, + 'narrow': { + 'midnight': 'vidurnaktis', + 'am': 'pr. p.', + 'noon': 'vidurdienis', + 'pm': 'pop.', + 'morning1': 'rytas', + 'afternoon1': 'diena', + 'evening1': 'vakaras', + 'night1': 'naktis' + }, + 'wide': { + 'midnight': 'vidurnaktis', + 'am': 'priešpiet', + 'noon': 'vidurdienis', + 'pm': 'popiet', + 'morning1': 'rytas', + 'afternoon1': 'diena', + 'evening1': 'vakaras', + 'night1': 'naktis' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'P', 'A', 'T', 'K', 'P', 'Š'], + 'short': ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'], + 'abbreviated': ['sk', 'pr', 'an', 'tr', 'kt', 'pn', 'št'], + 'wide': [ + 'sekmadienis', 'pirmadienis', 'antradienis', 'trečiadienis', 'ketvirtadienis', + 'penktadienis', 'šeštadienis' + ] + }, + 'standalone': { + 'narrow': ['S', 'P', 'A', 'T', 'K', 'P', 'Š'], + 'short': ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'], + 'abbreviated': ['sk', 'pr', 'an', 'tr', 'kt', 'pn', 'št'], + 'wide': [ + 'sekmadienis', 'pirmadienis', 'antradienis', 'trečiadienis', 'ketvirtadienis', + 'penktadienis', 'šeštadienis' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'], + 'abbreviated': [ + 'saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.', + 'lapkr.', 'gruod.' + ], + 'wide': [ + 'sausio', 'vasario', 'kovo', 'balandžio', 'gegužės', 'birželio', 'liepos', + 'rugpjūčio', 'rugsėjo', 'spalio', 'lapkričio', 'gruodžio' + ] + }, + 'standalone': { + 'narrow': ['S', 'V', 'K', 'B', 'G', 'B', 'L', 'R', 'R', 'S', 'L', 'G'], + 'abbreviated': [ + 'saus.', 'vas.', 'kov.', 'bal.', 'geg.', 'birž.', 'liep.', 'rugp.', 'rugs.', 'spal.', + 'lapkr.', 'gruod.' + ], + 'wide': [ + 'sausis', 'vasaris', 'kovas', 'balandis', 'gegužė', 'birželis', 'liepa', 'rugpjūtis', + 'rugsėjis', 'spalis', 'lapkritis', 'gruodis' + ] + } + }, + 'eras': { + 'abbreviated': ['pr. Kr.', 'po Kr.'], + 'narrow': ['pr. Kr.', 'po Kr.'], + 'wide': ['prieš Kristų', 'po Kristaus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y \'m\'. MMMM d \'d\'., EEEE', + 'long': 'y \'m\'. MMMM d \'d\'.', + 'medium': 'y-MM-dd', + 'short': 'y-MM-dd' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': '×10^', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euras'}, + 'getPluralCase': function(n: number): Plural { + let f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (n % 10 === 1 && !(n % 100 >= 11 && n % 100 <= 19)) return Plural.One; + if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 9 && + !(n % 100 >= 11 && n % 100 <= 19)) + return Plural.Few; + if (!(f === 0)) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_lu.ts b/packages/core/src/i18n/data/locale_lu.ts new file mode 100644 index 00000000000000..ce6c5e96e50193 --- /dev/null +++ b/packages/core/src/i18n/data/locale_lu.ts @@ -0,0 +1,100 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLu: NgLocale = { + 'localeId': 'lu', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Dinda', 'pm': 'Dilolo'}, + 'narrow': {'am': 'Dinda', 'pm': 'Dilolo'}, + 'wide': {'am': 'Dinda', 'pm': 'Dilolo'} + }, + 'standalone': { + 'abbreviated': {'am': 'Dinda', 'pm': 'Dilolo'}, + 'narrow': {'am': 'Dinda', 'pm': 'Dilolo'}, + 'wide': {'am': 'Dinda', 'pm': 'Dilolo'} + } + }, + 'days': { + 'format': { + 'narrow': ['L', 'N', 'N', 'N', 'N', 'N', 'L'], + 'short': ['Lum', 'Nko', 'Ndy', 'Ndg', 'Njw', 'Ngv', 'Lub'], + 'abbreviated': ['Lum', 'Nko', 'Ndy', 'Ndg', 'Njw', 'Ngv', 'Lub'], + 'wide': ['Lumingu', 'Nkodya', 'Ndàayà', 'Ndangù', 'Njòwa', 'Ngòvya', 'Lubingu'] + }, + 'standalone': { + 'narrow': ['L', 'N', 'N', 'N', 'N', 'N', 'L'], + 'short': ['Lum', 'Nko', 'Ndy', 'Ndg', 'Njw', 'Ngv', 'Lub'], + 'abbreviated': ['Lum', 'Nko', 'Ndy', 'Ndg', 'Njw', 'Ngv', 'Lub'], + 'wide': ['Lumingu', 'Nkodya', 'Ndàayà', 'Ndangù', 'Njòwa', 'Ngòvya', 'Lubingu'] + } + }, + 'months': { + 'format': { + 'narrow': ['C', 'L', 'L', 'M', 'L', 'L', 'K', 'L', 'L', 'L', 'K', 'C'], + 'abbreviated': + ['Cio', 'Lui', 'Lus', 'Muu', 'Lum', 'Luf', 'Kab', 'Lush', 'Lut', 'Lun', 'Kas', 'Cis'], + 'wide': [ + 'Ciongo', 'Lùishi', 'Lusòlo', 'Mùuyà', 'Lumùngùlù', 'Lufuimi', 'Kabàlàshìpù', + 'Lùshìkà', 'Lutongolo', 'Lungùdi', 'Kaswèkèsè', 'Ciswà' + ] + }, + 'standalone': { + 'narrow': ['C', 'L', 'L', 'M', 'L', 'L', 'K', 'L', 'L', 'L', 'K', 'C'], + 'abbreviated': + ['Cio', 'Lui', 'Lus', 'Muu', 'Lum', 'Luf', 'Kab', 'Lush', 'Lut', 'Lun', 'Kas', 'Cis'], + 'wide': [ + 'Ciongo', 'Lùishi', 'Lusòlo', 'Mùuyà', 'Lumùngùlù', 'Lufuimi', 'Kabàlàshìpù', + 'Lùshìkà', 'Lutongolo', 'Lungùdi', 'Kaswèkèsè', 'Ciswà' + ] + } + }, + 'eras': { + 'abbreviated': ['kmp. Y.K.', 'kny. Y. K.'], + 'narrow': ['kmp. Y.K.', 'kny. Y. K.'], + 'wide': ['Kumpala kwa Yezu Kli', 'Kunyima kwa Yezu Kli'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FC', 'name': 'Nfalanga wa Kongu'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_luo.ts b/packages/core/src/i18n/data/locale_luo.ts new file mode 100644 index 00000000000000..19e115bc6e4f52 --- /dev/null +++ b/packages/core/src/i18n/data/locale_luo.ts @@ -0,0 +1,107 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLuo: NgLocale = { + 'localeId': 'luo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'OD', 'pm': 'OT'}, + 'narrow': {'am': 'OD', 'pm': 'OT'}, + 'wide': {'am': 'OD', 'pm': 'OT'} + }, + 'standalone': { + 'abbreviated': {'am': 'OD', 'pm': 'OT'}, + 'narrow': {'am': 'OD', 'pm': 'OT'}, + 'wide': {'am': 'OD', 'pm': 'OT'} + } + }, + 'days': { + 'format': { + 'narrow': ['J', 'W', 'T', 'T', 'T', 'T', 'N'], + 'short': ['JMP', 'WUT', 'TAR', 'TAD', 'TAN', 'TAB', 'NGS'], + 'abbreviated': ['JMP', 'WUT', 'TAR', 'TAD', 'TAN', 'TAB', 'NGS'], + 'wide': [ + 'Jumapil', 'Wuok Tich', 'Tich Ariyo', 'Tich Adek', 'Tich Ang’wen', 'Tich Abich', 'Ngeso' + ] + }, + 'standalone': { + 'narrow': ['J', 'W', 'T', 'T', 'T', 'T', 'N'], + 'short': ['JMP', 'WUT', 'TAR', 'TAD', 'TAN', 'TAB', 'NGS'], + 'abbreviated': ['JMP', 'WUT', 'TAR', 'TAD', 'TAN', 'TAB', 'NGS'], + 'wide': [ + 'Jumapil', 'Wuok Tich', 'Tich Ariyo', 'Tich Adek', 'Tich Ang’wen', 'Tich Abich', 'Ngeso' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['C', 'R', 'D', 'N', 'B', 'U', 'B', 'B', 'C', 'P', 'C', 'P'], + 'abbreviated': + ['DAC', 'DAR', 'DAD', 'DAN', 'DAH', 'DAU', 'DAO', 'DAB', 'DOC', 'DAP', 'DGI', 'DAG'], + 'wide': [ + 'Dwe mar Achiel', 'Dwe mar Ariyo', 'Dwe mar Adek', 'Dwe mar Ang’wen', 'Dwe mar Abich', + 'Dwe mar Auchiel', 'Dwe mar Abiriyo', 'Dwe mar Aboro', 'Dwe mar Ochiko', 'Dwe mar Apar', + 'Dwe mar gi achiel', 'Dwe mar Apar gi ariyo' + ] + }, + 'standalone': { + 'narrow': ['C', 'R', 'D', 'N', 'B', 'U', 'B', 'B', 'C', 'P', 'C', 'P'], + 'abbreviated': + ['DAC', 'DAR', 'DAD', 'DAN', 'DAH', 'DAU', 'DAO', 'DAB', 'DOC', 'DAP', 'DGI', 'DAG'], + 'wide': [ + 'Dwe mar Achiel', 'Dwe mar Ariyo', 'Dwe mar Adek', 'Dwe mar Ang’wen', 'Dwe mar Abich', + 'Dwe mar Auchiel', 'Dwe mar Abiriyo', 'Dwe mar Aboro', 'Dwe mar Ochiko', 'Dwe mar Apar', + 'Dwe mar gi achiel', 'Dwe mar Apar gi ariyo' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['BC', 'AD'], + 'wide': ['Kapok Kristo obiro', 'Ka Kristo osebiro'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Siling mar Kenya'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_luy.ts b/packages/core/src/i18n/data/locale_luy.ts new file mode 100644 index 00000000000000..299ad881666e7f --- /dev/null +++ b/packages/core/src/i18n/data/locale_luy.ts @@ -0,0 +1,107 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLuy: NgLocale = { + 'localeId': 'luy', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + }, + 'standalone': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'], + 'abbreviated': ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'], + 'wide': [ + 'Jumapiri', 'Jumatatu', 'Jumanne', 'Jumatano', 'Murwa wa Kanne', 'Murwa wa Katano', + 'Jumamosi' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'], + 'abbreviated': ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'], + 'wide': [ + 'Jumapiri', 'Jumatatu', 'Jumanne', 'Jumatano', 'Murwa wa Kanne', 'Murwa wa Katano', + 'Jumamosi' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['BC', 'AD'], + 'wide': ['Imberi ya Kuuza Kwa', 'Muhiga Kuvita Kuuza'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00;¤- #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Sirinji ya Kenya'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_lv.ts b/packages/core/src/i18n/data/locale_lv.ts new file mode 100644 index 00000000000000..7abd45257df846 --- /dev/null +++ b/packages/core/src/i18n/data/locale_lv.ts @@ -0,0 +1,187 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleLv: NgLocale = { + 'localeId': 'lv', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'pusnaktī', + 'am': 'priekšp.', + 'noon': 'pusd.', + 'pm': 'pēcp.', + 'morning1': 'no rīta', + 'afternoon1': 'pēcpusd.', + 'evening1': 'vakarā', + 'night1': 'naktī' + }, + 'narrow': { + 'midnight': 'pusnaktī', + 'am': 'priekšp.', + 'noon': 'pusd.', + 'pm': 'pēcp.', + 'morning1': 'no rīta', + 'afternoon1': 'pēcpusdienā', + 'evening1': 'vakarā', + 'night1': 'naktī' + }, + 'wide': { + 'midnight': 'pusnaktī', + 'am': 'priekšpusdienā', + 'noon': 'pusdienlaikā', + 'pm': 'pēcpusdienā', + 'morning1': 'no rīta', + 'afternoon1': 'pēcpusdienā', + 'evening1': 'vakarā', + 'night1': 'naktī' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'pusnakts', + 'am': 'priekšp.', + 'noon': 'pusd.', + 'pm': 'pēcpusd.', + 'morning1': 'rīts', + 'afternoon1': 'pēcpusdiena', + 'evening1': 'vakars', + 'night1': 'nakts' + }, + 'narrow': { + 'midnight': 'pusnakts', + 'am': 'priekšp.', + 'noon': 'pusd.', + 'pm': 'pēcp.', + 'morning1': 'rīts', + 'afternoon1': 'pēcpusd.', + 'evening1': 'vakars', + 'night1': 'nakts' + }, + 'wide': { + 'midnight': 'pusnakts', + 'am': 'priekšpusdiena', + 'noon': 'pusdienlaiks', + 'pm': 'pēcpusdiena', + 'morning1': 'rīts', + 'afternoon1': 'pēcpusdiena', + 'evening1': 'vakars', + 'night1': 'nakts' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'P', 'O', 'T', 'C', 'P', 'S'], + 'short': ['Sv', 'Pr', 'Ot', 'Tr', 'Ce', 'Pk', 'Se'], + 'abbreviated': ['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'], + 'wide': [ + 'svētdiena', 'pirmdiena', 'otrdiena', 'trešdiena', 'ceturtdiena', 'piektdiena', + 'sestdiena' + ] + }, + 'standalone': { + 'narrow': ['S', 'P', 'O', 'T', 'C', 'P', 'S'], + 'short': ['Sv', 'Pr', 'Ot', 'Tr', 'Ce', 'Pk', 'Se'], + 'abbreviated': ['Svētd.', 'Pirmd.', 'Otrd.', 'Trešd.', 'Ceturtd.', 'Piektd.', 'Sestd.'], + 'wide': [ + 'Svētdiena', 'Pirmdiena', 'Otrdiena', 'Trešdiena', 'Ceturtdiena', 'Piektdiena', + 'Sestdiena' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'febr.', 'marts', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', + 'nov.', 'dec.' + ], + 'wide': [ + 'janvāris', 'februāris', 'marts', 'aprīlis', 'maijs', 'jūnijs', 'jūlijs', 'augusts', + 'septembris', 'oktobris', 'novembris', 'decembris' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'janv.', 'febr.', 'marts', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', + 'nov.', 'dec.' + ], + 'wide': [ + 'janvāris', 'februāris', 'marts', 'aprīlis', 'maijs', 'jūnijs', 'jūlijs', 'augusts', + 'septembris', 'oktobris', 'novembris', 'decembris' + ] + } + }, + 'eras': { + 'abbreviated': ['p.m.ē.', 'm.ē.'], + 'narrow': ['p.m.ē.', 'm.ē.'], + 'wide': ['pirms mūsu ēras', 'mūsu ērā'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, y. \'gada\' d. MMMM', + 'long': 'y. \'gada\' d. MMMM', + 'medium': 'y. \'gada\' d. MMM', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '23:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '23:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NS', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'eiro'}, + 'getPluralCase': function(n: number): Plural { + let v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 || + v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19) + return Plural.Zero; + if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) || + !(v === 2) && f % 10 === 1) + return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_mas-TZ.ts b/packages/core/src/i18n/data/locale_mas-TZ.ts new file mode 100644 index 00000000000000..c35510ab261429 --- /dev/null +++ b/packages/core/src/i18n/data/locale_mas-TZ.ts @@ -0,0 +1,114 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMasTZ: NgLocale = { + 'localeId': 'mas-TZ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'}, + 'narrow': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'}, + 'wide': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'} + }, + 'standalone': { + 'abbreviated': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'}, + 'narrow': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'}, + 'wide': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'} + } + }, + 'days': { + 'format': { + 'narrow': ['2', '3', '4', '5', '6', '7', '1'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': [ + 'Jumapílí', 'Jumatátu', 'Jumane', 'Jumatánɔ', 'Alaámisi', 'Jumáa', 'Jumamósi' + ] + }, + 'standalone': { + 'narrow': ['2', '3', '4', '5', '6', '7', '1'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': [ + 'Jumapílí', 'Jumatátu', 'Jumane', 'Jumatánɔ', 'Alaámisi', 'Jumáa', 'Jumamósi' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', + 'Ntʉ́' + ], + 'wide': [ + 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', + 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', + 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', + 'Ntʉ́' + ], + 'wide': [ + 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', + 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', + 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' + ] + } + }, + 'eras': { + 'abbreviated': ['MY', 'EY'], + 'narrow': ['MY', 'EY'], + 'wide': ['Meínō Yɛ́sʉ', 'Eínō Yɛ́sʉ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'Iropiyianí e Tanzania'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_mas.ts b/packages/core/src/i18n/data/locale_mas.ts new file mode 100644 index 00000000000000..93461c670f72dc --- /dev/null +++ b/packages/core/src/i18n/data/locale_mas.ts @@ -0,0 +1,114 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMas: NgLocale = { + 'localeId': 'mas', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'}, + 'narrow': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'}, + 'wide': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'} + }, + 'standalone': { + 'abbreviated': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'}, + 'narrow': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'}, + 'wide': {'am': 'Ɛnkakɛnyá', 'pm': 'Ɛndámâ'} + } + }, + 'days': { + 'format': { + 'narrow': ['2', '3', '4', '5', '6', '7', '1'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': [ + 'Jumapílí', 'Jumatátu', 'Jumane', 'Jumatánɔ', 'Alaámisi', 'Jumáa', 'Jumamósi' + ] + }, + 'standalone': { + 'narrow': ['2', '3', '4', '5', '6', '7', '1'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': [ + 'Jumapílí', 'Jumatátu', 'Jumane', 'Jumatánɔ', 'Alaámisi', 'Jumáa', 'Jumamósi' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', + 'Ntʉ́' + ], + 'wide': [ + 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', + 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', + 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Dal', 'Ará', 'Ɔɛn', 'Doy', 'Lép', 'Rok', 'Sás', 'Bɔ́r', 'Kús', 'Gís', 'Shʉ́', + 'Ntʉ́' + ], + 'wide': [ + 'Oladalʉ́', 'Arát', 'Ɔɛnɨ́ɔɨŋɔk', 'Olodoyíóríê inkókúâ', + 'Oloilépūnyīē inkókúâ', 'Kújúɔrɔk', 'Mórusásin', 'Ɔlɔ́ɨ́bɔ́rárɛ', + 'Kúshîn', 'Olgísan', 'Pʉshʉ́ka', 'Ntʉ́ŋʉ́s' + ] + } + }, + 'eras': { + 'abbreviated': ['MY', 'EY'], + 'narrow': ['MY', 'EY'], + 'wide': ['Meínō Yɛ́sʉ', 'Eínō Yɛ́sʉ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Iropiyianí e Kenya'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_mer.ts b/packages/core/src/i18n/data/locale_mer.ts new file mode 100644 index 00000000000000..15cc04f5059f75 --- /dev/null +++ b/packages/core/src/i18n/data/locale_mer.ts @@ -0,0 +1,101 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMer: NgLocale = { + 'localeId': 'mer', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'RŨ', 'pm': 'ŨG'}, + 'narrow': {'am': 'RŨ', 'pm': 'ŨG'}, + 'wide': {'am': 'RŨ', 'pm': 'ŨG'} + }, + 'standalone': { + 'abbreviated': {'am': 'RŨ', 'pm': 'ŨG'}, + 'narrow': {'am': 'RŨ', 'pm': 'ŨG'}, + 'wide': {'am': 'RŨ', 'pm': 'ŨG'} + } + }, + 'days': { + 'format': { + 'narrow': ['K', 'M', 'W', 'W', 'W', 'W', 'J'], + 'short': ['KIU', 'MRA', 'WAI', 'WET', 'WEN', 'WTN', 'JUM'], + 'abbreviated': ['KIU', 'MRA', 'WAI', 'WET', 'WEN', 'WTN', 'JUM'], + 'wide': ['Kiumia', 'Muramuko', 'Wairi', 'Wethatu', 'Wena', 'Wetano', 'Jumamosi'] + }, + 'standalone': { + 'narrow': ['K', 'M', 'W', 'W', 'W', 'W', 'J'], + 'short': ['KIU', 'MRA', 'WAI', 'WET', 'WEN', 'WTN', 'JUM'], + 'abbreviated': ['KIU', 'MRA', 'WAI', 'WET', 'WEN', 'WTN', 'JUM'], + 'wide': ['Kiumia', 'Muramuko', 'Wairi', 'Wethatu', 'Wena', 'Wetano', 'Jumamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'Ĩ', 'M', 'N', 'N', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['JAN', 'FEB', 'MAC', 'ĨPU', 'MĨĨ', 'NJU', 'NJR', 'AGA', 'SPT', 'OKT', 'NOV', 'DEC'], + 'wide': [ + 'Januarĩ', 'Feburuarĩ', 'Machi', 'Ĩpurũ', 'Mĩĩ', 'Njuni', 'Njuraĩ', 'Agasti', + 'Septemba', 'Oktũba', 'Novemba', 'Dicemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'Ĩ', 'M', 'N', 'N', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['JAN', 'FEB', 'MAC', 'ĨPU', 'MĨĨ', 'NJU', 'NJR', 'AGA', 'SPT', 'OKT', 'NOV', 'DEC'], + 'wide': [ + 'Januarĩ', 'Feburuarĩ', 'Machi', 'Ĩpurũ', 'Mĩĩ', 'Njuni', 'Njuraĩ', 'Agasti', + 'Septemba', 'Oktũba', 'Novemba', 'Dicemba' + ] + } + }, + 'eras': { + 'abbreviated': ['MK', 'NK'], + 'narrow': ['MK', 'NK'], + 'wide': ['Mbere ya Kristũ', 'Nyuma ya Kristũ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Shilingi ya Kenya'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_mfe.ts b/packages/core/src/i18n/data/locale_mfe.ts new file mode 100644 index 00000000000000..1c3ef60f00513f --- /dev/null +++ b/packages/core/src/i18n/data/locale_mfe.ts @@ -0,0 +1,100 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMfe: NgLocale = { + 'localeId': 'mfe', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['d', 'l', 'm', 'm', 'z', 'v', 's'], + 'short': ['dim', 'lin', 'mar', 'mer', 'ze', 'van', 'sam'], + 'abbreviated': ['dim', 'lin', 'mar', 'mer', 'ze', 'van', 'sam'], + 'wide': ['dimans', 'lindi', 'mardi', 'merkredi', 'zedi', 'vandredi', 'samdi'] + }, + 'standalone': { + 'narrow': ['d', 'l', 'm', 'm', 'z', 'v', 's'], + 'short': ['dim', 'lin', 'mar', 'mer', 'ze', 'van', 'sam'], + 'abbreviated': ['dim', 'lin', 'mar', 'mer', 'ze', 'van', 'sam'], + 'wide': ['dimans', 'lindi', 'mardi', 'merkredi', 'zedi', 'vandredi', 'samdi'] + } + }, + 'months': { + 'format': { + 'narrow': ['z', 'f', 'm', 'a', 'm', 'z', 'z', 'o', 's', 'o', 'n', 'd'], + 'abbreviated': + ['zan', 'fev', 'mar', 'avr', 'me', 'zin', 'zil', 'out', 'sep', 'okt', 'nov', 'des'], + 'wide': [ + 'zanvie', 'fevriye', 'mars', 'avril', 'me', 'zin', 'zilye', 'out', 'septam', 'oktob', + 'novam', 'desam' + ] + }, + 'standalone': { + 'narrow': ['z', 'f', 'm', 'a', 'm', 'z', 'z', 'o', 's', 'o', 'n', 'd'], + 'abbreviated': + ['zan', 'fev', 'mar', 'avr', 'me', 'zin', 'zil', 'out', 'sep', 'okt', 'nov', 'des'], + 'wide': [ + 'zanvie', 'fevriye', 'mars', 'avril', 'me', 'zin', 'zilye', 'out', 'septam', 'oktob', + 'novam', 'desam' + ] + } + }, + 'eras': { + 'abbreviated': ['av. Z-K', 'ap. Z-K'], + 'narrow': ['av. Z-K', 'ap. Z-K'], + 'wide': ['avan Zezi-Krist', 'apre Zezi-Krist'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Rs', 'name': 'roupi morisien'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_mg.ts b/packages/core/src/i18n/data/locale_mg.ts new file mode 100644 index 00000000000000..04777bb179b849 --- /dev/null +++ b/packages/core/src/i18n/data/locale_mg.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMg: NgLocale = { + 'localeId': 'mg', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['A', 'A', 'T', 'A', 'A', 'Z', 'A'], + 'short': ['Alah', 'Alats', 'Tal', 'Alar', 'Alak', 'Zom', 'Asab'], + 'abbreviated': ['Alah', 'Alats', 'Tal', 'Alar', 'Alak', 'Zom', 'Asab'], + 'wide': ['Alahady', 'Alatsinainy', 'Talata', 'Alarobia', 'Alakamisy', 'Zoma', 'Asabotsy'] + }, + 'standalone': { + 'narrow': ['A', 'A', 'T', 'A', 'A', 'Z', 'A'], + 'short': ['Alah', 'Alats', 'Tal', 'Alar', 'Alak', 'Zom', 'Asab'], + 'abbreviated': ['Alah', 'Alats', 'Tal', 'Alar', 'Alak', 'Zom', 'Asab'], + 'wide': ['Alahady', 'Alatsinainy', 'Talata', 'Alarobia', 'Alakamisy', 'Zoma', 'Asabotsy'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'Mey', 'Jon', 'Jol', 'Aog', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Janoary', 'Febroary', 'Martsa', 'Aprily', 'Mey', 'Jona', 'Jolay', 'Aogositra', + 'Septambra', 'Oktobra', 'Novambra', 'Desambra' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'Mey', 'Jon', 'Jol', 'Aog', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Janoary', 'Febroary', 'Martsa', 'Aprily', 'Mey', 'Jona', 'Jolay', 'Aogositra', + 'Septambra', 'Oktobra', 'Novambra', 'Desambra' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['BC', 'AD'], + 'wide': ['Alohan’i JK', 'Aorian’i JK'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ar', 'name': 'Ariary'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_mgh.ts b/packages/core/src/i18n/data/locale_mgh.ts new file mode 100644 index 00000000000000..0e760776268a89 --- /dev/null +++ b/packages/core/src/i18n/data/locale_mgh.ts @@ -0,0 +1,103 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMgh: NgLocale = { + 'localeId': 'mgh', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'wichishu', 'pm': 'mchochil’l'}, + 'narrow': {'am': 'wichishu', 'pm': 'mchochil’l'}, + 'wide': {'am': 'wichishu', 'pm': 'mchochil’l'} + }, + 'standalone': { + 'abbreviated': {'am': 'wichishu', 'pm': 'mchochil’l'}, + 'narrow': {'am': 'wichishu', 'pm': 'mchochil’l'}, + 'wide': {'am': 'wichishu', 'pm': 'mchochil’l'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Sab', 'Jtt', 'Jnn', 'Jtn', 'Ara', 'Iju', 'Jmo'], + 'abbreviated': ['Sab', 'Jtt', 'Jnn', 'Jtn', 'Ara', 'Iju', 'Jmo'], + 'wide': ['Sabato', 'Jumatatu', 'Jumanne', 'Jumatano', 'Arahamisi', 'Ijumaa', 'Jumamosi'] + }, + 'standalone': { + 'narrow': ['S', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Sab', 'Jtt', 'Jnn', 'Jtn', 'Ara', 'Iju', 'Jmo'], + 'abbreviated': ['Sab', 'Jtt', 'Jnn', 'Jtn', 'Ara', 'Iju', 'Jmo'], + 'wide': ['Sabato', 'Jumatatu', 'Jumanne', 'Jumatano', 'Arahamisi', 'Ijumaa', 'Jumamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['K', 'U', 'R', 'C', 'T', 'M', 'S', 'N', 'T', 'K', 'M', 'Y'], + 'abbreviated': + ['Kwa', 'Una', 'Rar', 'Che', 'Tha', 'Moc', 'Sab', 'Nan', 'Tis', 'Kum', 'Moj', 'Yel'], + 'wide': [ + 'Mweri wo kwanza', 'Mweri wo unayeli', 'Mweri wo uneraru', 'Mweri wo unecheshe', + 'Mweri wo unethanu', 'Mweri wo thanu na mocha', 'Mweri wo saba', 'Mweri wo nane', + 'Mweri wo tisa', 'Mweri wo kumi', 'Mweri wo kumi na moja', 'Mweri wo kumi na yel’li' + ] + }, + 'standalone': { + 'narrow': ['K', 'U', 'R', 'C', 'T', 'M', 'S', 'N', 'T', 'K', 'M', 'Y'], + 'abbreviated': + ['Kwa', 'Una', 'Rar', 'Che', 'Tha', 'Moc', 'Sab', 'Nan', 'Tis', 'Kum', 'Moj', 'Yel'], + 'wide': [ + 'Mweri wo kwanza', 'Mweri wo unayeli', 'Mweri wo uneraru', 'Mweri wo unecheshe', + 'Mweri wo unethanu', 'Mweri wo thanu na mocha', 'Mweri wo saba', 'Mweri wo nane', + 'Mweri wo tisa', 'Mweri wo kumi', 'Mweri wo kumi na moja', 'Mweri wo kumi na yel’li' + ] + } + }, + 'eras': { + 'abbreviated': ['HY', 'YY'], + 'narrow': ['HY', 'YY'], + 'wide': ['Hinapiya yesu', 'Yopia yesu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MTn', 'name': 'MZN'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_mgo.ts b/packages/core/src/i18n/data/locale_mgo.ts new file mode 100644 index 00000000000000..5febda90e6d6a9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_mgo.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMgo: NgLocale = { + 'localeId': 'mgo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], + 'short': ['1', '2', '3', '4', '5', '6', '7'], + 'abbreviated': ['Aneg 1', 'Aneg 2', 'Aneg 3', 'Aneg 4', 'Aneg 5', 'Aneg 6', 'Aneg 7'], + 'wide': ['Aneg 1', 'Aneg 2', 'Aneg 3', 'Aneg 4', 'Aneg 5', 'Aneg 6', 'Aneg 7'] + }, + 'standalone': { + 'narrow': ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7'], + 'short': ['1', '2', '3', '4', '5', '6', '7'], + 'abbreviated': ['Aneg 1', 'Aneg 2', 'Aneg 3', 'Aneg 4', 'Aneg 5', 'Aneg 6', 'Aneg 7'], + 'wide': ['Aneg 1', 'Aneg 2', 'Aneg 3', 'Aneg 4', 'Aneg 5', 'Aneg 6', 'Aneg 7'] + } + }, + 'months': { + 'format': { + 'narrow': ['M1', 'A2', 'M3', 'N4', 'F5', 'I6', 'A7', 'I8', 'K9', '10', '11', '12'], + 'abbreviated': [ + 'mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', + 'iməg ichiibɔd', 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', + 'iməg zò', 'iməg krizmed' + ], + 'wide': [ + 'iməg mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', + 'iməg ichiibɔd', 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', + 'iməg zò', 'iməg krizmed' + ] + }, + 'standalone': { + 'narrow': ['M1', 'A2', 'M3', 'N4', 'F5', 'I6', 'A7', 'I8', 'K9', '10', '11', '12'], + 'abbreviated': [ + 'mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', + 'iməg ichiibɔd', 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', + 'iməg zò', 'iməg krizmed' + ], + 'wide': [ + 'iməg mbegtug', 'imeg àbùbì', 'imeg mbəŋchubi', 'iməg ngwə̀t', 'iməg fog', + 'iməg ichiibɔd', 'iməg àdùmbə̀ŋ', 'iməg ichika', 'iməg kud', 'iməg tèsiʼe', + 'iməg zò', 'iməg krizmed' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, y MMMM dd', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'shirè'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_mk.ts b/packages/core/src/i18n/data/locale_mk.ts new file mode 100644 index 00000000000000..9c6bbbe272b34e --- /dev/null +++ b/packages/core/src/i18n/data/locale_mk.ts @@ -0,0 +1,188 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMk: NgLocale = { + 'localeId': 'mk', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'полноќ', + 'am': 'претпл.', + 'noon': 'напладне', + 'pm': 'попл.', + 'morning1': 'наутро', + 'morning2': 'претпл.', + 'afternoon1': 'попл.', + 'evening1': 'навечер', + 'night1': 'ноќе' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'претпл.', + 'noon': 'напл.', + 'pm': 'попл.', + 'morning1': 'утро', + 'morning2': 'претпл.', + 'afternoon1': 'попл.', + 'evening1': 'веч.', + 'night1': 'ноќе' + }, + 'wide': { + 'midnight': 'полноќ', + 'am': 'претпладне', + 'noon': 'напладне', + 'pm': 'попладне', + 'morning1': 'наутро', + 'morning2': 'претпладне', + 'afternoon1': 'попладне', + 'evening1': 'навечер', + 'night1': 'по полноќ' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'полноќ', + 'am': 'претпл.', + 'noon': 'напладне', + 'pm': 'попл.', + 'morning1': 'наутро', + 'morning2': 'претпл.', + 'afternoon1': 'попл.', + 'evening1': 'навечер', + 'night1': 'по полноќ' + }, + 'narrow': { + 'midnight': 'полноќ', + 'am': 'претпл.', + 'noon': 'пладне', + 'pm': 'попл.', + 'morning1': 'наутро', + 'morning2': 'претпладне', + 'afternoon1': 'попладне', + 'evening1': 'навечер', + 'night1': 'по полноќ' + }, + 'wide': { + 'midnight': 'на полноќ', + 'am': 'претпладне', + 'noon': 'напладне', + 'pm': 'попладне', + 'morning1': 'наутро', + 'morning2': 'претпладне', + 'afternoon1': 'попладне', + 'evening1': 'навечер', + 'night1': 'по полноќ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], + 'short': ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'], + 'abbreviated': ['нед.', 'пон.', 'вт.', 'сре.', 'чет.', 'пет.', 'саб.'], + 'wide': [ + 'недела', 'понеделник', 'вторник', 'среда', + 'четврток', 'петок', 'сабота' + ] + }, + 'standalone': { + 'narrow': ['н', 'п', 'в', 'с', 'ч', 'п', 'с'], + 'short': ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'], + 'abbreviated': + ['нед.', 'пон.', 'вто.', 'сре.', 'чет.', 'пет.', 'саб.'], + 'wide': [ + 'недела', 'понеделник', 'вторник', 'среда', + 'четврток', 'петок', 'сабота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан.', 'фев.', 'мар.', 'апр.', 'мај', 'јун.', 'јул.', 'авг.', + 'септ.', 'окт.', 'ноем.', 'дек.' + ], + 'wide': [ + 'јануари', 'февруари', 'март', 'април', 'мај', 'јуни', + 'јули', 'август', 'септември', 'октомври', 'н��ември', + 'декември' + ] + }, + 'standalone': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан.', 'фев.', 'мар.', 'апр.', 'мај', 'јун.', 'јул.', 'авг.', + 'септ.', 'окт.', 'ноем.', 'дек.' + ], + 'wide': [ + 'јануари', 'февруари', 'март', 'април', 'мај', 'јуни', + 'јули', 'август', 'септември', 'октомври', 'ноември', + 'декември' + ] + } + }, + 'eras': { + 'abbreviated': ['пр.н.е.', 'н.е.'], + 'narrow': ['пр.н.е.', 'н.е.'], + 'wide': ['пред нашата ера', 'од нашата ера'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, dd MMMM y', 'long': 'dd MMMM y', 'medium': 'dd.M.y', 'short': 'dd.M.yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ден', 'name': 'Македонски денар'}, + 'getPluralCase': function(n: number): Plural { + 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 || f % 10 === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ml.ts b/packages/core/src/i18n/data/locale_ml.ts new file mode 100644 index 00000000000000..b42106db9956aa --- /dev/null +++ b/packages/core/src/i18n/data/locale_ml.ts @@ -0,0 +1,226 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMl: NgLocale = { + 'localeId': 'ml', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'അർദ്ധരാത്രി', + 'am': 'AM', + 'noon': 'ഉച്ച', + 'pm': 'PM', + 'morning1': 'പുലർച്ചെ', + 'morning2': 'രാവിലെ', + 'afternoon1': 'ഉച്ചയ്ക്ക്', + 'afternoon2': 'ഉച്ചതിരിഞ്ഞ്', + 'evening1': 'വൈകുന്നേരം', + 'evening2': 'സന്ധ്യ', + 'night1': 'രാത്രി' + }, + 'narrow': { + 'midnight': 'അ', + 'am': 'AM', + 'noon': 'ഉച്ച', + 'pm': 'PM', + 'morning1': 'പുലർച്ചെ', + 'morning2': 'രാവിലെ', + 'afternoon1': 'ഉച്ചയ്', + 'afternoon2': 'ഉച്ചതി', + 'evening1': 'വൈ', + 'evening2': 'സന്ധ്യ', + 'night1': 'രാത്രി' + }, + 'wide': { + 'midnight': 'അർദ്ധരാത്രി', + 'am': 'AM', + 'noon': 'ഉച്ച', + 'pm': 'PM', + 'morning1': 'പുലർച്ചെ', + 'morning2': 'രാവിലെ', + 'afternoon1': 'ഉച്ചയ്ക്ക്', + 'afternoon2': 'ഉച്ചതിരിഞ്ഞ്', + 'evening1': 'വൈകുന്നേരം', + 'evening2': 'സന്ധ്യ', + 'night1': 'രാത്രി' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'അർദ്ധരാത്രി', + 'am': 'AM', + 'noon': 'ഉച്ച', + 'pm': 'PM', + 'morning1': 'പുലർച്ചെ', + 'morning2': 'രാവിലെ', + 'afternoon1': 'ഉച്ചയ്ക്ക്', + 'afternoon2': 'ഉച്ചതിരിഞ്ഞ്', + 'evening1': 'വൈകുന്നേരം', + 'evening2': 'സന്ധ്യ', + 'night1': 'രാത്രി' + }, + 'narrow': { + 'midnight': 'അർദ്ധരാത്രി', + 'am': 'AM', + 'noon': 'ഉച്ച', + 'pm': 'PM', + 'morning1': 'പുലർച്ചെ', + 'morning2': 'രാവിലെ', + 'afternoon1': 'ഉച്ചയ്ക്ക്', + 'afternoon2': 'ഉച്ചതിരിഞ്ഞ്', + 'evening1': 'വൈകുന്നേരം', + 'evening2': 'സന്ധ്യ', + 'night1': 'രാത്രി' + }, + 'wide': { + 'midnight': 'അർദ്ധരാത്രി', + 'am': 'AM', + 'noon': 'ഉച്ച', + 'pm': 'PM', + 'morning1': 'പുലർച്ചെ', + 'morning2': 'രാവിലെ', + 'afternoon1': 'ഉച്ചയ്ക്ക്', + 'afternoon2': 'ഉച്ചതിരിഞ്ഞ്', + 'evening1': 'വൈകുന്നേരം', + 'evening2': 'സന്ധ്യ', + 'night1': 'രാത്രി' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ഞ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], + 'short': ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], + 'abbreviated': [ + 'ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', + 'വ്യാഴം', 'വെള്ളി', 'ശനി' + ], + 'wide': [ + 'ഞായറാഴ്‌ച', 'തിങ്കളാഴ്‌ച', + 'ചൊവ്വാഴ്ച', 'ബുധനാഴ്‌ച', + 'വ്യാഴാഴ്‌ച', 'വെള്ളിയാഴ്‌ച', + 'ശനിയാഴ്‌ച' + ] + }, + 'standalone': { + 'narrow': ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], + 'short': ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], + 'abbreviated': [ + 'ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', + 'വ്യാഴം', 'വെള്ളി', 'ശനി' + ], + 'wide': [ + 'ഞായറാഴ്‌ച', 'തിങ്കളാഴ്‌ച', + 'ചൊവ്വാഴ്‌ച', 'ബുധനാഴ്‌ച', + 'വ്യാഴാഴ്‌ച', 'വെള്ളിയാഴ്‌ച', + 'ശനിയാഴ്‌ച' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ജ', 'ഫ', 'മാ', 'ഏ', 'മെ', 'ജൂൺ', 'ജൂ', 'ഓ', 'സെ', 'ഒ', + 'ന', 'ഡി' + ], + 'abbreviated': [ + 'ജനു', 'ഫെബ്രു', 'മാർ', 'ഏപ്രി', 'മേയ്', + 'ജൂൺ', 'ജൂലൈ', 'ഓഗ', 'സെപ്റ്റം', 'ഒക്ടോ', + 'നവം', 'ഡിസം' + ], + 'wide': [ + 'ജനുവരി', 'ഫെബ്രുവരി', 'മാർച്ച്', + 'ഏപ്രിൽ', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', + 'ഓഗസ്റ്റ്', 'സെപ്റ്റംബർ', 'ഒക്‌ടോബർ', + 'നവംബർ', 'ഡിസംബർ' + ] + }, + 'standalone': { + 'narrow': [ + 'ജ', 'ഫെ', 'മാ', 'ഏ', 'മെ', 'ജൂൺ', 'ജൂ', 'ഓ', 'സെ', 'ഒ', + 'ന', 'ഡി' + ], + 'abbreviated': [ + 'ജനു', 'ഫെബ്രു', 'മാർ', 'ഏപ്രി', 'മേയ്', + 'ജൂൺ', 'ജൂലൈ', 'ഓഗ', 'സെപ്റ്റം', 'ഒക്ടോ', + 'നവം', 'ഡിസം' + ], + 'wide': [ + 'ജനുവരി', 'ഫെബ്രുവരി', 'മാർച്ച്', + 'ഏപ്രിൽ', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', + 'ഓഗസ്റ്റ്', 'സെപ്റ്റംബർ', 'ഒക്‌ടോബർ', + 'നവംബർ', 'ഡിസംബർ' + ] + } + }, + 'eras': { + 'abbreviated': ['ക്രി.മു.', 'എഡി'], + 'narrow': ['ക്രി.മു.', 'എഡി'], + 'wide': [ + 'ക്രിസ്‌തുവിന് മുമ്പ്', + 'ആന്നോ ഡൊമിനി' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'y, MMMM d, EEEE', 'long': 'y, MMMM d', 'medium': 'y, MMM d', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'afternoon2': {'from': '14:00', 'to': '15:00'}, + 'evening1': {'from': '15:00', 'to': '18:00'}, + 'evening2': {'from': '18:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '03:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '03:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'ഇന്ത്യൻ രൂപ'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_mn.ts b/packages/core/src/i18n/data/locale_mn.ts new file mode 100644 index 00000000000000..105631c5bcf85a --- /dev/null +++ b/packages/core/src/i18n/data/locale_mn.ts @@ -0,0 +1,188 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMn: NgLocale = { + 'localeId': 'mn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'шөнө дунд', + 'am': 'ҮӨ', + 'noon': 'үд дунд', + 'pm': 'ҮХ', + 'morning1': 'өглөө', + 'afternoon1': 'өдөр', + 'evening1': 'орой', + 'night1': 'шөнө' + }, + 'narrow': { + 'midnight': 'шөнө дунд', + 'am': 'үө', + 'noon': 'үд', + 'pm': 'үх', + 'morning1': 'өглөө', + 'afternoon1': 'өдөр', + 'evening1': 'орой', + 'night1': 'шөнө' + }, + 'wide': { + 'midnight': 'шөнө дунд', + 'am': 'ү.ө', + 'noon': 'үд дунд', + 'pm': 'ү.х', + 'morning1': 'өглөө', + 'afternoon1': 'өдөр', + 'evening1': 'орой', + 'night1': 'шөнө' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'шөнө дунд', + 'am': 'ҮӨ', + 'noon': 'үд дунд', + 'pm': 'ҮХ', + 'morning1': 'өглөө', + 'afternoon1': 'өдөр', + 'evening1': 'орой', + 'night1': 'шөнө' + }, + 'narrow': { + 'midnight': 'шөнө дунд', + 'am': 'ҮӨ', + 'noon': 'үд дунд', + 'pm': 'ҮХ', + 'morning1': 'өглөө', + 'afternoon1': 'өдөр', + 'evening1': 'орой', + 'night1': 'шөнө' + }, + 'wide': { + 'midnight': 'шөнө дунд', + 'am': 'ҮӨ', + 'noon': 'үд дунд', + 'pm': 'ҮХ', + 'morning1': 'өглөө', + 'afternoon1': 'өдөр', + 'evening1': 'орой', + 'night1': 'шөнө' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], + 'short': ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], + 'abbreviated': ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], + 'wide': [ + 'ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', + 'бямба' + ] + }, + 'standalone': { + 'narrow': ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], + 'short': ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], + 'abbreviated': ['Ня', 'Да', 'Мя', 'Лх', 'Пү', 'Ба', 'Бя'], + 'wide': [ + 'ням', 'даваа', 'мягмар', 'лхагва', 'пүрэв', 'баасан', + 'бямба' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', + '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', + '12-р сар' + ], + 'wide': [ + 'Нэгдүгээр сар', 'Хоёрдугаар сар', + 'Гуравдугаар сар', 'Дөрөвдүгээр сар', + 'Тавдугаар сар', 'Зургадугаар сар', 'Долдугаар сар', + 'Наймдугаар сар', 'Есдүгээр сар', 'Аравдугаар сар', + 'Арван нэгдүгээр сар', 'Арван хоёрдугаар сар' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1-р сар', '2-р сар', '3-р сар', '4-р сар', '5-р сар', '6-р сар', + '7-р сар', '8-р сар', '9-р сар', '10-р сар', '11-р сар', + '12-р сар' + ], + 'wide': [ + 'Нэгдүгээр сар', 'Хоёрдугаар сар', + 'Гуравдугаар сар', 'Дөрөвдүгээр сар', + 'Тавдугаар сар', 'Зургадугаар сар', 'Долдугаар сар', + 'Наймдугаар сар', 'Есдүгээр сар', 'Аравдугаар сар', + 'Арван нэгдүгээр сар', 'Арван хоёрдугаар сар' + ] + } + }, + 'eras': { + 'abbreviated': ['м.э.ө', 'м.э.'], + 'narrow': ['МЭӨ', 'МЭ'], + 'wide': ['манай эриний өмнөх', 'манай эриний'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, y \'оны\' MM \'сарын\' d', + 'long': 'y\'оны\' MMMM\'сарын\' d\'өдөр\'', + 'medium': 'y MMM d', + 'short': 'y-MM-dd' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₮', 'name': 'төгрөг'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_mr.ts b/packages/core/src/i18n/data/locale_mr.ts new file mode 100644 index 00000000000000..fe3174b4459b32 --- /dev/null +++ b/packages/core/src/i18n/data/locale_mr.ts @@ -0,0 +1,218 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMr: NgLocale = { + 'localeId': 'mr', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'मध्यरात्र', + 'am': 'म.पू.', + 'noon': 'मध्यान्ह', + 'pm': 'म.उ.', + 'morning1': 'पहाट', + 'morning2': 'सकाळ', + 'afternoon1': 'दुपार', + 'evening1': 'संध्याकाळ', + 'evening2': 'सायंकाळ', + 'night1': 'रात्र' + }, + 'narrow': { + 'midnight': 'म.रा.', + 'am': 'स', + 'noon': 'दु', + 'pm': 'सं', + 'morning1': 'प', + 'morning2': 'स', + 'afternoon1': 'दु', + 'evening1': 'सं', + 'evening2': 'सा', + 'night1': 'रा' + }, + 'wide': { + 'midnight': 'मध्यरात्र', + 'am': 'म.पू.', + 'noon': 'मध्यान्ह', + 'pm': 'म.उ.', + 'morning1': 'पहाट', + 'morning2': 'सकाळ', + 'afternoon1': 'दुपार', + 'evening1': 'संध्याकाळ', + 'evening2': 'सायंकाळ', + 'night1': 'रात्र' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'मध्यरात्र', + 'am': 'म.पू.', + 'noon': 'मध्यान्ह', + 'pm': 'म.उ.', + 'morning1': 'पहाट', + 'morning2': 'सकाळ', + 'afternoon1': 'दुपार', + 'evening1': 'संध्याकाळ', + 'evening2': 'सायंकाळ', + 'night1': 'रात्र' + }, + 'narrow': { + 'midnight': 'म.रा.', + 'am': 'म.पू.', + 'noon': 'म', + 'pm': 'म.उ.', + 'morning1': 'प', + 'morning2': 'स', + 'afternoon1': 'दु', + 'evening1': 'सं', + 'evening2': 'सा', + 'night1': 'रात्र' + }, + 'wide': { + 'midnight': 'मध्यरात्र', + 'am': 'म.पू.', + 'noon': 'मध्यान्ह', + 'pm': 'म.उ.', + 'morning1': 'पहाट', + 'morning2': 'सकाळ', + 'afternoon1': 'दुपार', + 'evening1': 'संध्याकाळ', + 'evening2': 'सायंकाळ', + 'night1': 'रात्र' + } + } + }, + 'days': { + 'format': { + 'narrow': ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + 'short': ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + 'abbreviated': [ + 'रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', + 'शनि' + ], + 'wide': [ + 'रविवार', 'सोमवार', 'मंगळवार', 'बुधवार', + 'गुरुवार', 'शुक्रवार', 'शनिवार' + ] + }, + 'standalone': { + 'narrow': ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + 'short': ['र', 'सो', 'मं', 'बु', 'गु', 'शु', 'श'], + 'abbreviated': [ + 'रवि', 'सोम', 'मंगळ', 'बुध', 'गुरु', 'शुक्र', + 'शनि' + ], + 'wide': [ + 'रविवार', 'सोमवार', 'मंगळवार', 'बुधवार', + 'गुरुवार', 'शुक्रवार', 'शनिवार' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'जा', 'फे', 'मा', 'ए', 'मे', 'जू', 'जु', 'ऑ', 'स', 'ऑ', + 'नो', 'डि' + ], + 'abbreviated': [ + 'जाने', 'फेब्रु', 'मार्च', 'एप्रि', 'मे', + 'जून', 'जुलै', 'ऑग', 'सप्टें', 'ऑक्टो', + 'नोव्हें', 'डिसें' + ], + 'wide': [ + 'जानेवारी', 'फेब्रुवारी', 'मार्च', + 'एप्रिल', 'मे', 'जून', 'जुलै', 'ऑगस्ट', + 'सप्टेंबर', 'ऑक्टोबर', 'नोव्हेंबर', + 'डिसेंबर' + ] + }, + 'standalone': { + 'narrow': [ + 'जा', 'फे', 'मा', 'ए', 'मे', 'जू', 'जु', 'ऑ', 'स', 'ऑ', + 'नो', 'डि' + ], + 'abbreviated': [ + 'जाने', 'फेब्रु', 'मार्च', 'एप्रि', 'मे', + 'जून', 'जुलै', 'ऑग', 'सप्टें', 'ऑक्टो', + 'नोव्हें', 'डिसें' + ], + 'wide': [ + 'जानेवारी', 'फेब्रुवारी', 'मार्च', + 'एप्रिल', 'मे', 'जून', 'जुलै', 'ऑगस्ट', + 'सप्टेंबर', 'ऑक्टोबर', 'नोव्हेंबर', + 'डिसेंबर' + ] + } + }, + 'eras': { + 'abbreviated': ['इ. स. पू.', 'इ. स.'], + 'narrow': ['इ. स. पू.', 'इ. स.'], + 'wide': ['ईसवीसनपूर्व', 'ईसवीसन'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM, y', 'medium': 'd MMM, y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} रोजी {0}', + 'long': '{1} रोजी {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '18:00'}, + 'evening2': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##0%', + 'scientific': '[#E0]' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'भारतीय रुपया'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ms-BN.ts b/packages/core/src/i18n/data/locale_ms-BN.ts new file mode 100644 index 00000000000000..44b03f09c2ff4d --- /dev/null +++ b/packages/core/src/i18n/data/locale_ms-BN.ts @@ -0,0 +1,155 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMsBN: NgLocale = { + 'localeId': 'ms-BN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'narrow': { + 'am': 'a', + 'pm': 'p', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'wide': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'tengah malam', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'narrow': { + 'am': 'a', + 'pm': 'p', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'wide': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'tengah malam', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + } + } + }, + 'days': { + 'format': { + 'narrow': ['A', 'I', 'S', 'R', 'K', 'J', 'S'], + 'short': ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'], + 'abbreviated': ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + 'wide': ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'] + }, + 'standalone': { + 'narrow': ['A', 'I', 'S', 'R', 'K', 'J', 'S'], + 'short': ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'], + 'abbreviated': ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + 'wide': ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], + 'wide': [ + 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', + 'Oktober', 'November', 'Disember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], + 'wide': [ + 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', + 'Oktober', 'November', 'Disember' + ] + } + }, + 'eras': {'abbreviated': ['S.M.', 'TM'], 'narrow': ['S.M.', 'TM'], 'wide': ['S.M.', 'TM']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'dd MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/MM/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'evening1': {'from': '14:00', 'to': '19:00'}, + 'morning1': {'from': '00:00', 'to': '01:00'}, + 'morning2': {'from': '01:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '24:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Dolar Brunei'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ms-SG.ts b/packages/core/src/i18n/data/locale_ms-SG.ts new file mode 100644 index 00000000000000..999fa29437a489 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ms-SG.ts @@ -0,0 +1,156 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMsSG: NgLocale = { + 'localeId': 'ms-SG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'narrow': { + 'am': 'a', + 'pm': 'p', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'wide': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'tengah malam', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'narrow': { + 'am': 'a', + 'pm': 'p', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'wide': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'tengah malam', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + } + } + }, + 'days': { + 'format': { + 'narrow': ['A', 'I', 'S', 'R', 'K', 'J', 'S'], + 'short': ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'], + 'abbreviated': ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + 'wide': ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'] + }, + 'standalone': { + 'narrow': ['A', 'I', 'S', 'R', 'K', 'J', 'S'], + 'short': ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'], + 'abbreviated': ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + 'wide': ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], + 'wide': [ + 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', + 'Oktober', 'November', 'Disember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], + 'wide': [ + 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', + 'Oktober', 'November', 'Disember' + ] + } + }, + 'eras': {'abbreviated': ['S.M.', 'TM'], 'narrow': ['S.M.', 'TM'], 'wide': ['S.M.', 'TM']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/MM/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'evening1': {'from': '14:00', 'to': '19:00'}, + 'morning1': {'from': '00:00', 'to': '01:00'}, + 'morning2': {'from': '01:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '24:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Dolar Singapura'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ms.ts b/packages/core/src/i18n/data/locale_ms.ts new file mode 100644 index 00000000000000..ed1cb58a5c357e --- /dev/null +++ b/packages/core/src/i18n/data/locale_ms.ts @@ -0,0 +1,156 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMs: NgLocale = { + 'localeId': 'ms', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'narrow': { + 'am': 'a', + 'pm': 'p', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'wide': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'tengah malam', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'narrow': { + 'am': 'a', + 'pm': 'p', + 'morning1': 'pagi', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + }, + 'wide': { + 'am': 'PG', + 'pm': 'PTG', + 'morning1': 'tengah malam', + 'morning2': 'pagi', + 'afternoon1': 'tengah hari', + 'evening1': 'petang', + 'night1': 'malam' + } + } + }, + 'days': { + 'format': { + 'narrow': ['A', 'I', 'S', 'R', 'K', 'J', 'S'], + 'short': ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'], + 'abbreviated': ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + 'wide': ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'] + }, + 'standalone': { + 'narrow': ['A', 'I', 'S', 'R', 'K', 'J', 'S'], + 'short': ['Ah', 'Is', 'Se', 'Ra', 'Kh', 'Ju', 'Sa'], + 'abbreviated': ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'], + 'wide': ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], + 'wide': [ + 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', + 'Oktober', 'November', 'Disember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'O', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogo', 'Sep', 'Okt', 'Nov', 'Dis'], + 'wide': [ + 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', + 'Oktober', 'November', 'Disember' + ] + } + }, + 'eras': {'abbreviated': ['S.M.', 'TM'], 'narrow': ['S.M.', 'TM'], 'wide': ['S.M.', 'TM']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/MM/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'evening1': {'from': '14:00', 'to': '19:00'}, + 'morning1': {'from': '00:00', 'to': '01:00'}, + 'morning2': {'from': '01:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '24:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'RM', 'name': 'Ringgit Malaysia'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_mt.ts b/packages/core/src/i18n/data/locale_mt.ts new file mode 100644 index 00000000000000..fea8d308cdb778 --- /dev/null +++ b/packages/core/src/i18n/data/locale_mt.ts @@ -0,0 +1,115 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMt: NgLocale = { + 'localeId': 'mt', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'am', 'pm': 'pm'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'am', 'pm': 'pm'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['Ħd', 'T', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], + 'short': ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], + 'abbreviated': ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], + 'wide': [ + 'Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt' + ] + }, + 'standalone': { + 'narrow': ['Ħd', 'Tn', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], + 'short': ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], + 'abbreviated': ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], + 'wide': [ + 'Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'Ġ', 'L', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'], + 'wide': [ + 'Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru', + 'Ottubru', 'Novembru', 'Diċembru' + ] + }, + 'standalone': { + 'narrow': ['Jn', 'Fr', 'Mz', 'Ap', 'Mj', 'Ġn', 'Lj', 'Aw', 'St', 'Ob', 'Nv', 'Dċ'], + 'abbreviated': + ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'], + 'wide': [ + 'Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru', + 'Ottubru', 'Novembru', 'Diċembru' + ] + } + }, + 'eras': { + 'abbreviated': ['QK', 'WK'], + 'narrow': ['QK', 'WK'], + 'wide': ['Qabel Kristu', 'Wara Kristu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'ta\'’ MMMM y', + 'long': 'd \'ta\'’ MMMM y', + 'medium': 'dd MMM y', + 'short': 'dd/MM/y' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'ewro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + if (n === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 2 && n % 100 <= 10) + return Plural.Few; + if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_mua.ts b/packages/core/src/i18n/data/locale_mua.ts new file mode 100644 index 00000000000000..2d8e4d8bd371b1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_mua.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMua: NgLocale = { + 'localeId': 'mua', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'comme', 'pm': 'lilli'}, + 'narrow': {'am': 'comme', 'pm': 'lilli'}, + 'wide': {'am': 'comme', 'pm': 'lilli'} + }, + 'standalone': { + 'abbreviated': {'am': 'comme', 'pm': 'lilli'}, + 'narrow': {'am': 'comme', 'pm': 'lilli'}, + 'wide': {'am': 'comme', 'pm': 'lilli'} + } + }, + 'days': { + 'format': { + 'narrow': ['Y', 'L', 'Z', 'O', 'A', 'G', 'E'], + 'short': ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'], + 'abbreviated': ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'], + 'wide': [ + 'Com’yakke', 'Comlaaɗii', 'Comzyiiɗii', 'Comkolle', 'Comkaldǝɓlii', 'Comgaisuu', + 'Comzyeɓsuu' + ] + }, + 'standalone': { + 'narrow': ['Y', 'L', 'Z', 'O', 'A', 'G', 'E'], + 'short': ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'], + 'abbreviated': ['Cya', 'Cla', 'Czi', 'Cko', 'Cka', 'Cga', 'Cze'], + 'wide': [ + 'Com’yakke', 'Comlaaɗii', 'Comzyiiɗii', 'Comkolle', 'Comkaldǝɓlii', 'Comgaisuu', + 'Comzyeɓsuu' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['O', 'A', 'I', 'F', 'D', 'B', 'L', 'M', 'E', 'U', 'W', 'Y'], + 'abbreviated': + ['FLO', 'CLA', 'CKI', 'FMF', 'MAD', 'MBI', 'MLI', 'MAM', 'FDE', 'FMU', 'FGW', 'FYU'], + 'wide': [ + 'Fĩi Loo', 'Cokcwaklaŋne', 'Cokcwaklii', 'Fĩi Marfoo', 'Madǝǝuutǝbijaŋ', + 'Mamǝŋgwãafahbii', 'Mamǝŋgwãalii', 'Madǝmbii', 'Fĩi Dǝɓlii', 'Fĩi Mundaŋ', + 'Fĩi Gwahlle', 'Fĩi Yuru' + ] + }, + 'standalone': { + 'narrow': ['O', 'A', 'I', 'F', 'D', 'B', 'L', 'M', 'E', 'U', 'W', 'Y'], + 'abbreviated': + ['FLO', 'CLA', 'CKI', 'FMF', 'MAD', 'MBI', 'MLI', 'MAM', 'FDE', 'FMU', 'FGW', 'FYU'], + 'wide': [ + 'Fĩi Loo', 'Cokcwaklaŋne', 'Cokcwaklii', 'Fĩi Marfoo', 'Madǝǝuutǝbijaŋ', + 'Mamǝŋgwãafahbii', 'Mamǝŋgwãalii', 'Madǝmbii', 'Fĩi Dǝɓlii', 'Fĩi Mundaŋ', + 'Fĩi Gwahlle', 'Fĩi Yuru' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'PK'], + 'narrow': ['KK', 'PK'], + 'wide': ['KǝPel Kristu', 'Pel Kristu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'solai BEAC'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_my.ts b/packages/core/src/i18n/data/locale_my.ts new file mode 100644 index 00000000000000..d670f165ed4d22 --- /dev/null +++ b/packages/core/src/i18n/data/locale_my.ts @@ -0,0 +1,193 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMy: NgLocale = { + 'localeId': 'my', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'သန်းခေါင်ယံ', + 'am': 'နံနက်', + 'noon': 'မွန်းတည့်', + 'pm': 'ညနေ', + 'morning1': 'နံနက်', + 'afternoon1': 'နေ့လယ်', + 'evening1': 'ညနေ', + 'night1': 'ည' + }, + 'narrow': { + 'midnight': 'သန်းခေါင်ယံ', + 'am': 'နံနက်', + 'noon': 'မွန်းတည့်', + 'pm': 'ညနေ', + 'morning1': 'နံနက်', + 'afternoon1': 'နေ့လယ်', + 'evening1': 'ညနေ', + 'night1': 'ည' + }, + 'wide': { + 'midnight': 'သန်းခေါင်ယံ', + 'am': 'နံနက်', + 'noon': 'မွန်းတည့်', + 'pm': 'ညနေ', + 'morning1': 'နံနက်', + 'afternoon1': 'နေ့လယ်', + 'evening1': 'ညနေ', + 'night1': 'ည' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'သန်းခေါင်ယံ', + 'am': 'နံနက်', + 'noon': 'မွန်းတည့်', + 'pm': 'ညနေ', + 'morning1': 'နံနက်', + 'afternoon1': 'နေ့လယ်', + 'evening1': 'ညနေ', + 'night1': 'ည' + }, + 'narrow': { + 'midnight': 'သန်းခေါင်ယံ', + 'am': 'နံနက်', + 'noon': 'မွန်းတည့်', + 'pm': 'ညနေ', + 'morning1': 'နံနက်', + 'afternoon1': 'နေ့လယ်', + 'evening1': 'ညနေ', + 'night1': 'ည' + }, + 'wide': { + 'midnight': 'သန်းခေါင်ယံ', + 'am': 'နံနက်', + 'noon': 'မွန်းတည့်', + 'pm': 'ညနေ', + 'morning1': 'နံနက်', + 'afternoon1': 'နေ့လယ်', + 'evening1': 'ညနေ', + 'night1': 'ည' + } + } + }, + 'days': { + 'format': { + 'narrow': ['တ', 'တ', 'အ', 'ဗ', 'က', 'သ', 'စ'], + 'short': [ + 'တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', + 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ' + ], + 'abbreviated': [ + 'တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', + 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ' + ], + 'wide': [ + 'တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', + 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ' + ] + }, + 'standalone': { + 'narrow': ['တ', 'တ', 'အ', 'ဗ', 'က', 'သ', 'စ'], + 'short': [ + 'တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', + 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ' + ], + 'abbreviated': [ + 'တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', + 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ' + ], + 'wide': [ + 'တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', + 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ' + ] + } + }, + 'months': { + 'format': { + 'narrow': + ['ဇ', 'ဖ', 'မ', 'ဧ', 'မ', 'ဇ', 'ဇ', 'ဩ', 'စ', 'အ', 'န', 'ဒ'], + 'abbreviated': [ + 'ဇန်', 'ဖေ', 'မတ်', 'ဧ', 'မေ', 'ဇွန်', 'ဇူ', 'ဩ', + 'စက်', 'အောက်', 'နို', 'ဒီ' + ], + 'wide': [ + 'ဇန်နဝါရီ', 'ဖေဖော်ဝါရီ', 'မတ်', 'ဧပြီ', + 'မေ', 'ဇွန်', 'ဇူလိုင်', 'ဩဂုတ်', + 'စက်တင်ဘာ', 'အောက်တိုဘာ', 'နိုဝင်ဘာ', + 'ဒီဇင်ဘာ' + ] + }, + 'standalone': { + 'narrow': + ['ဇ', 'ဖ', 'မ', 'ဧ', 'မ', 'ဇ', 'ဇ', 'ဩ', 'စ', 'အ', 'န', 'ဒ'], + 'abbreviated': [ + 'ဇန်', 'ဖေ', 'မတ်', 'ဧ', 'မေ', 'ဇွန်', 'ဇူ', 'ဩ', + 'စက်', 'အောက်', 'နို', 'ဒီ' + ], + 'wide': [ + 'ဇန်နဝါရီ', 'ဖေဖော်ဝါရီ', 'မတ်', 'ဧပြီ', + 'မေ', 'ဇွန်', 'ဇူလိုင်', 'ဩဂုတ်', + 'စက်တင်ဘာ', 'အောက်တိုဘာ', 'နိုဝင်ဘာ', + 'ဒီဇင်ဘာ' + ] + } + }, + 'eras': { + 'abbreviated': ['ဘီစီ', 'အေဒီ'], + 'narrow': ['ဘီစီ', 'အေဒီ'], + 'wide': [ + 'ခရစ်တော် မပေါ်မီနှစ်', 'ခရစ်နှစ်' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd-MM-yy'}, + 'time': + {'full': 'zzzz HH:mm:ss', 'long': 'z HH:mm:ss', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '00:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '24:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ဂဏန်းမဟုတ်သော', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'K', 'name': 'မြန်မာကျပ်'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_mzn.ts b/packages/core/src/i18n/data/locale_mzn.ts new file mode 100644 index 00000000000000..b08ea9bdbda158 --- /dev/null +++ b/packages/core/src/i18n/data/locale_mzn.ts @@ -0,0 +1,105 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleMzn: NgLocale = { + 'localeId': 'mzn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', + 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' + ], + 'wide': [ + 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', + 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', + 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' + ], + 'wide': [ + 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', + 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' + ] + } + }, + 'eras': { + 'abbreviated': ['پ.م', 'م.'], + 'narrow': ['پ.م', 'م.'], + 'wide': ['قبل میلاد', 'بعد میلاد'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 5], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'IRR', 'name': 'ایران ریال'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_naq.ts b/packages/core/src/i18n/data/locale_naq.ts new file mode 100644 index 00000000000000..205e155aa2c881 --- /dev/null +++ b/packages/core/src/i18n/data/locale_naq.ts @@ -0,0 +1,117 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNaq: NgLocale = { + 'localeId': 'naq', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ǁgoagas', 'pm': 'ǃuias'}, + 'narrow': {'am': 'ǁgoagas', 'pm': 'ǃuias'}, + 'wide': {'am': 'ǁgoagas', 'pm': 'ǃuias'} + }, + 'standalone': { + 'abbreviated': {'am': 'ǁgoagas', 'pm': 'ǃuias'}, + 'narrow': {'am': 'ǁgoagas', 'pm': 'ǃuias'}, + 'wide': {'am': 'ǁgoagas', 'pm': 'ǃuias'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'E', 'W', 'D', 'F', 'A'], + 'short': ['Son', 'Ma', 'De', 'Wu', 'Do', 'Fr', 'Sat'], + 'abbreviated': ['Son', 'Ma', 'De', 'Wu', 'Do', 'Fr', 'Sat'], + 'wide': [ + 'Sontaxtsees', 'Mantaxtsees', 'Denstaxtsees', 'Wunstaxtsees', 'Dondertaxtsees', + 'Fraitaxtsees', 'Satertaxtsees' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'E', 'W', 'D', 'F', 'A'], + 'short': ['Son', 'Ma', 'De', 'Wu', 'Do', 'Fr', 'Sat'], + 'abbreviated': ['Son', 'Ma', 'De', 'Wu', 'Do', 'Fr', 'Sat'], + 'wide': [ + 'Sontaxtsees', 'Mantaxtsees', 'Denstaxtsees', 'Wunstaxtsees', 'Dondertaxtsees', + 'Fraitaxtsees', 'Satertaxtsees' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'ǃKhanni', 'ǃKhanǀgôab', 'ǀKhuuǁkhâb', 'ǃHôaǂkhaib', 'ǃKhaitsâb', 'Gamaǀaeb', + 'ǂKhoesaob', 'Aoǁkhuumûǁkhâb', 'Taraǀkhuumûǁkhâb', 'ǂNûǁnâiseb', + 'ǀHooǂgaeb', 'Hôasoreǁkhâb' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'ǃKhanni', 'ǃKhanǀgôab', 'ǀKhuuǁkhâb', 'ǃHôaǂkhaib', 'ǃKhaitsâb', 'Gamaǀaeb', + 'ǂKhoesaob', 'Aoǁkhuumûǁkhâb', 'Taraǀkhuumûǁkhâb', 'ǂNûǁnâiseb', + 'ǀHooǂgaeb', 'Hôasoreǁkhâb' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['BC', 'AD'], + 'wide': ['Xristub aiǃâ', 'Xristub khaoǃgâ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ZAR', 'name': 'South African Randi'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nb-SJ.ts b/packages/core/src/i18n/data/locale_nb-SJ.ts new file mode 100644 index 00000000000000..6103a318b3d78e --- /dev/null +++ b/packages/core/src/i18n/data/locale_nb-SJ.ts @@ -0,0 +1,173 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNbSJ: NgLocale = { + 'localeId': 'nb-SJ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midn.', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'morg.', + 'morning2': 'form.', + 'afternoon1': 'etterm.', + 'evening1': 'kveld', + 'night1': 'natt' + }, + 'narrow': { + 'midnight': 'mn.', + 'am': 'a', + 'pm': 'p', + 'morning1': 'mg.', + 'morning2': 'fm.', + 'afternoon1': 'em.', + 'evening1': 'kv.', + 'night1': 'nt.' + }, + 'wide': { + 'midnight': 'midnatt', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'morgenen', + 'morning2': 'formiddagen', + 'afternoon1': 'ettermiddagen', + 'evening1': 'kvelden', + 'night1': 'natten' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midn.', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'morg.', + 'morning2': 'form.', + 'afternoon1': 'etterm.', + 'evening1': 'kveld', + 'night1': 'natt' + }, + 'narrow': { + 'midnight': 'mn.', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'mg.', + 'morning2': 'fm.', + 'afternoon1': 'em.', + 'evening1': 'kv.', + 'night1': 'nt.' + }, + 'wide': { + 'midnight': 'midnatt', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'morgen', + 'morning2': 'formiddag', + 'afternoon1': 'ettermiddag', + 'evening1': 'kveld', + 'night1': 'natt' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sø.', 'ma.', 'ti.', 'on.', 'to.', 'fr.', 'lø.'], + 'abbreviated': ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + 'wide': ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sø.', 'ma.', 'ti.', 'on.', 'to.', 'fr.', 'lø.'], + 'abbreviated': ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + 'wide': ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'des.' + ], + 'wide': [ + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'desember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], + 'wide': [ + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'desember' + ] + } + }, + 'eras': { + 'abbreviated': ['f.Kr.', 'e.Kr.'], + 'narrow': ['f.Kr.', 'e.Kr.'], + 'wide': ['før Kristus', 'etter Kristus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d. MMMM y', 'long': 'd. MMMM y', 'medium': 'd. MMM y', 'short': 'dd.MM.y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} {0}', + 'long': '{1} \'kl\'. {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr', 'name': 'norske kroner'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nb.ts b/packages/core/src/i18n/data/locale_nb.ts new file mode 100644 index 00000000000000..67c4dc9e558818 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nb.ts @@ -0,0 +1,173 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNb: NgLocale = { + 'localeId': 'nb', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midn.', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'morg.', + 'morning2': 'form.', + 'afternoon1': 'etterm.', + 'evening1': 'kveld', + 'night1': 'natt' + }, + 'narrow': { + 'midnight': 'mn.', + 'am': 'a', + 'pm': 'p', + 'morning1': 'mg.', + 'morning2': 'fm.', + 'afternoon1': 'em.', + 'evening1': 'kv.', + 'night1': 'nt.' + }, + 'wide': { + 'midnight': 'midnatt', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'morgenen', + 'morning2': 'formiddagen', + 'afternoon1': 'ettermiddagen', + 'evening1': 'kvelden', + 'night1': 'natten' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midn.', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'morg.', + 'morning2': 'form.', + 'afternoon1': 'etterm.', + 'evening1': 'kveld', + 'night1': 'natt' + }, + 'narrow': { + 'midnight': 'mn.', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'mg.', + 'morning2': 'fm.', + 'afternoon1': 'em.', + 'evening1': 'kv.', + 'night1': 'nt.' + }, + 'wide': { + 'midnight': 'midnatt', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'morgen', + 'morning2': 'formiddag', + 'afternoon1': 'ettermiddag', + 'evening1': 'kveld', + 'night1': 'natt' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sø.', 'ma.', 'ti.', 'on.', 'to.', 'fr.', 'lø.'], + 'abbreviated': ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + 'wide': ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sø.', 'ma.', 'ti.', 'on.', 'to.', 'fr.', 'lø.'], + 'abbreviated': ['søn.', 'man.', 'tir.', 'ons.', 'tor.', 'fre.', 'lør.'], + 'wide': ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'mai', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'des.' + ], + 'wide': [ + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'desember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], + 'wide': [ + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'desember' + ] + } + }, + 'eras': { + 'abbreviated': ['f.Kr.', 'e.Kr.'], + 'narrow': ['f.Kr.', 'e.Kr.'], + 'wide': ['før Kristus', 'etter Kristus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d. MMMM y', 'long': 'd. MMMM y', 'medium': 'd. MMM y', 'short': 'dd.MM.y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} {0}', + 'long': '{1} \'kl\'. {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr', 'name': 'norske kroner'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nd.ts b/packages/core/src/i18n/data/locale_nd.ts new file mode 100644 index 00000000000000..2d02197c8037ab --- /dev/null +++ b/packages/core/src/i18n/data/locale_nd.ts @@ -0,0 +1,106 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNd: NgLocale = { + 'localeId': 'nd', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'S', 'S', 'S', 'S', 'M'], + 'short': ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'], + 'abbreviated': ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'], + 'wide': ['Sonto', 'Mvulo', 'Sibili', 'Sithathu', 'Sine', 'Sihlanu', 'Mgqibelo'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'S', 'S', 'S', 'S', 'M'], + 'short': ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'], + 'abbreviated': ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'], + 'wide': ['Sonto', 'Mvulo', 'Sibili', 'Sithathu', 'Sine', 'Sihlanu', 'Mgqibelo'] + } + }, + 'months': { + 'format': { + 'narrow': ['Z', 'N', 'M', 'M', 'N', 'N', 'N', 'N', 'M', 'M', 'L', 'M'], + 'abbreviated': [ + 'Zib', 'Nhlo', 'Mbi', 'Mab', 'Nkw', 'Nhla', 'Ntu', 'Ncw', 'Mpan', 'Mfu', 'Lwe', 'Mpal' + ], + 'wide': [ + 'Zibandlela', 'Nhlolanja', 'Mbimbitho', 'Mabasa', 'Nkwenkwezi', 'Nhlangula', 'Ntulikazi', + 'Ncwabakazi', 'Mpandula', 'Mfumfu', 'Lwezi', 'Mpalakazi' + ] + }, + 'standalone': { + 'narrow': ['Z', 'N', 'M', 'M', 'N', 'N', 'N', 'N', 'M', 'M', 'L', 'M'], + 'abbreviated': [ + 'Zib', 'Nhlo', 'Mbi', 'Mab', 'Nkw', 'Nhla', 'Ntu', 'Ncw', 'Mpan', 'Mfu', 'Lwe', 'Mpal' + ], + 'wide': [ + 'Zibandlela', 'Nhlolanja', 'Mbimbitho', 'Mabasa', 'Nkwenkwezi', 'Nhlangula', 'Ntulikazi', + 'Ncwabakazi', 'Mpandula', 'Mfumfu', 'Lwezi', 'Mpalakazi' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['BC', 'AD'], + 'wide': ['UKristo angakabuyi', 'Ukristo ebuyile'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'US$', 'name': 'Dola yase Amelika'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nds-NL.ts b/packages/core/src/i18n/data/locale_nds-NL.ts new file mode 100644 index 00000000000000..1f0c24ac6003a9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nds-NL.ts @@ -0,0 +1,93 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNdsNL: NgLocale = { + 'localeId': 'nds-NL', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'EUR'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_nds.ts b/packages/core/src/i18n/data/locale_nds.ts new file mode 100644 index 00000000000000..6f5decdc5189d1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nds.ts @@ -0,0 +1,93 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNds: NgLocale = { + 'localeId': 'nds', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'EUR'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ne-IN.ts b/packages/core/src/i18n/data/locale_ne-IN.ts new file mode 100644 index 00000000000000..387a4cede093b3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ne-IN.ts @@ -0,0 +1,216 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNeIN: NgLocale = { + 'localeId': 'ne-IN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + }, + 'narrow': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + }, + 'wide': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + }, + 'narrow': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + }, + 'wide': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + } + } + }, + 'days': { + 'format': { + 'narrow': ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], + 'short': [ + 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', + 'शुक्र', 'शनि' + ], + 'abbreviated': [ + 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', + 'शुक्र', 'शनि' + ], + 'wide': [ + 'आइतबार', 'सोमबार', 'मङ्गलबार', + 'बुधबार', 'बिहिबार', 'शुक्रबार', + 'शनिबार' + ] + }, + 'standalone': { + 'narrow': ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], + 'short': [ + 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', + 'शुक्र', 'शनि' + ], + 'abbreviated': [ + 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', + 'शुक्र', 'शनि' + ], + 'wide': [ + 'आइतबार', 'सोमबार', '���ङ्गलबार', + 'बुधबार', 'बिहिबार', 'शुक्रबार', + 'शनिबार' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + '१', '२', '३', '४', '५', '६', '७', '८', '९', '१०', '११', + '१२' + ], + 'abbreviated': [ + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', + 'मे', 'जुन', 'जुलाई', 'अगस्ट', + 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' + ], + 'wide': [ + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', + 'मई', 'जुन', 'जुलाई', 'अगस्ट', + 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' + ] + }, + 'standalone': { + 'narrow': [ + '१', '२', '३', '४', '५', '६', '७', '८', '९', '१०', '११', + '१२' + ], + 'abbreviated': [ + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', + 'मे', 'जुन', 'जुलाई', 'अगस्ट', + 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' + ], + 'wide': [ + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', + 'मे', 'जुन', 'जुलाई', 'अगस्ट', + 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' + ] + } + }, + 'eras': { + 'abbreviated': ['ईसा पूर्व', 'सन्'], + 'narrow': ['ईसा पूर्व', 'सन्'], + 'wide': ['ईसा पूर्व', 'सन्'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'afternoon2': {'from': '16:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '22:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'भारतीय रूपिँया'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ne.ts b/packages/core/src/i18n/data/locale_ne.ts new file mode 100644 index 00000000000000..bddb3a22937561 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ne.ts @@ -0,0 +1,213 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNe: NgLocale = { + 'localeId': 'ne', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + }, + 'narrow': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + }, + 'wide': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + }, + 'narrow': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + }, + 'wide': { + 'midnight': 'मध्यरात', + 'am': 'पूर्वाह्न', + 'noon': 'मध्यान्ह', + 'pm': 'अपराह्न', + 'morning1': 'बिहान', + 'afternoon1': 'अपरान्ह', + 'afternoon2': 'साँझ', + 'evening1': 'बेलुका', + 'night1': 'रात' + } + } + }, + 'days': { + 'format': { + 'narrow': ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], + 'short': [ + 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', + 'शुक्र', 'शनि' + ], + 'abbreviated': [ + 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', + 'शुक्र', 'शनि' + ], + 'wide': [ + 'आइतबार', 'सोमबार', 'मङ्गलबार', + 'बुधबार', 'बिहिबार', 'शुक्रबार', + 'शनिबार' + ] + }, + 'standalone': { + 'narrow': ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'], + 'short': [ + 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', + 'शुक्र', 'शनि' + ], + 'abbreviated': [ + 'आइत', 'सोम', 'मङ्गल', 'बुध', 'बिहि', + 'शुक्र', 'शनि' + ], + 'wide': [ + 'आइतबार', 'सोमबार', 'मङ्गलबार', + 'बुधबार', 'बिहिबार', 'शुक्रबार', + 'शनिबार' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + '१', '२', '३', '४', '५', '६', '७', '८', '९', '१०', '११', + '१२' + ], + 'abbreviated': [ + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', + 'मे', 'जुन', 'जुलाई', 'अगस्ट', + 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' + ], + 'wide': [ + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', + 'मई', 'जुन', 'जुलाई', 'अगस्ट', + 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' + ] + }, + 'standalone': { + 'narrow': [ + '१', '२', '३', '४', '५', '६', '७', '८', '९', '१०', '११', + '१२' + ], + 'abbreviated': [ + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', + 'मे', 'जुन', 'जुलाई', 'अगस्ट', + 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' + ], + 'wide': [ + 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', + 'मे', 'जुन', 'जुलाई', 'अगस्ट', + 'सेप्टेम्बर', 'अक्टोबर', 'नोभेम्बर', + 'डिसेम्बर' + ] + } + }, + 'eras': { + 'abbreviated': ['ईसा पूर्व', 'सन्'], + 'narrow': ['ईसा पूर्व', 'सन्'], + 'wide': ['ईसा पूर्व', 'सन्'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'afternoon2': {'from': '16:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '22:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': + {'symbol': 'नेरू', 'name': 'नेपाली रूपैयाँ'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nl-AW.ts b/packages/core/src/i18n/data/locale_nl-AW.ts new file mode 100644 index 00000000000000..046eb7fbc29cf9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nl-AW.ts @@ -0,0 +1,169 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNlAW: NgLocale = { + 'localeId': 'nl-AW', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + }, + 'standalone': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['v.Chr.', 'n.Chr.'], + 'narrow': ['v.C.', 'n.C.'], + 'wide': ['voor Christus', 'na Christus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd-MM-yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'om\' {0}', + 'long': '{1} \'om\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤ -#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Afl.', 'name': 'Arubaanse gulden'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nl-BE.ts b/packages/core/src/i18n/data/locale_nl-BE.ts new file mode 100644 index 00000000000000..6ac8968bb44305 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nl-BE.ts @@ -0,0 +1,169 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNlBE: NgLocale = { + 'localeId': 'nl-BE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + }, + 'standalone': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['v.Chr.', 'n.Chr.'], + 'narrow': ['v.C.', 'n.C.'], + 'wide': ['voor Christus', 'na Christus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/MM/yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'om\' {0}', + 'long': '{1} \'om\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nl-BQ.ts b/packages/core/src/i18n/data/locale_nl-BQ.ts new file mode 100644 index 00000000000000..268e9978505da7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nl-BQ.ts @@ -0,0 +1,169 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNlBQ: NgLocale = { + 'localeId': 'nl-BQ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + }, + 'standalone': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['v.Chr.', 'n.Chr.'], + 'narrow': ['v.C.', 'n.C.'], + 'wide': ['voor Christus', 'na Christus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd-MM-yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'om\' {0}', + 'long': '{1} \'om\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤ -#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Amerikaanse dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nl-CW.ts b/packages/core/src/i18n/data/locale_nl-CW.ts new file mode 100644 index 00000000000000..565ecb28b798bb --- /dev/null +++ b/packages/core/src/i18n/data/locale_nl-CW.ts @@ -0,0 +1,169 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNlCW: NgLocale = { + 'localeId': 'nl-CW', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + }, + 'standalone': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['v.Chr.', 'n.Chr.'], + 'narrow': ['v.C.', 'n.C.'], + 'wide': ['voor Christus', 'na Christus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd-MM-yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'om\' {0}', + 'long': '{1} \'om\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤ -#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'NAf.', 'name': 'Nederlands-Antilliaanse gulden'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nl-SR.ts b/packages/core/src/i18n/data/locale_nl-SR.ts new file mode 100644 index 00000000000000..5cca46b6c21679 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nl-SR.ts @@ -0,0 +1,169 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNlSR: NgLocale = { + 'localeId': 'nl-SR', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + }, + 'standalone': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['v.Chr.', 'n.Chr.'], + 'narrow': ['v.C.', 'n.C.'], + 'wide': ['voor Christus', 'na Christus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd-MM-yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'om\' {0}', + 'long': '{1} \'om\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤ -#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Surinaamse dollar'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nl-SX.ts b/packages/core/src/i18n/data/locale_nl-SX.ts new file mode 100644 index 00000000000000..12071f065b3872 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nl-SX.ts @@ -0,0 +1,169 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNlSX: NgLocale = { + 'localeId': 'nl-SX', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + }, + 'standalone': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['v.Chr.', 'n.Chr.'], + 'narrow': ['v.C.', 'n.C.'], + 'wide': ['voor Christus', 'na Christus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd-MM-yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'om\' {0}', + 'long': '{1} \'om\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤ -#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'NAf.', 'name': 'Nederlands-Antilliaanse gulden'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nl.ts b/packages/core/src/i18n/data/locale_nl.ts new file mode 100644 index 00000000000000..cbfa55d07adbaf --- /dev/null +++ b/packages/core/src/i18n/data/locale_nl.ts @@ -0,0 +1,169 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNl: NgLocale = { + 'localeId': 'nl', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': '‘s ochtends', + 'afternoon1': '‘s middags', + 'evening1': '‘s avonds', + 'night1': '‘s nachts' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'narrow': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + }, + 'wide': { + 'midnight': 'middernacht', + 'am': 'a.m.', + 'pm': 'p.m.', + 'morning1': 'ochtend', + 'afternoon1': 'middag', + 'evening1': 'avond', + 'night1': 'nacht' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + }, + 'standalone': { + 'narrow': ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'], + 'short': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'abbreviated': ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + 'wide': ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mrt.', 'apr.', 'mei', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['v.Chr.', 'n.Chr.'], + 'narrow': ['v.C.', 'n.C.'], + 'wide': ['voor Christus', 'na Christus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd-MM-yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'om\' {0}', + 'long': '{1} \'om\' {0}', + 'medium': '{1} {0}', + 'short': '{1} {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00;¤ -#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nmg.ts b/packages/core/src/i18n/data/locale_nmg.ts new file mode 100644 index 00000000000000..1eb408c9414df8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nmg.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNmg: NgLocale = { + 'localeId': 'nmg', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'maná', 'pm': 'kugú'}, + 'narrow': {'am': 'maná', 'pm': 'kugú'}, + 'wide': {'am': 'maná', 'pm': 'kugú'} + }, + 'standalone': { + 'abbreviated': {'am': 'maná', 'pm': 'kugú'}, + 'narrow': {'am': 'maná', 'pm': 'kugú'}, + 'wide': {'am': 'maná', 'pm': 'kugú'} + } + }, + 'days': { + 'format': { + 'narrow': ['s', 'm', 's', 's', 's', 'm', 's'], + 'short': ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'mbs', 'sas'], + 'abbreviated': ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'mbs', 'sas'], + 'wide': [ + 'sɔ́ndɔ', 'mɔ́ndɔ', 'sɔ́ndɔ mafú mába', 'sɔ́ndɔ mafú málal', + 'sɔ́ndɔ mafú mána', 'mabágá má sukul', 'sásadi' + ] + }, + 'standalone': { + 'narrow': ['s', 'm', 's', 's', 's', 'm', 's'], + 'short': ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'mbs', 'sas'], + 'abbreviated': ['sɔ́n', 'mɔ́n', 'smb', 'sml', 'smn', 'mbs', 'sas'], + 'wide': [ + 'sɔ́ndɔ', 'mɔ́ndɔ', 'sɔ́ndɔ mafú mába', 'sɔ́ndɔ mafú málal', + 'sɔ́ndɔ mafú mána', 'mabágá má sukul', 'sásadi' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['ng1', 'ng2', 'ng3', 'ng4', 'ng5', 'ng6', 'ng7', 'ng8', 'ng9', 'ng10', 'ng11', 'kris'], + 'wide': [ + 'ngwɛn matáhra', 'ngwɛn ńmba', 'ngwɛn ńlal', 'ngwɛn ńna', 'ngwɛn ńtan', + 'ngwɛn ńtuó', 'ngwɛn hɛmbuɛrí', 'ngwɛn lɔmbi', 'ngwɛn rɛbvuâ', 'ngwɛn wum', + 'ngwɛn wum navǔr', 'krísimin' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['ng1', 'ng2', 'ng3', 'ng4', 'ng5', 'ng6', 'ng7', 'ng8', 'ng9', 'ng10', 'ng11', 'kris'], + 'wide': [ + 'ngwɛn matáhra', 'ngwɛn ńmba', 'ngwɛn ńlal', 'ngwɛn ńna', 'ngwɛn ńtan', + 'ngwɛn ńtuó', 'ngwɛn hɛmbuɛrí', 'ngwɛn lɔmbi', 'ngwɛn rɛbvuâ', 'ngwɛn wum', + 'ngwɛn wum navǔr', 'krísimin' + ] + } + }, + 'eras': { + 'abbreviated': ['BL', 'PB'], + 'narrow': ['BL', 'PB'], + 'wide': ['Bó Lahlɛ̄', 'Pfiɛ Burī'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'Fraŋ CFA BEAC'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_nn.ts b/packages/core/src/i18n/data/locale_nn.ts new file mode 100644 index 00000000000000..88fd2f60f4d9a6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nn.ts @@ -0,0 +1,115 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNn: NgLocale = { + 'localeId': 'nn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'f.m.', 'pm': 'e.m.'}, + 'narrow': {'am': 'f.m.', 'pm': 'e.m.'}, + 'wide': {'am': 'formiddag', 'pm': 'ettermiddag'} + }, + 'standalone': { + 'abbreviated': {'am': 'f.m.', 'pm': 'e.m.'}, + 'narrow': {'am': 'f.m.', 'pm': 'e.m.'}, + 'wide': {'am': 'f.m.', 'pm': 'e.m.'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sø.', 'må.', 'ty.', 'on.', 'to.', 'fr.', 'la.'], + 'abbreviated': ['sø.', 'må.', 'ty.', 'on.', 'to.', 'fr.', 'la.'], + 'wide': ['søndag', 'måndag', 'tysdag', 'onsdag', 'torsdag', 'fredag', 'laurdag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sø.', 'må.', 'ty.', 'on.', 'to.', 'fr.', 'la.'], + 'abbreviated': ['søn', 'mån', 'tys', 'ons', 'tor', 'fre', 'lau'], + 'wide': ['søndag', 'måndag', 'tysdag', 'onsdag', 'torsdag', 'fredag', 'laurdag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mars', 'apr.', 'mai', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', + 'des.' + ], + 'wide': [ + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'desember' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'], + 'wide': [ + 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', + 'oktober', 'november', 'desember' + ] + } + }, + 'eras': { + 'abbreviated': ['f.Kr.', 'e.Kr.'], + 'narrow': ['f.Kr.', 'e.Kr.'], + 'wide': ['f.Kr.', 'e.Kr.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d. MMMM y', 'long': 'd. MMMM y', 'medium': 'd. MMM y', 'short': 'dd.MM.y'}, + 'time': { + 'full': '\'kl\'. HH:mm:ss zzzz', + 'long': 'HH:mm:ss z', + 'medium': 'HH:mm:ss', + 'short': 'HH:mm' + }, + 'dateTime': { + 'full': '{1} {0}', + 'long': '{1} \'kl\'. {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr', 'name': 'norsk krone'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nnh.ts b/packages/core/src/i18n/data/locale_nnh.ts new file mode 100644 index 00000000000000..fd12a24cdee7d4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nnh.ts @@ -0,0 +1,145 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNnh: NgLocale = { + 'localeId': 'nnh', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'mbaʼámbaʼ', 'pm': 'ncwònzém'}, + 'narrow': {'am': 'mbaʼámbaʼ', 'pm': 'ncwònzém'}, + 'wide': {'am': 'mbaʼámbaʼ', 'pm': 'ncwònzém'} + }, + 'standalone': { + 'abbreviated': {'am': 'mbaʼámbaʼ', 'pm': 'ncwònzém'}, + 'narrow': {'am': 'mbaʼámbaʼ', 'pm': 'ncwònzém'}, + 'wide': {'am': 'mbaʼámbaʼ', 'pm': 'ncwònzém'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'lyɛʼɛ́ sẅíŋtè', 'mvfò lyɛ̌ʼ', 'mbɔ́ɔntè mvfò lyɛ̌ʼ', + 'tsètsɛ̀ɛ lyɛ̌ʼ', 'mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ', 'mvfò màga lyɛ̌ʼ', + 'màga lyɛ̌ʼ' + ], + 'abbreviated': [ + 'lyɛʼɛ́ sẅíŋtè', 'mvfò lyɛ̌ʼ', 'mbɔ́ɔntè mvfò lyɛ̌ʼ', + 'tsètsɛ̀ɛ lyɛ̌ʼ', 'mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ', 'mvfò màga lyɛ̌ʼ', + 'màga lyɛ̌ʼ' + ], + 'wide': [ + 'lyɛʼɛ́ sẅíŋtè', 'mvfò lyɛ̌ʼ', 'mbɔ́ɔntè mvfò lyɛ̌ʼ', + 'tsètsɛ̀ɛ lyɛ̌ʼ', 'mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ', 'mvfò màga lyɛ̌ʼ', + 'màga lyɛ̌ʼ' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'lyɛʼɛ́ sẅíŋtè', 'mvfò lyɛ̌ʼ', 'mbɔ́ɔntè mvfò lyɛ̌ʼ', + 'tsètsɛ̀ɛ lyɛ̌ʼ', 'mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ', 'mvfò màga lyɛ̌ʼ', + 'màga lyɛ̌ʼ' + ], + 'abbreviated': [ + 'lyɛʼɛ́ sẅíŋtè', 'mvfò lyɛ̌ʼ', 'mbɔ́ɔntè mvfò lyɛ̌ʼ', + 'tsètsɛ̀ɛ lyɛ̌ʼ', 'mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ', 'mvfò màga lyɛ̌ʼ', + 'màga lyɛ̌ʼ' + ], + 'wide': [ + 'lyɛʼɛ́ sẅíŋtè', 'mvfò lyɛ̌ʼ', 'mbɔ́ɔntè mvfò lyɛ̌ʼ', + 'tsètsɛ̀ɛ lyɛ̌ʼ', 'mbɔ́ɔntè tsetsɛ̀ɛ lyɛ̌ʼ', 'mvfò màga lyɛ̌ʼ', + 'màga lyɛ̌ʼ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'saŋ tsetsɛ̀ɛ lùm', 'saŋ kàg ngwóŋ', 'saŋ lepyè shúm', 'saŋ cÿó', + 'saŋ tsɛ̀ɛ cÿó', 'saŋ njÿoláʼ', 'saŋ tyɛ̀b tyɛ̀b mbʉ̀ŋ', + 'saŋ mbʉ̀ŋ', 'saŋ ngwɔ̀ʼ mbÿɛ', 'saŋ tàŋa tsetsáʼ', 'saŋ mejwoŋó', + 'saŋ lùm' + ], + 'wide': [ + 'saŋ tsetsɛ̀ɛ lùm', 'saŋ kàg ngwóŋ', 'saŋ lepyè shúm', 'saŋ cÿó', + 'saŋ tsɛ̀ɛ cÿó', 'saŋ njÿoláʼ', 'saŋ tyɛ̀b tyɛ̀b mbʉ̀ŋ', + 'saŋ mbʉ̀ŋ', 'saŋ ngwɔ̀ʼ mbÿɛ', 'saŋ tàŋa tsetsáʼ', 'saŋ mejwoŋó', + 'saŋ lùm' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'saŋ tsetsɛ̀ɛ lùm', 'saŋ kàg ngwóŋ', 'saŋ lepyè shúm', 'saŋ cÿó', + 'saŋ tsɛ̀ɛ cÿó', 'saŋ njÿoláʼ', 'saŋ tyɛ̀b tyɛ̀b mbʉ̀ŋ', + 'saŋ mbʉ̀ŋ', 'saŋ ngwɔ̀ʼ mbÿɛ', 'saŋ tàŋa tsetsáʼ', 'saŋ mejwoŋó', + 'saŋ lùm' + ], + 'wide': [ + 'saŋ tsetsɛ̀ɛ lùm', 'saŋ kàg ngwóŋ', 'saŋ lepyè shúm', 'saŋ cÿó', + 'saŋ tsɛ̀ɛ cÿó', 'saŋ njÿoláʼ', 'saŋ tyɛ̀b tyɛ̀b mbʉ̀ŋ', + 'saŋ mbʉ̀ŋ', 'saŋ ngwɔ̀ʼ mbÿɛ', 'saŋ tàŋa tsetsáʼ', 'saŋ mejwoŋó', + 'saŋ lùm' + ] + } + }, + 'eras': { + 'abbreviated': ['m.z.Y.', 'm.g.n.Y.'], + 'narrow': ['m.z.Y.', 'm.g.n.Y.'], + 'wide': ['mé zyé Y��sô', 'mé gÿo ńzyé Yěsô'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE , \'lyɛ\'̌ʼ d \'na\' MMMM, y', + 'long': '\'lyɛ\'̌ʼ d \'na\' MMMM, y', + 'medium': 'd MMM, y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1},{0}', 'long': '{1}, {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'feláŋ CFA'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_nus.ts b/packages/core/src/i18n/data/locale_nus.ts new file mode 100644 index 00000000000000..0d416baf2177cb --- /dev/null +++ b/packages/core/src/i18n/data/locale_nus.ts @@ -0,0 +1,114 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNus: NgLocale = { + 'localeId': 'nus', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'RW', 'pm': 'TŊ'}, + 'narrow': {'am': 'RW', 'pm': 'TŊ'}, + 'wide': {'am': 'RW', 'pm': 'TŊ'} + }, + 'standalone': { + 'abbreviated': {'am': 'RW', 'pm': 'TŊ'}, + 'narrow': {'am': 'RW', 'pm': 'TŊ'}, + 'wide': {'am': 'RW', 'pm': 'TŊ'} + } + }, + 'days': { + 'format': { + 'narrow': ['C', 'J', 'R', 'D', 'Ŋ', 'D', 'B'], + 'short': ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'], + 'abbreviated': ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'], + 'wide': [ + 'Cäŋ kuɔth', 'Jiec la̱t', 'Rɛw lätni', 'Diɔ̱k lätni', 'Ŋuaan lätni', + 'Dhieec lätni', 'Bäkɛl lätni' + ] + }, + 'standalone': { + 'narrow': ['C', 'J', 'R', 'D', 'Ŋ', 'D', 'B'], + 'short': ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'], + 'abbreviated': ['Cäŋ', 'Jiec', 'Rɛw', 'Diɔ̱k', 'Ŋuaan', 'Dhieec', 'Bäkɛl'], + 'wide': [ + 'Cäŋ kuɔth', 'Jiec la̱t', 'Rɛw lätni', 'Diɔ̱k lätni', 'Ŋuaan lätni', + 'Dhieec lätni', 'Bäkɛl lätni' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['T', 'P', 'D', 'G', 'D', 'K', 'P', 'T', 'T', 'L', 'K', 'T'], + 'abbreviated': [ + 'Tiop', 'Pɛt', 'Duɔ̱ɔ̱', 'Guak', 'Duä', 'Kor', 'Pay', 'Thoo', 'Tɛɛ', 'Laa', 'Kur', + 'Tid' + ], + 'wide': [ + 'Tiop thar pɛt', 'Pɛt', 'Duɔ̱ɔ̱ŋ', 'Guak', 'Duät', 'Kornyoot', 'Pay yie̱tni', + 'Tho̱o̱r', 'Tɛɛr', 'Laath', 'Kur', 'Tio̱p in di̱i̱t' + ] + }, + 'standalone': { + 'narrow': ['T', 'P', 'D', 'G', 'D', 'K', 'P', 'T', 'T', 'L', 'K', 'T'], + 'abbreviated': [ + 'Tiop', 'Pɛt', 'Duɔ̱ɔ̱', 'Guak', 'Duä', 'Kor', 'Pay', 'Thoo', 'Tɛɛ', 'Laa', 'Kur', + 'Tid' + ], + 'wide': [ + 'Tiop thar pɛt', 'Pɛt', 'Duɔ̱ɔ̱ŋ', 'Guak', 'Duät', 'Kornyoot', 'Pay yie̱tni', + 'Tho̱o̱r', 'Tɛɛr', 'Laath', 'Kur', 'Tio̱p in di̱i̱t' + ] + } + }, + 'eras': { + 'abbreviated': ['AY', 'ƐY'], + 'narrow': ['AY', 'ƐY'], + 'wide': ['A ka̱n Yecu ni dap', 'Ɛ ca Yecu dap'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/MM/y'}, + 'time': { + 'full': 'zzzz h:mm:ss a', + 'long': 'z h:mm:ss a', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '£', 'name': 'SSP'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_nyn.ts b/packages/core/src/i18n/data/locale_nyn.ts new file mode 100644 index 00000000000000..2ea282969bc479 --- /dev/null +++ b/packages/core/src/i18n/data/locale_nyn.ts @@ -0,0 +1,112 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleNyn: NgLocale = { + 'localeId': 'nyn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'K', 'R', 'S', 'N', 'T', 'M'], + 'short': ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], + 'abbreviated': ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], + 'wide': [ + 'Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', + 'Orwamukaaga' + ] + }, + 'standalone': { + 'narrow': ['S', 'K', 'R', 'S', 'N', 'T', 'M'], + 'short': ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], + 'abbreviated': ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'], + 'wide': [ + 'Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', + 'Orwamukaaga' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['KBZ', 'KBR', 'KST', 'KKN', 'KTN', 'KMK', 'KMS', 'KMN', 'KMW', 'KKM', 'KNK', 'KNB'], + 'wide': [ + 'Okwokubanza', 'Okwakabiri', 'Okwakashatu', 'Okwakana', 'Okwakataana', 'Okwamukaaga', + 'Okwamushanju', 'Okwamunaana', 'Okwamwenda', 'Okwaikumi', 'Okwaikumi na kumwe', + 'Okwaikumi na ibiri' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['KBZ', 'KBR', 'KST', 'KKN', 'KTN', 'KMK', 'KMS', 'KMN', 'KMW', 'KKM', 'KNK', 'KNB'], + 'wide': [ + 'Okwokubanza', 'Okwakabiri', 'Okwakashatu', 'Okwakana', 'Okwakataana', 'Okwamukaaga', + 'Okwamushanju', 'Okwamunaana', 'Okwamwenda', 'Okwaikumi', 'Okwaikumi na kumwe', + 'Okwaikumi na ibiri' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['BC', 'AD'], + 'wide': ['Kurisito Atakaijire', 'Kurisito Yaijire'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'USh', 'name': 'Eshiringi ya Uganda'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_om-KE.ts b/packages/core/src/i18n/data/locale_om-KE.ts new file mode 100644 index 00000000000000..6f7fbacf4c4087 --- /dev/null +++ b/packages/core/src/i18n/data/locale_om-KE.ts @@ -0,0 +1,105 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleOmKE: NgLocale = { + 'localeId': 'om-KE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'WD', 'pm': 'WB'}, + 'narrow': {'am': 'WD', 'pm': 'WB'}, + 'wide': {'am': 'WD', 'pm': 'WB'} + }, + 'standalone': { + 'abbreviated': {'am': 'WD', 'pm': 'WB'}, + 'narrow': {'am': 'WD', 'pm': 'WB'}, + 'wide': {'am': 'WD', 'pm': 'WB'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'W', 'Q', 'R', 'K', 'J', 'S'], + 'short': ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], + 'abbreviated': ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], + 'wide': ['Dilbata', 'Wiixata', 'Qibxata', 'Roobii', 'Kamiisa', 'Jimaata', 'Sanbata'] + }, + 'standalone': { + 'narrow': ['D', 'W', 'Q', 'R', 'K', 'J', 'S'], + 'short': ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], + 'abbreviated': ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], + 'wide': ['Dilbata', 'Wiixata', 'Qibxata', 'Roobii', 'Kamiisa', 'Jimaata', 'Sanbata'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Ama', 'Gur', 'Bit', 'Elb', 'Cam', 'Wax', 'Ado', 'Hag', 'Ful', 'Onk', 'Sad', 'Mud'], + 'wide': [ + 'Amajjii', 'Guraandhala', 'Bitooteessa', 'Elba', 'Caamsa', 'Waxabajjii', 'Adooleessa', + 'Hagayya', 'Fuulbana', 'Onkololeessa', 'Sadaasa', 'Muddee' + ] + }, + 'standalone': { + 'narrow': ['A', 'G', 'B', 'E', 'C', 'W', 'A', 'H', 'F', 'O', 'S', 'M'], + 'abbreviated': + ['Ama', 'Gur', 'Bit', 'Elb', 'Cam', 'Wax', 'Ado', 'Hag', 'Ful', 'Onk', 'Sad', 'Mud'], + 'wide': [ + 'Amajjii', 'Guraandhala', 'Bitooteessa', 'Elba', 'Caamsa', 'Waxabajjii', 'Adooleessa', + 'Hagayya', 'Fuulbana', 'Onkololeessa', 'Sadaasa', 'Muddee' + ] + } + }, + 'eras': + {'abbreviated': ['KD', 'CE'], 'narrow': ['KD', 'CE'], 'wide': ['Dheengadda Jeesu', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, MMMM d, y', + 'long': 'dd MMMM y', + 'medium': 'dd-MMM-y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'KES'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_om.ts b/packages/core/src/i18n/data/locale_om.ts new file mode 100644 index 00000000000000..0aafe0e394e779 --- /dev/null +++ b/packages/core/src/i18n/data/locale_om.ts @@ -0,0 +1,112 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleOm: NgLocale = { + 'localeId': 'om', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'WD', 'pm': 'WB'}, + 'narrow': {'am': 'WD', 'pm': 'WB'}, + 'wide': {'am': 'WD', 'pm': 'WB'} + }, + 'standalone': { + 'abbreviated': {'am': 'WD', 'pm': 'WB'}, + 'narrow': {'am': 'WD', 'pm': 'WB'}, + 'wide': {'am': 'WD', 'pm': 'WB'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], + 'abbreviated': ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], + 'wide': ['Dilbata', 'Wiixata', 'Qibxata', 'Roobii', 'Kamiisa', 'Jimaata', 'Sanbata'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], + 'abbreviated': ['Dil', 'Wix', 'Qib', 'Rob', 'Kam', 'Jim', 'San'], + 'wide': ['Dilbata', 'Wiixata', 'Qibxata', 'Roobii', 'Kamiisa', 'Jimaata', 'Sanbata'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Ama', 'Gur', 'Bit', 'Elb', 'Cam', 'Wax', 'Ado', 'Hag', 'Ful', 'Onk', 'Sad', 'Mud'], + 'wide': [ + 'Amajjii', 'Guraandhala', 'Bitooteessa', 'Elba', 'Caamsa', 'Waxabajjii', 'Adooleessa', + 'Hagayya', 'Fuulbana', 'Onkololeessa', 'Sadaasa', 'Muddee' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Ama', 'Gur', 'Bit', 'Elb', 'Cam', 'Wax', 'Ado', 'Hag', 'Ful', 'Onk', 'Sad', 'Mud'], + 'wide': [ + 'Amajjii', 'Guraandhala', 'Bitooteessa', 'Elba', 'Caamsa', 'Waxabajjii', 'Adooleessa', + 'Hagayya', 'Fuulbana', 'Onkololeessa', 'Sadaasa', 'Muddee' + ] + } + }, + 'eras': { + 'abbreviated': ['BCE', 'CE'], + 'narrow': ['BCE', 'CE'], + 'wide': ['Dheengadda Jeesu', 'CE'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, MMMM d, y', + 'long': 'dd MMMM y', + 'medium': 'dd-MMM-y', + 'short': 'dd/MM/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Br', 'name': 'Itoophiyaa Birrii'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_or.ts b/packages/core/src/i18n/data/locale_or.ts new file mode 100644 index 00000000000000..0579ac882d2323 --- /dev/null +++ b/packages/core/src/i18n/data/locale_or.ts @@ -0,0 +1,142 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleOr: NgLocale = { + 'localeId': 'or', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'am', 'pm': 'pm'}, + 'narrow': {'am': 'am', 'pm': 'pm'}, + 'wide': {'am': 'am', 'pm': 'pm'} + }, + 'standalone': { + 'abbreviated': {'am': 'am', 'pm': 'pm'}, + 'narrow': {'am': 'am', 'pm': 'pm'}, + 'wide': {'am': 'am', 'pm': 'pm'} + } + }, + 'days': { + 'format': { + 'narrow': ['ର', 'ସୋ', 'ମ', 'ବୁ', 'ଗୁ', 'ଶୁ', 'ଶ'], + 'short': [ + 'ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', + 'ଶୁକ୍ର', 'ଶନି' + ], + 'abbreviated': [ + 'ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', + 'ଶୁକ୍ର', 'ଶନି' + ], + 'wide': [ + 'ରବିବାର', 'ସୋମବାର', 'ମଙ୍ଗଳବାର', + 'ବୁଧବାର', 'ଗୁରୁବାର', 'ଶୁକ୍ରବାର', + 'ଶନିବାର' + ] + }, + 'standalone': { + 'narrow': ['ର', 'ସୋ', 'ମ', 'ବୁ', 'ଗୁ', 'ଶୁ', 'ଶ'], + 'short': [ + 'ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', + 'ଶୁକ୍ର', 'ଶନି' + ], + 'abbreviated': [ + 'ରବି', 'ସୋମ', 'ମଙ୍ଗଳ', 'ବୁଧ', 'ଗୁରୁ', + 'ଶୁକ୍ର', 'ଶନି' + ], + 'wide': [ + 'ରବିବାର', 'ସୋମବାର', 'ମଙ୍ଗଳବାର', + 'ବୁଧବାର', 'ଗୁରୁବାର', 'ଶୁକ୍ରବାର', + 'ଶନିବାର' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ଜା', 'ଫେ', 'ମା', 'ଅ', 'ମଇ', 'ଜୁ', 'ଜୁ', 'ଅ', 'ସେ', 'ଅ', + 'ନ', 'ଡି' + ], + 'abbreviated': [ + 'ଜାନୁଆରୀ', 'ଫେବୃଆରୀ', 'ମାର୍ଚ୍ଚ', + 'ଅପ୍ରେଲ', 'ମଇ', 'ଜୁନ', 'ଜୁଲାଇ', 'ଅଗଷ୍ଟ', + 'ସେପ୍ଟେମ୍ବର', 'ଅକ୍ଟୋବର', 'ନଭେମ୍ବର', + 'ଡିସେମ୍ବର' + ], + 'wide': [ + 'ଜାନୁଆରୀ', 'ଫେବୃଆରୀ', 'ମାର୍ଚ୍ଚ', + 'ଅପ୍ରେଲ', 'ମଇ', 'ଜୁନ', 'ଜୁଲାଇ', 'ଅଗଷ୍ଟ', + 'ସେପ୍ଟେମ୍ବର', 'ଅକ୍ଟୋବର', 'ନଭେମ୍ବର', + 'ଡିସେମ୍ବର' + ] + }, + 'standalone': { + 'narrow': [ + 'ଜା', 'ଫେ', 'ମା', 'ଅ', 'ମଇ', 'ଜୁ', 'ଜୁ', 'ଅ', 'ସେ', 'ଅ', + 'ନ', 'ଡି' + ], + 'abbreviated': [ + 'ଜାନୁଆରୀ', 'ଫେବୃଆରୀ', 'ମାର୍ଚ୍ଚ', + 'ଅପ୍ରେଲ', 'ମଇ', 'ଜୁନ', 'ଜୁଲାଇ', 'ଅଗଷ୍ଟ', + 'ସେପ୍ଟେମ୍ବର', 'ଅକ୍ଟୋବର', 'ନଭେମ୍ବର', + 'ଡିସେମ୍ବର' + ], + 'wide': [ + 'ଜାନୁଆରୀ', 'ଫେବୃଆରୀ', 'ମାର୍ଚ୍ଚ', + 'ଅପ୍ରେଲ', 'ମଇ', 'ଜୁନ', 'ଜୁଲାଇ', 'ଅଗଷ୍ଟ', + 'ସେପ୍ଟେମ୍ବର', 'ଅକ୍ଟୋବର', 'ନଭେମ୍ବର', + 'ଡିସେମ୍ବର' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd-M-yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'ଟଙକା'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_os-RU.ts b/packages/core/src/i18n/data/locale_os-RU.ts new file mode 100644 index 00000000000000..837f2e0e531412 --- /dev/null +++ b/packages/core/src/i18n/data/locale_os-RU.ts @@ -0,0 +1,121 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleOsRU: NgLocale = { + 'localeId': 'os-RU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'ӕмбисбоны размӕ', 'pm': 'ӕмбисбоны фӕстӕ'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], + 'short': ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], + 'abbreviated': ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], + 'wide': [ + 'хуыцаубон', 'къуырисӕр', 'дыццӕг', 'ӕртыццӕг', + 'цыппӕрӕм', 'майрӕмбон', 'сабат' + ] + }, + 'standalone': { + 'narrow': ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], + 'short': ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], + 'abbreviated': ['Хцб', 'Крс', 'Дцг', 'Ӕрт', 'Цпр', 'Мрб', 'Сбт'], + 'wide': [ + 'Хуыцаубон', 'Къуырисӕр', 'Дыццӕг', 'Ӕртыццӕг', + 'Цыппӕрӕм', 'Майрӕмбон', 'Сабат' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'фев.', 'мар.', 'апр.', 'майы', 'июны', 'июлы', 'авг.', + 'сен.', 'окт.', 'ноя.', 'дек.' + ], + 'wide': [ + 'январы', 'февралы', 'мартъийы', 'апрелы', 'майы', + 'июны', 'июлы', 'августы', 'сентябры', 'октябры', + 'ноябры', 'декабры' + ] + }, + 'standalone': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'Янв.', 'Февр.', 'Март.', 'Апр.', 'Май', 'Июнь', 'Июль', + 'Авг.', 'Сент.', 'Окт.', 'Нояб.', 'Дек.' + ], + 'wide': [ + 'Январь', 'Февраль', 'Мартъи', 'Апрель', 'Май', 'Июнь', + 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', + 'Декабрь' + ] + } + }, + 'eras': { + 'abbreviated': ['н.д.а.', 'н.д.'], + 'narrow': ['н.д.а.', 'н.д.'], + 'wide': ['н.д.а.', 'н.д.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM, y \'аз\'', + 'long': 'd MMMM, y \'аз\'', + 'medium': 'dd MMM y \'аз\'', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'НН', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₽', 'name': 'Сом'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_os.ts b/packages/core/src/i18n/data/locale_os.ts new file mode 100644 index 00000000000000..15f0f78938a7d4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_os.ts @@ -0,0 +1,121 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleOs: NgLocale = { + 'localeId': 'os', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'ӕмбисбоны размӕ', 'pm': 'ӕмбисбоны фӕстӕ'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], + 'short': ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], + 'abbreviated': ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], + 'wide': [ + 'хуыцаубон', 'къуырисӕр', 'дыццӕг', 'ӕртыццӕг', + 'цыппӕрӕм', 'майрӕмбон', 'сабат' + ] + }, + 'standalone': { + 'narrow': ['Х', 'К', 'Д', 'Ӕ', 'Ц', 'М', 'С'], + 'short': ['хцб', 'крс', 'дцг', 'ӕрт', 'цпр', 'мрб', 'сбт'], + 'abbreviated': ['Хцб', 'Крс', 'Дцг', 'Ӕрт', 'Цпр', 'Мрб', 'Сбт'], + 'wide': [ + 'Хуыцаубон', 'Къуырисӕр', 'Дыццӕг', 'Ӕртыццӕг', + 'Цыппӕрӕм', 'Майрӕмбон', 'Сабат' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'фев.', 'мар.', 'апр.', 'майы', 'июны', 'июлы', 'авг.', + 'сен.', 'окт.', 'ноя.', 'дек.' + ], + 'wide': [ + 'январы', 'февралы', 'мартъийы', 'апрелы', 'майы', + 'июны', 'июлы', 'августы', 'сентябры', 'октябры', + 'ноябры', 'декабры' + ] + }, + 'standalone': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'Янв.', 'Февр.', 'Март.', 'Апр.', 'Май', 'Июнь', 'Июль', + 'Авг.', 'Сент.', 'Окт.', 'Нояб.', 'Дек.' + ], + 'wide': [ + 'Январь', 'Февраль', 'Мартъи', 'Апрель', 'Май', 'Июнь', + 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', + 'Декабрь' + ] + } + }, + 'eras': { + 'abbreviated': ['н.д.а.', 'н.д.'], + 'narrow': ['н.д.а.', 'н.д.'], + 'wide': ['н.д.а.', 'н.д.'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM, y \'аз\'', + 'long': 'd MMMM, y \'аз\'', + 'medium': 'dd MMM y \'аз\'', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'НН', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₾', 'name': 'Лар'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pa-Arab.ts b/packages/core/src/i18n/data/locale_pa-Arab.ts new file mode 100644 index 00000000000000..28242c45b9646d --- /dev/null +++ b/packages/core/src/i18n/data/locale_pa-Arab.ts @@ -0,0 +1,128 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePaArab: NgLocale = { + 'localeId': 'pa-Arab', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ], + 'abbreviated': [ + 'اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ], + 'wide': [ + 'اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ], + 'abbreviated': [ + 'اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ], + 'wide': [ + 'اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئ', 'جون', 'جولائی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ], + 'wide': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئ', 'جون', 'جولائی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئ', 'جون', 'جولائی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ], + 'wide': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئ', 'جون', 'جولائی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['ايساپورو', 'سں'], + 'narrow': ['ايساپورو', 'سں'], + 'wide': ['ايساپورو', 'سں'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, dd MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'ر', 'name': 'روپئیہ'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_pa-Guru.ts b/packages/core/src/i18n/data/locale_pa-Guru.ts new file mode 100644 index 00000000000000..61b20aef67ee0a --- /dev/null +++ b/packages/core/src/i18n/data/locale_pa-Guru.ts @@ -0,0 +1,194 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePaGuru: NgLocale = { + 'localeId': 'pa-Guru', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਪੂ.ਦੁ.', + 'pm': 'ਬਾ.ਦੁ.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮੀਂ', + 'night1': 'ਰਾਤੀਂ' + }, + 'narrow': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਸ.', + 'pm': 'ਸ਼.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮੀਂ', + 'night1': 'ਰਾਤੀਂ' + }, + 'wide': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਪੂ.ਦੁ.', + 'pm': 'ਬਾ.ਦੁ.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮੀਂ', + 'night1': 'ਰਾਤੀਂ' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਪੂ.ਦੁ.', + 'pm': 'ਬਾ.ਦੁ.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮੀਂ', + 'night1': 'ਰਾਤੀਂ' + }, + 'narrow': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਪੂ.ਦੁ.', + 'pm': 'ਬਾ.ਦੁ.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮੀਂ', + 'night1': 'ਰਾਤੀਂ' + }, + 'wide': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਪੂ.ਦੁ.', + 'pm': 'ਬਾ.ਦੁ.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮ', + 'night1': 'ਰਾਤ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], + 'short': [ + 'ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', + 'ਸ਼ਨਿੱ' + ], + 'abbreviated': [ + 'ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', + 'ਸ਼ਨਿੱਚਰ' + ], + 'wide': [ + 'ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', + 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ' + ] + }, + 'standalone': { + 'narrow': ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], + 'short': [ + 'ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', + 'ਸ਼ਨਿੱ' + ], + 'abbreviated': [ + 'ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', + 'ਸ਼ਨਿੱਚਰ' + ], + 'wide': [ + 'ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', + 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', + 'ਦ' + ], + 'abbreviated': [ + 'ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', + 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ' + ], + 'wide': [ + 'ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', + 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', + 'ਨਵੰਬਰ', 'ਦਸੰਬਰ' + ] + }, + 'standalone': { + 'narrow': [ + 'ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', + 'ਦ' + ], + 'abbreviated': [ + 'ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', + 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ' + ], + 'wide': [ + 'ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', + 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', + 'ਨਵੰਬਰ', 'ਦਸੰਬਰ' + ] + } + }, + 'eras': { + 'abbreviated': ['ਈ. ਪੂ.', 'ਸੰਨ'], + 'narrow': ['ਈ.ਪੂ.', 'ਸੰਨ'], + 'wide': ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '[#E0]' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'ਭਾਰਤੀ ਰੁਪਇਆ'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pa.ts b/packages/core/src/i18n/data/locale_pa.ts new file mode 100644 index 00000000000000..4361fcfb8fea7b --- /dev/null +++ b/packages/core/src/i18n/data/locale_pa.ts @@ -0,0 +1,194 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePa: NgLocale = { + 'localeId': 'pa', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਪੂ.ਦੁ.', + 'pm': 'ਬਾ.ਦੁ.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮੀਂ', + 'night1': 'ਰਾਤੀਂ' + }, + 'narrow': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਸ.', + 'pm': 'ਸ਼.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮੀਂ', + 'night1': 'ਰਾਤੀਂ' + }, + 'wide': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਪੂ.ਦੁ.', + 'pm': 'ਬਾ.ਦੁ.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮੀਂ', + 'night1': 'ਰਾਤੀਂ' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਪੂ.ਦੁ.', + 'pm': 'ਬਾ.ਦੁ.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮੀਂ', + 'night1': 'ਰਾਤੀਂ' + }, + 'narrow': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਪੂ.ਦੁ.', + 'pm': 'ਬਾ.ਦੁ.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮੀਂ', + 'night1': 'ਰਾਤੀਂ' + }, + 'wide': { + 'midnight': 'ਅੱਧੀ ਰਾਤ', + 'am': 'ਪੂ.ਦੁ.', + 'pm': 'ਬਾ.ਦੁ.', + 'morning1': 'ਸਵੇਰੇ', + 'afternoon1': 'ਦੁਪਹਿਰੇ', + 'evening1': 'ਸ਼ਾਮ', + 'night1': 'ਰਾਤ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], + 'short': [ + 'ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', + 'ਸ਼ਨਿੱ' + ], + 'abbreviated': [ + 'ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', + 'ਸ਼ਨਿੱਚਰ' + ], + 'wide': [ + 'ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', + 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ' + ] + }, + 'standalone': { + 'narrow': ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'], + 'short': [ + 'ਐਤ', 'ਸੋਮ', 'ਮੰਗ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕ', + 'ਸ਼ਨਿੱ' + ], + 'abbreviated': [ + 'ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', + 'ਸ਼ਨਿੱਚਰ' + ], + 'wide': [ + 'ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', + 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', + 'ਦ' + ], + 'abbreviated': [ + 'ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', + 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ' + ], + 'wide': [ + 'ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', + 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', + 'ਨਵੰਬਰ', 'ਦਸੰਬਰ' + ] + }, + 'standalone': { + 'narrow': [ + 'ਜ', 'ਫ਼', 'ਮਾ', 'ਅ', 'ਮ', 'ਜੂ', 'ਜੁ', 'ਅ', 'ਸ', 'ਅ', 'ਨ', + 'ਦ' + ], + 'abbreviated': [ + 'ਜਨ', 'ਫ਼ਰ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', + 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕਤੂ', 'ਨਵੰ', 'ਦਸੰ' + ], + 'wide': [ + 'ਜਨਵਰੀ', 'ਫ਼ਰਵਰੀ', 'ਮਾਰਚ', 'ਅਪ੍ਰੈਲ', 'ਮਈ', + 'ਜੂਨ', 'ਜੁਲਾਈ', 'ਅਗਸਤ', 'ਸਤੰਬਰ', 'ਅਕਤੂਬਰ', + 'ਨਵੰਬਰ', 'ਦਸੰਬਰ' + ] + } + }, + 'eras': { + 'abbreviated': ['ਈ. ਪੂ.', 'ਸੰਨ'], + 'narrow': ['ਈ.ਪੂ.', 'ਸੰਨ'], + 'wide': ['ਈਸਵੀ ਪੂਰਵ', 'ਈਸਵੀ ਸੰਨ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '[#E0]' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'ਭਾਰਤੀ ਰੁਪਇਆ'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pl.ts b/packages/core/src/i18n/data/locale_pl.ts new file mode 100644 index 00000000000000..0596cf0ec0dce2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_pl.ts @@ -0,0 +1,184 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePl: NgLocale = { + 'localeId': 'pl', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'o północy', + 'am': 'AM', + 'noon': 'w południe', + 'pm': 'PM', + 'morning1': 'rano', + 'morning2': 'przed południem', + 'afternoon1': 'po południu', + 'evening1': 'wieczorem', + 'night1': 'w nocy' + }, + 'narrow': { + 'midnight': 'o półn.', + 'am': 'a', + 'noon': 'w poł.', + 'pm': 'p', + 'morning1': 'rano', + 'morning2': 'przed poł.', + 'afternoon1': 'po poł.', + 'evening1': 'wiecz.', + 'night1': 'w nocy' + }, + 'wide': { + 'midnight': 'o północy', + 'am': 'AM', + 'noon': 'w południe', + 'pm': 'PM', + 'morning1': 'rano', + 'morning2': 'przed południem', + 'afternoon1': 'po południu', + 'evening1': 'wieczorem', + 'night1': 'w nocy' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'północ', + 'am': 'AM', + 'noon': 'południe', + 'pm': 'PM', + 'morning1': 'rano', + 'morning2': 'przedpołudnie', + 'afternoon1': 'popołudnie', + 'evening1': 'wieczór', + 'night1': 'noc' + }, + 'narrow': { + 'midnight': 'półn.', + 'am': 'a', + 'noon': 'poł.', + 'pm': 'p', + 'morning1': 'rano', + 'morning2': 'przedpoł.', + 'afternoon1': 'popoł.', + 'evening1': 'wiecz.', + 'night1': 'noc' + }, + 'wide': { + 'midnight': 'północ', + 'am': 'AM', + 'noon': 'południe', + 'pm': 'PM', + 'morning1': 'rano', + 'morning2': 'przedpołudnie', + 'afternoon1': 'popołudnie', + 'evening1': 'wieczór', + 'night1': 'noc' + } + } + }, + 'days': { + 'format': { + 'narrow': ['n', 'p', 'w', 'ś', 'c', 'p', 's'], + 'short': ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'], + 'abbreviated': ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'], + 'wide': + ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota'] + }, + 'standalone': { + 'narrow': ['N', 'P', 'W', 'Ś', 'C', 'P', 'S'], + 'short': ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'], + 'abbreviated': ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'], + 'wide': + ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota'] + } + }, + 'months': { + 'format': { + 'narrow': ['s', 'l', 'm', 'k', 'm', 'c', 'l', 's', 'w', 'p', 'l', 'g'], + 'abbreviated': + ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'], + 'wide': [ + 'stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', + 'września', 'października', 'listopada', 'grudnia' + ] + }, + 'standalone': { + 'narrow': ['S', 'L', 'M', 'K', 'M', 'C', 'L', 'S', 'W', 'P', 'L', 'G'], + 'abbreviated': + ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'], + 'wide': [ + 'styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', + 'wrzesień', 'październik', 'listopad', 'grudzień' + ] + } + }, + 'eras': { + 'abbreviated': ['p.n.e.', 'n.e.'], + 'narrow': ['p.n.e.', 'n.e.'], + 'wide': ['przed naszą erą', 'naszej ery'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd.MM.y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'zł', 'name': 'złoty polski'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return Plural.Few; + 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 Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_prg.ts b/packages/core/src/i18n/data/locale_prg.ts new file mode 100644 index 00000000000000..276478400f0473 --- /dev/null +++ b/packages/core/src/i18n/data/locale_prg.ts @@ -0,0 +1,103 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePrg: NgLocale = { + 'localeId': 'prg', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {}, + 'getPluralCase': function(n: number): Plural { + let v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 || + v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19) + return Plural.Zero; + if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) || + !(v === 2) && f % 10 === 1) + return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ps.ts b/packages/core/src/i18n/data/locale_ps.ts new file mode 100644 index 00000000000000..356a19c5e82830 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ps.ts @@ -0,0 +1,130 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePs: NgLocale = { + 'localeId': 'ps', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'غ.م.', 'pm': 'غ.و.'}, + 'narrow': {'am': 'غ.م.', 'pm': 'غ.و.'}, + 'wide': {'am': 'غ.م.', 'pm': 'غ.و.'} + }, + 'standalone': { + 'abbreviated': {'am': 'غ.م.', 'pm': 'غ.و.'}, + 'narrow': {'am': 'غ.م.', 'pm': 'غ.و.'}, + 'wide': {'am': 'غ.م.', 'pm': 'غ.و.'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ], + 'abbreviated': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ], + 'wide': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ], + 'abbreviated': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ], + 'wide': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', + 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ], + 'wide': [ + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', + 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', + 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ], + 'wide': [ + 'جنوري', 'فبروري', 'مارچ', 'اپریل', 'مۍ', 'جون', 'جولای', + 'اګست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['له میلاد وړاندې', 'م.'], + 'narrow': ['له میلاد وړاندې', 'م.'], + 'wide': ['له میلاد څخه وړاندې', 'له میلاد څخه وروسته'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [4, 5], + 'formats': { + 'date': { + 'full': 'EEEE د y د MMMM d', + 'long': 'د y د MMMM d', + 'medium': 'y MMM d', + 'short': 'y/M/d' + }, + 'time': + {'full': 'H:mm:ss (zzzz)', 'long': 'H:mm:ss (z)', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '‎+', + 'minusSign': '‎−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '؋', 'name': 'افغانۍ'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt-AO.ts b/packages/core/src/i18n/data/locale_pt-AO.ts new file mode 100644 index 00000000000000..fccfdc3130c6a8 --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt-AO.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePtAO: NgLocale = { + 'localeId': 'pt-AO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'da manhã', + 'noon': 'meio-dia', + 'pm': 'da tarde', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'manhã', + 'noon': 'meio-dia', + 'pm': 'tarde', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'às\' {0}', + 'long': '{1} \'às\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Kz', 'name': 'Kwanza angolano'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt-CH.ts b/packages/core/src/i18n/data/locale_pt-CH.ts new file mode 100644 index 00000000000000..a9a9dbacbdcc8e --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt-CH.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePtCH: NgLocale = { + 'localeId': 'pt-CH', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'da manhã', + 'noon': 'meio-dia', + 'pm': 'da tarde', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'manhã', + 'noon': 'meio-dia', + 'pm': 'tarde', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'às\' {0}', + 'long': '{1} \'às\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CHF', 'name': 'Franco suíço'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt-CV.ts b/packages/core/src/i18n/data/locale_pt-CV.ts new file mode 100644 index 00000000000000..ced309f38228c6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt-CV.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePtCV: NgLocale = { + 'localeId': 'pt-CV', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'da manhã', + 'noon': 'meio-dia', + 'pm': 'da tarde', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'manhã', + 'noon': 'meio-dia', + 'pm': 'tarde', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'às\' {0}', + 'long': '{1} \'às\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '​', 'name': 'Escudo cabo-verdiano'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt-GQ.ts b/packages/core/src/i18n/data/locale_pt-GQ.ts new file mode 100644 index 00000000000000..d9bc49550334be --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt-GQ.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePtGQ: NgLocale = { + 'localeId': 'pt-GQ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'da manhã', + 'noon': 'meio-dia', + 'pm': 'da tarde', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'manhã', + 'noon': 'meio-dia', + 'pm': 'tarde', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'às\' {0}', + 'long': '{1} \'às\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'Franco CFA (BEAC)'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt-GW.ts b/packages/core/src/i18n/data/locale_pt-GW.ts new file mode 100644 index 00000000000000..21d56589aaf18d --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt-GW.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePtGW: NgLocale = { + 'localeId': 'pt-GW', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'da manhã', + 'noon': 'meio-dia', + 'pm': 'da tarde', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'manhã', + 'noon': 'meio-dia', + 'pm': 'tarde', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'às\' {0}', + 'long': '{1} \'às\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'Franco CFA (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt-LU.ts b/packages/core/src/i18n/data/locale_pt-LU.ts new file mode 100644 index 00000000000000..d7f6e3056c403a --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt-LU.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePtLU: NgLocale = { + 'localeId': 'pt-LU', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'da manhã', + 'noon': 'meio-dia', + 'pm': 'da tarde', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'manhã', + 'noon': 'meio-dia', + 'pm': 'tarde', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'às\' {0}', + 'long': '{1} \'às\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt-MO.ts b/packages/core/src/i18n/data/locale_pt-MO.ts new file mode 100644 index 00000000000000..f6eebba483f2a0 --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt-MO.ts @@ -0,0 +1,185 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePtMO: NgLocale = { + 'localeId': 'pt-MO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'da manhã', + 'noon': 'meio-dia', + 'pm': 'da tarde', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'manhã', + 'noon': 'meio-dia', + 'pm': 'tarde', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'às\' {0}', + 'long': '{1} \'às\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MOP$', 'name': 'Pataca de Macau'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt-MZ.ts b/packages/core/src/i18n/data/locale_pt-MZ.ts new file mode 100644 index 00000000000000..2e7fa763ce0359 --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt-MZ.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePtMZ: NgLocale = { + 'localeId': 'pt-MZ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'da manhã', + 'noon': 'meio-dia', + 'pm': 'da tarde', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'manhã', + 'noon': 'meio-dia', + 'pm': 'tarde', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'às\' {0}', + 'long': '{1} \'às\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MTn', 'name': 'Metical de Moçambique'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt-PT.ts b/packages/core/src/i18n/data/locale_pt-PT.ts new file mode 100644 index 00000000000000..cb181c7c58e3e9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt-PT.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePtPT: NgLocale = { + 'localeId': 'pt-PT', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'da manhã', + 'noon': 'meio-dia', + 'pm': 'da tarde', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'manhã', + 'noon': 'meio-dia', + 'pm': 'tarde', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'às\' {0}', + 'long': '{1} \'às\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt-ST.ts b/packages/core/src/i18n/data/locale_pt-ST.ts new file mode 100644 index 00000000000000..4386720a4146af --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt-ST.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePtST: NgLocale = { + 'localeId': 'pt-ST', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'da manhã', + 'noon': 'meio-dia', + 'pm': 'da tarde', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'manhã', + 'noon': 'meio-dia', + 'pm': 'tarde', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'às\' {0}', + 'long': '{1} \'às\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Db', 'name': 'Dobra de São Tomé e Príncipe'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt-TL.ts b/packages/core/src/i18n/data/locale_pt-TL.ts new file mode 100644 index 00000000000000..f60bc50f1d088a --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt-TL.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePtTL: NgLocale = { + 'localeId': 'pt-TL', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'da manhã', + 'noon': 'meio-dia', + 'pm': 'da tarde', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'a.m.', + 'noon': 'meio-dia', + 'pm': 'p.m.', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'manhã', + 'noon': 'meio-dia', + 'pm': 'tarde', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['domingo', 'segunda', 'terça', 'quarta', 'quinta', 'sexta', 'sábado'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'dd/MM/y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'às\' {0}', + 'long': '{1} \'às\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'US$', 'name': 'Dólar dos Estados Unidos'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_pt.ts b/packages/core/src/i18n/data/locale_pt.ts new file mode 100644 index 00000000000000..ff0234d4188722 --- /dev/null +++ b/packages/core/src/i18n/data/locale_pt.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocalePt: NgLocale = { + 'localeId': 'pt', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'AM', + 'noon': 'meio-dia', + 'pm': 'PM', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'AM', + 'noon': 'meio-dia', + 'pm': 'PM', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'AM', + 'noon': 'meio-dia', + 'pm': 'PM', + 'morning1': 'da manhã', + 'afternoon1': 'da tarde', + 'evening1': 'da noite', + 'night1': 'da madrugada' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'meia-noite', + 'am': 'AM', + 'noon': 'meio-dia', + 'pm': 'PM', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'narrow': { + 'midnight': 'meia-noite', + 'am': 'AM', + 'noon': 'meio-dia', + 'pm': 'PM', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + }, + 'wide': { + 'midnight': 'meia-noite', + 'am': 'AM', + 'noon': 'meio-dia', + 'pm': 'PM', + 'morning1': 'manhã', + 'afternoon1': 'tarde', + 'evening1': 'noite', + 'night1': 'madrugada' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + }, + 'standalone': { + 'narrow': ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'], + 'short': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'abbreviated': ['dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sáb'], + 'wide': [ + 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', + 'sábado' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'], + 'wide': [ + 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', + 'outubro', 'novembro', 'dezembro' + ] + } + }, + 'eras': { + 'abbreviated': ['a.C.', 'd.C.'], + 'narrow': ['a.C.', 'd.C.'], + 'wide': ['antes de Cristo', 'depois de Cristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd \'de\' MMM \'de\' y', + 'short': 'dd/MM/y' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'R$', 'name': 'Real brasileiro'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_qu-BO.ts b/packages/core/src/i18n/data/locale_qu-BO.ts new file mode 100644 index 00000000000000..283dd270f16478 --- /dev/null +++ b/packages/core/src/i18n/data/locale_qu-BO.ts @@ -0,0 +1,97 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleQuBO: NgLocale = { + 'localeId': 'qu-BO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + }, + 'standalone': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'abbreviated': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'wide': ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'abbreviated': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'wide': ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Qul', 'Hat', 'Pau', 'Ayr', 'Aym', 'Int', 'Ant', 'Qha', 'Uma', 'Kan', 'Aya', 'Kap'], + 'wide': [ + 'Qulla puquy', 'Hatun puquy', 'Pauqar waray', 'Ayriwa', 'Aymuray', 'Inti raymi', + 'Anta Sitwa', 'Qhapaq Sitwa', 'Uma raymi', 'Kantaray', 'Ayamarqʼa', 'Kapaq Raymi' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Qul', 'Hat', 'Pau', 'Ayr', 'Aym', 'Int', 'Ant', 'Qha', 'Uma', 'Kan', 'Aya', 'Kap'], + 'wide': [ + 'Qulla puquy', 'Hatun puquy', 'Pauqar waray', 'Ayriwa', 'Aymuray', 'Inti raymi', + 'Anta Sitwa', 'Qhapaq Sitwa', 'Uma raymi', 'Kantaray', 'Ayamarqʼa', 'Kapaq Raymi' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'd.C.'], 'narrow': ['BCE', 'dC'], 'wide': ['BCE', 'd.C.']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{0} {1}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Bs', 'name': 'BOB'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_qu-EC.ts b/packages/core/src/i18n/data/locale_qu-EC.ts new file mode 100644 index 00000000000000..b26d573e4e4c84 --- /dev/null +++ b/packages/core/src/i18n/data/locale_qu-EC.ts @@ -0,0 +1,97 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleQuEC: NgLocale = { + 'localeId': 'qu-EC', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + }, + 'standalone': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'abbreviated': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'wide': ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'abbreviated': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'wide': ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Qul', 'Hat', 'Pau', 'Ayr', 'Aym', 'Int', 'Ant', 'Qha', 'Uma', 'Kan', 'Aya', 'Kap'], + 'wide': [ + 'Qulla puquy', 'Hatun puquy', 'Pauqar waray', 'Ayriwa', 'Aymuray', 'Inti raymi', + 'Anta Sitwa', 'Qhapaq Sitwa', 'Uma raymi', 'Kantaray', 'Ayamarqʼa', 'Kapaq Raymi' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Qul', 'Hat', 'Pau', 'Ayr', 'Aym', 'Int', 'Ant', 'Qha', 'Uma', 'Kan', 'Aya', 'Kap'], + 'wide': [ + 'Qulla puquy', 'Hatun puquy', 'Pauqar waray', 'Ayriwa', 'Aymuray', 'Inti raymi', + 'Anta Sitwa', 'Qhapaq Sitwa', 'Uma raymi', 'Kantaray', 'Ayamarqʼa', 'Kapaq Raymi' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'd.C.'], 'narrow': ['BCE', 'dC'], 'wide': ['BCE', 'd.C.']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{0} {1}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'USD'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_qu.ts b/packages/core/src/i18n/data/locale_qu.ts new file mode 100644 index 00000000000000..73bd16aaa713d7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_qu.ts @@ -0,0 +1,97 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleQu: NgLocale = { + 'localeId': 'qu', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + }, + 'standalone': { + 'abbreviated': {'am': 'a.m.', 'pm': 'p.m.'}, + 'narrow': {'am': 'a.m.', 'pm': 'p.m.'}, + 'wide': {'am': 'a.m.', 'pm': 'p.m.'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'abbreviated': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'wide': ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'X', 'J', 'V', 'S'], + 'short': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'abbreviated': ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'], + 'wide': ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Qul', 'Hat', 'Pau', 'Ayr', 'Aym', 'Int', 'Ant', 'Qha', 'Uma', 'Kan', 'Aya', 'Kap'], + 'wide': [ + 'Qulla puquy', 'Hatun puquy', 'Pauqar waray', 'Ayriwa', 'Aymuray', 'Inti raymi', + 'Anta Sitwa', 'Qhapaq Sitwa', 'Uma raymi', 'Kantaray', 'Ayamarqʼa', 'Kapaq Raymi' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Qul', 'Hat', 'Pau', 'Ayr', 'Aym', 'Int', 'Ant', 'Qha', 'Uma', 'Kan', 'Aya', 'Kap'], + 'wide': [ + 'Qulla puquy', 'Hatun puquy', 'Pauqar waray', 'Ayriwa', 'Aymuray', 'Inti raymi', + 'Anta Sitwa', 'Qhapaq Sitwa', 'Uma raymi', 'Kantaray', 'Ayamarqʼa', 'Kapaq Raymi' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'd.C.'], 'narrow': ['BCE', 'dC'], 'wide': ['BCE', 'd.C.']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{0} {1}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'S/', 'name': 'PEN'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_rm.ts b/packages/core/src/i18n/data/locale_rm.ts new file mode 100644 index 00000000000000..757a92f1ab857c --- /dev/null +++ b/packages/core/src/i18n/data/locale_rm.ts @@ -0,0 +1,112 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRm: NgLocale = { + 'localeId': 'rm', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'G', 'M', 'M', 'G', 'V', 'S'], + 'short': ['du', 'gli', 'ma', 'me', 'gie', 've', 'so'], + 'abbreviated': ['du', 'gli', 'ma', 'me', 'gie', 've', 'so'], + 'wide': ['dumengia', 'glindesdi', 'mardi', 'mesemna', 'gievgia', 'venderdi', 'sonda'] + }, + 'standalone': { + 'narrow': ['D', 'G', 'M', 'M', 'G', 'V', 'S'], + 'short': ['du', 'gli', 'ma', 'me', 'gie', 've', 'so'], + 'abbreviated': ['du', 'gli', 'ma', 'me', 'gie', 've', 'so'], + 'wide': ['dumengia', 'glindesdi', 'mardi', 'mesemna', 'gievgia', 'venderdi', 'sonda'] + } + }, + 'months': { + 'format': { + 'narrow': ['S', 'F', 'M', 'A', 'M', 'Z', 'F', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'schan.', 'favr.', 'mars', 'avr.', 'matg', 'zercl.', 'fan.', 'avust', 'sett.', 'oct.', + 'nov.', 'dec.' + ], + 'wide': [ + 'schaner', 'favrer', 'mars', 'avrigl', 'matg', 'zercladur', 'fanadur', 'avust', + 'settember', 'october', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['S', 'F', 'M', 'A', 'M', 'Z', 'F', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'schan.', 'favr.', 'mars', 'avr.', 'matg', 'zercl.', 'fan.', 'avust', 'sett.', 'oct.', + 'nov.', 'dec.' + ], + 'wide': [ + 'schaner', 'favrer', 'mars', 'avrigl', 'matg', 'zercladur', 'fanadur', 'avust', + 'settember', 'october', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['av. Cr.', 's. Cr.'], + 'narrow': ['av. Cr.', 's. Cr.'], + 'wide': ['avant Cristus', 'suenter Cristus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, \'ils\' d \'da\' MMMM y', + 'long': 'd \'da\' MMMM y', + 'medium': 'dd-MM-y', + 'short': 'dd-MM-yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': '’', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CHF', 'name': 'franc svizzer'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_rn.ts b/packages/core/src/i18n/data/locale_rn.ts new file mode 100644 index 00000000000000..f896aec84bd4b7 --- /dev/null +++ b/packages/core/src/i18n/data/locale_rn.ts @@ -0,0 +1,110 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRn: NgLocale = { + 'localeId': 'rn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Z.MU.', 'pm': 'Z.MW.'}, + 'narrow': {'am': 'Z.MU.', 'pm': 'Z.MW.'}, + 'wide': {'am': 'Z.MU.', 'pm': 'Z.MW.'} + }, + 'standalone': { + 'abbreviated': {'am': 'Z.MU.', 'pm': 'Z.MW.'}, + 'narrow': {'am': 'Z.MU.', 'pm': 'Z.MW.'}, + 'wide': {'am': 'Z.MU.', 'pm': 'Z.MW.'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['cu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], + 'abbreviated': ['cu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], + 'wide': [ + 'Ku w’indwi', 'Ku wa mbere', 'Ku wa kabiri', 'Ku wa gatatu', 'Ku wa kane', + 'Ku wa gatanu', 'Ku wa gatandatu' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['cu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], + 'abbreviated': ['cu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], + 'wide': [ + 'Ku w’indwi', 'Ku wa mbere', 'Ku wa kabiri', 'Ku wa gatatu', 'Ku wa kane', + 'Ku wa gatanu', 'Ku wa gatandatu' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Mut.', 'Gas.', 'Wer.', 'Mat.', 'Gic.', 'Kam.', 'Nya.', 'Kan.', 'Nze.', 'Ukw.', 'Ugu.', + 'Uku.' + ], + 'wide': [ + 'Nzero', 'Ruhuhuma', 'Ntwarante', 'Ndamukiza', 'Rusama', 'Ruheshi', 'Mukakaro', + 'Nyandagaro', 'Nyakanga', 'Gitugutu', 'Munyonyo', 'Kigarama' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Mut.', 'Gas.', 'Wer.', 'Mat.', 'Gic.', 'Kam.', 'Nya.', 'Kan.', 'Nze.', 'Ukw.', 'Ugu.', + 'Uku.' + ], + 'wide': [ + 'Nzero', 'Ruhuhuma', 'Ntwarante', 'Ndamukiza', 'Rusama', 'Ruheshi', 'Mukakaro', + 'Nyandagaro', 'Nyakanga', 'Gitugutu', 'Munyonyo', 'Kigarama' + ] + } + }, + 'eras': { + 'abbreviated': ['Mb.Y.', 'Ny.Y'], + 'narrow': ['Mb.Y.', 'Ny.Y'], + 'wide': ['Mbere ya Yezu', 'Nyuma ya Yezu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FBu', 'name': 'Ifaranga ry’Uburundi'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ro-MD.ts b/packages/core/src/i18n/data/locale_ro-MD.ts new file mode 100644 index 00000000000000..b14196e0968400 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ro-MD.ts @@ -0,0 +1,175 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRoMD: NgLocale = { + 'localeId': 'ro-MD', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'miezul nopții', + 'am': 'a.m.', + 'noon': 'amiază', + 'pm': 'p.m.', + 'morning1': 'dimineața', + 'afternoon1': 'după-amiaza', + 'evening1': 'seara', + 'night1': 'noaptea' + }, + 'narrow': { + 'midnight': 'miezul nopții', + 'am': 'a.m.', + 'noon': 'amiază', + 'pm': 'p.m.', + 'morning1': 'dimineață', + 'afternoon1': 'după-amiază', + 'evening1': 'seară', + 'night1': 'noapte' + }, + 'wide': { + 'midnight': 'miezul nopții', + 'am': 'a.m.', + 'noon': 'amiază', + 'pm': 'p.m.', + 'morning1': 'dimineața', + 'afternoon1': 'după-amiaza', + 'evening1': 'seara', + 'night1': 'noaptea' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'miezul nopții', + 'am': 'a.m.', + 'noon': 'amiază', + 'pm': 'p.m.', + 'morning1': 'dimineața', + 'afternoon1': 'după-amiaza', + 'evening1': 'seara', + 'night1': 'noaptea' + }, + 'narrow': { + 'midnight': 'miezul nopții', + 'am': 'a.m.', + 'noon': 'amiază', + 'pm': 'p.m.', + 'morning1': 'dimineață', + 'afternoon1': 'după-amiază', + 'evening1': 'seară', + 'night1': 'noapte' + }, + 'wide': { + 'midnight': 'miezul nopții', + 'am': 'a.m.', + 'noon': 'amiază', + 'pm': 'p.m.', + 'morning1': 'dimineața', + 'afternoon1': 'după-amiaza', + 'evening1': 'seara', + 'night1': 'noaptea' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'Ma', 'Mi', 'J', 'V', 'S'], + 'short': ['Du', 'Lu', 'Ma', 'Mi', 'Jo', 'Vi', 'Sâ'], + 'abbreviated': ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'], + 'wide': ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'Ma', 'Mi', 'J', 'V', 'S'], + 'short': ['Du', 'Lu', 'Ma', 'Mi', 'Jo', 'Vi', 'Sâ'], + 'abbreviated': ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'], + 'wide': ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'] + } + }, + 'months': { + 'format': { + 'narrow': ['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', + 'dec.' + ], + 'wide': [ + 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', + 'septembrie', 'octombrie', 'noiembrie', 'decembrie' + ] + }, + 'standalone': { + 'narrow': ['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', + 'dec.' + ], + 'wide': [ + 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', + 'septembrie', 'octombrie', 'noiembrie', 'decembrie' + ] + } + }, + 'eras': { + 'abbreviated': ['î.Hr.', 'd.Hr.'], + 'narrow': ['î.Hr.', 'd.Hr.'], + 'wide': ['înainte de Hristos', 'după Hristos'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd.MM.y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '22:00', 'to': '05:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'L', 'name': 'leu moldovenesc'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + if (!(v === 0) || n === 0 || + !(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ro.ts b/packages/core/src/i18n/data/locale_ro.ts new file mode 100644 index 00000000000000..0c50c265bbc611 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ro.ts @@ -0,0 +1,175 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRo: NgLocale = { + 'localeId': 'ro', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'miezul nopții', + 'am': 'a.m.', + 'noon': 'amiază', + 'pm': 'p.m.', + 'morning1': 'dimineața', + 'afternoon1': 'după-amiaza', + 'evening1': 'seara', + 'night1': 'noaptea' + }, + 'narrow': { + 'midnight': 'miezul nopții', + 'am': 'a.m.', + 'noon': 'amiază', + 'pm': 'p.m.', + 'morning1': 'dimineață', + 'afternoon1': 'după-amiază', + 'evening1': 'seara', + 'night1': 'noaptea' + }, + 'wide': { + 'midnight': 'la miezul nopții', + 'am': 'a.m.', + 'noon': 'la amiază', + 'pm': 'p.m.', + 'morning1': 'dimineața', + 'afternoon1': 'după-amiaza', + 'evening1': 'seara', + 'night1': 'noaptea' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'miezul nopții', + 'am': 'a.m.', + 'noon': 'amiază', + 'pm': 'p.m.', + 'morning1': 'dimineața', + 'afternoon1': 'după-amiaza', + 'evening1': 'seara', + 'night1': 'noaptea' + }, + 'narrow': { + 'midnight': 'miezul nopții', + 'am': 'a.m.', + 'noon': 'amiază', + 'pm': 'p.m.', + 'morning1': 'dimineața', + 'afternoon1': 'după-amiaza', + 'evening1': 'seara', + 'night1': 'noaptea' + }, + 'wide': { + 'midnight': 'la miezul nopții', + 'am': 'a.m.', + 'noon': 'la amiază', + 'pm': 'p.m.', + 'morning1': 'dimineața', + 'afternoon1': 'după-amiaza', + 'evening1': 'seara', + 'night1': 'noaptea' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['du.', 'lu.', 'ma.', 'mi.', 'joi', 'vi.', 'sâ.'], + 'abbreviated': ['dum.', 'lun.', 'mar.', 'mie.', 'joi', 'vin.', 'sâm.'], + 'wide': ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'] + }, + 'standalone': { + 'narrow': ['D', 'L', 'M', 'M', 'J', 'V', 'S'], + 'short': ['du.', 'lu.', 'ma.', 'mi.', 'joi', 'vi.', 'sâ.'], + 'abbreviated': ['dum.', 'lun.', 'mar.', 'mie.', 'joi', 'vin.', 'sâm.'], + 'wide': ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'] + } + }, + 'months': { + 'format': { + 'narrow': ['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', + 'dec.' + ], + 'wide': [ + 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', + 'septembrie', 'octombrie', 'noiembrie', 'decembrie' + ] + }, + 'standalone': { + 'narrow': ['I', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', + 'dec.' + ], + 'wide': [ + 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', + 'septembrie', 'octombrie', 'noiembrie', 'decembrie' + ] + } + }, + 'eras': { + 'abbreviated': ['î.Hr.', 'd.Hr.'], + 'narrow': ['î.Hr.', 'd.Hr.'], + 'wide': ['înainte de Hristos', 'după Hristos'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd.MM.y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '22:00', 'to': '05:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'RON', 'name': 'leu românesc'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + if (!(v === 0) || n === 0 || + !(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_rof.ts b/packages/core/src/i18n/data/locale_rof.ts new file mode 100644 index 00000000000000..8ebb415365daac --- /dev/null +++ b/packages/core/src/i18n/data/locale_rof.ts @@ -0,0 +1,107 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRof: NgLocale = { + 'localeId': 'rof', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'kang’ama', 'pm': 'kingoto'}, + 'narrow': {'am': 'kang’ama', 'pm': 'kingoto'}, + 'wide': {'am': 'kang’ama', 'pm': 'kingoto'} + }, + 'standalone': { + 'abbreviated': {'am': 'kang’ama', 'pm': 'kingoto'}, + 'narrow': {'am': 'kang’ama', 'pm': 'kingoto'}, + 'wide': {'am': 'kang’ama', 'pm': 'kingoto'} + } + }, + 'days': { + 'format': { + 'narrow': ['2', '3', '4', '5', '6', '7', '1'], + 'short': ['Ijp', 'Ijt', 'Ijn', 'Ijtn', 'Alh', 'Iju', 'Ijm'], + 'abbreviated': ['Ijp', 'Ijt', 'Ijn', 'Ijtn', 'Alh', 'Iju', 'Ijm'], + 'wide': + ['Ijumapili', 'Ijumatatu', 'Ijumanne', 'Ijumatano', 'Alhamisi', 'Ijumaa', 'Ijumamosi'] + }, + 'standalone': { + 'narrow': ['2', '3', '4', '5', '6', '7', '1'], + 'short': ['Ijp', 'Ijt', 'Ijn', 'Ijtn', 'Alh', 'Iju', 'Ijm'], + 'abbreviated': ['Ijp', 'Ijt', 'Ijn', 'Ijtn', 'Alh', 'Iju', 'Ijm'], + 'wide': [ + 'Ijumapili', 'Ijumatatu', 'Ijumanne', 'Ijumatano', 'Alhamisi', 'Ijumaa', 'Ijumamosi' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['K', 'K', 'K', 'K', 'T', 'S', 'S', 'N', 'T', 'I', 'I', 'I'], + 'abbreviated': ['M1', 'M2', 'M3', 'M4', 'M5', 'M6', 'M7', 'M8', 'M9', 'M10', 'M11', 'M12'], + 'wide': [ + 'Mweri wa kwanza', 'Mweri wa kaili', 'Mweri wa katatu', 'Mweri wa kaana', 'Mweri wa tanu', + 'Mweri wa sita', 'Mweri wa saba', 'Mweri wa nane', 'Mweri wa tisa', 'Mweri wa ikumi', + 'Mweri wa ikumi na moja', 'Mweri wa ikumi na mbili' + ] + }, + 'standalone': { + 'narrow': ['K', 'K', 'K', 'K', 'T', 'S', 'S', 'N', 'T', 'I', 'I', 'I'], + 'abbreviated': ['M1', 'M2', 'M3', 'M4', 'M5', 'M6', 'M7', 'M8', 'M9', 'M10', 'M11', 'M12'], + 'wide': [ + 'Mweri wa kwanza', 'Mweri wa kaili', 'Mweri wa katatu', 'Mweri wa kaana', 'Mweri wa tanu', + 'Mweri wa sita', 'Mweri wa saba', 'Mweri wa nane', 'Mweri wa tisa', 'Mweri wa ikumi', + 'Mweri wa ikumi na moja', 'Mweri wa ikumi na mbili' + ] + } + }, + 'eras': { + 'abbreviated': ['KM', 'BM'], + 'narrow': ['KM', 'BM'], + 'wide': ['Kabla ya Mayesu', 'Baada ya Mayesu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'heleri sa Tanzania'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_root.ts b/packages/core/src/i18n/data/locale_root.ts new file mode 100644 index 00000000000000..931c8e257d30c4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_root.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRoot: NgLocale = { + 'localeId': 'root', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'narrow': { + 'midnight': 'mi', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'in the morning', + 'afternoon1': 'in the afternoon', + 'evening1': 'in the evening', + 'night1': 'at night' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'narrow': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + }, + 'wide': { + 'midnight': 'midnight', + 'am': 'AM', + 'noon': 'noon', + 'pm': 'PM', + 'morning1': 'morning', + 'afternoon1': 'afternoon', + 'evening1': 'evening', + 'night1': 'night' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + 'wide': [ + 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', + 'October', 'November', 'December' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['B', 'A'], + 'wide': ['Before Christ', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'at\' {0}', + 'long': '{1} \'at\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'US Dollar'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ru-BY.ts b/packages/core/src/i18n/data/locale_ru-BY.ts new file mode 100644 index 00000000000000..f3b11f2f62e404 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ru-BY.ts @@ -0,0 +1,192 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRuBY: NgLocale = { + 'localeId': 'ru-BY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'ДП', + 'noon': 'полдень', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'ДП', + 'noon': 'полдень', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'вечер', + 'night1': 'ночь' + } + } + }, + 'days': { + 'format': { + 'narrow': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + }, + 'standalone': { + 'narrow': ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', + 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', + 'июля', 'августа', 'сентября', 'октября', 'ноября', + 'декабря' + ] + }, + 'standalone': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', + 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', + 'июль', 'август', 'сентябрь', 'октя��рь', 'ноябрь', + 'декабрь' + ] + } + }, + 'eras': { + 'abbreviated': ['до н. э.', 'н. э.'], + 'narrow': ['до н.э.', 'н.э.'], + 'wide': [ + 'до Рождества Христова', 'от Рождества Христова' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM y \'г\'.', + 'long': 'd MMMM y \'г\'.', + 'medium': 'd MMM y \'г\'.', + 'short': 'dd.MM.y' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'не число', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Br', 'name': 'Белорусский рубль'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return Plural.Few; + 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 Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ru-KG.ts b/packages/core/src/i18n/data/locale_ru-KG.ts new file mode 100644 index 00000000000000..1ec2e8b47f790a --- /dev/null +++ b/packages/core/src/i18n/data/locale_ru-KG.ts @@ -0,0 +1,192 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRuKG: NgLocale = { + 'localeId': 'ru-KG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'ДП', + 'noon': 'полдень', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'ДП', + 'noon': 'полдень', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'вечер', + 'night1': 'ночь' + } + } + }, + 'days': { + 'format': { + 'narrow': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + }, + 'standalone': { + 'narrow': ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', + 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', + 'июля', 'августа', 'сентября', 'октября', 'ноября', + 'декабря' + ] + }, + 'standalone': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', + 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', + 'июль', 'август', 'сентябрь', 'октя��рь', 'ноябрь', + 'декабрь' + ] + } + }, + 'eras': { + 'abbreviated': ['до н. э.', 'н. э.'], + 'narrow': ['до н.э.', 'н.э.'], + 'wide': [ + 'до Рождества Христова', 'от Рождества Христова' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM y \'г\'.', + 'long': 'd MMMM y \'г\'.', + 'medium': 'd MMM y \'г\'.', + 'short': 'dd.MM.y' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'не число', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'сом', 'name': 'Киргизский сом'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return Plural.Few; + 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 Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ru-KZ.ts b/packages/core/src/i18n/data/locale_ru-KZ.ts new file mode 100644 index 00000000000000..7cb30eef8d0e05 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ru-KZ.ts @@ -0,0 +1,192 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRuKZ: NgLocale = { + 'localeId': 'ru-KZ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'ДП', + 'noon': 'полдень', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'ДП', + 'noon': 'полдень', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'вечер', + 'night1': 'ночь' + } + } + }, + 'days': { + 'format': { + 'narrow': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + }, + 'standalone': { + 'narrow': ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', + 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', + 'июля', 'августа', 'сентября', 'октября', 'ноября', + 'декабря' + ] + }, + 'standalone': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', + 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', + 'июль', 'август', 'сентябрь', 'октя��рь', 'ноябрь', + 'декабрь' + ] + } + }, + 'eras': { + 'abbreviated': ['до н. э.', 'н. э.'], + 'narrow': ['до н.э.', 'н.э.'], + 'wide': [ + 'до Рождества Христова', 'от Рождества Христова' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM y \'г\'.', + 'long': 'd MMMM y \'г\'.', + 'medium': 'd MMM y \'г\'.', + 'short': 'dd.MM.y' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'не число', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₸', 'name': 'Казахский тенге'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return Plural.Few; + 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 Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ru-MD.ts b/packages/core/src/i18n/data/locale_ru-MD.ts new file mode 100644 index 00000000000000..0649b5a560051e --- /dev/null +++ b/packages/core/src/i18n/data/locale_ru-MD.ts @@ -0,0 +1,192 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRuMD: NgLocale = { + 'localeId': 'ru-MD', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'ДП', + 'noon': 'полдень', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'ДП', + 'noon': 'полдень', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'вечер', + 'night1': 'ночь' + } + } + }, + 'days': { + 'format': { + 'narrow': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + }, + 'standalone': { + 'narrow': ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', + 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', + 'июля', 'августа', 'сентября', 'октября', 'ноября', + 'декабря' + ] + }, + 'standalone': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', + 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', + 'июль', 'август', 'сентябрь', 'октя��рь', 'ноябрь', + 'декабрь' + ] + } + }, + 'eras': { + 'abbreviated': ['до н. э.', 'н. э.'], + 'narrow': ['до н.э.', 'н.э.'], + 'wide': [ + 'до Рождества Христова', 'от Рождества Христова' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM y \'г\'.', + 'long': 'd MMMM y \'г\'.', + 'medium': 'd MMM y \'г\'.', + 'short': 'dd.MM.y' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'не число', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'L', 'name': 'Молдавский лей'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return Plural.Few; + 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 Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ru-UA.ts b/packages/core/src/i18n/data/locale_ru-UA.ts new file mode 100644 index 00000000000000..e1719ac4be9118 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ru-UA.ts @@ -0,0 +1,193 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRuUA: NgLocale = { + 'localeId': 'ru-UA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'AM', + 'noon': 'полд.', + 'pm': 'PM', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'AM', + 'noon': 'полд.', + 'pm': 'PM', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'веч.', + 'night1': 'ночи' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'AM', + 'noon': 'полдень', + 'pm': 'PM', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'AM', + 'noon': 'полд.', + 'pm': 'PM', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'AM', + 'noon': 'полд.', + 'pm': 'PM', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'AM', + 'noon': 'полдень', + 'pm': 'PM', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'вечер', + 'night1': 'ночь' + } + } + }, + 'days': { + 'format': { + 'narrow': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + }, + 'standalone': { + 'narrow': ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', + 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', + 'июля', 'августа', 'сентября', 'октября', 'ноября', + 'декабря' + ] + }, + 'standalone': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', + 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', + 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', + 'декабрь' + ] + } + }, + 'eras': { + 'abbreviated': ['до н. э.', 'н. э.'], + 'narrow': ['до н.э.', 'н.э.'], + 'wide': [ + 'до Рождества Христова', 'от Рождества Христова' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM y \'г\'.', + 'long': 'd MMMM y \'г\'.', + 'medium': 'd MMM y \'г\'.', + 'short': 'dd.MM.y' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'не число', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₴', 'name': 'Украинская гривна'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return Plural.Few; + 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 Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ru.ts b/packages/core/src/i18n/data/locale_ru.ts new file mode 100644 index 00000000000000..8e8f8ea0b7c216 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ru.ts @@ -0,0 +1,192 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRu: NgLocale = { + 'localeId': 'ru', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'ДП', + 'noon': 'полдень', + 'pm': 'ПП', + 'morning1': 'утра', + 'afternoon1': 'дня', + 'evening1': 'вечера', + 'night1': 'ночи' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'narrow': { + 'midnight': 'полн.', + 'am': 'ДП', + 'noon': 'полд.', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'веч.', + 'night1': 'ночь' + }, + 'wide': { + 'midnight': 'полночь', + 'am': 'ДП', + 'noon': 'полдень', + 'pm': 'ПП', + 'morning1': 'утро', + 'afternoon1': 'день', + 'evening1': 'вечер', + 'night1': 'ночь' + } + } + }, + 'days': { + 'format': { + 'narrow': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + }, + 'standalone': { + 'narrow': ['В', 'П', 'В', 'С', 'Ч', 'П', 'С'], + 'short': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'воскресенье', 'понедельник', 'вторник', 'среда', + 'четверг', 'пятница', 'суббота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'мар.', 'апр.', 'мая', 'июн.', 'июл.', 'авг.', + 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', + 'июля', 'августа', 'сентября', 'октября', 'ноября', + 'декабря' + ] + }, + 'standalone': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв.', 'февр.', 'март', 'апр.', 'май', 'июнь', 'июль', + 'авг.', 'сент.', 'окт.', 'нояб.', 'дек.' + ], + 'wide': [ + 'январь', 'февраль', 'март', 'апрель', 'май', 'июнь', + 'июль', 'август', 'сентябрь', 'октябрь', 'ноябрь', + 'декабрь' + ] + } + }, + 'eras': { + 'abbreviated': ['до н. э.', 'н. э.'], + 'narrow': ['до н.э.', 'н.э.'], + 'wide': [ + 'до Рождества Христова', 'от Рождества Христова' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM y \'г\'.', + 'long': 'd MMMM y \'г\'.', + 'medium': 'd MMM y \'г\'.', + 'short': 'dd.MM.y' + }, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'не число', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₽', 'name': 'Российский рубль'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return Plural.Few; + 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 Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_rw.ts b/packages/core/src/i18n/data/locale_rw.ts new file mode 100644 index 00000000000000..4548b768770824 --- /dev/null +++ b/packages/core/src/i18n/data/locale_rw.ts @@ -0,0 +1,107 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRw: NgLocale = { + 'localeId': 'rw', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['cyu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], + 'abbreviated': ['cyu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], + 'wide': [ + 'Ku cyumweru', 'Kuwa mbere', 'Kuwa kabiri', 'Kuwa gatatu', 'Kuwa kane', 'Kuwa gatanu', + 'Kuwa gatandatu' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['cyu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], + 'abbreviated': ['cyu.', 'mbe.', 'kab.', 'gtu.', 'kan.', 'gnu.', 'gnd.'], + 'wide': [ + 'Ku cyumweru', 'Kuwa mbere', 'Kuwa kabiri', 'Kuwa gatatu', 'Kuwa kane', 'Kuwa gatanu', + 'Kuwa gatandatu' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'mut.', 'gas.', 'wer.', 'mat.', 'gic.', 'kam.', 'nya.', 'kan.', 'nze.', 'ukw.', 'ugu.', + 'uku.' + ], + 'wide': [ + 'Mutarama', 'Gashyantare', 'Werurwe', 'Mata', 'Gicuransi', 'Kamena', 'Nyakanga', 'Kanama', + 'Nzeli', 'Ukwakira', 'Ugushyingo', 'Ukuboza' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'mut.', 'gas.', 'wer.', 'mat.', 'gic.', 'kam.', 'nya.', 'kan.', 'nze.', 'ukw.', 'ugu.', + 'uku.' + ], + 'wide': [ + 'Mutarama', 'Gashyantare', 'Werurwe', 'Mata', 'Gicuransi', 'Kamena', 'Nyakanga', 'Kanama', + 'Nzeli', 'Ukwakira', 'Ugushyingo', 'Ukuboza' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'RF', 'name': 'RWF'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_rwk.ts b/packages/core/src/i18n/data/locale_rwk.ts new file mode 100644 index 00000000000000..d912298596aca6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_rwk.ts @@ -0,0 +1,106 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleRwk: NgLocale = { + 'localeId': 'rwk', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'narrow': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'wide': {'am': 'utuko', 'pm': 'kyiukonyi'} + }, + 'standalone': { + 'abbreviated': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'narrow': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'wide': {'am': 'utuko', 'pm': 'kyiukonyi'} + } + }, + 'days': { + 'format': { + 'narrow': ['J', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': + ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + }, + 'standalone': { + 'narrow': ['J', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': + ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Kristu', 'Baada ya Kristu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'Shilingi ya Tanzania'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sah.ts b/packages/core/src/i18n/data/locale_sah.ts new file mode 100644 index 00000000000000..ab217bb68d2366 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sah.ts @@ -0,0 +1,117 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSah: NgLocale = { + 'localeId': 'sah', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ЭИ', 'pm': 'ЭК'}, + 'narrow': {'am': 'ЭИ', 'pm': 'ЭК'}, + 'wide': {'am': 'ЭИ', 'pm': 'ЭК'} + }, + 'standalone': { + 'abbreviated': {'am': 'ЭИ', 'pm': 'ЭК'}, + 'narrow': {'am': 'ЭИ', 'pm': 'ЭК'}, + 'wide': {'am': 'ЭИ', 'pm': 'ЭК'} + } + }, + 'days': { + 'format': { + 'narrow': ['Б', 'Б', 'О', 'С', 'Ч', 'Б', 'С'], + 'short': ['бс', 'бн', 'оп', 'сэ', 'чп', 'бэ', 'сб'], + 'abbreviated': ['бс', 'бн', 'оп', 'сэ', 'чп', 'бэ', 'сб'], + 'wide': [ + 'баскыһыанньа', 'бэнидиэнньик', 'оптуорунньук', + 'сэрэдэ', 'чэппиэр', 'Бээтиҥсэ', 'субуота' + ] + }, + 'standalone': { + 'narrow': ['Б', 'Б', 'О', 'С', 'Ч', 'Б', 'С'], + 'short': ['бс', 'бн', 'оп', 'сэ', 'чп', 'бэ', 'сб'], + 'abbreviated': ['бс', 'бн', 'оп', 'сэ', 'чп', 'бэ', 'сб'], + 'wide': [ + 'баскыһыанньа', 'бэнидиэнньик', 'оптуорунньук', + 'сэрэдэ', 'чэппиэр', 'Бээтиҥсэ', 'субуота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Т', 'О', 'К', 'М', 'Ы', 'Б', 'О', 'А', 'Б', 'А', 'С', 'А'], + 'abbreviated': [ + 'Тохс', 'Олун', 'Клн', 'Мсу', 'Ыам', 'Бэс', 'Отй', 'Атр', + 'Блҕ', 'Алт', 'Сэт', 'Ахс' + ], + 'wide': [ + 'Тохсунньу', 'Олунньу', 'Кулун тутар', 'Муус устар', + 'Ыам ыйын', 'Бэс ыйын', 'От ыйын', 'Атырдьых ыйын', + 'Балаҕан ыйын', 'Алтынньы', 'Сэтинньи', 'ахсынньы' + ] + }, + 'standalone': { + 'narrow': ['Т', 'О', 'К', 'М', 'Ы', 'Б', 'О', 'А', 'Б', 'А', 'С', 'А'], + 'abbreviated': [ + 'Тохс', 'Олун', 'Клн', 'Мсу', 'Ыам', 'Бэс', 'Отй', 'Атр', + 'Блҕ', 'Алт', 'Сэт', 'Ахс' + ], + 'wide': [ + 'тохсунньу', 'олунньу', 'кулун тутар', 'муус устар', + 'ыам ыйа', 'бэс ыйа', 'от ыйа', 'атырдьых ыйа', + 'балаҕан ыйа', 'алтынньы', 'сэтинньи', 'ахсынньы' + ] + } + }, + 'eras': { + 'abbreviated': ['б. э. и.', 'б. э'], + 'narrow': ['б. э. и.', 'б. э'], + 'wide': ['б. э. и.', 'б. э'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y \'сыл\' MMMM d \'күнэ\', EEEE', + 'long': 'y, MMMM d', + 'medium': 'y, MMM d', + 'short': 'yy/M/d' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'чыыһыла буотах', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₽', 'name': 'Арассыы��а солкуобайа'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_saq.ts b/packages/core/src/i18n/data/locale_saq.ts new file mode 100644 index 00000000000000..1c108a04be3983 --- /dev/null +++ b/packages/core/src/i18n/data/locale_saq.ts @@ -0,0 +1,112 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSaq: NgLocale = { + 'localeId': 'saq', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Tesiran', 'pm': 'Teipa'}, + 'narrow': {'am': 'Tesiran', 'pm': 'Teipa'}, + 'wide': {'am': 'Tesiran', 'pm': 'Teipa'} + }, + 'standalone': { + 'abbreviated': {'am': 'Tesiran', 'pm': 'Teipa'}, + 'narrow': {'am': 'Tesiran', 'pm': 'Teipa'}, + 'wide': {'am': 'Tesiran', 'pm': 'Teipa'} + } + }, + 'days': { + 'format': { + 'narrow': ['A', 'K', 'O', 'I', 'I', 'S', 'K'], + 'short': ['Are', 'Kun', 'Ong', 'Ine', 'Ile', 'Sap', 'Kwe'], + 'abbreviated': ['Are', 'Kun', 'Ong', 'Ine', 'Ile', 'Sap', 'Kwe'], + 'wide': [ + 'Mderot ee are', 'Mderot ee kuni', 'Mderot ee ong’wan', 'Mderot ee inet', + 'Mderot ee ile', 'Mderot ee sapa', 'Mderot ee kwe' + ] + }, + 'standalone': { + 'narrow': ['A', 'K', 'O', 'I', 'I', 'S', 'K'], + 'short': ['Are', 'Kun', 'Ong', 'Ine', 'Ile', 'Sap', 'Kwe'], + 'abbreviated': ['Are', 'Kun', 'Ong', 'Ine', 'Ile', 'Sap', 'Kwe'], + 'wide': [ + 'Mderot ee are', 'Mderot ee kuni', 'Mderot ee ong’wan', 'Mderot ee inet', + 'Mderot ee ile', 'Mderot ee sapa', 'Mderot ee kwe' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['O', 'W', 'O', 'O', 'I', 'I', 'S', 'I', 'S', 'T', 'T', 'T'], + 'abbreviated': + ['Obo', 'Waa', 'Oku', 'Ong', 'Ime', 'Ile', 'Sap', 'Isi', 'Saa', 'Tom', 'Tob', 'Tow'], + 'wide': [ + 'Lapa le obo', 'Lapa le waare', 'Lapa le okuni', 'Lapa le ong’wan', 'Lapa le imet', + 'Lapa le ile', 'Lapa le sapa', 'Lapa le isiet', 'Lapa le saal', 'Lapa le tomon', + 'Lapa le tomon obo', 'Lapa le tomon waare' + ] + }, + 'standalone': { + 'narrow': ['O', 'W', 'O', 'O', 'I', 'I', 'S', 'I', 'S', 'T', 'T', 'T'], + 'abbreviated': + ['Obo', 'Waa', 'Oku', 'Ong', 'Ime', 'Ile', 'Sap', 'Isi', 'Saa', 'Tom', 'Tob', 'Tow'], + 'wide': [ + 'Lapa le obo', 'Lapa le waare', 'Lapa le okuni', 'Lapa le ong’wan', 'Lapa le imet', + 'Lapa le ile', 'Lapa le sapa', 'Lapa le isiet', 'Lapa le saal', 'Lapa le tomon', + 'Lapa le tomon obo', 'Lapa le tomon waare' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Christo', 'Baada ya Christo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Njilingi eel Kenya'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sbp.ts b/packages/core/src/i18n/data/locale_sbp.ts new file mode 100644 index 00000000000000..4028beb4c29ae1 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sbp.ts @@ -0,0 +1,101 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSbp: NgLocale = { + 'localeId': 'sbp', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Lwamilawu', 'pm': 'Pashamihe'}, + 'narrow': {'am': 'Lwamilawu', 'pm': 'Pashamihe'}, + 'wide': {'am': 'Lwamilawu', 'pm': 'Pashamihe'} + }, + 'standalone': { + 'abbreviated': {'am': 'Lwamilawu', 'pm': 'Pashamihe'}, + 'narrow': {'am': 'Lwamilawu', 'pm': 'Pashamihe'}, + 'wide': {'am': 'Lwamilawu', 'pm': 'Pashamihe'} + } + }, + 'days': { + 'format': { + 'narrow': ['M', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Mul', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Mul', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': ['Mulungu', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alahamisi', 'Ijumaa', 'Jumamosi'] + }, + 'standalone': { + 'narrow': ['M', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Mul', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Mul', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': ['Mulungu', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alahamisi', 'Ijumaa', 'Jumamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Mup', 'Mwi', 'Msh', 'Mun', 'Mag', 'Muj', 'Msp', 'Mpg', 'Mye', 'Mok', 'Mus', 'Muh'], + 'wide': [ + 'Mupalangulwa', 'Mwitope', 'Mushende', 'Munyi', 'Mushende Magali', 'Mujimbi', 'Mushipepo', + 'Mupuguto', 'Munyense', 'Mokhu', 'Musongandembwe', 'Muhaano' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Mup', 'Mwi', 'Msh', 'Mun', 'Mag', 'Muj', 'Msp', 'Mpg', 'Mye', 'Mok', 'Mus', 'Muh'], + 'wide': [ + 'Mupalangulwa', 'Mwitope', 'Mushende', 'Munyi', 'Mushende Magali', 'Mujimbi', 'Mushipepo', + 'Mupuguto', 'Munyense', 'Mokhu', 'Musongandembwe', 'Muhaano' + ] + } + }, + 'eras': { + 'abbreviated': ['AK', 'PK'], + 'narrow': ['AK', 'PK'], + 'wide': ['Ashanali uKilisito', 'Pamwandi ya Kilisto'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'Ihela ya Tansaniya'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_se-FI.ts b/packages/core/src/i18n/data/locale_se-FI.ts new file mode 100644 index 00000000000000..e63931872de84c --- /dev/null +++ b/packages/core/src/i18n/data/locale_se-FI.ts @@ -0,0 +1,117 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSeFI: NgLocale = { + 'localeId': 'se-FI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'i.b.', 'pm': 'e.b.'}, + 'narrow': {'am': 'i.b.', 'pm': 'e.b.'}, + 'wide': {'am': 'iđitbeaivet', 'pm': 'eahketbeaivet'} + }, + 'standalone': { + 'abbreviated': {'am': 'i.b.', 'pm': 'e.b.'}, + 'narrow': {'am': 'i.b.', 'pm': 'e.b.'}, + 'wide': {'am': 'iđitbeaivi', 'pm': 'eahketbeaivi'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'D', 'G', 'D', 'B', 'L'], + 'short': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'abbreviated': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'wide': [ + 'sotnabeaivi', 'vuossárgga', 'maŋŋebárgga', 'gaskavahku', 'duorastaga', 'bearjadaga', + 'lávvardaga' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'D', 'G', 'D', 'B', 'L'], + 'short': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'abbreviated': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'wide': [ + 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', + 'lávvardat' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], + 'abbreviated': [ + 'ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', + 'skáb', 'juov' + ], + 'wide': [ + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', + 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', + 'skábmamánnu', 'juovlamánnu' + ] + }, + 'standalone': { + 'narrow': ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], + 'abbreviated': [ + 'ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', + 'skáb', 'juov' + ], + 'wide': [ + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', + 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', + 'skábmamánnu', 'juovlamánnu' + ] + } + }, + 'eras': { + 'abbreviated': ['o.Kr.', 'm.Kr.'], + 'narrow': ['o.Kr.', 'm.Kr.'], + 'wide': ['ovdal Kristtusa', 'maŋŋel Kristtusa'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': '·10^', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': '¤¤¤', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_se-SE.ts b/packages/core/src/i18n/data/locale_se-SE.ts new file mode 100644 index 00000000000000..498f0fcf52566f --- /dev/null +++ b/packages/core/src/i18n/data/locale_se-SE.ts @@ -0,0 +1,117 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSeSE: NgLocale = { + 'localeId': 'se-SE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'i.b.', 'pm': 'e.b.'}, + 'narrow': {'am': 'i.b.', 'pm': 'e.b.'}, + 'wide': {'am': 'iđitbeaivet', 'pm': 'eahketbeaivet'} + }, + 'standalone': { + 'abbreviated': {'am': 'i.b.', 'pm': 'e.b.'}, + 'narrow': {'am': 'i.b.', 'pm': 'e.b.'}, + 'wide': {'am': 'iđitbeaivi', 'pm': 'eahketbeaivi'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'V', 'M', 'G', 'D', 'B', 'L'], + 'short': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'abbreviated': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'wide': [ + 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', + 'lávvardat' + ] + }, + 'standalone': { + 'narrow': ['S', 'V', 'M', 'G', 'D', 'B', 'L'], + 'short': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'abbreviated': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'wide': [ + 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', + 'lávvardat' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], + 'abbreviated': [ + 'ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', + 'skáb', 'juov' + ], + 'wide': [ + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', + 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', + 'skábmamánnu', 'juovlamánnu' + ] + }, + 'standalone': { + 'narrow': ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], + 'abbreviated': [ + 'ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', + 'skáb', 'juov' + ], + 'wide': [ + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', + 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', + 'skábmamánnu', 'juovlamánnu' + ] + } + }, + 'eras': { + 'abbreviated': ['o.Kr.', 'm.Kr.'], + 'narrow': ['o.Kr.', 'm.Kr.'], + 'wide': ['ovdal Kristtusa', 'maŋŋel Kristtusa'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': '·10^', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': '¤¤¤', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr', 'name': 'ruoŧŧa kruvdno'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_se.ts b/packages/core/src/i18n/data/locale_se.ts new file mode 100644 index 00000000000000..eec9ad683326a0 --- /dev/null +++ b/packages/core/src/i18n/data/locale_se.ts @@ -0,0 +1,117 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSe: NgLocale = { + 'localeId': 'se', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'i.b.', 'pm': 'e.b.'}, + 'narrow': {'am': 'i.b.', 'pm': 'e.b.'}, + 'wide': {'am': 'iđitbeaivet', 'pm': 'eahketbeaivet'} + }, + 'standalone': { + 'abbreviated': {'am': 'i.b.', 'pm': 'e.b.'}, + 'narrow': {'am': 'i.b.', 'pm': 'e.b.'}, + 'wide': {'am': 'iđitbeaivi', 'pm': 'eahketbeaivi'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'V', 'M', 'G', 'D', 'B', 'L'], + 'short': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'abbreviated': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'wide': [ + 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', + 'lávvardat' + ] + }, + 'standalone': { + 'narrow': ['S', 'V', 'M', 'G', 'D', 'B', 'L'], + 'short': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'abbreviated': ['sotn', 'vuos', 'maŋ', 'gask', 'duor', 'bear', 'láv'], + 'wide': [ + 'sotnabeaivi', 'vuossárga', 'maŋŋebárga', 'gaskavahkku', 'duorasdat', 'bearjadat', + 'lávvardat' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], + 'abbreviated': [ + 'ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', + 'skáb', 'juov' + ], + 'wide': [ + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', + 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', + 'skábmamánnu', 'juovlamánnu' + ] + }, + 'standalone': { + 'narrow': ['O', 'G', 'N', 'C', 'M', 'G', 'S', 'B', 'Č', 'G', 'S', 'J'], + 'abbreviated': [ + 'ođđj', 'guov', 'njuk', 'cuo', 'mies', 'geas', 'suoi', 'borg', 'čakč', 'golg', + 'skáb', 'juov' + ], + 'wide': [ + 'ođđajagemánnu', 'guovvamánnu', 'njukčamánnu', 'cuoŋománnu', 'miessemánnu', + 'geassemánnu', 'suoidnemánnu', 'borgemánnu', 'čakčamánnu', 'golggotmánnu', + 'skábmamánnu', 'juovlamánnu' + ] + } + }, + 'eras': { + 'abbreviated': ['o.Kr.', 'm.Kr.'], + 'narrow': ['o.Kr.', 'm.Kr.'], + 'wide': ['ovdal Kristtusa', 'maŋŋel Kristtusa'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': '·10^', + 'superscriptingExponent': '·', + 'perMille': '‰', + 'infinity': '∞', + 'nan': '¤¤¤', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr', 'name': 'norgga kruvdno'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_seh.ts b/packages/core/src/i18n/data/locale_seh.ts new file mode 100644 index 00000000000000..10a71742d61931 --- /dev/null +++ b/packages/core/src/i18n/data/locale_seh.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSeh: NgLocale = { + 'localeId': 'seh', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'P', 'C', 'T', 'N', 'S', 'S'], + 'short': ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'], + 'abbreviated': ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'], + 'wide': ['Dimingu', 'Chiposi', 'Chipiri', 'Chitatu', 'Chinai', 'Chishanu', 'Sabudu'] + }, + 'standalone': { + 'narrow': ['D', 'P', 'C', 'T', 'N', 'S', 'S'], + 'short': ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'], + 'abbreviated': ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'], + 'wide': ['Dimingu', 'Chiposi', 'Chipiri', 'Chitatu', 'Chinai', 'Chishanu', 'Sabudu'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Aug', 'Set', 'Otu', 'Nov', 'Dec'], + 'wide': [ + 'Janeiro', 'Fevreiro', 'Marco', 'Abril', 'Maio', 'Junho', 'Julho', 'Augusto', 'Setembro', + 'Otubro', 'Novembro', 'Decembro' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Aug', 'Set', 'Otu', 'Nov', 'Dec'], + 'wide': [ + 'Janeiro', 'Fevreiro', 'Marco', 'Abril', 'Maio', 'Junho', 'Julho', 'Augusto', 'Setembro', + 'Otubro', 'Novembro', 'Decembro' + ] + } + }, + 'eras': { + 'abbreviated': ['AC', 'AD'], + 'narrow': ['AC', 'AD'], + 'wide': ['Antes de Cristo', 'Anno Domini'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d \'de\' MMMM \'de\' y', + 'long': 'd \'de\' MMMM \'de\' y', + 'medium': 'd \'de\' MMM \'de\' y', + 'short': 'd/M/y' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MTn', 'name': 'Metical de Moçambique'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ses.ts b/packages/core/src/i18n/data/locale_ses.ts new file mode 100644 index 00000000000000..60e63ec967f4f2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ses.ts @@ -0,0 +1,100 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSes: NgLocale = { + 'localeId': 'ses', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Adduha', 'pm': 'Aluula'}, + 'narrow': {'am': 'Adduha', 'pm': 'Aluula'}, + 'wide': {'am': 'Adduha', 'pm': 'Aluula'} + }, + 'standalone': { + 'abbreviated': {'am': 'Adduha', 'pm': 'Aluula'}, + 'narrow': {'am': 'Adduha', 'pm': 'Aluula'}, + 'wide': {'am': 'Adduha', 'pm': 'Aluula'} + } + }, + 'days': { + 'format': { + 'narrow': ['H', 'T', 'T', 'L', 'L', 'L', 'S'], + 'short': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'abbreviated': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'wide': ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamiisa', 'Alzuma', 'Asibti'] + }, + 'standalone': { + 'narrow': ['H', 'T', 'T', 'L', 'L', 'L', 'S'], + 'short': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'abbreviated': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'wide': ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamiisa', 'Alzuma', 'Asibti'] + } + }, + 'months': { + 'format': { + 'narrow': ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], + 'wide': [ + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + }, + 'standalone': { + 'narrow': ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], + 'wide': [ + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + } + }, + 'eras': { + 'abbreviated': ['IJ', 'IZ'], + 'narrow': ['IJ', 'IZ'], + 'wide': ['Isaa jine', 'Isaa zamanoo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'CFA Fraŋ (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_sg.ts b/packages/core/src/i18n/data/locale_sg.ts new file mode 100644 index 00000000000000..269c0b3164f6a6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sg.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSg: NgLocale = { + 'localeId': 'sg', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ND', 'pm': 'LK'}, + 'narrow': {'am': 'ND', 'pm': 'LK'}, + 'wide': {'am': 'ND', 'pm': 'LK'} + }, + 'standalone': { + 'abbreviated': {'am': 'ND', 'pm': 'LK'}, + 'narrow': {'am': 'ND', 'pm': 'LK'}, + 'wide': {'am': 'ND', 'pm': 'LK'} + } + }, + 'days': { + 'format': { + 'narrow': ['K', 'S', 'T', 'S', 'K', 'P', 'Y'], + 'short': ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'], + 'abbreviated': ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'], + 'wide': [ + 'Bikua-ôko', 'Bïkua-ûse', 'Bïkua-ptâ', 'Bïkua-usïö', 'Bïkua-okü', 'Lâpôsö', + 'Lâyenga' + ] + }, + 'standalone': { + 'narrow': ['K', 'S', 'T', 'S', 'K', 'P', 'Y'], + 'short': ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'], + 'abbreviated': ['Bk1', 'Bk2', 'Bk3', 'Bk4', 'Bk5', 'Lâp', 'Lây'], + 'wide': [ + 'Bikua-ôko', 'Bïkua-ûse', 'Bïkua-ptâ', 'Bïkua-usïö', 'Bïkua-okü', 'Lâpôsö', + 'Lâyenga' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['N', 'F', 'M', 'N', 'B', 'F', 'L', 'K', 'M', 'N', 'N', 'K'], + 'abbreviated': [ + 'Nye', 'Ful', 'Mbä', 'Ngu', 'Bêl', 'Fön', 'Len', 'Kük', 'Mvu', 'Ngb', 'Nab', 'Kak' + ], + 'wide': [ + 'Nyenye', 'Fulundïgi', 'Mbängü', 'Ngubùe', 'Bêläwü', 'Föndo', 'Lengua', + 'Kükürü', 'Mvuka', 'Ngberere', 'Nabändüru', 'Kakauka' + ] + }, + 'standalone': { + 'narrow': ['N', 'F', 'M', 'N', 'B', 'F', 'L', 'K', 'M', 'N', 'N', 'K'], + 'abbreviated': [ + 'Nye', 'Ful', 'Mbä', 'Ngu', 'Bêl', 'Fön', 'Len', 'Kük', 'Mvu', 'Ngb', 'Nab', 'Kak' + ], + 'wide': [ + 'Nyenye', 'Fulundïgi', 'Mbängü', 'Ngubùe', 'Bêläwü', 'Föndo', 'Lengua', + 'Kükürü', 'Mvuka', 'Ngberere', 'Nabändüru', 'Kakauka' + ] + } + }, + 'eras': { + 'abbreviated': ['KnK', 'NpK'], + 'narrow': ['KnK', 'NpK'], + 'wide': ['Kôzo na Krîstu', 'Na pekô tî Krîstu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00;¤-#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'farânga CFA (BEAC)'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_shi-Latn.ts b/packages/core/src/i18n/data/locale_shi-Latn.ts new file mode 100644 index 00000000000000..4974369463e225 --- /dev/null +++ b/packages/core/src/i18n/data/locale_shi-Latn.ts @@ -0,0 +1,102 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleShiLatn: NgLocale = { + 'localeId': 'shi-Latn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'tifawt', 'pm': 'tadggʷat'}, + 'narrow': {'am': 'tifawt', 'pm': 'tadggʷat'}, + 'wide': {'am': 'tifawt', 'pm': 'tadggʷat'} + }, + 'standalone': { + 'abbreviated': {'am': 'tifawt', 'pm': 'tadggʷat'}, + 'narrow': {'am': 'tifawt', 'pm': 'tadggʷat'}, + 'wide': {'am': 'tifawt', 'pm': 'tadggʷat'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['asa', 'ayn', 'asi', 'akṛ', 'akw', 'asim', 'asiḍ'], + 'abbreviated': ['asa', 'ayn', 'asi', 'akṛ', 'akw', 'asim', 'asiḍ'], + 'wide': ['asamas', 'aynas', 'asinas', 'akṛas', 'akwas', 'asimwas', 'asiḍyas'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['asa', 'ayn', 'asi', 'akṛ', 'akw', 'asim', 'asiḍ'], + 'abbreviated': ['asa', 'ayn', 'asi', 'akṛ', 'akw', 'asim', 'asiḍ'], + 'wide': ['asamas', 'aynas', 'asinas', 'akṛas', 'akwas', 'asimwas', 'asiḍyas'] + } + }, + 'months': { + 'format': { + 'narrow': ['i', 'b', 'm', 'i', 'm', 'y', 'y', 'ɣ', 'c', 'k', 'n', 'd'], + 'abbreviated': [ + 'inn', 'bṛa', 'maṛ', 'ibr', 'may', 'yun', 'yul', 'ɣuc', 'cut', 'ktu', 'nuw', 'duj' + ], + 'wide': [ + 'innayr', 'bṛayṛ', 'maṛṣ', 'ibrir', 'mayyu', 'yunyu', 'yulyuz', 'ɣuct', + 'cutanbir', 'ktubr', 'nuwanbir', 'dujanbir' + ] + }, + 'standalone': { + 'narrow': ['i', 'b', 'm', 'i', 'm', 'y', 'y', 'ɣ', 'c', 'k', 'n', 'd'], + 'abbreviated': [ + 'inn', 'bṛa', 'maṛ', 'ibr', 'may', 'yun', 'yul', 'ɣuc', 'cut', 'ktu', 'nuw', 'duj' + ], + 'wide': [ + 'innayr', 'bṛayṛ', 'maṛṣ', 'ibrir', 'mayyu', 'yunyu', 'yulyuz', 'ɣuct', + 'cutanbir', 'ktubr', 'nuwanbir', 'dujanbir' + ] + } + }, + 'eras': { + 'abbreviated': ['daɛ', 'dfɛ'], + 'narrow': ['daɛ', 'dfɛ'], + 'wide': ['dat n ɛisa', 'dffir n ɛisa'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MAD', 'name': 'adrim n lmɣrib'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_shi-Tfng.ts b/packages/core/src/i18n/data/locale_shi-Tfng.ts new file mode 100644 index 00000000000000..f99b7cb6bcee27 --- /dev/null +++ b/packages/core/src/i18n/data/locale_shi-Tfng.ts @@ -0,0 +1,133 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleShiTfng: NgLocale = { + 'localeId': 'shi-Tfng', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'narrow': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'wide': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'} + }, + 'standalone': { + 'abbreviated': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'narrow': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'wide': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'abbreviated': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'wide': [ + 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', + 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'abbreviated': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'wide': [ + 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', + 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' + ] + } + }, + 'months': { + 'format': { + 'narrow': + ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + 'abbreviated': [ + 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', + 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' + ], + 'wide': [ + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', + 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', + 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', + 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + ] + }, + 'standalone': { + 'narrow': + ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + 'abbreviated': [ + 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', + 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' + ], + 'wide': [ + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', + 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', + 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', + 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + ] + } + }, + 'eras': { + 'abbreviated': ['ⴷⴰⵄ', 'ⴷⴼⵄ'], + 'narrow': ['ⴷⴰⵄ', 'ⴷⴼⵄ'], + 'wide': ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MAD', 'name': 'ⴰⴷⵔⵉⵎ ⵏ ⵍⵎⵖⵔⵉⴱ'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + if (n === Math.floor(n) && n >= 2 && n <= 10) return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_shi.ts b/packages/core/src/i18n/data/locale_shi.ts new file mode 100644 index 00000000000000..721953f1168555 --- /dev/null +++ b/packages/core/src/i18n/data/locale_shi.ts @@ -0,0 +1,133 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleShi: NgLocale = { + 'localeId': 'shi', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'narrow': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'wide': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'} + }, + 'standalone': { + 'abbreviated': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'narrow': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'wide': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'abbreviated': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'wide': [ + 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', + 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'abbreviated': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'wide': [ + 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', + 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' + ] + } + }, + 'months': { + 'format': { + 'narrow': + ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + 'abbreviated': [ + 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', + 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' + ], + 'wide': [ + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', + 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', + 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', + 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + ] + }, + 'standalone': { + 'narrow': + ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + 'abbreviated': [ + 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', + 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' + ], + 'wide': [ + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', + 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', + 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', + 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + ] + } + }, + 'eras': { + 'abbreviated': ['ⴷⴰⵄ', 'ⴷⴼⵄ'], + 'narrow': ['ⴷⴰⵄ', 'ⴷⴼⵄ'], + 'wide': ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MAD', 'name': 'ⴰⴷⵔⵉⵎ ⵏ ⵍⵎⵖⵔⵉⴱ'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + if (n === Math.floor(n) && n >= 2 && n <= 10) return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_si.ts b/packages/core/src/i18n/data/locale_si.ts new file mode 100644 index 00000000000000..2faaa3b983a443 --- /dev/null +++ b/packages/core/src/i18n/data/locale_si.ts @@ -0,0 +1,216 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSi: NgLocale = { + 'localeId': 'si', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'මැදියම', + 'am': 'පෙ.ව.', + 'noon': 'මධ්‍යාහ්නය', + 'pm': 'ප.ව.', + 'morning1': 'පාන්දර', + 'morning2': 'උදේ', + 'afternoon1': 'දවල්', + 'evening1': 'හවස', + 'night1': 'රෑ', + 'night2': 'මැදියමට පසු' + }, + 'narrow': { + 'midnight': 'මැ', + 'am': 'පෙ', + 'noon': 'ම', + 'pm': 'ප', + 'morning1': 'පා', + 'morning2': 'උ', + 'afternoon1': 'ද', + 'evening1': 'හ', + 'night1': 'රෑ', + 'night2': 'මැ' + }, + 'wide': { + 'midnight': 'මැදියම', + 'am': 'පෙ.ව.', + 'noon': 'මධ්‍යාහ්නය', + 'pm': 'ප.ව.', + 'morning1': 'පාන්දර', + 'morning2': 'උදේ', + 'afternoon1': 'දවල්', + 'evening1': 'හවස', + 'night1': 'රෑ', + 'night2': 'මැදියමට පසු' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'මැදියම', + 'am': 'පෙ.ව.', + 'noon': 'මධ්‍යාහ්නය', + 'pm': 'ප.ව.', + 'morning1': 'පාන්දර', + 'morning2': 'උදේ', + 'afternoon1': 'දවල්', + 'evening1': 'හවස', + 'night1': 'රෑ', + 'night2': 'මැදියමට පසු' + }, + 'narrow': { + 'midnight': 'මැදියම', + 'am': 'පෙ.ව.', + 'noon': 'මධ්‍යාහ්නය', + 'pm': 'ප.ව.', + 'morning1': 'පාන්දර', + 'morning2': 'උදේ', + 'afternoon1': 'දවල්', + 'evening1': 'හවස', + 'night1': 'රෑ', + 'night2': 'මැදියමට පසු' + }, + 'wide': { + 'midnight': 'මැදියම', + 'am': 'පෙ.ව.', + 'noon': 'මධ්‍යාහ්නය', + 'pm': 'ප.ව.', + 'morning1': 'පාන්දර', + 'morning2': 'උදේ', + 'afternoon1': 'දවල්', + 'evening1': 'හවස', + 'night1': 'රෑ', + 'night2': 'මැදියමට පසු' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ඉ', 'ස', 'අ', 'බ', 'බ්‍ර', 'සි', 'සෙ'], + 'short': [ + 'ඉරි', 'සඳු', 'අඟ', 'බදා', 'බ්‍රහ', 'සිකු', + 'සෙන' + ], + 'abbreviated': [ + 'ඉරිදා', 'සඳුදා', 'අඟහ', 'බදාදා', + 'බ්‍රහස්', 'සිකු', 'සෙන' + ], + 'wide': [ + 'ඉරිදා', 'සඳුදා', 'අඟහරුවාදා', 'බදාදා', + 'බ්‍රහස්පතින්දා', 'සිකුරාදා', + 'සෙනසුරාදා' + ] + }, + 'standalone': { + 'narrow': ['ඉ', 'ස', 'අ', 'බ', 'බ්‍ර', 'සි', 'සෙ'], + 'short': [ + 'ඉරි', 'සඳු', 'අඟ', 'බදා', 'බ්‍රහ', 'සිකු', + 'සෙන' + ], + 'abbreviated': [ + 'ඉරිදා', 'සඳුදා', 'අඟහ', 'බදාදා', + 'බ්‍රහස්', 'සිකු', 'සෙන' + ], + 'wide': [ + 'ඉරිදා', 'සඳුදා', 'අඟහරුවාදා', 'බ���ාදා', + 'බ්‍රහස්පතින්දා', 'සිකුරාදා', + 'සෙනසුරාදා' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', + 'නෙ', 'දෙ' + ], + 'abbreviated': [ + 'ජන', 'පෙබ', 'මාර්තු', 'අප්‍රේල්', 'මැයි', + 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', + 'දෙසැ' + ], + 'wide': [ + 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', + 'අප්‍රේල්', 'මැයි', 'ජූනි', 'ජූලි', + 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', + 'නොවැම්බර්', 'දෙසැම්බර්' + ] + }, + 'standalone': { + 'narrow': [ + 'ජ', 'පෙ', 'මා', 'අ', 'මැ', 'ජූ', 'ජූ', 'අ', 'සැ', 'ඔ', + 'නෙ', 'දෙ' + ], + 'abbreviated': [ + 'ජන', 'පෙබ', 'මාර්', 'අප්‍රේල්', 'මැයි', + 'ජූනි', 'ජූලි', 'අගෝ', 'සැප්', 'ඔක්', 'නොවැ', + 'දෙසැ' + ], + 'wide': [ + 'ජනවාරි', 'පෙබරවාරි', 'මාර්තු', + 'අප්‍රේල්', 'මැයි', 'ජූනි', 'ජූලි', + 'අගෝස්තු', 'සැප්තැම්බර්', 'ඔක්තෝබර්', + 'නොවැම්බර්', 'දෙසැම්බර්' + ] + } + }, + 'eras': { + 'abbreviated': ['ක්‍රි.පූ.', 'ක්‍රි.ව.'], + 'narrow': ['ක්‍රි.පූ.', 'ක්‍රි.ව.'], + 'wide': [ + 'ක්‍රිස්තු පූර්ව', 'ක්‍රිස්තු වර්ෂ' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH.mm.ss zzzz', 'long': 'HH.mm.ss z', 'medium': 'HH.mm.ss', 'short': 'HH.mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'evening1': {'from': '14:00', 'to': '18:00'}, + 'midnight': '00:00', + 'morning1': {'from': '01:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '18:00', 'to': '24:00'}, + 'night2': {'from': '00:00', 'to': '01:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': '.' + }, + 'formats': + {'currency': '¤#,##0.00', 'decimal': '#,##0.###', 'percent': '#,##0%', 'scientific': '#'} + }, + 'currencySettings': + {'symbol': 'රු.', 'name': 'ශ්‍රී ලංකා රුපියල'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (n === 0 || n === 1 || i === 0 && f === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sk.ts b/packages/core/src/i18n/data/locale_sk.ts new file mode 100644 index 00000000000000..903beb4807465b --- /dev/null +++ b/packages/core/src/i18n/data/locale_sk.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSk: NgLocale = { + 'localeId': 'sk', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'o poln.', + 'am': 'AM', + 'noon': 'napol.', + 'pm': 'PM', + 'morning1': 'ráno', + 'morning2': 'dopol.', + 'afternoon1': 'popol.', + 'evening1': 'večer', + 'night1': 'v noci' + }, + 'narrow': { + 'midnight': 'o poln.', + 'am': 'AM', + 'noon': 'nap.', + 'pm': 'PM', + 'morning1': 'ráno', + 'morning2': 'dop.', + 'afternoon1': 'pop.', + 'evening1': 'več.', + 'night1': 'v n.' + }, + 'wide': { + 'midnight': 'o polnoci', + 'am': 'AM', + 'noon': 'napoludnie', + 'pm': 'PM', + 'morning1': 'ráno', + 'morning2': 'dopoludnia', + 'afternoon1': 'popoludní', + 'evening1': 'večer', + 'night1': 'v noci' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'poln.', + 'am': 'AM', + 'noon': 'pol.', + 'pm': 'PM', + 'morning1': 'ráno', + 'morning2': 'dopol.', + 'afternoon1': 'popol.', + 'evening1': 'večer', + 'night1': 'noc' + }, + 'narrow': { + 'midnight': 'poln.', + 'am': 'AM', + 'noon': 'pol.', + 'pm': 'PM', + 'morning1': 'ráno', + 'morning2': 'dop.', + 'afternoon1': 'pop.', + 'evening1': 'več.', + 'night1': 'noc' + }, + 'wide': { + 'midnight': 'polnoc', + 'am': 'AM', + 'noon': 'poludnie', + 'pm': 'PM', + 'morning1': 'ráno', + 'morning2': 'dopoludnie', + 'afternoon1': 'popoludnie', + 'evening1': 'večer', + 'night1': 'noc' + } + } + }, + 'days': { + 'format': { + 'narrow': ['n', 'p', 'u', 's', 'š', 'p', 's'], + 'short': ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'], + 'abbreviated': ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'], + 'wide': ['nedeľa', 'pondelok', 'utorok', 'streda', 'štvrtok', 'piatok', 'sobota'] + }, + 'standalone': { + 'narrow': ['n', 'p', 'u', 's', 'š', 'p', 's'], + 'short': ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'], + 'abbreviated': ['ne', 'po', 'ut', 'st', 'št', 'pi', 'so'], + 'wide': ['nedeľa', 'pondelok', 'utorok', 'streda', 'štvrtok', 'piatok', 'sobota'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'januára', 'februára', 'marca', 'apríla', 'mája', 'júna', 'júla', 'augusta', + 'septembra', 'októbra', 'novembra', 'decembra' + ] + }, + 'standalone': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'január', 'február', 'marec', 'apríl', 'máj', 'jún', 'júl', 'august', 'september', + 'október', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['pred Kr.', 'po Kr.'], + 'narrow': ['pred Kr.', 'po Kr.'], + 'wide': ['pred Kristom', 'po Kristovi'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d. MMMM y', 'long': 'd. MMMM y', 'medium': 'd. M. y', 'short': 'd. M. y'}, + 'time': {'full': 'H:mm:ss zzzz', 'long': 'H:mm:ss z', 'medium': 'H:mm:ss', 'short': 'H:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '09:00'}, + 'morning2': {'from': '09:00', 'to': '12:00'}, + 'night1': {'from': '22:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'e', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0) return Plural.Few; + if (!(v === 0)) return Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sl.ts b/packages/core/src/i18n/data/locale_sl.ts new file mode 100644 index 00000000000000..5cf82cb00c98ea --- /dev/null +++ b/packages/core/src/i18n/data/locale_sl.ts @@ -0,0 +1,185 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSl: NgLocale = { + 'localeId': 'sl', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'opoln.', + 'am': 'dop.', + 'noon': 'opold.', + 'pm': 'pop.', + 'morning1': 'zjut.', + 'morning2': 'dop.', + 'afternoon1': 'pop.', + 'evening1': 'zveč.', + 'night1': 'noč' + }, + 'narrow': { + 'midnight': '24.00', + 'am': 'd', + 'noon': '12.00', + 'pm': 'p', + 'morning1': 'zj', + 'morning2': 'd', + 'afternoon1': 'p', + 'evening1': 'zv', + 'night1': 'po' + }, + 'wide': { + 'midnight': 'opolnoči', + 'am': 'dop.', + 'noon': 'opoldne', + 'pm': 'pop.', + 'morning1': 'zjutraj', + 'morning2': 'dopoldan', + 'afternoon1': 'popoldan', + 'evening1': 'zvečer', + 'night1': 'ponoči' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'poln.', + 'am': 'dop.', + 'noon': 'pold.', + 'pm': 'pop.', + 'morning1': 'jut.', + 'morning2': 'dop.', + 'afternoon1': 'pop.', + 'evening1': 'zveč.', + 'night1': 'noč' + }, + 'narrow': { + 'midnight': '24.00', + 'am': 'd', + 'noon': '12.00', + 'pm': 'p', + 'morning1': 'j', + 'morning2': 'd', + 'afternoon1': 'p', + 'evening1': 'v', + 'night1': 'n' + }, + 'wide': { + 'midnight': 'polnoč', + 'am': 'dopoldne', + 'noon': 'poldne', + 'pm': 'popoldne', + 'morning1': 'jutro', + 'morning2': 'dopoldne', + 'afternoon1': 'popoldne', + 'evening1': 'večer', + 'night1': 'noč' + } + } + }, + 'days': { + 'format': { + 'narrow': ['n', 'p', 't', 's', 'č', 'p', 's'], + 'short': ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'], + 'abbreviated': ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'], + 'wide': ['nedelja', 'ponedeljek', 'torek', 'sreda', 'četrtek', 'petek', 'sobota'] + }, + 'standalone': { + 'narrow': ['n', 'p', 't', 's', 'č', 'p', 's'], + 'short': ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'], + 'abbreviated': ['ned.', 'pon.', 'tor.', 'sre.', 'čet.', 'pet.', 'sob.'], + 'wide': ['nedelja', 'ponedeljek', 'torek', 'sreda', 'četrtek', 'petek', 'sobota'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'avg.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'marec', 'april', 'maj', 'junij', 'julij', 'avgust', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun.', 'jul.', 'avg.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'marec', 'april', 'maj', 'junij', 'julij', 'avgust', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['pr. Kr.', 'po Kr.'], + 'narrow': ['pr. Kr.', 'po Kr.'], + 'wide': ['pred Kristusom', 'po Kristusu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd. MMMM y', + 'long': 'dd. MMMM y', + 'medium': 'd. MMM y', + 'short': 'd. MM. yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '22:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': 'e', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'evro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 100 === 1) return Plural.One; + if (v === 0 && i % 100 === 2) return Plural.Two; + if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || !(v === 0)) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_smn.ts b/packages/core/src/i18n/data/locale_smn.ts new file mode 100644 index 00000000000000..b08df840061d8b --- /dev/null +++ b/packages/core/src/i18n/data/locale_smn.ts @@ -0,0 +1,121 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSmn: NgLocale = { + 'localeId': 'smn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ip.', 'pm': 'ep.'}, + 'narrow': {'am': 'ip.', 'pm': 'ep.'}, + 'wide': {'am': 'ip.', 'pm': 'ep.'} + }, + 'standalone': { + 'abbreviated': {'am': 'ip.', 'pm': 'ep.'}, + 'narrow': {'am': 'ip.', 'pm': 'ep.'}, + 'wide': {'am': 'ip.', 'pm': 'ep.'} + } + }, + 'days': { + 'format': { + 'narrow': ['p', 'V', 'M', 'K', 'T', 'V', 'L'], + 'short': ['pa', 'vu', 'ma', 'ko', 'tu', 'vá', 'lá'], + 'abbreviated': ['pas', 'vuo', 'maj', 'kos', 'tuo', 'vás', 'láv'], + 'wide': [ + 'pasepeeivi', 'vuossaargâ', 'majebaargâ', 'koskoho', 'tuorâstuv', 'vástuppeeivi', + 'lávurduv' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['pa', 'vu', 'ma', 'ko', 'tu', 'vá', 'lá'], + 'abbreviated': ['pas', 'vuo', 'maj', 'kos', 'tuo', 'vás', 'láv'], + 'wide': [ + 'pasepeivi', 'vuossargâ', 'majebargâ', 'koskokko', 'tuorâstâh', 'vástuppeivi', + 'lávurdâh' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['U', 'K', 'NJ', 'C', 'V', 'K', 'S', 'P', 'Č', 'R', 'S', 'J'], + 'abbreviated': [ + 'uđiv', 'kuovâ', 'njuhčâ', 'cuáŋui', 'vyesi', 'kesi', 'syeini', 'porge', 'čohčâ', + 'roovvâd', 'skammâ', 'juovlâ' + ], + 'wide': [ + 'uđđâivemáánu', 'kuovâmáánu', 'njuhčâmáánu', 'cuáŋuimáánu', + 'vyesimáánu', 'kesimáánu', 'syeinimáánu', 'porgemáánu', 'čohčâmáánu', + 'roovvâdmáánu', 'skammâmáánu', 'juovlâmáánu' + ] + }, + 'standalone': { + 'narrow': ['U', 'K', 'NJ', 'C', 'V', 'K', 'S', 'P', 'Č', 'R', 'S', 'J'], + 'abbreviated': [ + 'uđiv', 'kuovâ', 'njuhčâ', 'cuáŋui', 'vyesi', 'kesi', 'syeini', 'porge', 'čohčâ', + 'roovvâd', 'skammâ', 'juovlâ' + ], + 'wide': [ + 'uđđâivemáánu', 'kuovâmáánu', 'njuhčâmáánu', 'cuáŋuimáánu', + 'vyesimáánu', 'kesimáánu', 'syeinimáánu', 'porgemáánu', 'čohčâmáánu', + 'roovvâdmáánu', 'skammâmáánu', 'juovlâmáánu' + ] + } + }, + 'eras': { + 'abbreviated': ['oKr.', 'mKr.'], + 'narrow': ['oKr.', 'mKr.'], + 'wide': ['Ovdil Kristus šoddâm', 'maŋa Kristus šoddâm'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'cccc, MMMM d. y', 'long': 'MMMM d. y', 'medium': 'MMM d. y', 'short': 'd.M.y'}, + 'time': {'full': 'H.mm.ss zzzz', 'long': 'H.mm.ss z', 'medium': 'H.mm.ss', 'short': 'H.mm'}, + 'dateTime': { + 'full': '{1} \'tme\' {0}', + 'long': '{1} \'tme\' {0}', + 'medium': '{1} \'tme\' {0}', + 'short': '{1} {0}' + } + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'epiloho', + 'timeSeparator': '.' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + if (n === 2) return Plural.Two; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sn.ts b/packages/core/src/i18n/data/locale_sn.ts new file mode 100644 index 00000000000000..302255325428ce --- /dev/null +++ b/packages/core/src/i18n/data/locale_sn.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSn: NgLocale = { + 'localeId': 'sn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'a', 'pm': 'p'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'C', 'C', 'C', 'C', 'M'], + 'short': ['Sv', 'Mu', 'Cp', 'Ct', 'Cn', 'Cs', 'Mg'], + 'abbreviated': ['Svo', 'Muv', 'Chp', 'Cht', 'Chn', 'Chs', 'Mug'], + 'wide': ['Svondo', 'Muvhuro', 'Chipiri', 'Chitatu', 'China', 'Chishanu', 'Mugovera'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'C', 'C', 'C', 'C', 'M'], + 'short': ['Sv', 'Mu', 'Cp', 'Ct', 'Cn', 'Cs', 'Mg'], + 'abbreviated': ['Svo', 'Muv', 'Chp', 'Cht', 'Chn', 'Chs', 'Mug'], + 'wide': ['Svondo', 'Muvhuro', 'Chipiri', 'Chitatu', 'China', 'Chishanu', 'Mugovera'] + } + }, + 'months': { + 'format': { + 'narrow': ['N', 'K', 'K', 'K', 'C', 'C', 'C', 'N', 'G', 'G', 'M', 'Z'], + 'abbreviated': + ['Ndi', 'Kuk', 'Kur', 'Kub', 'Chv', 'Chk', 'Chg', 'Nya', 'Gun', 'Gum', 'Mbu', 'Zvi'], + 'wide': [ + 'Ndira', 'Kukadzi', 'Kurume', 'Kubvumbi', 'Chivabvu', 'Chikumi', 'Chikunguru', + 'Nyamavhuvhu', 'Gunyana', 'Gumiguru', 'Mbudzi', 'Zvita' + ] + }, + 'standalone': { + 'narrow': ['N', 'K', 'K', 'K', 'C', 'C', 'C', 'N', 'G', 'G', 'M', 'Z'], + 'abbreviated': + ['Ndi', 'Kuk', 'Kur', 'Kub', 'Chv', 'Chk', 'Chg', 'Nya', 'Gun', 'Gum', 'Mbu', 'Zvi'], + 'wide': [ + 'Ndira', 'Kukadzi', 'Kurume', 'Kubvumbi', 'Chivabvu', 'Chikumi', 'Chikunguru', + 'Nyamavhuvhu', 'Gunyana', 'Gumiguru', 'Mbudzi', 'Zvita' + ] + } + }, + 'eras': { + 'abbreviated': ['BC', 'AD'], + 'narrow': ['BC', 'AD'], + 'wide': ['Kristo asati auya', 'mugore ramambo vedu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'US$', 'name': 'Dora re Amerika'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_so-DJ.ts b/packages/core/src/i18n/data/locale_so-DJ.ts new file mode 100644 index 00000000000000..130a01ae2b66eb --- /dev/null +++ b/packages/core/src/i18n/data/locale_so-DJ.ts @@ -0,0 +1,110 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSoDJ: NgLocale = { + 'localeId': 'so-DJ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'sn.', 'pm': 'gn.'}, + 'narrow': {'am': 'sn.', 'pm': 'gn.'}, + 'wide': {'am': 'sn.', 'pm': 'gn.'} + }, + 'standalone': { + 'abbreviated': {'am': 'sn.', 'pm': 'gn.'}, + 'narrow': {'am': 'sn.', 'pm': 'gn.'}, + 'wide': {'am': 'sn.', 'pm': 'gn.'} + } + }, + 'days': { + 'format': { + 'narrow': ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], + 'short': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'abbreviated': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'wide': ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'] + }, + 'standalone': { + 'narrow': ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], + 'short': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'abbreviated': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'wide': ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'] + } + }, + 'months': { + 'format': { + 'narrow': ['K', 'L', 'S', 'A', 'S', 'L', 'T', 'S', 'S', 'T', 'K', 'L'], + 'abbreviated': + ['Kob', 'Lab', 'Sad', 'Afr', 'Sha', 'Lix', 'Tod', 'Sid', 'Sag', 'Tob', 'KIT', 'LIT'], + 'wide': [ + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Kob', 'Lab', 'Sad', 'Afr', 'Sha', 'Lix', 'Tod', 'Sid', 'Sag', 'Tob', 'KIT', 'LIT'], + 'wide': [ + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + } + }, + 'eras': {'abbreviated': ['CK', 'CD'], 'narrow': ['CK', 'CD'], 'wide': ['CK', 'CD']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, MMMM dd, y', + 'long': 'dd MMMM y', + 'medium': 'dd-MMM-y', + 'short': 'dd/MM/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Fdj', 'name': 'Faran Jabbuuti'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_so-ET.ts b/packages/core/src/i18n/data/locale_so-ET.ts new file mode 100644 index 00000000000000..4f3dffbc733334 --- /dev/null +++ b/packages/core/src/i18n/data/locale_so-ET.ts @@ -0,0 +1,110 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSoET: NgLocale = { + 'localeId': 'so-ET', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'sn.', 'pm': 'gn.'}, + 'narrow': {'am': 'sn.', 'pm': 'gn.'}, + 'wide': {'am': 'sn.', 'pm': 'gn.'} + }, + 'standalone': { + 'abbreviated': {'am': 'sn.', 'pm': 'gn.'}, + 'narrow': {'am': 'sn.', 'pm': 'gn.'}, + 'wide': {'am': 'sn.', 'pm': 'gn.'} + } + }, + 'days': { + 'format': { + 'narrow': ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], + 'short': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'abbreviated': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'wide': ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'] + }, + 'standalone': { + 'narrow': ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], + 'short': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'abbreviated': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'wide': ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'] + } + }, + 'months': { + 'format': { + 'narrow': ['K', 'L', 'S', 'A', 'S', 'L', 'T', 'S', 'S', 'T', 'K', 'L'], + 'abbreviated': + ['Kob', 'Lab', 'Sad', 'Afr', 'Sha', 'Lix', 'Tod', 'Sid', 'Sag', 'Tob', 'KIT', 'LIT'], + 'wide': [ + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Kob', 'Lab', 'Sad', 'Afr', 'Sha', 'Lix', 'Tod', 'Sid', 'Sag', 'Tob', 'KIT', 'LIT'], + 'wide': [ + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + } + }, + 'eras': {'abbreviated': ['CK', 'CD'], 'narrow': ['CK', 'CD'], 'wide': ['CK', 'CD']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, MMMM dd, y', + 'long': 'dd MMMM y', + 'medium': 'dd-MMM-y', + 'short': 'dd/MM/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Br', 'name': 'Birta Itoobbiya'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_so-KE.ts b/packages/core/src/i18n/data/locale_so-KE.ts new file mode 100644 index 00000000000000..0e7a4a1b3733c9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_so-KE.ts @@ -0,0 +1,106 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSoKE: NgLocale = { + 'localeId': 'so-KE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'sn.', 'pm': 'gn.'}, + 'narrow': {'am': 'sn.', 'pm': 'gn.'}, + 'wide': {'am': 'sn.', 'pm': 'gn.'} + }, + 'standalone': { + 'abbreviated': {'am': 'sn.', 'pm': 'gn.'}, + 'narrow': {'am': 'sn.', 'pm': 'gn.'}, + 'wide': {'am': 'sn.', 'pm': 'gn.'} + } + }, + 'days': { + 'format': { + 'narrow': ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], + 'short': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'abbreviated': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'wide': ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'] + }, + 'standalone': { + 'narrow': ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], + 'short': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'abbreviated': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'wide': ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'] + } + }, + 'months': { + 'format': { + 'narrow': ['K', 'L', 'S', 'A', 'S', 'L', 'T', 'S', 'S', 'T', 'K', 'L'], + 'abbreviated': + ['Kob', 'Lab', 'Sad', 'Afr', 'Sha', 'Lix', 'Tod', 'Sid', 'Sag', 'Tob', 'KIT', 'LIT'], + 'wide': [ + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Kob', 'Lab', 'Sad', 'Afr', 'Sha', 'Lix', 'Tod', 'Sid', 'Sag', 'Tob', 'KIT', 'LIT'], + 'wide': [ + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + } + }, + 'eras': {'abbreviated': ['CK', 'CD'], 'narrow': ['CK', 'CD'], 'wide': ['CK', 'CD']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, MMMM dd, y', + 'long': 'dd MMMM y', + 'medium': 'dd-MMM-y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'KES'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_so.ts b/packages/core/src/i18n/data/locale_so.ts new file mode 100644 index 00000000000000..7589ef8933d66c --- /dev/null +++ b/packages/core/src/i18n/data/locale_so.ts @@ -0,0 +1,110 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSo: NgLocale = { + 'localeId': 'so', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'sn.', 'pm': 'gn.'}, + 'narrow': {'am': 'sn.', 'pm': 'gn.'}, + 'wide': {'am': 'sn.', 'pm': 'gn.'} + }, + 'standalone': { + 'abbreviated': {'am': 'sn.', 'pm': 'gn.'}, + 'narrow': {'am': 'sn.', 'pm': 'gn.'}, + 'wide': {'am': 'sn.', 'pm': 'gn.'} + } + }, + 'days': { + 'format': { + 'narrow': ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], + 'short': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'abbreviated': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'wide': ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'] + }, + 'standalone': { + 'narrow': ['A', 'I', 'T', 'A', 'Kh', 'J', 'S'], + 'short': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'abbreviated': ['Axd', 'Isn', 'Tal', 'Arb', 'Kha', 'Jim', 'Sab'], + 'wide': ['Axad', 'Isniin', 'Talaado', 'Arbaco', 'Khamiis', 'Jimco', 'Sabti'] + } + }, + 'months': { + 'format': { + 'narrow': ['K', 'L', 'S', 'A', 'S', 'L', 'T', 'S', 'S', 'T', 'K', 'L'], + 'abbreviated': + ['Kob', 'Lab', 'Sad', 'Afr', 'Sha', 'Lix', 'Tod', 'Sid', 'Sag', 'Tob', 'KIT', 'LIT'], + 'wide': [ + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['Kob', 'Lab', 'Sad', 'Afr', 'Sha', 'Lix', 'Tod', 'Sid', 'Sag', 'Tob', 'KIT', 'LIT'], + 'wide': [ + 'Bisha Koobaad', 'Bisha Labaad', 'Bisha Saddexaad', 'Bisha Afraad', 'Bisha Shanaad', + 'Bisha Lixaad', 'Bisha Todobaad', 'Bisha Sideedaad', 'Bisha Sagaalaad', 'Bisha Tobnaad', + 'Bisha Kow iyo Tobnaad', 'Bisha Laba iyo Tobnaad' + ] + } + }, + 'eras': {'abbreviated': ['CK', 'CD'], 'narrow': ['CK', 'CD'], 'wide': ['CK', 'CD']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, MMMM dd, y', + 'long': 'dd MMMM y', + 'medium': 'dd-MMM-y', + 'short': 'dd/MM/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'S', 'name': 'Shilin soomaali'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sq-MK.ts b/packages/core/src/i18n/data/locale_sq-MK.ts new file mode 100644 index 00000000000000..f2c232967365a3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sq-MK.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSqMK: NgLocale = { + 'localeId': 'sq-MK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'e mesnatës', + 'am': 'e paradites', + 'noon': 'e mesditës', + 'pm': 'e pasdites', + 'morning1': 'e mëngjesit', + 'morning2': 'e paradites', + 'afternoon1': 'e pasdites', + 'evening1': 'e mbrëmjes', + 'night1': 'e natës' + }, + 'narrow': { + 'midnight': 'e mesnatës', + 'am': 'e paradites', + 'noon': 'e mesditës', + 'pm': 'e pasdites', + 'morning1': 'e mëngjesit', + 'morning2': 'e paradites', + 'afternoon1': 'e pasdites', + 'evening1': 'e mbrëmjes', + 'night1': 'e natës' + }, + 'wide': { + 'midnight': 'e mesnatës', + 'am': 'e paradites', + 'noon': 'e mesditës', + 'pm': 'e pasdites', + 'morning1': 'e mëngjesit', + 'morning2': 'e paradites', + 'afternoon1': 'e pasdites', + 'evening1': 'e mbrëmjes', + 'night1': 'e natës' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mesnatë', + 'am': 'paradite', + 'noon': 'mesditë', + 'pm': 'pasdite', + 'morning1': 'mëngjes', + 'morning2': 'paradite', + 'afternoon1': 'pasdite', + 'evening1': 'mbrëmje', + 'night1': 'natë' + }, + 'narrow': { + 'midnight': 'mesnatë', + 'am': 'paradite', + 'noon': 'mesditë', + 'pm': 'pasdite', + 'morning1': 'mëngjes', + 'morning2': 'paradite', + 'afternoon1': 'pasdite', + 'evening1': 'mbrëmje', + 'night1': 'natë' + }, + 'wide': { + 'midnight': 'mesnatë', + 'am': 'paradite', + 'noon': 'mesditë', + 'pm': 'pasdite', + 'morning1': 'mëngjes', + 'morning2': 'paradite', + 'afternoon1': 'pasdite', + 'evening1': 'mbrëmje', + 'night1': 'natë' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'H', 'M', 'M', 'E', 'P', 'S'], + 'short': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'abbreviated': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'wide': + ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'] + }, + 'standalone': { + 'narrow': ['D', 'H', 'M', 'M', 'E', 'P', 'S'], + 'short': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'abbreviated': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'wide': + ['E diel', 'E hënë', 'E martë', 'E mërkurë', 'E enjte', 'E premte', 'E shtunë'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 's', 'm', 'p', 'm', 'q', 'k', 'g', 's', 't', 'n', 'd'], + 'abbreviated': + ['jan', 'shk', 'mar', 'pri', 'maj', 'qer', 'kor', 'gsh', 'sht', 'tet', 'nën', 'dhj'], + 'wide': [ + 'janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', + 'tetor', 'nëntor', 'dhjetor' + ] + }, + 'standalone': { + 'narrow': ['J', 'S', 'M', 'P', 'M', 'Q', 'K', 'G', 'S', 'T', 'N', 'D'], + 'abbreviated': + ['Jan', 'Shk', 'Mar', 'Pri', 'Maj', 'Qer', 'Kor', 'Gsh', 'Sht', 'Tet', 'Nën', 'Dhj'], + 'wide': [ + 'Janar', 'Shkurt', 'Mars', 'Prill', 'Maj', 'Qershor', 'Korrik', 'Gusht', 'Shtator', + 'Tetor', 'Nëntor', 'Dhjetor' + ] + } + }, + 'eras': { + 'abbreviated': ['p.K.', 'mb.K.'], + 'narrow': ['p.K.', 'mb.K.'], + 'wide': ['para Krishtit', 'mbas Krishtit'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd.M.yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'në\' {0}', + 'long': '{1} \'në\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '09:00'}, + 'morning2': {'from': '09:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'den', 'name': 'Denari maqedonas'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sq-XK.ts b/packages/core/src/i18n/data/locale_sq-XK.ts new file mode 100644 index 00000000000000..1dc1a7dd59d3d9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sq-XK.ts @@ -0,0 +1,180 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSqXK: NgLocale = { + 'localeId': 'sq-XK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'e mesnatës', + 'am': 'e paradites', + 'noon': 'e mesditës', + 'pm': 'e pasdites', + 'morning1': 'e mëngjesit', + 'morning2': 'e paradites', + 'afternoon1': 'e pasdites', + 'evening1': 'e mbrëmjes', + 'night1': 'e natës' + }, + 'narrow': { + 'midnight': 'e mesnatës', + 'am': 'e paradites', + 'noon': 'e mesditës', + 'pm': 'e pasdites', + 'morning1': 'e mëngjesit', + 'morning2': 'e paradites', + 'afternoon1': 'e pasdites', + 'evening1': 'e mbrëmjes', + 'night1': 'e natës' + }, + 'wide': { + 'midnight': 'e mesnatës', + 'am': 'e paradites', + 'noon': 'e mesditës', + 'pm': 'e pasdites', + 'morning1': 'e mëngjesit', + 'morning2': 'e paradites', + 'afternoon1': 'e pasdites', + 'evening1': 'e mbrëmjes', + 'night1': 'e natës' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mesnatë', + 'am': 'paradite', + 'noon': 'mesditë', + 'pm': 'pasdite', + 'morning1': 'mëngjes', + 'morning2': 'paradite', + 'afternoon1': 'pasdite', + 'evening1': 'mbrëmje', + 'night1': 'natë' + }, + 'narrow': { + 'midnight': 'mesnatë', + 'am': 'paradite', + 'noon': 'mesditë', + 'pm': 'pasdite', + 'morning1': 'mëngjes', + 'morning2': 'paradite', + 'afternoon1': 'pasdite', + 'evening1': 'mbrëmje', + 'night1': 'natë' + }, + 'wide': { + 'midnight': 'mesnatë', + 'am': 'paradite', + 'noon': 'mesditë', + 'pm': 'pasdite', + 'morning1': 'mëngjes', + 'morning2': 'paradite', + 'afternoon1': 'pasdite', + 'evening1': 'mbrëmje', + 'night1': 'natë' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'H', 'M', 'M', 'E', 'P', 'S'], + 'short': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'abbreviated': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'wide': + ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'] + }, + 'standalone': { + 'narrow': ['D', 'H', 'M', 'M', 'E', 'P', 'S'], + 'short': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'abbreviated': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'wide': + ['E diel', 'E hënë', 'E martë', 'E mërkurë', 'E enjte', 'E premte', 'E shtunë'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 's', 'm', 'p', 'm', 'q', 'k', 'g', 's', 't', 'n', 'd'], + 'abbreviated': + ['jan', 'shk', 'mar', 'pri', 'maj', 'qer', 'kor', 'gsh', 'sht', 'tet', 'nën', 'dhj'], + 'wide': [ + 'janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', + 'tetor', 'nëntor', 'dhjetor' + ] + }, + 'standalone': { + 'narrow': ['J', 'S', 'M', 'P', 'M', 'Q', 'K', 'G', 'S', 'T', 'N', 'D'], + 'abbreviated': + ['Jan', 'Shk', 'Mar', 'Pri', 'Maj', 'Qer', 'Kor', 'Gsh', 'Sht', 'Tet', 'Nën', 'Dhj'], + 'wide': [ + 'Janar', 'Shkurt', 'Mars', 'Prill', 'Maj', 'Qershor', 'Korrik', 'Gusht', 'Shtator', + 'Tetor', 'Nëntor', 'Dhjetor' + ] + } + }, + 'eras': { + 'abbreviated': ['p.K.', 'mb.K.'], + 'narrow': ['p.K.', 'mb.K.'], + 'wide': ['para Krishtit', 'mbas Krishtit'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd.M.yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'në\' {0}', + 'long': '{1} \'në\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '09:00'}, + 'morning2': {'from': '09:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euroja'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sq.ts b/packages/core/src/i18n/data/locale_sq.ts new file mode 100644 index 00000000000000..7f373799626c2b --- /dev/null +++ b/packages/core/src/i18n/data/locale_sq.ts @@ -0,0 +1,184 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSq: NgLocale = { + 'localeId': 'sq', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'e mesnatës', + 'am': 'e paradites', + 'noon': 'e mesditës', + 'pm': 'e pasdites', + 'morning1': 'e mëngjesit', + 'morning2': 'e paradites', + 'afternoon1': 'e pasdites', + 'evening1': 'e mbrëmjes', + 'night1': 'e natës' + }, + 'narrow': { + 'midnight': 'e mesnatës', + 'am': 'e paradites', + 'noon': 'e mesditës', + 'pm': 'e pasdites', + 'morning1': 'e mëngjesit', + 'morning2': 'e paradites', + 'afternoon1': 'e pasdites', + 'evening1': 'e mbrëmjes', + 'night1': 'e natës' + }, + 'wide': { + 'midnight': 'e mesnatës', + 'am': 'e paradites', + 'noon': 'e mesditës', + 'pm': 'e pasdites', + 'morning1': 'e mëngjesit', + 'morning2': 'e paradites', + 'afternoon1': 'e pasdites', + 'evening1': 'e mbrëmjes', + 'night1': 'e natës' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'mesnatë', + 'am': 'paradite', + 'noon': 'mesditë', + 'pm': 'pasdite', + 'morning1': 'mëngjes', + 'morning2': 'paradite', + 'afternoon1': 'pasdite', + 'evening1': 'mbrëmje', + 'night1': 'natë' + }, + 'narrow': { + 'midnight': 'mesnatë', + 'am': 'paradite', + 'noon': 'mesditë', + 'pm': 'pasdite', + 'morning1': 'mëngjes', + 'morning2': 'paradite', + 'afternoon1': 'pasdite', + 'evening1': 'mbrëmje', + 'night1': 'natë' + }, + 'wide': { + 'midnight': 'mesnatë', + 'am': 'paradite', + 'noon': 'mesditë', + 'pm': 'pasdite', + 'morning1': 'mëngjes', + 'morning2': 'paradite', + 'afternoon1': 'pasdite', + 'evening1': 'mbrëmje', + 'night1': 'natë' + } + } + }, + 'days': { + 'format': { + 'narrow': ['D', 'H', 'M', 'M', 'E', 'P', 'S'], + 'short': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'abbreviated': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'wide': + ['e diel', 'e hënë', 'e martë', 'e mërkurë', 'e enjte', 'e premte', 'e shtunë'] + }, + 'standalone': { + 'narrow': ['D', 'H', 'M', 'M', 'E', 'P', 'S'], + 'short': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'abbreviated': ['Die', 'Hën', 'Mar', 'Mër', 'Enj', 'Pre', 'Sht'], + 'wide': + ['E diel', 'E hënë', 'E martë', 'E mërkurë', 'E enjte', 'E premte', 'E shtunë'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 's', 'm', 'p', 'm', 'q', 'k', 'g', 's', 't', 'n', 'd'], + 'abbreviated': + ['jan', 'shk', 'mar', 'pri', 'maj', 'qer', 'kor', 'gsh', 'sht', 'tet', 'nën', 'dhj'], + 'wide': [ + 'janar', 'shkurt', 'mars', 'prill', 'maj', 'qershor', 'korrik', 'gusht', 'shtator', + 'tetor', 'nëntor', 'dhjetor' + ] + }, + 'standalone': { + 'narrow': ['J', 'S', 'M', 'P', 'M', 'Q', 'K', 'G', 'S', 'T', 'N', 'D'], + 'abbreviated': + ['Jan', 'Shk', 'Mar', 'Pri', 'Maj', 'Qer', 'Kor', 'Gsh', 'Sht', 'Tet', 'Nën', 'Dhj'], + 'wide': [ + 'Janar', 'Shkurt', 'Mars', 'Prill', 'Maj', 'Qershor', 'Korrik', 'Gusht', 'Shtator', + 'Tetor', 'Nëntor', 'Dhjetor' + ] + } + }, + 'eras': { + 'abbreviated': ['p.K.', 'mb.K.'], + 'narrow': ['p.K.', 'mb.K.'], + 'wide': ['para Krishtit', 'mbas Krishtit'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd.M.yy'}, + 'time': { + 'full': 'h:mm:ss a, zzzz', + 'long': 'h:mm:ss a, z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': { + 'full': '{1} \'në\' {0}', + 'long': '{1} \'në\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '09:00'}, + 'morning2': {'from': '09:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Lekë', 'name': 'Leku shqiptar'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sr-Cyrl-BA.ts b/packages/core/src/i18n/data/locale_sr-Cyrl-BA.ts new file mode 100644 index 00000000000000..eac635bcfeeeb2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sr-Cyrl-BA.ts @@ -0,0 +1,193 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSrCyrlBA: NgLocale = { + 'localeId': 'sr-Cyrl-BA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'поноћ', + 'am': 'прије подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'по под.', + 'evening1': 'вече', + 'night1': 'ноћу' + }, + 'narrow': { + 'midnight': 'поноћ', + 'am': 'a', + 'noon': 'подне', + 'pm': 'p', + 'morning1': 'јутро', + 'afternoon1': 'по под.', + 'evening1': 'вече', + 'night1': 'ноћ' + }, + 'wide': { + 'midnight': 'поноћ', + 'am': 'прије подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'поноћ', + 'am': 'прије подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'поподне', + 'evening1': 'вече', + 'night1': 'ноћ' + }, + 'narrow': { + 'midnight': 'поноћ', + 'am': 'а', + 'noon': 'подне', + 'pm': 'p', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + }, + 'wide': { + 'midnight': 'поноћ', + 'am': 'прије подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'поподне', + 'evening1': 'вече', + 'night1': 'ноћ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'], + 'abbreviated': ['нед.', 'пон.', 'ут.', 'ср.', 'чет.', 'пет.', 'суб.'], + 'wide': [ + 'недјеља', 'понедељак', 'уторак', 'сриједа', + 'четвртак', 'петак', 'субота' + ] + }, + 'standalone': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'], + 'abbreviated': ['нед.', 'пон.', 'ут.', 'ср.', 'чет.', 'пет.', 'суб.'], + 'wide': [ + 'недјеља', 'понедељак', 'уторак', 'сриједа', + 'четвртак', 'петак', 'субота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан.', 'феб.', 'март', 'апр.', 'мај', 'јун', 'јул', 'авг.', + 'септ.', 'окт.', 'нов.', 'дец.' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', + 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + }, + 'standalone': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан.', 'феб.', 'март', 'апр.', 'мај', 'јун', 'јул', 'авг.', + 'септ.', 'окт.', 'нов.', 'дец.' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', + 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + } + }, + 'eras': { + 'abbreviated': ['п. н. е.', 'н. е.'], + 'narrow': ['п.н.е.', 'н.е.'], + 'wide': ['прије нове ере', 'нове ере'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd. MMMM y.', + 'long': 'dd. MMMM y.', + 'medium': 'dd.MM.y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': { + 'symbol': 'КМ', + 'name': 'Босанско-херцеговачка конвертибилна марка' + }, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) + return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sr-Cyrl-ME.ts b/packages/core/src/i18n/data/locale_sr-Cyrl-ME.ts new file mode 100644 index 00000000000000..730a7edd55b5c6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sr-Cyrl-ME.ts @@ -0,0 +1,190 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSrCyrlME: NgLocale = { + 'localeId': 'sr-Cyrl-ME', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'поноћ', + 'am': 'прије подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'по под.', + 'evening1': 'вече', + 'night1': 'ноћу' + }, + 'narrow': { + 'midnight': 'поноћ', + 'am': 'a', + 'noon': 'подне', + 'pm': 'p', + 'morning1': 'јутро', + 'afternoon1': 'по под.', + 'evening1': 'вече', + 'night1': 'ноћ' + }, + 'wide': { + 'midnight': 'поноћ', + 'am': 'прије подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'поноћ', + 'am': 'прије подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'поподне', + 'evening1': 'вече', + 'night1': 'ноћ' + }, + 'narrow': { + 'midnight': 'поноћ', + 'am': 'a', + 'noon': 'подне', + 'pm': 'p', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + }, + 'wide': { + 'midnight': 'поноћ', + 'am': 'прије подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'поподне', + 'evening1': 'вече', + 'night1': 'ноћ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'], + 'abbreviated': ['нед.', 'пон.', 'ут.', 'ср.', 'чет.', 'пет.', 'суб.'], + 'wide': [ + 'недјеља', 'понедељак', 'уторак', 'сриједа', + 'четвртак', 'петак', 'субота' + ] + }, + 'standalone': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'], + 'abbreviated': ['нед.', 'пон.', 'ут.', 'ср.', 'чет.', 'пет.', 'суб.'], + 'wide': [ + 'недјеља', 'понедељак', 'уторак', 'сриједа', + 'четвртак', 'петак', 'субота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан.', 'феб.', 'март', 'апр.', 'мај', 'јун', 'јул', 'авг.', + 'септ.', 'окт.', 'нов.', 'дец.' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', + 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + }, + 'standalone': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан.', 'феб.', 'март', 'апр.', 'мај', 'јун', 'јул', 'авг.', + 'септ.', 'окт.', 'нов.', 'дец.' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', + 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + } + }, + 'eras': { + 'abbreviated': ['п. н. е.', 'н. е.'], + 'narrow': ['п.н.е.', 'н.е.'], + 'wide': ['прије нове ере', 'нове ере'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd. MMMM y.', + 'long': 'dd. MMMM y.', + 'medium': 'dd.MM.y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Евро'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) + return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sr-Cyrl-XK.ts b/packages/core/src/i18n/data/locale_sr-Cyrl-XK.ts new file mode 100644 index 00000000000000..16c93d23c5bacc --- /dev/null +++ b/packages/core/src/i18n/data/locale_sr-Cyrl-XK.ts @@ -0,0 +1,190 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSrCyrlXK: NgLocale = { + 'localeId': 'sr-Cyrl-XK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'по под.', + 'evening1': 'увече', + 'night1': 'ноћу' + }, + 'narrow': { + 'midnight': 'поноћ', + 'am': 'a', + 'noon': 'подне', + 'pm': 'p', + 'morning1': 'јутро', + 'afternoon1': 'по под.', + 'evening1': 'вече', + 'night1': 'ноћ' + }, + 'wide': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'поподне', + 'evening1': 'вече', + 'night1': 'ноћ' + }, + 'narrow': { + 'midnight': 'поноћ', + 'am': 'a', + 'noon': 'подне', + 'pm': 'p', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + }, + 'wide': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'поподне', + 'evening1': 'вече', + 'night1': 'ноћ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'], + 'abbreviated': ['нед.', 'пон.', 'ут.', 'ср.', 'чет.', 'пет.', 'суб.'], + 'wide': [ + 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', + 'петак', 'субота' + ] + }, + 'standalone': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'], + 'abbreviated': ['нед.', 'пон.', 'ут.', 'ср.', 'чет.', 'пет.', 'суб.'], + 'wide': [ + 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', + 'петак', 'субота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан.', 'феб.', 'март', 'апр.', 'мај', 'јун', 'јул', 'авг.', + 'септ.', 'окт.', 'нов.', 'дец.' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', + 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + }, + 'standalone': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан.', 'феб.', 'март', 'апр.', 'мај', 'јун', 'јул', 'авг.', + 'септ.', 'окт.', 'нов.', 'дец.' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', + 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + } + }, + 'eras': { + 'abbreviated': ['п. н. е.', 'н. е.'], + 'narrow': ['п.н.е.', 'н.е.'], + 'wide': ['пре нове ере', 'нове ере'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd. MMMM y.', + 'long': 'dd. MMMM y.', + 'medium': 'dd.MM.y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Евро'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) + return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sr-Cyrl.ts b/packages/core/src/i18n/data/locale_sr-Cyrl.ts new file mode 100644 index 00000000000000..19b7248e266374 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sr-Cyrl.ts @@ -0,0 +1,190 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSrCyrl: NgLocale = { + 'localeId': 'sr-Cyrl', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + }, + 'narrow': { + 'midnight': 'у поноћ', + 'am': 'a', + 'noon': 'у подне', + 'pm': 'p', + 'morning1': 'ујутру', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + }, + 'wide': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'поподне', + 'evening1': 'вече', + 'night1': 'ноћ' + }, + 'narrow': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + }, + 'wide': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'поподне', + 'evening1': 'вече', + 'night1': 'ноћ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'], + 'abbreviated': ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + 'wide': [ + 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', + 'петак', 'субота' + ] + }, + 'standalone': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'], + 'abbreviated': ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + 'wide': [ + 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', + 'петак', 'субота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', + 'окт', 'нов', 'дец' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', + 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + }, + 'standalone': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', + 'окт', 'нов', 'дец' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', + 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + } + }, + 'eras': { + 'abbreviated': ['п. н. е.', 'н. е.'], + 'narrow': ['п.н.е.', 'н.е.'], + 'wide': ['пре нове ере', 'нове ере'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd. MMMM y.', + 'long': 'dd. MMMM y.', + 'medium': 'dd.MM.y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'RSD', 'name': 'Српски динар'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) + return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sr-Latn-BA.ts b/packages/core/src/i18n/data/locale_sr-Latn-BA.ts new file mode 100644 index 00000000000000..8f4bf7756c34e6 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sr-Latn-BA.ts @@ -0,0 +1,171 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSrLatnBA: NgLocale = { + 'localeId': 'sr-Latn-BA', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'prije podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'jutro', + 'afternoon1': 'po pod.', + 'evening1': 'veče', + 'night1': 'noću' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'a', + 'noon': 'podne', + 'pm': 'p', + 'morning1': 'jutro', + 'afternoon1': 'po pod.', + 'evening1': 'veče', + 'night1': 'noć' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'prije podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'ujutro', + 'afternoon1': 'po podne', + 'evening1': 'uveče', + 'night1': 'noću' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'prije podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'jutro', + 'afternoon1': 'popodne', + 'evening1': 'veče', + 'night1': 'noć' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'a', + 'noon': 'podne', + 'pm': 'p', + 'morning1': 'ujutro', + 'afternoon1': 'po podne', + 'evening1': 'uveče', + 'night1': 'noću' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'prije podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'jutro', + 'afternoon1': 'popodne', + 'evening1': 'veče', + 'night1': 'noć' + } + } + }, + 'days': { + 'format': { + 'narrow': ['n', 'p', 'u', 's', 'č', 'p', 's'], + 'short': ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'], + 'abbreviated': ['ned.', 'pon.', 'ut.', 'sr.', 'čet.', 'pet.', 'sub.'], + 'wide': ['nedjelja', 'ponedeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + }, + 'standalone': { + 'narrow': ['n', 'p', 'u', 's', 'č', 'p', 's'], + 'short': ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'], + 'abbreviated': ['ned.', 'pon.', 'ut.', 'sr.', 'čet.', 'pet.', 'sub.'], + 'wide': ['nedjelja', 'ponedeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'jan.', 'feb.', 'mart', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sept.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + }, + 'standalone': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'jan.', 'feb.', 'mart', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sept.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + } + }, + 'eras': { + 'abbreviated': ['p. n. e.', 'n. e.'], + 'narrow': ['p.n.e.', 'n.e.'], + 'wide': ['prije nove ere', 'nove ere'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd. MMMM y.', + 'long': 'dd. MMMM y.', + 'medium': 'dd.MM.y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'KM', 'name': 'Bosansko-hercegovačka konvertibilna marka'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_sr-Latn-ME.ts b/packages/core/src/i18n/data/locale_sr-Latn-ME.ts new file mode 100644 index 00000000000000..ce216211661071 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sr-Latn-ME.ts @@ -0,0 +1,171 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSrLatnME: NgLocale = { + 'localeId': 'sr-Latn-ME', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'prije podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'jutro', + 'afternoon1': 'po pod.', + 'evening1': 'veče', + 'night1': 'noću' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'a', + 'noon': 'podne', + 'pm': 'p', + 'morning1': 'jutro', + 'afternoon1': 'po pod.', + 'evening1': 'veče', + 'night1': 'noć' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'prije podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'ujutro', + 'afternoon1': 'po podne', + 'evening1': 'uveče', + 'night1': 'noću' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'prije podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'jutro', + 'afternoon1': 'popodne', + 'evening1': 'veče', + 'night1': 'noć' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'a', + 'noon': 'podne', + 'pm': 'p', + 'morning1': 'ujutro', + 'afternoon1': 'po podne', + 'evening1': 'uveče', + 'night1': 'noću' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'prije podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'jutro', + 'afternoon1': 'popodne', + 'evening1': 'veče', + 'night1': 'noć' + } + } + }, + 'days': { + 'format': { + 'narrow': ['n', 'p', 'u', 's', 'č', 'p', 's'], + 'short': ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'], + 'abbreviated': ['ned.', 'pon.', 'ut.', 'sr.', 'čet.', 'pet.', 'sub.'], + 'wide': ['nedjelja', 'ponedeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + }, + 'standalone': { + 'narrow': ['n', 'p', 'u', 's', 'č', 'p', 's'], + 'short': ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'], + 'abbreviated': ['ned.', 'pon.', 'ut.', 'sr.', 'čet.', 'pet.', 'sub.'], + 'wide': ['nedjelja', 'ponedeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'jan.', 'feb.', 'mart', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sept.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + }, + 'standalone': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'jan.', 'feb.', 'mart', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sept.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + } + }, + 'eras': { + 'abbreviated': ['p. n. e.', 'n. e.'], + 'narrow': ['p.n.e.', 'n.e.'], + 'wide': ['prije nove ere', 'nove ere'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd. MMMM y.', + 'long': 'dd. MMMM y.', + 'medium': 'dd.MM.y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Evro'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_sr-Latn-XK.ts b/packages/core/src/i18n/data/locale_sr-Latn-XK.ts new file mode 100644 index 00000000000000..6ecb7759d6903f --- /dev/null +++ b/packages/core/src/i18n/data/locale_sr-Latn-XK.ts @@ -0,0 +1,171 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSrLatnXK: NgLocale = { + 'localeId': 'sr-Latn-XK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'pre podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'jutro', + 'afternoon1': 'po pod.', + 'evening1': 'uveče', + 'night1': 'noću' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'a', + 'noon': 'podne', + 'pm': 'p', + 'morning1': 'jutro', + 'afternoon1': 'po pod.', + 'evening1': 'veče', + 'night1': 'noć' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'pre podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'ujutro', + 'afternoon1': 'po podne', + 'evening1': 'uveče', + 'night1': 'noću' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'pre podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'jutro', + 'afternoon1': 'popodne', + 'evening1': 'veče', + 'night1': 'noć' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'a', + 'noon': 'podne', + 'pm': 'p', + 'morning1': 'ujutro', + 'afternoon1': 'po podne', + 'evening1': 'uveče', + 'night1': 'noću' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'pre podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'jutro', + 'afternoon1': 'popodne', + 'evening1': 'veče', + 'night1': 'noć' + } + } + }, + 'days': { + 'format': { + 'narrow': ['n', 'p', 'u', 's', 'č', 'p', 's'], + 'short': ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'], + 'abbreviated': ['ned.', 'pon.', 'ut.', 'sr.', 'čet.', 'pet.', 'sub.'], + 'wide': ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'] + }, + 'standalone': { + 'narrow': ['n', 'p', 'u', 's', 'č', 'p', 's'], + 'short': ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'], + 'abbreviated': ['ned.', 'pon.', 'ut.', 'sr.', 'čet.', 'pet.', 'sub.'], + 'wide': ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'jan.', 'feb.', 'mart', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sept.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + }, + 'standalone': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': [ + 'jan.', 'feb.', 'mart', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sept.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + } + }, + 'eras': { + 'abbreviated': ['p. n. e.', 'n. e.'], + 'narrow': ['p.n.e.', 'n.e.'], + 'wide': ['pre nove ere', 'nove ere'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd. MMMM y.', + 'long': 'dd. MMMM y.', + 'medium': 'dd.MM.y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Evro'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_sr-Latn.ts b/packages/core/src/i18n/data/locale_sr-Latn.ts new file mode 100644 index 00000000000000..e462315a987531 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sr-Latn.ts @@ -0,0 +1,167 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSrLatn: NgLocale = { + 'localeId': 'sr-Latn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'pre podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'ujutro', + 'afternoon1': 'po podne', + 'evening1': 'uveče', + 'night1': 'noću' + }, + 'narrow': { + 'midnight': 'u ponoć', + 'am': 'a', + 'noon': 'u podne', + 'pm': 'p', + 'morning1': 'ujutru', + 'afternoon1': 'po podne', + 'evening1': 'uveče', + 'night1': 'noću' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'pre podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'ujutro', + 'afternoon1': 'po podne', + 'evening1': 'uveče', + 'night1': 'noću' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ponoć', + 'am': 'pre podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'jutro', + 'afternoon1': 'popodne', + 'evening1': 'veče', + 'night1': 'noć' + }, + 'narrow': { + 'midnight': 'ponoć', + 'am': 'pre podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'ujutro', + 'afternoon1': 'po podne', + 'evening1': 'uveče', + 'night1': 'noću' + }, + 'wide': { + 'midnight': 'ponoć', + 'am': 'pre podne', + 'noon': 'podne', + 'pm': 'po podne', + 'morning1': 'jutro', + 'afternoon1': 'popodne', + 'evening1': 'veče', + 'night1': 'noć' + } + } + }, + 'days': { + 'format': { + 'narrow': ['n', 'p', 'u', 's', 'č', 'p', 's'], + 'short': ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'], + 'abbreviated': ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + 'wide': ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'] + }, + 'standalone': { + 'narrow': ['n', 'p', 'u', 's', 'č', 'p', 's'], + 'short': ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'], + 'abbreviated': ['ned', 'pon', 'uto', 'sre', 'čet', 'pet', 'sub'], + 'wide': ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'] + } + }, + 'months': { + 'format': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + }, + 'standalone': { + 'narrow': ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'], + 'abbreviated': + ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec'], + 'wide': [ + 'januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', + 'oktobar', 'novembar', 'decembar' + ] + } + }, + 'eras': { + 'abbreviated': ['p. n. e.', 'n. e.'], + 'narrow': ['p.n.e.', 'n.e.'], + 'wide': ['pre nove ere', 'nove ere'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd. MMMM y.', + 'long': 'dd. MMMM y.', + 'medium': 'dd.MM.y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'RSD', 'name': 'Srpski dinar'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_sr.ts b/packages/core/src/i18n/data/locale_sr.ts new file mode 100644 index 00000000000000..f8f6068c30644f --- /dev/null +++ b/packages/core/src/i18n/data/locale_sr.ts @@ -0,0 +1,190 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSr: NgLocale = { + 'localeId': 'sr', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + }, + 'narrow': { + 'midnight': 'у поноћ', + 'am': 'a', + 'noon': 'у подне', + 'pm': 'p', + 'morning1': 'ујутру', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + }, + 'wide': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'поподне', + 'evening1': 'вече', + 'night1': 'ноћ' + }, + 'narrow': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'ујутро', + 'afternoon1': 'по подне', + 'evening1': 'увече', + 'night1': 'ноћу' + }, + 'wide': { + 'midnight': 'поноћ', + 'am': 'пре подне', + 'noon': 'подне', + 'pm': 'по подне', + 'morning1': 'јутро', + 'afternoon1': 'поподне', + 'evening1': 'вече', + 'night1': 'ноћ' + } + } + }, + 'days': { + 'format': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'], + 'abbreviated': ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + 'wide': [ + 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', + 'петак', 'субота' + ] + }, + 'standalone': { + 'narrow': ['н', 'п', 'у', 'с', 'ч', 'п', 'с'], + 'short': ['не', 'по', 'ут', 'ср', 'че', 'пе', 'су'], + 'abbreviated': ['нед', 'пон', 'уто', 'сре', 'чет', 'пет', 'суб'], + 'wide': [ + 'недеља', 'понедељак', 'уторак', 'среда', 'четвртак', + 'петак', 'субота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', + 'окт', 'нов', 'дец' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', + 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + }, + 'standalone': { + 'narrow': ['ј', 'ф', 'м', 'а', 'м', 'ј', 'ј', 'а', 'с', 'о', 'н', 'д'], + 'abbreviated': [ + 'јан', 'феб', 'мар', 'апр', 'мај', 'јун', 'јул', 'авг', 'сеп', + 'окт', 'нов', 'дец' + ], + 'wide': [ + 'јануар', 'фебруар', 'март', 'ап��ил', 'мај', 'јун', 'јул', + 'август', 'септембар', 'октобар', 'новембар', + 'децембар' + ] + } + }, + 'eras': { + 'abbreviated': ['п. н. е.', 'н. е.'], + 'narrow': ['п.н.е.', 'н.е.'], + 'wide': ['пре нове ере', 'нове ере'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd. MMMM y.', + 'long': 'dd. MMMM y.', + 'medium': 'dd.MM.y.', + 'short': 'd.M.yy.' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'RSD', 'name': 'Српски динар'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length, + f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) + return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14) || + f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && + !(f % 100 >= 12 && f % 100 <= 14)) + return Plural.Few; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sv-AX.ts b/packages/core/src/i18n/data/locale_sv-AX.ts new file mode 100644 index 00000000000000..8e245a936fe79a --- /dev/null +++ b/packages/core/src/i18n/data/locale_sv-AX.ts @@ -0,0 +1,175 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSvAX: NgLocale = { + 'localeId': 'sv-AX', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnatt', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'på morg.', + 'morning2': 'på förm.', + 'afternoon1': 'på efterm.', + 'evening1': 'på kvällen', + 'night1': 'på natten' + }, + 'narrow': { + 'midnight': 'midn.', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'på morg.', + 'morning2': 'på förm.', + 'afternoon1': 'på efterm.', + 'evening1': 'på kvällen', + 'night1': 'på natten' + }, + 'wide': { + 'midnight': 'midnatt', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'på morgonen', + 'morning2': 'på förmiddagen', + 'afternoon1': 'på eftermiddagen', + 'evening1': 'på kvällen', + 'night1': 'på natten' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnatt', + 'am': 'f.m.', + 'pm': 'e.m.', + 'morning1': 'morgon', + 'morning2': 'förm.', + 'afternoon1': 'efterm.', + 'evening1': 'kväll', + 'night1': 'natt' + }, + 'narrow': { + 'midnight': 'midn.', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'morg.', + 'morning2': 'förm.', + 'afternoon1': 'efterm.', + 'evening1': 'kväll', + 'night1': 'natt' + }, + 'wide': { + 'midnight': 'midnatt', + 'am': 'förmiddag', + 'pm': 'eftermiddag', + 'morning1': 'morgon', + 'morning2': 'förmiddag', + 'afternoon1': 'eftermiddag', + 'evening1': 'kväll', + 'night1': 'natt' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'], + 'abbreviated': ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], + 'wide': ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'], + 'abbreviated': ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], + 'wide': ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['f.Kr.', 'e.Kr.'], + 'narrow': ['f.Kr.', 'e.Kr.'], + 'wide': ['före Kristus', 'efter Kristus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'y-MM-dd'}, + 'time': { + 'full': '\'kl\'. HH:mm:ss zzzz', + 'long': 'HH:mm:ss z', + 'medium': 'HH:mm:ss', + 'short': 'HH:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': '×10^', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': '¤¤¤', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sv-FI.ts b/packages/core/src/i18n/data/locale_sv-FI.ts new file mode 100644 index 00000000000000..65c031a28656df --- /dev/null +++ b/packages/core/src/i18n/data/locale_sv-FI.ts @@ -0,0 +1,175 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSvFI: NgLocale = { + 'localeId': 'sv-FI', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnatt', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'på morg.', + 'morning2': 'på förm.', + 'afternoon1': 'på efterm.', + 'evening1': 'på kvällen', + 'night1': 'på natten' + }, + 'narrow': { + 'midnight': 'midn.', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'på morg.', + 'morning2': 'på förm.', + 'afternoon1': 'på efterm.', + 'evening1': 'på kvällen', + 'night1': 'på natten' + }, + 'wide': { + 'midnight': 'midnatt', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'på morgonen', + 'morning2': 'på förmiddagen', + 'afternoon1': 'på eftermiddagen', + 'evening1': 'på kvällen', + 'night1': 'på natten' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnatt', + 'am': 'f.m.', + 'pm': 'e.m.', + 'morning1': 'morgon', + 'morning2': 'förm.', + 'afternoon1': 'efterm.', + 'evening1': 'kväll', + 'night1': 'natt' + }, + 'narrow': { + 'midnight': 'midn.', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'morg.', + 'morning2': 'förm.', + 'afternoon1': 'efterm.', + 'evening1': 'kväll', + 'night1': 'natt' + }, + 'wide': { + 'midnight': 'midnatt', + 'am': 'förmiddag', + 'pm': 'eftermiddag', + 'morning1': 'morgon', + 'morning2': 'förmiddag', + 'afternoon1': 'eftermiddag', + 'evening1': 'kväll', + 'night1': 'natt' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'], + 'abbreviated': ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], + 'wide': ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'], + 'abbreviated': ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], + 'wide': ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['f.Kr.', 'e.Kr.'], + 'narrow': ['f.Kr.', 'e.Kr.'], + 'wide': ['före Kristus', 'efter Kristus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd-MM-y'}, + 'time': { + 'full': '\'kl\'. HH:mm:ss zzzz', + 'long': 'HH:mm:ss z', + 'medium': 'HH:mm:ss', + 'short': 'HH:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': '×10^', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': '¤¤¤', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'euro'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sv.ts b/packages/core/src/i18n/data/locale_sv.ts new file mode 100644 index 00000000000000..3852b856687b89 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sv.ts @@ -0,0 +1,175 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSv: NgLocale = { + 'localeId': 'sv', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'midnatt', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'på morg.', + 'morning2': 'på förm.', + 'afternoon1': 'på efterm.', + 'evening1': 'på kvällen', + 'night1': 'på natten' + }, + 'narrow': { + 'midnight': 'midn.', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'på morg.', + 'morning2': 'på förm.', + 'afternoon1': 'på efterm.', + 'evening1': 'på kvällen', + 'night1': 'på natten' + }, + 'wide': { + 'midnight': 'midnatt', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'på morgonen', + 'morning2': 'på förmiddagen', + 'afternoon1': 'på eftermiddagen', + 'evening1': 'på kvällen', + 'night1': 'på natten' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'midnatt', + 'am': 'f.m.', + 'pm': 'e.m.', + 'morning1': 'morgon', + 'morning2': 'förm.', + 'afternoon1': 'efterm.', + 'evening1': 'kväll', + 'night1': 'natt' + }, + 'narrow': { + 'midnight': 'midn.', + 'am': 'fm', + 'pm': 'em', + 'morning1': 'morg.', + 'morning2': 'förm.', + 'afternoon1': 'efterm.', + 'evening1': 'kväll', + 'night1': 'natt' + }, + 'wide': { + 'midnight': 'midnatt', + 'am': 'förmiddag', + 'pm': 'eftermiddag', + 'morning1': 'morgon', + 'morning2': 'förmiddag', + 'afternoon1': 'eftermiddag', + 'evening1': 'kväll', + 'night1': 'natt' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'], + 'abbreviated': ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], + 'wide': ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'O', 'T', 'F', 'L'], + 'short': ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'], + 'abbreviated': ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'], + 'wide': ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', + 'oktober', 'november', 'december' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', + 'dec.' + ], + 'wide': [ + 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', + 'oktober', 'november', 'december' + ] + } + }, + 'eras': { + 'abbreviated': ['f.Kr.', 'e.Kr.'], + 'narrow': ['f.Kr.', 'e.Kr.'], + 'wide': ['före Kristus', 'efter Kristus'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'y-MM-dd'}, + 'time': { + 'full': '\'kl\'. HH:mm:ss zzzz', + 'long': 'HH:mm:ss z', + 'medium': 'HH:mm:ss', + 'short': 'HH:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '10:00'}, + 'morning2': {'from': '10:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '−', + 'exponential': '×10^', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': '¤¤¤', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'kr', 'name': 'svensk krona'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sw-CD.ts b/packages/core/src/i18n/data/locale_sw-CD.ts new file mode 100644 index 00000000000000..315df239230f44 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sw-CD.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSwCD: NgLocale = { + 'localeId': 'sw-CD', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'narrow': { + 'midnight': 'saa sita za usiku', + 'am': 'am', + 'noon': 'saa sita za mchana', + 'pm': 'pm', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'wide': { + 'midnight': 'saa sita za usiku', + 'am': 'Asubuhi', + 'noon': 'saa sita za mchana', + 'pm': 'Mchana', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'narrow': { + 'midnight': 'saa sita za usiku', + 'am': 'am', + 'noon': 'saa sita za mchana', + 'pm': 'pm', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'wide': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'abbreviated': + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'wide': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'abbreviated': + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'wide': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Kristo', 'Baada ya Kristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '07:00'}, + 'morning2': {'from': '07:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FC', 'name': 'Faranga ya Kongo'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sw-KE.ts b/packages/core/src/i18n/data/locale_sw-KE.ts new file mode 100644 index 00000000000000..f6c5d74d23dbae --- /dev/null +++ b/packages/core/src/i18n/data/locale_sw-KE.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSwKE: NgLocale = { + 'localeId': 'sw-KE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'narrow': { + 'midnight': 'saa sita za usiku', + 'am': 'am', + 'noon': 'saa sita za mchana', + 'pm': 'pm', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'wide': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'narrow': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'wide': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'abbreviated': + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'wide': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'abbreviated': + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'wide': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Kristo', 'Baada ya Kristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'saa\' {0}', + 'long': '{1} \'saa\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '07:00'}, + 'morning2': {'from': '07:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Shilingi ya Kenya'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sw-UG.ts b/packages/core/src/i18n/data/locale_sw-UG.ts new file mode 100644 index 00000000000000..e7b9c10ec1387c --- /dev/null +++ b/packages/core/src/i18n/data/locale_sw-UG.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSwUG: NgLocale = { + 'localeId': 'sw-UG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'narrow': { + 'midnight': 'saa sita za usiku', + 'am': 'am', + 'noon': 'saa sita za mchana', + 'pm': 'pm', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'wide': { + 'midnight': 'saa sita za usiku', + 'am': 'Asubuhi', + 'noon': 'saa sita za mchana', + 'pm': 'Mchana', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'narrow': { + 'midnight': 'saa sita za usiku', + 'am': 'am', + 'noon': 'saa sita za mchana', + 'pm': 'pm', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'wide': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'abbreviated': + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'wide': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'abbreviated': + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'wide': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Kristo', 'Baada ya Kristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '07:00'}, + 'morning2': {'from': '07:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'USh', 'name': 'Shilingi ya Uganda'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_sw.ts b/packages/core/src/i18n/data/locale_sw.ts new file mode 100644 index 00000000000000..41b9456a8a5e23 --- /dev/null +++ b/packages/core/src/i18n/data/locale_sw.ts @@ -0,0 +1,176 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleSw: NgLocale = { + 'localeId': 'sw', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'narrow': { + 'midnight': 'saa sita za usiku', + 'am': 'am', + 'noon': 'saa sita za mchana', + 'pm': 'pm', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'wide': { + 'midnight': 'saa sita za usiku', + 'am': 'Asubuhi', + 'noon': 'saa sita za mchana', + 'pm': 'Mchana', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'narrow': { + 'midnight': 'saa sita za usiku', + 'am': 'am', + 'noon': 'saa sita za mchana', + 'pm': 'pm', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + }, + 'wide': { + 'midnight': 'saa sita za usiku', + 'am': 'AM', + 'noon': 'saa sita za mchana', + 'pm': 'PM', + 'morning1': 'alfajiri', + 'morning2': 'asubuhi', + 'afternoon1': 'mchana', + 'evening1': 'jioni', + 'night1': 'usiku' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'abbreviated': + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'wide': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'abbreviated': + ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'], + 'wide': ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Kristo', 'Baada ya Kristo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '19:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '07:00'}, + 'morning2': {'from': '07:00', 'to': '12:00'}, + 'night1': {'from': '19:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'Shilingi ya Tanzania'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ta-LK.ts b/packages/core/src/i18n/data/locale_ta-LK.ts new file mode 100644 index 00000000000000..3ce3196d60bf4b --- /dev/null +++ b/packages/core/src/i18n/data/locale_ta-LK.ts @@ -0,0 +1,221 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTaLK: NgLocale = { + 'localeId': 'ta-LK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + }, + 'narrow': { + 'midnight': 'நள்.', + 'am': 'மு.ப', + 'noon': 'நண்.', + 'pm': 'பி.ப', + 'morning1': 'அதி.', + 'morning2': 'கா.', + 'afternoon1': 'மதி.', + 'afternoon2': 'பிற்.', + 'evening1': 'மா.', + 'evening2': 'அந்தி மா.', + 'night1': 'இர.' + }, + 'wide': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + }, + 'narrow': { + 'midnight': 'நள்.', + 'am': 'மு.ப', + 'noon': 'நண்.', + 'pm': 'பி.ப', + 'morning1': 'அதி.', + 'morning2': 'கா.', + 'afternoon1': 'மதி.', + 'afternoon2': 'பிற்.', + 'evening1': 'மா.', + 'evening2': 'அந்தி மா.', + 'night1': 'இ.' + }, + 'wide': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'short': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'abbreviated': [ + 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', + 'வெள்.', 'சனி' + ], + 'wide': [ + 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', + 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' + ] + }, + 'standalone': { + 'narrow': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'short': ['ஞா', 'தி', 'செ', '���ு', 'வி', 'வெ', 'ச'], + 'abbreviated': [ + 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', + 'வெள்.', 'சனி' + ], + 'wide': [ + 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', + 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', + 'ந', 'டி' + ], + 'abbreviated': [ + 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', + 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' + ], + 'wide': [ + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', + 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', + 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' + ] + }, + 'standalone': { + 'narrow': [ + 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', + 'ந', 'டி' + ], + 'abbreviated': [ + 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', + 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' + ], + 'wide': [ + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', + 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', + 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' + ] + } + }, + 'eras': { + 'abbreviated': ['கி.மு.', 'கி.பி.'], + 'narrow': ['கி.மு.', 'கி.பி.'], + 'wide': [ + 'கிறிஸ்துவுக்கு முன்', + 'அன்னோ டோமினி' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM, y', 'medium': 'd MMM, y', 'short': 'd/M/yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} ’அன்று’ {0}', + 'long': '{1} ’அன்று’ {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'afternoon2': {'from': '14:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '18:00'}, + 'evening2': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '03:00', 'to': '05:00'}, + 'morning2': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '03:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Rs.', 'name': 'இலங்கை ரூபாய்'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ta-MY.ts b/packages/core/src/i18n/data/locale_ta-MY.ts new file mode 100644 index 00000000000000..14ec28ff90938e --- /dev/null +++ b/packages/core/src/i18n/data/locale_ta-MY.ts @@ -0,0 +1,225 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTaMY: NgLocale = { + 'localeId': 'ta-MY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + }, + 'narrow': { + 'midnight': 'நள்.', + 'am': 'மு.ப', + 'noon': 'நண்.', + 'pm': 'பி.ப', + 'morning1': 'அதி.', + 'morning2': 'கா.', + 'afternoon1': 'மதி.', + 'afternoon2': 'பிற்.', + 'evening1': 'மா.', + 'evening2': 'அந்தி மா.', + 'night1': 'இர.' + }, + 'wide': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + }, + 'narrow': { + 'midnight': 'நள்.', + 'am': 'மு.ப', + 'noon': 'நண்.', + 'pm': 'பி.ப', + 'morning1': 'அதி.', + 'morning2': 'கா.', + 'afternoon1': 'மதி.', + 'afternoon2': 'பிற்.', + 'evening1': 'மா.', + 'evening2': 'அந்தி மா.', + 'night1': 'இ.' + }, + 'wide': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'short': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'abbreviated': [ + 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', + 'வெள்.', 'சனி' + ], + 'wide': [ + 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', + 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' + ] + }, + 'standalone': { + 'narrow': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'short': ['ஞா', 'தி', 'செ', '���ு', 'வி', 'வெ', 'ச'], + 'abbreviated': [ + 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', + 'வெள்.', 'சனி' + ], + 'wide': [ + 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', + 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', + 'ந', 'டி' + ], + 'abbreviated': [ + 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', + 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' + ], + 'wide': [ + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', + 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', + 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' + ] + }, + 'standalone': { + 'narrow': [ + 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', + 'ந', 'டி' + ], + 'abbreviated': [ + 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', + 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' + ], + 'wide': [ + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', + 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', + 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' + ] + } + }, + 'eras': { + 'abbreviated': ['கி.மு.', 'கி.பி.'], + 'narrow': ['கி.மு.', 'கி.பி.'], + 'wide': [ + 'கிறிஸ்துவுக்கு முன்', + 'அன்னோ டோமினி' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM, y', 'medium': 'd MMM, y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'a h:mm:ss zzzz', + 'long': 'a h:mm:ss z', + 'medium': 'a h:mm:ss', + 'short': 'a h:mm' + }, + 'dateTime': { + 'full': '{1} ’அன்று’ {0}', + 'long': '{1} ’அன்று’ {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'afternoon2': {'from': '14:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '18:00'}, + 'evening2': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '03:00', 'to': '05:00'}, + 'morning2': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '03:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'RM', 'name': 'மலேஷியன் ரிங்கிட்'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ta-SG.ts b/packages/core/src/i18n/data/locale_ta-SG.ts new file mode 100644 index 00000000000000..ce7939360b1ded --- /dev/null +++ b/packages/core/src/i18n/data/locale_ta-SG.ts @@ -0,0 +1,225 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTaSG: NgLocale = { + 'localeId': 'ta-SG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + }, + 'narrow': { + 'midnight': 'நள்.', + 'am': 'மு.ப', + 'noon': 'நண்.', + 'pm': 'பி.ப', + 'morning1': 'அதி.', + 'morning2': 'கா.', + 'afternoon1': 'மதி.', + 'afternoon2': 'பிற்.', + 'evening1': 'மா.', + 'evening2': 'அந்தி மா.', + 'night1': 'இர.' + }, + 'wide': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + }, + 'narrow': { + 'midnight': 'நள்.', + 'am': 'மு.ப', + 'noon': 'நண்.', + 'pm': 'பி.ப', + 'morning1': 'அதி.', + 'morning2': 'கா.', + 'afternoon1': 'மதி.', + 'afternoon2': 'பிற்.', + 'evening1': 'மா.', + 'evening2': 'அந்தி மா.', + 'night1': 'இ.' + }, + 'wide': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'short': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'abbreviated': [ + 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', + 'வெள்.', 'சனி' + ], + 'wide': [ + 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', + 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' + ] + }, + 'standalone': { + 'narrow': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'short': ['ஞா', 'தி', 'செ', '���ு', 'வி', 'வெ', 'ச'], + 'abbreviated': [ + 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', + 'வெள்.', 'சனி' + ], + 'wide': [ + 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', + 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', + 'ந', 'டி' + ], + 'abbreviated': [ + 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', + 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' + ], + 'wide': [ + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', + 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', + 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' + ] + }, + 'standalone': { + 'narrow': [ + 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', + 'ந', 'டி' + ], + 'abbreviated': [ + 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', + 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' + ], + 'wide': [ + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', + 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', + 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' + ] + } + }, + 'eras': { + 'abbreviated': ['கி.மு.', 'கி.பி.'], + 'narrow': ['கி.மு.', 'கி.பி.'], + 'wide': [ + 'கிறிஸ்துவுக்கு முன்', + 'அன்னோ டோமினி' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM, y', 'medium': 'd MMM, y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'a h:mm:ss zzzz', + 'long': 'a h:mm:ss z', + 'medium': 'a h:mm:ss', + 'short': 'a h:mm' + }, + 'dateTime': { + 'full': '{1} ’அன்று’ {0}', + 'long': '{1} ’அன்று’ {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'afternoon2': {'from': '14:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '18:00'}, + 'evening2': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '03:00', 'to': '05:00'}, + 'morning2': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '03:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'சிங்கப்பூர் டாலர்'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ta.ts b/packages/core/src/i18n/data/locale_ta.ts new file mode 100644 index 00000000000000..584741803a1160 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ta.ts @@ -0,0 +1,225 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTa: NgLocale = { + 'localeId': 'ta', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + }, + 'narrow': { + 'midnight': 'நள்.', + 'am': 'மு.ப', + 'noon': 'நண்.', + 'pm': 'பி.ப', + 'morning1': 'அதி.', + 'morning2': 'கா.', + 'afternoon1': 'மதி.', + 'afternoon2': 'பிற்.', + 'evening1': 'மா.', + 'evening2': 'அந்தி மா.', + 'night1': 'இர.' + }, + 'wide': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + }, + 'narrow': { + 'midnight': 'நள்.', + 'am': 'மு.ப', + 'noon': 'நண்.', + 'pm': 'பி.ப', + 'morning1': 'அதி.', + 'morning2': 'கா.', + 'afternoon1': 'மதி.', + 'afternoon2': 'பிற்.', + 'evening1': 'மா.', + 'evening2': 'அந்தி மா.', + 'night1': 'இ.' + }, + 'wide': { + 'midnight': 'நள்ளிரவு', + 'am': 'முற்பகல்', + 'noon': 'நண்பகல்', + 'pm': 'பிற்பகல்', + 'morning1': 'அதிகாலை', + 'morning2': 'காலை', + 'afternoon1': 'மதியம்', + 'afternoon2': 'பிற்பகல்', + 'evening1': 'மாலை', + 'evening2': 'அந்தி மாலை', + 'night1': 'இரவு' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'short': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'abbreviated': [ + 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', + 'வெள்.', 'சனி' + ], + 'wide': [ + 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', + 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' + ] + }, + 'standalone': { + 'narrow': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'short': ['ஞா', 'தி', 'செ', 'பு', 'வி', 'வெ', 'ச'], + 'abbreviated': [ + 'ஞாயி.', 'திங்.', 'செவ்.', 'புத.', 'வியா.', + 'வெள்.', 'சனி' + ], + 'wide': [ + 'ஞாயிறு', 'திங்கள்', 'செவ்வாய்', + 'புதன்', 'வியாழன்', 'வெள்ளி', 'சனி' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', + 'ந', 'டி' + ], + 'abbreviated': [ + 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', + 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' + ], + 'wide': [ + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', + 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', + 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' + ] + }, + 'standalone': { + 'narrow': [ + 'ஜ', 'பி', 'மா', 'ஏ', 'மே', 'ஜூ', 'ஜூ', 'ஆ', 'செ', 'அ', + 'ந', 'டி' + ], + 'abbreviated': [ + 'ஜன.', 'பிப்.', 'மார்.', 'ஏப்.', 'மே', 'ஜூன்', + 'ஜூலை', 'ஆக.', 'செப்.', 'அக்.', 'நவ.', 'டிச.' + ], + 'wide': [ + 'ஜனவரி', 'பிப்ரவரி', 'மார்ச்', 'ஏப்ரல்', + 'மே', 'ஜூன்', 'ஜூலை', 'ஆகஸ்ட்', + 'செப்டம்பர்', 'அக்டோபர்', 'நவம்பர்', + 'டிசம்பர்' + ] + } + }, + 'eras': { + 'abbreviated': ['கி.மு.', 'கி.பி.'], + 'narrow': ['கி.மு.', 'கி.பி.'], + 'wide': [ + 'கிறிஸ்துவுக்கு முன்', + 'அன்னோ டோமினி' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM, y', 'long': 'd MMMM, y', 'medium': 'd MMM, y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'a h:mm:ss zzzz', + 'long': 'a h:mm:ss z', + 'medium': 'a h:mm:ss', + 'short': 'a h:mm' + }, + 'dateTime': { + 'full': '{1} ’அன்று’ {0}', + 'long': '{1} ’அன்று’ {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '14:00'}, + 'afternoon2': {'from': '14:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '18:00'}, + 'evening2': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '03:00', 'to': '05:00'}, + 'morning2': {'from': '05:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '03:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'இந்திய ரூபாய்'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_te.ts b/packages/core/src/i18n/data/locale_te.ts new file mode 100644 index 00000000000000..125d9f49117910 --- /dev/null +++ b/packages/core/src/i18n/data/locale_te.ts @@ -0,0 +1,204 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTe: NgLocale = { + 'localeId': 'te', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'అర్థరాత్రి', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ఉదయం', + 'afternoon1': 'మధ్యాహ్నం', + 'evening1': 'సాయంత్రం', + 'night1': 'రాత్రి' + }, + 'narrow': { + 'midnight': 'అర్థరాత్రి', + 'am': 'ఉ', + 'pm': 'సా', + 'morning1': 'ఉదయం', + 'afternoon1': 'మధ్యాహ్నం', + 'evening1': 'సాయంత్రం', + 'night1': 'రాత్రి' + }, + 'wide': { + 'midnight': 'అర్థరాత్రి', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ఉదయం', + 'afternoon1': 'మధ్యాహ్నం', + 'evening1': 'సాయంత్రం', + 'night1': 'రాత్రి' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'అర్థరాత్రి', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ఉదయం', + 'afternoon1': 'మధ్యాహ్నం', + 'evening1': 'సాయంత్రం', + 'night1': 'రాత్రి' + }, + 'narrow': { + 'midnight': 'అర్థరాత్రి', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ఉదయం', + 'afternoon1': 'మధ్యాహ్నం', + 'evening1': 'సాయంత్రం', + 'night1': 'రాత్రి' + }, + 'wide': { + 'midnight': 'అర్థరాత్రి', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'ఉదయం', + 'afternoon1': 'మధ్యాహ్నం', + 'evening1': 'సాయంత్రం', + 'night1': 'రాత్రి' + } + } + }, + 'days': { + 'format': { + 'narrow': ['ఆ', 'సో', 'మ', 'బు', 'గు', 'శు', 'శ'], + 'short': [ + 'ఆది', 'సోమ', 'మం', 'బుధ', 'గురు', 'శుక్ర', + 'శని' + ], + 'abbreviated': [ + 'ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', + 'శని' + ], + 'wide': [ + 'ఆదివారం', 'సోమవారం', 'మంగళవారం', + 'బుధవారం', 'గురువారం', 'శుక్రవారం', + 'శనివారం' + ] + }, + 'standalone': { + 'narrow': ['ఆ', 'సో', 'మ', 'బు', 'గు', 'శు', 'శ'], + 'short': [ + 'ఆది', 'సోమ', 'మం', 'బుధ', 'గురు', 'శుక్ర', + 'శని' + ], + 'abbreviated': [ + 'ఆది', 'సోమ', 'మంగళ', 'బుధ', 'గురు', 'శుక్ర', + 'శని' + ], + 'wide': [ + 'ఆదివారం', 'సోమవారం', 'మంగళవారం', + 'బుధవారం', 'గురువారం', 'శుక్రవారం', + 'శనివారం' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'జ', 'ఫి', 'మా', 'ఏ', 'మే', 'జూ', 'జు', 'ఆ', 'సె', 'అ', + 'న', 'డి' + ], + 'abbreviated': [ + 'జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', + 'జూన్', 'జులై', 'ఆగ', 'సెప్టెం', 'అక్టో', + 'నవం', 'డిసెం' + ], + 'wide': [ + 'జనవరి', 'ఫిబ్రవరి', 'మార్చి', + 'ఏప్రిల్', 'మే', 'జూన్', 'జులై', 'ఆగస్టు', + 'సెప్టెంబర్', 'అక్టోబర్', 'నవంబర్', + 'డిసెంబర్' + ] + }, + 'standalone': { + 'narrow': [ + 'జ', 'ఫి', 'మా', 'ఏ', 'మే', 'జూ', 'జు', 'ఆ', 'సె', 'అ', + 'న', 'డి' + ], + 'abbreviated': [ + 'జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', + 'జూన్', 'జులై', 'ఆగస్టు', 'సెప్టెం', + 'అక్టో', 'నవం', 'డిసెం' + ], + 'wide': [ + 'జనవరి', 'ఫిబ్రవరి', 'మార్చి', + 'ఏప్రిల్', 'మే', 'జూన్', 'జులై', 'ఆగస్టు', + 'సెప్టెంబర్', 'అక్టోబర్', 'నవంబర్', + 'డిసెంబర్' + ] + } + }, + 'eras': { + 'abbreviated': ['క్రీపూ', 'క్రీశ'], + 'narrow': ['క్రీపూ', 'క్రీశ'], + 'wide': + ['క్రీస్తు పూర్వం', 'క్రీస్తు శకం'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': { + 'full': 'd, MMMM y, EEEE', + 'long': 'd MMMM, y', + 'medium': 'd MMM, y', + 'short': 'dd-MM-yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##,##0.00', + 'decimal': '#,##,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'రూపాయి'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_teo-KE.ts b/packages/core/src/i18n/data/locale_teo-KE.ts new file mode 100644 index 00000000000000..d346366f9abb4c --- /dev/null +++ b/packages/core/src/i18n/data/locale_teo-KE.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTeoKE: NgLocale = { + 'localeId': 'teo-KE', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Taparachu', 'pm': 'Ebongi'}, + 'narrow': {'am': 'Taparachu', 'pm': 'Ebongi'}, + 'wide': {'am': 'Taparachu', 'pm': 'Ebongi'} + }, + 'standalone': { + 'abbreviated': {'am': 'Taparachu', 'pm': 'Ebongi'}, + 'narrow': {'am': 'Taparachu', 'pm': 'Ebongi'}, + 'wide': {'am': 'Taparachu', 'pm': 'Ebongi'} + } + }, + 'days': { + 'format': { + 'narrow': ['J', 'B', 'A', 'U', 'U', 'K', 'S'], + 'short': ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], + 'abbreviated': ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], + 'wide': [ + 'Nakaejuma', 'Nakaebarasa', 'Nakaare', 'Nakauni', 'Nakaung’on', 'Nakakany', 'Nakasabiti' + ] + }, + 'standalone': { + 'narrow': ['J', 'B', 'A', 'U', 'U', 'K', 'S'], + 'short': ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], + 'abbreviated': ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], + 'wide': [ + 'Nakaejuma', 'Nakaebarasa', 'Nakaare', 'Nakauni', 'Nakaung’on', 'Nakakany', 'Nakasabiti' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['R', 'M', 'K', 'D', 'M', 'M', 'J', 'P', 'S', 'T', 'L', 'P'], + 'abbreviated': + ['Rar', 'Muk', 'Kwa', 'Dun', 'Mar', 'Mod', 'Jol', 'Ped', 'Sok', 'Tib', 'Lab', 'Poo'], + 'wide': [ + 'Orara', 'Omuk', 'Okwamg’', 'Odung’el', 'Omaruk', 'Omodok’king’ol', 'Ojola', + 'Opedel', 'Osokosokoma', 'Otibar', 'Olabor', 'Opoo' + ] + }, + 'standalone': { + 'narrow': ['R', 'M', 'K', 'D', 'M', 'M', 'J', 'P', 'S', 'T', 'L', 'P'], + 'abbreviated': + ['Rar', 'Muk', 'Kwa', 'Dun', 'Mar', 'Mod', 'Jol', 'Ped', 'Sok', 'Tib', 'Lab', 'Poo'], + 'wide': [ + 'Orara', 'Omuk', 'Okwamg’', 'Odung’el', 'Omaruk', 'Omodok’king’ol', 'Ojola', + 'Opedel', 'Osokosokoma', 'Otibar', 'Olabor', 'Opoo' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Christo', 'Baada ya Christo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Ksh', 'name': 'Ango’otol lok’ Kenya'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_teo.ts b/packages/core/src/i18n/data/locale_teo.ts new file mode 100644 index 00000000000000..348ff79463268c --- /dev/null +++ b/packages/core/src/i18n/data/locale_teo.ts @@ -0,0 +1,108 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTeo: NgLocale = { + 'localeId': 'teo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Taparachu', 'pm': 'Ebongi'}, + 'narrow': {'am': 'Taparachu', 'pm': 'Ebongi'}, + 'wide': {'am': 'Taparachu', 'pm': 'Ebongi'} + }, + 'standalone': { + 'abbreviated': {'am': 'Taparachu', 'pm': 'Ebongi'}, + 'narrow': {'am': 'Taparachu', 'pm': 'Ebongi'}, + 'wide': {'am': 'Taparachu', 'pm': 'Ebongi'} + } + }, + 'days': { + 'format': { + 'narrow': ['J', 'B', 'A', 'U', 'U', 'K', 'S'], + 'short': ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], + 'abbreviated': ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], + 'wide': [ + 'Nakaejuma', 'Nakaebarasa', 'Nakaare', 'Nakauni', 'Nakaung’on', 'Nakakany', 'Nakasabiti' + ] + }, + 'standalone': { + 'narrow': ['J', 'B', 'A', 'U', 'U', 'K', 'S'], + 'short': ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], + 'abbreviated': ['Jum', 'Bar', 'Aar', 'Uni', 'Ung', 'Kan', 'Sab'], + 'wide': [ + 'Nakaejuma', 'Nakaebarasa', 'Nakaare', 'Nakauni', 'Nakaung’on', 'Nakakany', 'Nakasabiti' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['R', 'M', 'K', 'D', 'M', 'M', 'J', 'P', 'S', 'T', 'L', 'P'], + 'abbreviated': + ['Rar', 'Muk', 'Kwa', 'Dun', 'Mar', 'Mod', 'Jol', 'Ped', 'Sok', 'Tib', 'Lab', 'Poo'], + 'wide': [ + 'Orara', 'Omuk', 'Okwamg’', 'Odung’el', 'Omaruk', 'Omodok’king’ol', 'Ojola', + 'Opedel', 'Osokosokoma', 'Otibar', 'Olabor', 'Opoo' + ] + }, + 'standalone': { + 'narrow': ['R', 'M', 'K', 'D', 'M', 'M', 'J', 'P', 'S', 'T', 'L', 'P'], + 'abbreviated': + ['Rar', 'Muk', 'Kwa', 'Dun', 'Mar', 'Mod', 'Jol', 'Ped', 'Sok', 'Tib', 'Lab', 'Poo'], + 'wide': [ + 'Orara', 'Omuk', 'Okwamg’', 'Odung’el', 'Omaruk', 'Omodok’king’ol', 'Ojola', + 'Opedel', 'Osokosokoma', 'Otibar', 'Olabor', 'Opoo' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Christo', 'Baada ya Christo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'USh', 'name': 'Ango’otol lok’ Uganda'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_th.ts b/packages/core/src/i18n/data/locale_th.ts new file mode 100644 index 00000000000000..665c64a953b6ee --- /dev/null +++ b/packages/core/src/i18n/data/locale_th.ts @@ -0,0 +1,210 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTh: NgLocale = { + 'localeId': 'th', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'เที่ยงคืน', + 'am': 'ก่อนเที่ยง', + 'noon': 'เที่ยง', + 'pm': 'หลังเที่ยง', + 'morning1': 'ในตอนเช้า', + 'afternoon1': 'ในตอนบ่าย', + 'afternoon2': 'บ่าย', + 'evening1': 'ในตอนเย็น', + 'evening2': 'ค่ำ', + 'night1': 'กลางคืน' + }, + 'narrow': { + 'midnight': 'เที่ยงคืน', + 'am': 'a', + 'noon': 'n', + 'pm': 'p', + 'morning1': 'เช้า', + 'afternoon1': 'เที่ยง', + 'afternoon2': 'บ่าย', + 'evening1': 'เย็น', + 'evening2': 'ค่ำ', + 'night1': 'กลางคืน' + }, + 'wide': { + 'midnight': 'เที่ยงคืน', + 'am': 'ก่อนเที่ยง', + 'noon': 'เที่ยง', + 'pm': 'หลังเที่ยง', + 'morning1': 'ในตอนเช้า', + 'afternoon1': 'ในตอนบ่าย', + 'afternoon2': 'บ่าย', + 'evening1': 'ในตอนเย็น', + 'evening2': 'ค่ำ', + 'night1': 'กลางคืน' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'เที่ยงคืน', + 'am': 'ก่อนเที่ยง', + 'noon': 'เที่ยง', + 'pm': 'หลังเที่ยง', + 'morning1': 'ในตอนเช้า', + 'afternoon1': 'ในตอนบ่าย', + 'afternoon2': 'บ่าย', + 'evening1': 'ในตอนเย็น', + 'evening2': 'ค่ำ', + 'night1': 'กลางคืน' + }, + 'narrow': { + 'midnight': 'เที่ยงคืน', + 'am': 'ก่อนเที่ยง', + 'noon': 'เที่ยง', + 'pm': 'หลังเที่ยง', + 'morning1': 'เช้า', + 'afternoon1': 'ช่วงเที่ยง', + 'afternoon2': 'บ่าย', + 'evening1': 'เย็น', + 'evening2': 'ค่ำ', + 'night1': 'กลางคืน' + }, + 'wide': { + 'midnight': 'เที่ยงคืน', + 'am': 'ก่อนเที่ยง', + 'noon': 'เที่ยง', + 'pm': 'หลังเที่ยง', + 'morning1': 'ในตอนเช้า', + 'afternoon1': 'ในตอนบ่าย', + 'afternoon2': 'บ่าย', + 'evening1': 'ในตอนเย็น', + 'evening2': 'ค่ำ', + 'night1': 'กลางคืน' + } + } + }, + 'days': { + 'format': { + 'narrow': ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'], + 'short': ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + 'abbreviated': ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + 'wide': [ + 'วันอาทิตย์', 'วันจันทร์', + 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', + 'วันศุกร์', 'วันเสาร์' + ] + }, + 'standalone': { + 'narrow': ['อา', 'จ', 'อ', 'พ', 'พฤ', 'ศ', 'ส'], + 'short': ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + 'abbreviated': ['อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'], + 'wide': [ + 'วันอาทิตย์', 'วันจันทร์', + 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', + 'วันศุกร์', 'วันเสาร์' + ] + } + }, + 'months': { + 'format': { + 'narrow': [ + 'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', + 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.' + ], + 'abbreviated': [ + 'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', + 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.' + ], + 'wide': [ + 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', + 'เมษายน', 'พฤษภาคม', 'มิถุนายน', + 'กรกฎาคม', 'สิงหาคม', 'กันยายน', + 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม' + ] + }, + 'standalone': { + 'narrow': [ + 'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', + 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.' + ], + 'abbreviated': [ + 'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', + 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.' + ], + 'wide': [ + 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', + 'เมษายน', 'พฤษภาคม', 'มิถุนายน', + 'กรกฎาคม', 'สิงหาคม', 'กันยายน', + 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม' + ] + } + }, + 'eras': { + 'abbreviated': ['ปีก่อน ค.ศ.', 'ค.ศ.'], + 'narrow': ['ก่อน ค.ศ.', 'ค.ศ.'], + 'wide': [ + 'ปีก่อนคริสต์ศักราช', + 'คริสต์ศักราช' + ] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEEที่ d MMMM G y', + 'long': 'd MMMM G y', + 'medium': 'd MMM y', + 'short': 'd/M/yy' + }, + 'time': { + 'full': 'H นาฬิกา mm นาที ss วินาที zzzz', + 'long': 'H นาฬิกา mm นาที ss วินาที z', + 'medium': 'HH:mm:ss', + 'short': 'HH:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '16:00'}, + 'evening1': {'from': '16:00', 'to': '18:00'}, + 'evening2': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'THB', 'name': 'บาทไทย'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_ti-ER.ts b/packages/core/src/i18n/data/locale_ti-ER.ts new file mode 100644 index 00000000000000..108777d30881af --- /dev/null +++ b/packages/core/src/i18n/data/locale_ti-ER.ts @@ -0,0 +1,124 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTiER: NgLocale = { + 'localeId': 'ti-ER', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'}, + 'narrow': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'}, + 'wide': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'} + }, + 'standalone': { + 'abbreviated': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'}, + 'narrow': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'}, + 'wide': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'} + } + }, + 'days': { + 'format': { + 'narrow': ['ሰ', 'ሰ', 'ሰ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], + 'short': ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + 'abbreviated': ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + 'wide': [ + 'ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', + 'ቀዳም' + ] + }, + 'standalone': { + 'narrow': ['ሰ', 'ሰ', 'ሰ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], + 'short': ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + 'abbreviated': ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + 'wide': [ + 'ሰንበት', 'ሰኑይ', 'ሰሉስ', 'ረቡዕ', 'ሓሙስ', 'ዓርቢ', + 'ቀዳም' + ] + } + }, + 'months': { + 'format': { + 'narrow': + ['ጥ', 'ለ', 'መ', 'ሚ', 'ግ', 'ሰ', 'ሓ', 'ነ', 'መ', 'ጥ', 'ሕ', 'ታ'], + 'abbreviated': [ + 'ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', + 'ጥቅ', 'ሕዳ', 'ታሕ' + ], + 'wide': [ + 'ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', + 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ' + ] + }, + 'standalone': { + 'narrow': + ['ጥ', 'ለ', 'መ', 'ሚ', 'ግ', 'ሰ', 'ሓ', 'ነ', 'መ', 'ጥ', 'ሕ', 'ታ'], + 'abbreviated': [ + 'ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', + 'ጥቅ', 'ሕዳ', 'ታሕ' + ], + 'wide': [ + 'ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', + 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ' + ] + } + }, + 'eras': { + 'abbreviated': ['ዓ/ዓ', 'ዓ/ም'], + 'narrow': ['ዓ/ዓ', 'ዓ/ም'], + 'wide': ['ዓመተ ዓለም', 'ዓመተ ምህረት'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE፣ dd MMMM መዓልቲ y G', + 'long': 'dd MMMM y', + 'medium': 'dd-MMM-y', + 'short': 'dd/MM/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Nfk', 'name': 'ERN'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ti.ts b/packages/core/src/i18n/data/locale_ti.ts new file mode 100644 index 00000000000000..a8d41b608b83a9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ti.ts @@ -0,0 +1,124 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTi: NgLocale = { + 'localeId': 'ti', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'}, + 'narrow': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'}, + 'wide': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'} + }, + 'standalone': { + 'abbreviated': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'}, + 'narrow': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'}, + 'wide': {'am': 'ንጉሆ ሰዓተ', 'pm': 'ድሕር ሰዓት'} + } + }, + 'days': { + 'format': { + 'narrow': ['ሰ', 'ሰ', 'ሰ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], + 'short': ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + 'abbreviated': ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + 'wide': [ + 'ሰንበት', 'ሰኑይ', 'ሠሉስ', 'ረቡዕ', 'ኃሙስ', 'ዓርቢ', + 'ቀዳም' + ] + }, + 'standalone': { + 'narrow': ['ሰ', 'ሰ', 'ሠ', 'ረ', 'ሓ', 'ዓ', 'ቀ'], + 'short': ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + 'abbreviated': ['ሰን', 'ሰኑ', 'ሰሉ', 'ረቡ', 'ሓሙ', 'ዓር', 'ቀዳ'], + 'wide': [ + 'ሰንበት', 'ሰኑይ', 'ሰሉስ', 'ረቡዕ', 'ሓሙስ', 'ዓርቢ', + 'ቀዳም' + ] + } + }, + 'months': { + 'format': { + 'narrow': + ['ጥ', 'ለ', 'መ', 'ሚ', 'ግ', 'ሰ', 'ሓ', 'ነ', 'መ', 'ጥ', 'ሕ', 'ታ'], + 'abbreviated': [ + 'ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', + 'ጥቅ', 'ሕዳ', 'ታሕ' + ], + 'wide': [ + 'ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', + 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ' + ] + }, + 'standalone': { + 'narrow': + ['ጥ', 'ለ', 'መ', 'ሚ', 'ግ', 'ሰ', 'ሓ', 'ነ', 'መ', 'ጥ', 'ሕ', 'ታ'], + 'abbreviated': [ + 'ጥሪ', 'ለካ', 'መጋ', 'ሚያ', 'ግን', 'ሰነ', 'ሓም', 'ነሓ', 'መስ', + 'ጥቅ', 'ሕዳ', 'ታሕ' + ], + 'wide': [ + 'ጥሪ', 'ለካቲት', 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰነ', + 'ሓምለ', 'ነሓሰ', 'መስከረም', 'ጥቅምቲ', 'ሕዳር', 'ታሕሳስ' + ] + } + }, + 'eras': { + 'abbreviated': ['ዓ/ዓ', 'ዓ/ም'], + 'narrow': ['ዓ/ዓ', 'ዓ/ም'], + 'wide': ['ዓ/ዓ', 'ዓመተ ምህረት'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE፣ dd MMMM መዓልቲ y G', + 'long': 'dd MMMM y', + 'medium': 'dd-MMM-y', + 'short': 'dd/MM/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Br', 'name': 'የኢትዮጵያ ብ���'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_tk.ts b/packages/core/src/i18n/data/locale_tk.ts new file mode 100644 index 00000000000000..188c1efdb2ad57 --- /dev/null +++ b/packages/core/src/i18n/data/locale_tk.ts @@ -0,0 +1,96 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTk: NgLocale = { + 'localeId': 'tk', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['Ý', 'D', 'S', 'Ç', 'P', 'A', 'Ş'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + }, + 'standalone': { + 'narrow': ['Ý', 'D', 'S', 'Ç', 'P', 'A', 'Ş'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'd MMMM y EEEE', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd.MM.y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'san däl', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TMT', 'name': 'Türkmen manaty'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_to.ts b/packages/core/src/i18n/data/locale_to.ts new file mode 100644 index 00000000000000..44d96e45583138 --- /dev/null +++ b/packages/core/src/i18n/data/locale_to.ts @@ -0,0 +1,111 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTo: NgLocale = { + 'localeId': 'to', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'hengihengi', 'pm': 'efiafi'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'HH', 'pm': 'EA'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'P', 'T', 'F', 'T'], + 'short': ['Sāp', 'Mōn', 'Tūs', 'Pul', 'Tuʻa', 'Fal', 'Tok'], + 'abbreviated': ['Sāp', 'Mōn', 'Tūs', 'Pul', 'Tuʻa', 'Fal', 'Tok'], + 'wide': + ['Sāpate', 'Mōnite', 'Tūsite', 'Pulelulu', 'Tuʻapulelulu', 'Falaite', 'Tokonaki'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'P', 'T', 'F', 'T'], + 'short': ['Sāp', 'Mōn', 'Tūs', 'Pul', 'Tuʻa', 'Fal', 'Tok'], + 'abbreviated': ['Sāp', 'Mōn', 'Tūs', 'Pul', 'Tuʻa', 'Fal', 'Tok'], + 'wide': + ['Sāpate', 'Mōnite', 'Tūsite', 'Pulelulu', 'Tuʻapulelulu', 'Falaite', 'Tokonaki'] + } + }, + 'months': { + 'format': { + 'narrow': ['S', 'F', 'M', 'E', 'M', 'S', 'S', 'A', 'S', 'O', 'N', 'T'], + 'abbreviated': [ + 'Sān', 'Fēp', 'Maʻa', 'ʻEpe', 'Mē', 'Sun', 'Siu', 'ʻAok', 'Sep', 'ʻOka', 'Nōv', + 'Tīs' + ], + 'wide': [ + 'Sānuali', 'Fēpueli', 'Maʻasi', 'ʻEpeleli', 'Mē', 'Sune', 'Siulai', 'ʻAokosi', + 'Sepitema', 'ʻOkatopa', 'Nōvema', 'Tīsema' + ] + }, + 'standalone': { + 'narrow': ['S', 'F', 'M', 'E', 'M', 'S', 'S', 'A', 'S', 'O', 'N', 'T'], + 'abbreviated': [ + 'Sān', 'Fēp', 'Maʻa', 'ʻEpe', 'Mē', 'Sun', 'Siu', 'ʻAok', 'Sep', 'ʻOka', 'Nōv', + 'Tīs' + ], + 'wide': [ + 'Sānuali', 'Fēpueli', 'Maʻasi', 'ʻEpeleli', 'Mē', 'Sune', 'Siulai', 'ʻAokosi', + 'Sepitema', 'ʻOkatopa', 'Nōvema', 'Tīsema' + ] + } + }, + 'eras': { + 'abbreviated': ['KM', 'TS'], + 'narrow': ['KM', 'TS'], + 'wide': ['ki muʻa', 'taʻu ʻo Sīsū'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/yy'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'TF', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'T$', 'name': 'Paʻanga fakatonga'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_tr-CY.ts b/packages/core/src/i18n/data/locale_tr-CY.ts new file mode 100644 index 00000000000000..641cede5dfc228 --- /dev/null +++ b/packages/core/src/i18n/data/locale_tr-CY.ts @@ -0,0 +1,183 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTrCY: NgLocale = { + 'localeId': 'tr-CY', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'gece yarısı', + 'am': 'ÖÖ', + 'noon': 'öğle', + 'pm': 'ÖS', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + }, + 'narrow': { + 'midnight': 'gece', + 'am': 'öö', + 'noon': 'ö', + 'pm': 'ös', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + }, + 'wide': { + 'midnight': 'gece yarısı', + 'am': 'ÖÖ', + 'noon': 'öğle', + 'pm': 'ÖS', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'gece yarısı', + 'am': 'ÖÖ', + 'noon': 'öğle', + 'pm': 'ÖS', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + }, + 'narrow': { + 'midnight': 'gece yarısı', + 'am': 'ÖÖ', + 'noon': 'öğle', + 'pm': 'ÖS', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + }, + 'wide': { + 'midnight': 'gece yarısı', + 'am': 'ÖÖ', + 'noon': 'öğle', + 'pm': 'ÖS', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + } + } + }, + 'days': { + 'format': { + 'narrow': ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'], + 'short': ['Pa', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'], + 'abbreviated': ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'], + 'wide': ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'] + }, + 'standalone': { + 'narrow': ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'], + 'short': ['Pa', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'], + 'abbreviated': ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'], + 'wide': ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'] + } + }, + 'months': { + 'format': { + 'narrow': ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], + 'abbreviated': + ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], + 'wide': [ + 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', + 'Ekim', 'Kasım', 'Aralık' + ] + }, + 'standalone': { + 'narrow': ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], + 'abbreviated': + ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], + 'wide': [ + 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', + 'Ekim', 'Kasım', 'Aralık' + ] + } + }, + 'eras': { + 'abbreviated': ['MÖ', 'MS'], + 'narrow': ['MÖ', 'MS'], + 'wide': ['Milattan Önce', 'Milattan Sonra'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'd MMMM y EEEE', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd.MM.y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'afternoon2': {'from': '18:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '11:00'}, + 'morning2': {'from': '11:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '%#,##0', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '€', 'name': 'Euro'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_tr.ts b/packages/core/src/i18n/data/locale_tr.ts new file mode 100644 index 00000000000000..c17b7f9c5ec412 --- /dev/null +++ b/packages/core/src/i18n/data/locale_tr.ts @@ -0,0 +1,179 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTr: NgLocale = { + 'localeId': 'tr', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'gece yarısı', + 'am': 'ÖÖ', + 'noon': 'öğle', + 'pm': 'ÖS', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + }, + 'narrow': { + 'midnight': 'gece', + 'am': 'öö', + 'noon': 'ö', + 'pm': 'ös', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + }, + 'wide': { + 'midnight': 'gece yarısı', + 'am': 'ÖÖ', + 'noon': 'öğle', + 'pm': 'ÖS', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'gece yarısı', + 'am': 'ÖÖ', + 'noon': 'öğle', + 'pm': 'ÖS', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + }, + 'narrow': { + 'midnight': 'gece yarısı', + 'am': 'ÖÖ', + 'noon': 'öğle', + 'pm': 'ÖS', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + }, + 'wide': { + 'midnight': 'gece yarısı', + 'am': 'ÖÖ', + 'noon': 'öğle', + 'pm': 'ÖS', + 'morning1': 'sabah', + 'morning2': 'öğleden önce', + 'afternoon1': 'öğleden sonra', + 'afternoon2': 'akşamüstü', + 'evening1': 'akşam', + 'night1': 'gece' + } + } + }, + 'days': { + 'format': { + 'narrow': ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'], + 'short': ['Pa', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'], + 'abbreviated': ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'], + 'wide': ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'] + }, + 'standalone': { + 'narrow': ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'], + 'short': ['Pa', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'], + 'abbreviated': ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'], + 'wide': ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'] + } + }, + 'months': { + 'format': { + 'narrow': ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], + 'abbreviated': + ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], + 'wide': [ + 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', + 'Ekim', 'Kasım', 'Aralık' + ] + }, + 'standalone': { + 'narrow': ['O', 'Ş', 'M', 'N', 'M', 'H', 'T', 'A', 'E', 'E', 'K', 'A'], + 'abbreviated': + ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'], + 'wide': [ + 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', + 'Ekim', 'Kasım', 'Aralık' + ] + } + }, + 'eras': { + 'abbreviated': ['MÖ', 'MS'], + 'narrow': ['MÖ', 'MS'], + 'wide': ['Milattan Önce', 'Milattan Sonra'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'd MMMM y EEEE', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd.MM.y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'afternoon2': {'from': '18:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '11:00'}, + 'morning2': {'from': '11:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '%#,##0', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₺', 'name': 'Türk Lirası'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_twq.ts b/packages/core/src/i18n/data/locale_twq.ts new file mode 100644 index 00000000000000..7b20aeb7f15c4f --- /dev/null +++ b/packages/core/src/i18n/data/locale_twq.ts @@ -0,0 +1,100 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTwq: NgLocale = { + 'localeId': 'twq', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Subbaahi', 'pm': 'Zaarikay b'}, + 'narrow': {'am': 'Subbaahi', 'pm': 'Zaarikay b'}, + 'wide': {'am': 'Subbaahi', 'pm': 'Zaarikay b'} + }, + 'standalone': { + 'abbreviated': {'am': 'Subbaahi', 'pm': 'Zaarikay b'}, + 'narrow': {'am': 'Subbaahi', 'pm': 'Zaarikay b'}, + 'wide': {'am': 'Subbaahi', 'pm': 'Zaarikay b'} + } + }, + 'days': { + 'format': { + 'narrow': ['H', 'T', 'T', 'L', 'L', 'L', 'S'], + 'short': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'abbreviated': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'wide': ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamiisa', 'Alzuma', 'Asibti'] + }, + 'standalone': { + 'narrow': ['H', 'T', 'T', 'L', 'L', 'L', 'S'], + 'short': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'abbreviated': ['Alh', 'Ati', 'Ata', 'Ala', 'Alm', 'Alz', 'Asi'], + 'wide': ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamiisa', 'Alzuma', 'Asibti'] + } + }, + 'months': { + 'format': { + 'narrow': ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], + 'wide': [ + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + }, + 'standalone': { + 'narrow': ['Ž', 'F', 'M', 'A', 'M', 'Ž', 'Ž', 'U', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Žan', 'Fee', 'Mar', 'Awi', 'Me', 'Žuw', 'Žuy', 'Ut', 'Sek', 'Okt', 'Noo', 'Dee'], + 'wide': [ + 'Žanwiye', 'Feewiriye', 'Marsi', 'Awiril', 'Me', 'Žuweŋ', 'Žuyye', 'Ut', 'Sektanbur', + 'Oktoobur', 'Noowanbur', 'Deesanbur' + ] + } + }, + 'eras': { + 'abbreviated': ['IJ', 'IZ'], + 'narrow': ['IJ', 'IZ'], + 'wide': ['Isaa jine', 'Isaa zamanoo'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'CFA Fraŋ (BCEAO)'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_tzm.ts b/packages/core/src/i18n/data/locale_tzm.ts new file mode 100644 index 00000000000000..979282ad13904e --- /dev/null +++ b/packages/core/src/i18n/data/locale_tzm.ts @@ -0,0 +1,105 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleTzm: NgLocale = { + 'localeId': 'tzm', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Zdat azal', 'pm': 'Ḍeffir aza'}, + 'narrow': {'am': 'Zdat azal', 'pm': 'Ḍeffir aza'}, + 'wide': {'am': 'Zdat azal', 'pm': 'Ḍeffir aza'} + }, + 'standalone': { + 'abbreviated': {'am': 'Zdat azal', 'pm': 'Ḍeffir aza'}, + 'narrow': {'am': 'Zdat azal', 'pm': 'Ḍeffir aza'}, + 'wide': {'am': 'Zdat azal', 'pm': 'Ḍeffir aza'} + } + }, + 'days': { + 'format': { + 'narrow': ['A', 'A', 'A', 'A', 'A', 'A', 'A'], + 'short': ['Asa', 'Ayn', 'Asn', 'Akr', 'Akw', 'Asm', 'Asḍ'], + 'abbreviated': ['Asa', 'Ayn', 'Asn', 'Akr', 'Akw', 'Asm', 'Asḍ'], + 'wide': ['Asamas', 'Aynas', 'Asinas', 'Akras', 'Akwas', 'Asimwas', 'Asiḍyas'] + }, + 'standalone': { + 'narrow': ['A', 'A', 'A', 'A', 'A', 'A', 'A'], + 'short': ['Asa', 'Ayn', 'Asn', 'Akr', 'Akw', 'Asm', 'Asḍ'], + 'abbreviated': ['Asa', 'Ayn', 'Asn', 'Akr', 'Akw', 'Asm', 'Asḍ'], + 'wide': ['Asamas', 'Aynas', 'Asinas', 'Akras', 'Akwas', 'Asimwas', 'Asiḍyas'] + } + }, + 'months': { + 'format': { + 'narrow': ['Y', 'Y', 'M', 'I', 'M', 'Y', 'Y', 'Ɣ', 'C', 'K', 'N', 'D'], + 'abbreviated': + ['Yen', 'Yeb', 'Mar', 'Ibr', 'May', 'Yun', 'Yul', 'Ɣuc', 'Cut', 'Kṭu', 'Nwa', 'Duj'], + 'wide': [ + 'Yennayer', 'Yebrayer', 'Mars', 'Ibrir', 'Mayyu', 'Yunyu', 'Yulyuz', 'Ɣuct', 'Cutanbir', + 'Kṭuber', 'Nwanbir', 'Dujanbir' + ] + }, + 'standalone': { + 'narrow': ['Y', 'Y', 'M', 'I', 'M', 'Y', 'Y', 'Ɣ', 'C', 'K', 'N', 'D'], + 'abbreviated': + ['Yen', 'Yeb', 'Mar', 'Ibr', 'May', 'Yun', 'Yul', 'Ɣuc', 'Cut', 'Kṭu', 'Nwa', 'Duj'], + 'wide': [ + 'Yennayer', 'Yebrayer', 'Mars', 'Ibrir', 'Mayyu', 'Yunyu', 'Yulyuz', 'Ɣuct', 'Cutanbir', + 'Kṭuber', 'Nwanbir', 'Dujanbir' + ] + } + }, + 'eras': { + 'abbreviated': ['ZƐ', 'ḌƐ'], + 'narrow': ['ZƐ', 'ḌƐ'], + 'wide': ['Zdat Ɛisa (TAƔ)', 'Ḍeffir Ɛisa (TAƔ)'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MAD', 'name': 'Derhem Umeṛṛuki'}, + 'getPluralCase': function(n: number): Plural { + if (n === Math.floor(n) && n >= 0 && n <= 1 || n === Math.floor(n) && n >= 11 && n <= 99) + return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ug.ts b/packages/core/src/i18n/data/locale_ug.ts new file mode 100644 index 00000000000000..9007ab5f9a03ca --- /dev/null +++ b/packages/core/src/i18n/data/locale_ug.ts @@ -0,0 +1,127 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleUg: NgLocale = { + 'localeId': 'ug', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'چ.ب', 'pm': 'چ.ك'}, + 'narrow': {'am': 'ب', 'pm': 'ك'}, + 'wide': {'am': 'چۈشتىن بۇرۇن', 'pm': 'چۈشتىن كېيىن'} + }, + 'standalone': { + 'abbreviated': {'am': 'چ.ب', 'pm': 'چ.ك'}, + 'narrow': {'am': 'چ.ب', 'pm': 'چ.ك'}, + 'wide': {'am': 'چ.ب', 'pm': 'چ.ك'} + } + }, + 'days': { + 'format': { + 'narrow': ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + 'short': ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + 'abbreviated': ['يە', 'دۈ', 'سە', 'چا', 'پە', 'جۈ', 'شە'], + 'wide': [ + 'يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', + 'پەيشەنبە', 'جۈمە', 'شەنبە' + ] + }, + 'standalone': { + 'narrow': ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + 'short': ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'], + 'abbreviated': ['يە', 'دۈ', 'سە', 'چا', 'پە', 'جۈ', 'شە'], + 'wide': [ + 'يەكشەنبە', 'دۈشەنبە', 'سەيشەنبە', 'چارشەنبە', + 'پەيشەنبە', 'جۈمە', 'شەنبە' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'يانۋار', 'فېۋرال', 'مارت', 'ئاپرېل', 'ماي', 'ئىيۇن', + 'ئىيۇل', 'ئاۋغۇست', 'سېنتەبىر', 'ئۆكتەبىر', 'نويابىر', + 'دېكابىر' + ], + 'wide': [ + 'يانۋار', 'فېۋرال', 'مارت', 'ئاپرېل', 'ماي', 'ئىيۇن', + 'ئىيۇل', 'ئاۋغۇست', 'سېنتەبىر', 'ئۆكتەبىر', 'نويابىر', + 'دېكابىر' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'يانۋار', 'فېۋرال', 'مارت', 'ئاپرېل', 'ماي', 'ئىيۇن', + 'ئىيۇل', 'ئاۋغۇست', 'سېنتەبىر', 'ئۆكتەبىر', 'نويابىر', + 'دېكابىر' + ], + 'wide': [ + 'يانۋار', 'فېۋرال', 'مارت', 'ئاپرېل', 'ماي', 'ئىيۇن', + 'ئىيۇل', 'ئاۋغۇست', 'سېنتەبىر', 'ئۆكتەبىر', 'نويابىر', + 'دېكابىر' + ] + } + }, + 'eras': { + 'abbreviated': ['BCE', 'مىلادىيە'], + 'narrow': ['BCE', 'مىلادىيە'], + 'wide': ['مىلادىيەدىن بۇرۇن', 'مىلادىيە'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y d-MMMM، EEEE', + 'long': 'd-MMMM، y', + 'medium': 'd-MMM، y', + 'short': 'y-MM-dd' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': + {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1}، {0}', 'short': '{1}، {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '¥', 'name': 'جۇڭگو يۈەنى'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_uk.ts b/packages/core/src/i18n/data/locale_uk.ts new file mode 100644 index 00000000000000..700a07c722c5c2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_uk.ts @@ -0,0 +1,195 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleUk: NgLocale = { + 'localeId': 'uk', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'опівночі', + 'am': 'дп', + 'noon': 'пополудні', + 'pm': 'пп', + 'morning1': 'ранку', + 'afternoon1': 'дня', + 'evening1': 'вечора', + 'night1': 'ночі' + }, + 'narrow': { + 'midnight': 'північ', + 'am': 'дп', + 'noon': 'п', + 'pm': 'пп', + 'morning1': 'ранку', + 'afternoon1': 'дня', + 'evening1': 'вечора', + 'night1': 'ночі' + }, + 'wide': { + 'midnight': 'опівночі', + 'am': 'дп', + 'noon': 'пополудні', + 'pm': 'пп', + 'morning1': 'ранку', + 'afternoon1': 'дня', + 'evening1': 'вечора', + 'night1': 'ночі' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'північ', + 'am': 'дп', + 'noon': 'полудень', + 'pm': 'пп', + 'morning1': 'ранок', + 'afternoon1': 'день', + 'evening1': 'вечір', + 'night1': 'ніч' + }, + 'narrow': { + 'midnight': 'північ', + 'am': 'дп', + 'noon': 'полудень', + 'pm': 'пп', + 'morning1': 'ранок', + 'afternoon1': 'день', + 'evening1': 'вечір', + 'night1': 'ніч' + }, + 'wide': { + 'midnight': 'північ', + 'am': 'дп', + 'noon': 'полудень', + 'pm': 'пп', + 'morning1': 'ранок', + 'afternoon1': 'день', + 'evening1': 'вечір', + 'night1': 'ніч' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], + 'short': ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'неділя', 'понеділок', 'вівторок', 'середа', 'четвер', + 'пʼятниця', 'субота' + ] + }, + 'standalone': { + 'narrow': ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], + 'short': ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'abbreviated': ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'], + 'wide': [ + 'неділя', 'понеділок', 'вівторок', 'середа', 'четвер', + 'пʼятниця', 'субота' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['с', 'л', 'б', 'к', 'т', 'ч', 'л', 'с', 'в', 'ж', 'л', 'г'], + 'abbreviated': [ + 'січ.', 'лют.', 'бер.', 'квіт.', 'трав.', 'черв.', 'лип.', + 'серп.', 'вер.', 'жовт.', 'лист.', 'груд.' + ], + 'wide': [ + 'січня', 'лютого', 'березня', 'квітня', 'травня', + 'червня', 'липня', 'серпня', 'вересня', 'жовтня', + 'листопада', 'грудня' + ] + }, + 'standalone': { + 'narrow': ['С', 'Л', 'Б', 'К', 'Т', 'Ч', 'Л', 'С', 'В', 'Ж', 'Л', 'Г'], + 'abbreviated': [ + 'січ', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'сер', 'вер', + 'жов', 'лис', 'гру' + ], + 'wide': [ + 'січень', 'лютий', 'березень', 'квітень', 'травень', + 'червень', 'липень', 'серпень', 'вересень', 'жовтень', + 'листопад', 'грудень' + ] + } + }, + 'eras': { + 'abbreviated': ['до н. е.', 'н. е.'], + 'narrow': ['до н.е.', 'н.е.'], + 'wide': ['до нашої ери', 'нашої ери'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM y \'р\'.', + 'long': 'd MMMM y \'р\'.', + 'medium': 'd MMM y \'р\'.', + 'short': 'dd.MM.yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': { + 'full': '{1} \'о\' {0}', + 'long': '{1} \'о\' {0}', + 'medium': '{1}, {0}', + 'short': '{1}, {0}' + } + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'Е', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₴', 'name': 'українська гривня'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return Plural.One; + if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && + !(i % 100 >= 12 && i % 100 <= 14)) + return Plural.Few; + 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 Plural.Many; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ur-IN.ts b/packages/core/src/i18n/data/locale_ur-IN.ts new file mode 100644 index 00000000000000..35158baa43749a --- /dev/null +++ b/packages/core/src/i18n/data/locale_ur-IN.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleUrIN: NgLocale = { + 'localeId': 'ur-IN', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'آدھی رات', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + }, + 'narrow': { + 'midnight': 'آدھی رات', + 'am': 'a', + 'pm': 'p', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + }, + 'wide': { + 'midnight': 'آدھی رات', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'آدھی رات', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + }, + 'narrow': { + 'midnight': 'آدھی رات', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + }, + 'wide': { + 'midnight': 'آدھی رات', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': + ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], + 'abbreviated': + ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], + 'wide': + ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': + ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], + 'abbreviated': + ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'], + 'wide': [ + 'اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ], + 'wide': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ], + 'wide': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['قبل مسیح', 'عیسوی'], + 'narrow': ['قبل مسیح', 'عیسوی'], + 'wide': ['قبل مسیح', 'عیسوی'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [0, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'y MMM d', + 'short': 'd/M/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'afternoon2': {'from': '16:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '20:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₹', 'name': 'بھارتی روپیہ'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_ur.ts b/packages/core/src/i18n/data/locale_ur.ts new file mode 100644 index 00000000000000..6d459e2b7ae1e3 --- /dev/null +++ b/packages/core/src/i18n/data/locale_ur.ts @@ -0,0 +1,191 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleUr: NgLocale = { + 'localeId': 'ur', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'آدھی رات', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + }, + 'narrow': { + 'midnight': 'آدھی رات', + 'am': 'a', + 'pm': 'p', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + }, + 'wide': { + 'midnight': 'آدھی رات', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'آدھی رات', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + }, + 'narrow': { + 'midnight': 'آدھی رات', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + }, + 'wide': { + 'midnight': 'آدھی رات', + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'صبح', + 'afternoon1': 'دوپہر', + 'afternoon2': 'سہ پہر', + 'evening1': 'شام', + 'night1': 'رات' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'اتوار', 'سوموار', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ], + 'abbreviated': [ + 'اتوار', 'سوموار', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ], + 'wide': [ + 'اتوار', 'سوموار', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'اتوار', 'سوموار', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ], + 'abbreviated': [ + 'اتوار', 'سوموار', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ], + 'wide': [ + 'اتوار', 'سوموار', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ], + 'wide': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ], + 'wide': [ + 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولا��ی', + 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + } + }, + 'eras': { + 'abbreviated': ['قبل مسیح', 'عیسوی'], + 'narrow': ['قبل مسیح', 'عیسوی'], + 'wide': ['قبل مسیح', 'عیسوی'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE، d MMMM، y', + 'long': 'd MMMM، y', + 'medium': 'y MMM d', + 'short': 'd/M/yy' + }, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '16:00'}, + 'afternoon2': {'from': '16:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '20:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '20:00', 'to': '04:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '‎+', + 'minusSign': '‎-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'Rs', 'name': 'پاکستانی روپیہ'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_uz-Arab.ts b/packages/core/src/i18n/data/locale_uz-Arab.ts new file mode 100644 index 00000000000000..c9d16548d0608c --- /dev/null +++ b/packages/core/src/i18n/data/locale_uz-Arab.ts @@ -0,0 +1,115 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleUzArab: NgLocale = { + 'localeId': 'uz-Arab', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'], + 'abbreviated': ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'], + 'wide': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'], + 'abbreviated': ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'], + 'wide': [ + 'یکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنجشنبه', + 'جمعه', 'شنبه' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'جنو', 'فبر', 'مار', 'اپر', 'می', 'جون', 'جول', 'اگس', 'سپت', + 'اکت', 'نوم', 'دسم' + ], + 'wide': [ + 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', + 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'جنو', 'فبر', 'مار', 'اپر', 'می', 'جون', 'جول', 'اگس', 'سپت', + 'اکت', 'نوم', 'دسم' + ], + 'wide': [ + 'جنوری', 'فبروری', 'مارچ', 'اپریل', 'می', 'جون', 'جولای', + 'اگست', 'سپتمبر', 'اکتوبر', 'نومبر', 'دسمبر' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [4, 5], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '11:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '11:00'}, + 'night1': {'from': '22:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '‎+', + 'minusSign': '‎−', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '؋', 'name': 'افغانی'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_uz-Cyrl.ts b/packages/core/src/i18n/data/locale_uz-Cyrl.ts new file mode 100644 index 00000000000000..3383f5b029a407 --- /dev/null +++ b/packages/core/src/i18n/data/locale_uz-Cyrl.ts @@ -0,0 +1,181 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleUzCyrl: NgLocale = { + 'localeId': 'uz-Cyrl', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'ярим тун', + 'am': 'ТО', + 'noon': 'туш пайти', + 'pm': 'ТК', + 'morning1': 'эрталаб', + 'afternoon1': 'кундузи', + 'evening1': 'кечқурун', + 'night1': 'кечаси' + }, + 'narrow': { + 'midnight': 'ярим тун', + 'am': 'ТО', + 'noon': 'туш пайти', + 'pm': 'ТК', + 'morning1': 'эрталаб', + 'afternoon1': 'кундузи', + 'evening1': 'кечқурун', + 'night1': 'кечаси' + }, + 'wide': { + 'midnight': 'ярим тун', + 'am': 'ТО', + 'noon': 'туш пайти', + 'pm': 'ТК', + 'morning1': 'эрталаб', + 'afternoon1': 'кундузи', + 'evening1': 'кечқурун', + 'night1': 'кечаси' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'ярим тун', + 'am': 'ТО', + 'noon': 'туш пайти', + 'pm': 'ТК', + 'morning1': 'эрталаб', + 'afternoon1': 'кундузи', + 'evening1': 'кечқурун', + 'night1': 'кечаси' + }, + 'narrow': { + 'midnight': 'ярим тун', + 'am': 'ТО', + 'noon': 'туш пайти', + 'pm': 'ТК', + 'morning1': 'эрталаб', + 'afternoon1': 'кундузи', + 'evening1': 'кечқурун', + 'night1': 'кечаси' + }, + 'wide': { + 'midnight': 'ярим тун', + 'am': 'ТО', + 'noon': 'туш пайти', + 'pm': 'ТК', + 'morning1': 'эрталаб', + 'afternoon1': 'кундузи', + 'evening1': 'кечқурун', + 'night1': 'кечаси' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Я', 'Д', 'С', 'Ч', 'П', 'Ж', 'Ш'], + 'short': ['Як', 'Ду', 'Се', 'Чо', 'Па', 'Жу', 'Ша'], + 'abbreviated': ['якш', 'душ', 'сеш', 'чор', 'пай', 'жум', 'шан'], + 'wide': [ + 'якшанба', 'душанба', 'сешанба', 'чоршанба', + 'пайшанба', 'жума', 'шанба' + ] + }, + 'standalone': { + 'narrow': ['Я', 'Д', 'С', 'Ч', 'П', 'Ж', 'Ш'], + 'short': ['Як', 'Ду', 'Се', 'Чо', 'Па', 'Жу', 'Ша'], + 'abbreviated': ['Якш', 'Душ', 'Сеш', 'Чор', 'Пай', 'Жум', 'Шан'], + 'wide': [ + 'Якшанба', 'Душанба', 'Сешанба', 'Чоршанба', + 'Пайшанба', 'Жума', 'Шанба' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', + 'окт', 'ноя', 'дек' + ], + 'wide': [ + 'январ', 'феврал', 'март', 'апрел', 'май', 'июн', 'июл', + 'август', 'сентябр', 'октябр', 'ноябр', 'декабр' + ] + }, + 'standalone': { + 'narrow': ['Я', 'Ф', 'М', 'А', 'М', 'И', 'И', 'А', 'С', 'О', 'Н', 'Д'], + 'abbreviated': [ + 'Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', + 'Окт', 'Ноя', 'Дек' + ], + 'wide': [ + 'Январ', 'Феврал', 'Март', 'Апрел', 'Май', 'Июн', 'Июл', + 'Август', 'Сентябр', 'Октябр', 'Ноябр', 'Декабр' + ] + } + }, + 'eras': { + 'abbreviated': ['м.а.', 'милодий'], + 'narrow': ['м.а.', 'милодий'], + 'wide': ['милоддан аввалги', 'милодий'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dd MMMM, y', + 'long': 'd MMMM, y', + 'medium': 'd MMM, y', + 'short': 'dd/MM/yy' + }, + 'time': { + 'full': 'HH:mm:ss (zzzz)', + 'long': 'HH:mm:ss (z)', + 'medium': 'HH:mm:ss', + 'short': 'HH:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '11:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '11:00'}, + 'night1': {'from': '22:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'ҳақиқий сон эмас', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'сўм', 'name': 'Ўзбекистон сўм'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_uz-Latn.ts b/packages/core/src/i18n/data/locale_uz-Latn.ts new file mode 100644 index 00000000000000..8a5e88835d1c30 --- /dev/null +++ b/packages/core/src/i18n/data/locale_uz-Latn.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleUzLatn: NgLocale = { + 'localeId': 'uz-Latn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + }, + 'narrow': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + }, + 'wide': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + }, + 'narrow': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + }, + 'wide': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Y', 'D', 'S', 'C', 'P', 'J', 'S'], + 'short': ['Ya', 'Du', 'Se', 'Ch', 'Pa', 'Ju', 'Sh'], + 'abbreviated': ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'], + 'wide': ['yakshanba', 'dushanba', 'seshanba', 'chorshanba', 'payshanba', 'juma', 'shanba'] + }, + 'standalone': { + 'narrow': ['Y', 'D', 'S', 'C', 'P', 'J', 'S'], + 'short': ['Ya', 'Du', 'Se', 'Ch', 'Pa', 'Ju', 'Sh'], + 'abbreviated': ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'], + 'wide': + ['yakshanba', 'dushanba', 'seshanba', 'chorshanba', 'payshanba', 'juma', 'shanba'] + } + }, + 'months': { + 'format': { + 'narrow': ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avg', 'sen', 'okt', 'noy', 'dek'], + 'wide': [ + 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avgust', 'sentabr', 'oktabr', + 'noyabr', 'dekabr' + ] + }, + 'standalone': { + 'narrow': ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyn', 'Iyl', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'], + 'wide': [ + 'Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr', + 'Noyabr', 'Dekabr' + ] + } + }, + 'eras': { + 'abbreviated': ['m.a.', 'milodiy'], + 'narrow': ['m.a.', 'milodiy'], + 'wide': ['miloddan avvalgi', 'milodiy'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d-MMMM, y', + 'long': 'd-MMMM, y', + 'medium': 'd-MMM, y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'H:mm:ss (zzzz)', 'long': 'H:mm:ss (z)', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '11:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '11:00'}, + 'night1': {'from': '22:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'haqiqiy son emas', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'soʻm', 'name': 'O‘zbekiston so‘mi'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_uz.ts b/packages/core/src/i18n/data/locale_uz.ts new file mode 100644 index 00000000000000..4cfbbb937bf09c --- /dev/null +++ b/packages/core/src/i18n/data/locale_uz.ts @@ -0,0 +1,172 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleUz: NgLocale = { + 'localeId': 'uz', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + }, + 'narrow': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + }, + 'wide': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + }, + 'narrow': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + }, + 'wide': { + 'midnight': 'yarim tun', + 'am': 'TO', + 'noon': 'tush payti', + 'pm': 'TK', + 'morning1': 'ertalab', + 'afternoon1': 'kunduzi', + 'evening1': 'kechqurun', + 'night1': 'kechasi' + } + } + }, + 'days': { + 'format': { + 'narrow': ['Y', 'D', 'S', 'C', 'P', 'J', 'S'], + 'short': ['Ya', 'Du', 'Se', 'Ch', 'Pa', 'Ju', 'Sh'], + 'abbreviated': ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'], + 'wide': ['yakshanba', 'dushanba', 'seshanba', 'chorshanba', 'payshanba', 'juma', 'shanba'] + }, + 'standalone': { + 'narrow': ['Y', 'D', 'S', 'C', 'P', 'J', 'S'], + 'short': ['Ya', 'Du', 'Se', 'Ch', 'Pa', 'Ju', 'Sh'], + 'abbreviated': ['Yak', 'Dush', 'Sesh', 'Chor', 'Pay', 'Jum', 'Shan'], + 'wide': + ['yakshanba', 'dushanba', 'seshanba', 'chorshanba', 'payshanba', 'juma', 'shanba'] + } + }, + 'months': { + 'format': { + 'narrow': ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avg', 'sen', 'okt', 'noy', 'dek'], + 'wide': [ + 'yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avgust', 'sentabr', 'oktabr', + 'noyabr', 'dekabr' + ] + }, + 'standalone': { + 'narrow': ['Y', 'F', 'M', 'A', 'M', 'I', 'I', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'Iyn', 'Iyl', 'Avg', 'Sen', 'Okt', 'Noy', 'Dek'], + 'wide': [ + 'Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'Iyun', 'Iyul', 'Avgust', 'Sentabr', 'Oktabr', + 'Noyabr', 'Dekabr' + ] + } + }, + 'eras': { + 'abbreviated': ['m.a.', 'milodiy'], + 'narrow': ['m.a.', 'milodiy'], + 'wide': ['miloddan avvalgi', 'milodiy'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d-MMMM, y', + 'long': 'd-MMMM, y', + 'medium': 'd-MMM, y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'H:mm:ss (zzzz)', 'long': 'H:mm:ss (z)', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1}, {0}', 'long': '{1}, {0}', 'medium': '{1}, {0}', 'short': '{1}, {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '11:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '22:00'}, + 'midnight': '00:00', + 'morning1': {'from': '06:00', 'to': '11:00'}, + 'night1': {'from': '22:00', 'to': '06:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'haqiqiy son emas', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'soʻm', 'name': 'O‘zbekiston so‘mi'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_vai-Latn.ts b/packages/core/src/i18n/data/locale_vai-Latn.ts new file mode 100644 index 00000000000000..0119a464238a42 --- /dev/null +++ b/packages/core/src/i18n/data/locale_vai-Latn.ts @@ -0,0 +1,105 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleVaiLatn: NgLocale = { + 'localeId': 'vai-Latn', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'], + 'abbreviated': ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'], + 'wide': ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'], + 'abbreviated': ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'], + 'wide': ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'luukao kemã', 'ɓandaɓu', 'vɔɔ', 'fulu', 'goo', '6', '7', 'kɔnde', 'saah', 'galo', + 'kenpkato ɓololɔ', 'luukao lɔma' + ], + 'wide': [ + 'luukao kemã', 'ɓandaɓu', 'vɔɔ', 'fulu', 'goo', '6', '7', 'kɔnde', 'saah', 'galo', + 'kenpkato ɓololɔ', 'luukao lɔma' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'luukao kemã', 'ɓandaɓu', 'vɔɔ', 'fulu', 'goo', '6', '7', 'kɔnde', 'saah', 'galo', + 'kenpkato ɓololɔ', 'luukao lɔma' + ], + 'wide': [ + 'luukao kemã', 'ɓandaɓu', 'vɔɔ', 'fulu', 'goo', '6', '7', 'kɔnde', 'saah', 'galo', + 'kenpkato ɓololɔ', 'luukao lɔma' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'Laibhiya Dala'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_vai-Vaii.ts b/packages/core/src/i18n/data/locale_vai-Vaii.ts new file mode 100644 index 00000000000000..19f7b10197f5a2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_vai-Vaii.ts @@ -0,0 +1,123 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleVaiVaii: NgLocale = { + 'localeId': 'vai-Vaii', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ], + 'abbreviated': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ], + 'wide': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ], + 'abbreviated': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ], + 'wide': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ꖨꕪꖃ ꔞꕮ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', '6', '7', 'ꗛꔕ', + 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', 'ꖨꕪꕱ ꗏꕮ' + ], + 'wide': [ + 'ꖨꕪꖃ ꔞꕮ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', '6', '7', 'ꗛꔕ', + 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', 'ꖨꕪꕱ ꗏꕮ' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ꖨꕪꖃ ꔞꕮ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', '6', '7', 'ꗛꔕ', + 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', 'ꖨꕪꕱ ꗏꕮ' + ], + 'wide': [ + 'ꖨꕪꖃ ꔞꕮ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', '6', '7', 'ꗛꔕ', + 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', 'ꖨꕪꕱ ꗏꕮ' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'ꕞꔤꔫꕩ ꕜꕞꕌ'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_vai.ts b/packages/core/src/i18n/data/locale_vai.ts new file mode 100644 index 00000000000000..b8dc5c7c56c60b --- /dev/null +++ b/packages/core/src/i18n/data/locale_vai.ts @@ -0,0 +1,123 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleVai: NgLocale = { + 'localeId': 'vai', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ], + 'abbreviated': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ], + 'wide': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ], + 'abbreviated': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ], + 'wide': [ + 'ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', + 'ꔻꔬꔳ' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ꖨꕪꖃ ꔞꕮ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', '6', '7', 'ꗛꔕ', + 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', 'ꖨꕪꕱ ꗏꕮ' + ], + 'wide': [ + 'ꖨꕪꖃ ꔞꕮ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', '6', '7', 'ꗛꔕ', + 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', 'ꖨꕪꕱ ꗏꕮ' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'ꖨꕪꖃ ꔞꕮ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', '6', '7', 'ꗛꔕ', + 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', 'ꖨꕪꕱ ꗏꕮ' + ], + 'wide': [ + 'ꖨꕪꖃ ꔞꕮ', 'ꕒꕡꖝꖕ', 'ꕾꖺ', 'ꖢꖕ', 'ꖑꕱ', '6', '7', 'ꗛꔕ', + 'ꕢꕌ', 'ꕭꖃ', 'ꔞꘋꕔꕿ ꕸꖃꗏ', 'ꖨꕪꕱ ꗏꕮ' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': { + 'full': 'h:mm:ss a zzzz', + 'long': 'h:mm:ss a z', + 'medium': 'h:mm:ss a', + 'short': 'h:mm a' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': 'ꕞꔤꔫꕩ ꕜꕞꕌ'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_vi.ts b/packages/core/src/i18n/data/locale_vi.ts new file mode 100644 index 00000000000000..99a35312597185 --- /dev/null +++ b/packages/core/src/i18n/data/locale_vi.ts @@ -0,0 +1,178 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleVi: NgLocale = { + 'localeId': 'vi', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': 'nửa đêm', + 'am': 'SA', + 'noon': 'TR', + 'pm': 'CH', + 'morning1': 'sáng', + 'afternoon1': 'chiều', + 'evening1': 'tối', + 'night1': 'đêm' + }, + 'narrow': { + 'midnight': 'nửa đêm', + 'am': 's', + 'noon': 'tr', + 'pm': 'c', + 'morning1': 'sáng', + 'afternoon1': 'chiều', + 'evening1': 'tối', + 'night1': 'đêm' + }, + 'wide': { + 'midnight': 'nửa đêm', + 'am': 'SA', + 'noon': 'TR', + 'pm': 'CH', + 'morning1': 'sáng', + 'afternoon1': 'chiều', + 'evening1': 'tối', + 'night1': 'đêm' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': 'nửa đêm', + 'am': 'SA', + 'noon': 'TR', + 'pm': 'CH', + 'morning1': 'sáng', + 'afternoon1': 'chiều', + 'evening1': 'tối', + 'night1': 'đêm' + }, + 'narrow': { + 'midnight': 'nửa đêm', + 'am': 'SA', + 'noon': 'trưa', + 'pm': 'CH', + 'morning1': 'sáng', + 'afternoon1': 'chiều', + 'evening1': 'tối', + 'night1': 'đêm' + }, + 'wide': { + 'midnight': 'nửa đêm', + 'am': 'SA', + 'noon': 'trưa', + 'pm': 'CH', + 'morning1': 'sáng', + 'afternoon1': 'chiều', + 'evening1': 'tối', + 'night1': 'đêm' + } + } + }, + 'days': { + 'format': { + 'narrow': ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], + 'short': ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], + 'abbreviated': ['CN', 'Th 2', 'Th 3', 'Th 4', 'Th 5', 'Th 6', 'Th 7'], + 'wide': [ + 'Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', + 'Thứ Bảy' + ] + }, + 'standalone': { + 'narrow': ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], + 'short': ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], + 'abbreviated': ['CN', 'Th 2', 'Th 3', 'Th 4', 'Th 5', 'Th 6', 'Th 7'], + 'wide': [ + 'Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', + 'Thứ Bảy' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'thg 1', 'thg 2', 'thg 3', 'thg 4', 'thg 5', 'thg 6', 'thg 7', 'thg 8', 'thg 9', 'thg 10', + 'thg 11', 'thg 12' + ], + 'wide': [ + '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' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Thg 1', 'Thg 2', 'Thg 3', 'Thg 4', 'Thg 5', 'Thg 6', 'Thg 7', 'Thg 8', 'Thg 9', 'Thg 10', + 'Thg 11', 'Thg 12' + ], + 'wide': [ + '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' + ] + } + }, + 'eras': { + 'abbreviated': ['Trước CN', 'sau CN'], + 'narrow': ['tr. CN', 'sau CN'], + 'wide': ['Trước CN', 'sau CN'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d MMMM, y', + 'long': 'd MMMM, y', + 'medium': 'd MMM, y', + 'short': 'dd/MM/y' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{0} {1}', 'long': '{0} {1}', 'medium': '{0}, {1}', 'short': '{0}, {1}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '18:00'}, + 'evening1': {'from': '18:00', 'to': '21:00'}, + 'midnight': '00:00', + 'morning1': {'from': '04:00', 'to': '12:00'}, + 'night1': {'from': '21:00', 'to': '04:00'}, + 'noon': '12:00' + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '.', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₫', 'name': 'Đồng Việt Nam'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_vo.ts b/packages/core/src/i18n/data/locale_vo.ts new file mode 100644 index 00000000000000..9d2c9ff50d6519 --- /dev/null +++ b/packages/core/src/i18n/data/locale_vo.ts @@ -0,0 +1,96 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleVo: NgLocale = { + 'localeId': 'vo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'abbreviated': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + 'wide': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'], + 'wide': + ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'y MMMM d, EEEE', 'long': 'y MMMM d', 'medium': 'y MMM d', 'short': 'y-MM-dd'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_vun.ts b/packages/core/src/i18n/data/locale_vun.ts new file mode 100644 index 00000000000000..2709ea8c92df2c --- /dev/null +++ b/packages/core/src/i18n/data/locale_vun.ts @@ -0,0 +1,106 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleVun: NgLocale = { + 'localeId': 'vun', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'narrow': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'wide': {'am': 'utuko', 'pm': 'kyiukonyi'} + }, + 'standalone': { + 'abbreviated': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'narrow': {'am': 'utuko', 'pm': 'kyiukonyi'}, + 'wide': {'am': 'utuko', 'pm': 'kyiukonyi'} + } + }, + 'days': { + 'format': { + 'narrow': ['J', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': + ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + }, + 'standalone': { + 'narrow': ['J', 'J', 'J', 'J', 'A', 'I', 'J'], + 'short': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'abbreviated': ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Iju', 'Jmo'], + 'wide': + ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Des'], + 'wide': [ + 'Januari', 'Februari', 'Machi', 'Aprilyi', 'Mei', 'Junyi', 'Julyai', 'Agusti', 'Septemba', + 'Oktoba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['KK', 'BK'], + 'narrow': ['KK', 'BK'], + 'wide': ['Kabla ya Kristu', 'Baada ya Kristu'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'TSh', 'name': 'Shilingi ya Tanzania'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_wae.ts b/packages/core/src/i18n/data/locale_wae.ts new file mode 100644 index 00000000000000..e683239dbbf3f4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_wae.ts @@ -0,0 +1,110 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleWae: NgLocale = { + 'localeId': 'wae', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + }, + 'standalone': { + 'abbreviated': {'am': 'AM', 'pm': 'PM'}, + 'narrow': {'am': 'AM', 'pm': 'PM'}, + 'wide': {'am': 'AM', 'pm': 'PM'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'Z', 'M', 'F', 'F', 'S'], + 'short': ['Sun', 'Män', 'Ziš', 'Mit', 'Fró', 'Fri', 'Sam'], + 'abbreviated': ['Sun', 'Män', 'Ziš', 'Mit', 'Fró', 'Fri', 'Sam'], + 'wide': ['Sunntag', 'Mäntag', 'Zištag', 'Mittwuč', 'Fróntag', 'Fritag', 'Samštag'] + }, + 'standalone': { + 'narrow': ['S', 'M', 'Z', 'M', 'F', 'F', 'S'], + 'short': ['Sun', 'Män', 'Ziš', 'Mit', 'Fró', 'Fri', 'Sam'], + 'abbreviated': ['Sun', 'Män', 'Ziš', 'Mit', 'Fró', 'Fri', 'Sam'], + 'wide': ['Sunntag', 'Mäntag', 'Zištag', 'Mittwuč', 'Fróntag', 'Fritag', 'Samštag'] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'H', 'M', 'A', 'M', 'B', 'H', 'Ö', 'H', 'W', 'W', 'C'], + 'abbreviated': [ + 'Jen', 'Hor', 'Mär', 'Abr', 'Mei', 'Brá', 'Hei', 'Öig', 'Her', 'Wím', 'Win', 'Chr' + ], + 'wide': [ + 'Jenner', 'Hornig', 'Märze', 'Abrille', 'Meije', 'Bráčet', 'Heiwet', 'Öigšte', + 'Herbštmánet', 'Wímánet', 'Wintermánet', 'Chrištmánet' + ] + }, + 'standalone': { + 'narrow': ['J', 'H', 'M', 'A', 'M', 'B', 'H', 'Ö', 'H', 'W', 'W', 'C'], + 'abbreviated': [ + 'Jen', 'Hor', 'Mär', 'Abr', 'Mei', 'Brá', 'Hei', 'Öig', 'Her', 'Wím', 'Win', 'Chr' + ], + 'wide': [ + 'Jenner', 'Hornig', 'Märze', 'Abrille', 'Meije', 'Bráčet', 'Heiwet', 'Öigšte', + 'Herbštmánet', 'Wímánet', 'Wintermánet', 'Chrištmánet' + ] + } + }, + 'eras': { + 'abbreviated': ['v. Chr.', 'n. Chr'], + 'narrow': ['v. Chr.', 'n. Chr'], + 'wide': ['v. Chr.', 'n. Chr'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, d. MMMM y', + 'long': 'd. MMMM y', + 'medium': 'd. MMM y', + 'short': 'y-MM-dd' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': '’', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CHF', 'name': 'CHF'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_xog.ts b/packages/core/src/i18n/data/locale_xog.ts new file mode 100644 index 00000000000000..844223692ec810 --- /dev/null +++ b/packages/core/src/i18n/data/locale_xog.ts @@ -0,0 +1,107 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleXog: NgLocale = { + 'localeId': 'xog', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Munkyo', 'pm': 'Eigulo'}, + 'narrow': {'am': 'Munkyo', 'pm': 'Eigulo'}, + 'wide': {'am': 'Munkyo', 'pm': 'Eigulo'} + }, + 'standalone': { + 'abbreviated': {'am': 'Munkyo', 'pm': 'Eigulo'}, + 'narrow': {'am': 'Munkyo', 'pm': 'Eigulo'}, + 'wide': {'am': 'Munkyo', 'pm': 'Eigulo'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'B', 'B', 'S', 'K', 'K', 'M'], + 'short': ['Sabi', 'Bala', 'Kubi', 'Kusa', 'Kuna', 'Kuta', 'Muka'], + 'abbreviated': ['Sabi', 'Bala', 'Kubi', 'Kusa', 'Kuna', 'Kuta', 'Muka'], + 'wide': + ['Sabiiti', 'Balaza', 'Owokubili', 'Owokusatu', 'Olokuna', 'Olokutaanu', 'Olomukaaga'] + }, + 'standalone': { + 'narrow': ['S', 'B', 'B', 'S', 'K', 'K', 'M'], + 'short': ['Sabi', 'Bala', 'Kubi', 'Kusa', 'Kuna', 'Kuta', 'Muka'], + 'abbreviated': ['Sabi', 'Bala', 'Kubi', 'Kusa', 'Kuna', 'Kuta', 'Muka'], + 'wide': [ + 'Sabiiti', 'Balaza', 'Owokubili', 'Owokusatu', 'Olokuna', 'Olokutaanu', 'Olomukaaga' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apu', 'Maa', 'Juu', 'Jul', 'Agu', 'Seb', 'Oki', 'Nov', 'Des'], + 'wide': [ + 'Janwaliyo', 'Febwaliyo', 'Marisi', 'Apuli', 'Maayi', 'Juuni', 'Julaayi', 'Agusito', + 'Sebuttemba', 'Okitobba', 'Novemba', 'Desemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mar', 'Apu', 'Maa', 'Juu', 'Jul', 'Agu', 'Seb', 'Oki', 'Nov', 'Des'], + 'wide': [ + 'Janwaliyo', 'Febwaliyo', 'Marisi', 'Apuli', 'Maayi', 'Juuni', 'Julaayi', 'Agusito', + 'Sebuttemba', 'Okitobba', 'Novemba', 'Desemba' + ] + } + }, + 'eras': { + 'abbreviated': ['AZ', 'AF'], + 'narrow': ['AZ', 'AF'], + 'wide': ['Kulisto nga azilawo', 'Kulisto nga affile'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'USh', 'name': 'Silingi eya Yuganda'}, + 'getPluralCase': function(n: number): Plural { + if (n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_yav.ts b/packages/core/src/i18n/data/locale_yav.ts new file mode 100644 index 00000000000000..80d0e5702acbf9 --- /dev/null +++ b/packages/core/src/i18n/data/locale_yav.ts @@ -0,0 +1,110 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleYav: NgLocale = { + 'localeId': 'yav', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'kiɛmɛ́ɛm', 'pm': 'kisɛ́ndɛ'}, + 'narrow': {'am': 'kiɛmɛ́ɛm', 'pm': 'kisɛ́ndɛ'}, + 'wide': {'am': 'kiɛmɛ́ɛm', 'pm': 'kisɛ́ndɛ'} + }, + 'standalone': { + 'abbreviated': {'am': 'kiɛmɛ́ɛm', 'pm': 'kisɛ́ndɛ'}, + 'narrow': {'am': 'kiɛmɛ́ɛm', 'pm': 'kisɛ́ndɛ'}, + 'wide': {'am': 'kiɛmɛ́ɛm', 'pm': 'kisɛ́ndɛ'} + } + }, + 'days': { + 'format': { + 'narrow': ['s', 'm', 'm', 'e', 'k', 'f', 's'], + 'short': ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'], + 'abbreviated': ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'], + 'wide': [ + 'sɔ́ndiɛ', 'móndie', 'muányáŋmóndie', 'metúkpíápɛ', 'kúpélimetúkpiapɛ', + 'feléte', 'séselé' + ] + }, + 'standalone': { + 'narrow': ['s', 'm', 'm', 'e', 'k', 'f', 's'], + 'short': ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'], + 'abbreviated': ['sd', 'md', 'mw', 'et', 'kl', 'fl', 'ss'], + 'wide': [ + 'sɔ́ndiɛ', 'móndie', 'muányáŋmóndie', 'metúkpíápɛ', 'kúpélimetúkpiapɛ', + 'feléte', 'séselé' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['o.1', 'o.2', 'o.3', 'o.4', 'o.5', 'o.6', 'o.7', 'o.8', 'o.9', 'o.10', 'o.11', 'o.12'], + 'wide': [ + 'pikítíkítie, oólí ú kutúan', 'siɛyɛ́, oóli ú kándíɛ', + 'ɔnsúmbɔl, oóli ú kátátúɛ', 'mesiŋ, oóli ú kénie', + 'ensil, oóli ú kátánuɛ', 'ɔsɔn', 'efute', 'pisuyú', 'imɛŋ i puɔs', + 'imɛŋ i putúk,oóli ú kátíɛ', 'makandikɛ', 'pilɔndɔ́' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': + ['o.1', 'o.2', 'o.3', 'o.4', 'o.5', 'o.6', 'o.7', 'o.8', 'o.9', 'o.10', 'o.11', 'o.12'], + 'wide': [ + 'pikítíkítie, oólí ú kutúan', 'siɛyɛ́, oóli ú kándíɛ', + 'ɔnsúmbɔl, oóli ú kátátúɛ', 'mesiŋ, oóli ú kénie', + 'ensil, oóli ú kátánuɛ', 'ɔsɔn', 'efute', 'pisuyú', 'imɛŋ i puɔs', + 'imɛŋ i putúk,oóli ú kátíɛ', 'makandikɛ', 'pilɔndɔ́' + ] + } + }, + 'eras': { + 'abbreviated': ['k.Y.', '+J.C.'], + 'narrow': ['k.Y.', '+J.C.'], + 'wide': ['katikupíen Yésuse', 'ékélémkúnupíén n'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00 ¤', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'FCFA', 'name': 'XAF'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_yi.ts b/packages/core/src/i18n/data/locale_yi.ts new file mode 100644 index 00000000000000..18ec6b597a7b1a --- /dev/null +++ b/packages/core/src/i18n/data/locale_yi.ts @@ -0,0 +1,131 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleYi: NgLocale = { + 'localeId': 'yi', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'פֿאַרמיטאָג', 'pm': 'נאָכמיטאָג'}, + 'narrow': {'am': 'פֿאַרמיטאָג', 'pm': 'נאָכמיטאָג'}, + 'wide': {'am': 'פֿאַרמיטאָג', 'pm': 'נאָכמיטאָג'} + }, + 'standalone': { + 'abbreviated': {'am': 'פֿאַרמיטאָג', 'pm': 'נאָכמיטאָג'}, + 'narrow': {'am': 'פֿאַרמיטאָג', 'pm': 'נאָכמיטאָג'}, + 'wide': {'am': 'פֿאַרמיטאָג', 'pm': 'נאָכמיטאָג'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'זונטיק', 'מאָנטיק', 'דינסטיק', 'מיטוואך', + 'דאנערשטיק', 'פֿרײַטיק', 'שבת' + ], + 'abbreviated': [ + 'זונטיק', 'מאָנטיק', 'דינסטיק', 'מיטוואך', + 'דאנערשטיק', 'פֿרײַטיק', 'שבת' + ], + 'wide': [ + 'זונטיק', 'מאָנטיק', 'דינסטיק', 'מיטוואך', + 'דאנערשטיק', 'פֿרײַטיק', 'שבת' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'זונטיק', 'מאָנטיק', 'דינסטיק', 'מיטוואך', + 'דאנערשטיק', 'פֿרײַטיק', 'שבת' + ], + 'abbreviated': [ + 'זונטיק', 'מאָנטיק', 'דינסטיק', 'מיטוואך', + 'דאנערשטיק', 'פֿרײַטיק', 'שבת' + ], + 'wide': [ + 'זונטיק', 'מאָנטיק', 'דינסטיק', 'מיטוואך', + 'דאנערשטיק', 'פֿרײַטיק', 'שבת' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'יאַנואַר', 'פֿעברואַר', 'מערץ', 'אַפּריל', 'מיי', + 'יוני', 'יולי', 'אויגוסט', 'סעפּטעמבער', 'אקטאבער', + 'נאוועמבער', 'דעצעמבער' + ], + 'wide': [ + 'יאַנואַר', 'פֿעברואַר', 'מערץ', 'אַפּריל', 'מיי', + 'יוני', 'יולי', 'אויגוסט', 'סעפּטעמבער', 'אקטאבער', + 'נאוועמבער', 'דעצעמבער' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'יאַנ', 'פֿעב', 'מערץ', 'אַפּר', 'מיי', 'יוני', 'יולי', + 'אויג', 'סעפּ', 'אקט', 'נאוו', 'דעצ' + ], + 'wide': [ + 'יאַנואַר', 'פֿעברואַר', 'מערץ', 'אַפּריל', 'מיי', + 'יוני', 'יולי', 'אויגוסט', 'סעפּטעמבער', 'אקטאבער', + 'נאוועמבער', 'דעצעמבער' + ] + } + }, + 'eras': {'abbreviated': ['BCE', 'CE'], 'narrow': ['BCE', 'CE'], 'wide': ['BCE', 'CE']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'EEEE, dטן MMMM y', + 'long': 'dטן MMMM y', + 'medium': 'dטן MMM y', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': + {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1}, {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤ #,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; + if (i === 1 && v === 0) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/data/locale_yo-BJ.ts b/packages/core/src/i18n/data/locale_yo-BJ.ts new file mode 100644 index 00000000000000..b309471a8df99d --- /dev/null +++ b/packages/core/src/i18n/data/locale_yo-BJ.ts @@ -0,0 +1,117 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleYoBJ: NgLocale = { + 'localeId': 'yo-BJ', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Àárɔ̀', 'pm': 'Ɔ̀sán'}, + 'narrow': {'am': 'Àárɔ̀', 'pm': 'Ɔ̀sán'}, + 'wide': {'am': 'Àárɔ̀', 'pm': 'Ɔ̀sán'} + }, + 'standalone': { + 'abbreviated': {'am': 'Àárɔ̀', 'pm': 'Ɔ̀sán'}, + 'narrow': {'am': 'Àárɔ̀', 'pm': 'Ɔ̀sán'}, + 'wide': {'am': 'Àárɔ̀', 'pm': 'Ɔ̀sán'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': + ['Àìkú', 'Ajé', 'Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɛtì', 'Àbámɛ́ta'], + 'abbreviated': + ['Àìkú', 'Ajé', 'Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɛtì', 'Àbámɛ́ta'], + 'wide': [ + 'Ɔjɔ́ Àìkú', 'Ɔjɔ́ Ajé', 'Ɔjɔ́ Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', + 'Ɔjɔ́ Ɛtì', 'Ɔjɔ́ Àbámɛ́ta' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': + ['Àìkú', 'Ajé', 'Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɛtì', 'Àbámɛ́ta'], + 'abbreviated': + ['Àìkú', 'Ajé', 'Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɛtì', 'Àbámɛ́ta'], + 'wide': [ + 'Ɔjɔ́ Àìkú', 'Ɔjɔ́ Ajé', 'Ɔjɔ́ Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', + 'Ɔjɔ́ Ɛtì', 'Ɔjɔ́ Àbámɛ́ta' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Shɛ́rɛ́', 'Èrèlè', 'Ɛrɛ̀nà', 'Ìgbé', 'Ɛ̀bibi', 'Òkúdu', 'Agɛmɔ', + 'Ògún', 'Owewe', 'Ɔ̀wàrà', 'Bélú', 'Ɔ̀pɛ̀' + ], + 'wide': [ + 'Oshù Shɛ́rɛ́', 'Oshù Èrèlè', 'Oshù Ɛrɛ̀nà', 'Oshù Ìgbé', + 'Oshù Ɛ̀bibi', 'Oshù Òkúdu', 'Oshù Agɛmɔ', 'Oshù Ògún', 'Oshù Owewe', + 'Oshù Ɔ̀wàrà', 'Oshù Bélú', 'Oshù Ɔ̀pɛ̀' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Shɛ́rɛ́', 'Èrèlè', 'Ɛrɛ̀nà', 'Ìgbé', 'Ɛ̀bibi', 'Òkúdu', 'Agɛmɔ', + 'Ògún', 'Owewe', 'Ɔ̀wàrà', 'Bélú', 'Ɔ̀pɛ̀' + ], + 'wide': [ + 'Oshù Shɛ́rɛ́', 'Oshù Èrèlè', 'Oshù Ɛrɛ̀nà', 'Oshù Ìgbé', + 'Oshù Ɛ̀bibi', 'Oshù Òkúdu', 'Oshù Agɛmɔ', 'Oshù Ògún', 'Oshù Owewe', + 'Oshù Ɔ̀wàrà', 'Oshù Bélú', 'Oshù Ɔ̀pɛ̀' + ] + } + }, + 'eras': { + 'abbreviated': ['BCE', 'LK'], + 'narrow': ['BCE', 'LK'], + 'wide': ['Saju Kristi', 'Lehin Kristi'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'CFA', 'name': 'Faransi ti Orílɛ́ède BIKEAO'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_yo.ts b/packages/core/src/i18n/data/locale_yo.ts new file mode 100644 index 00000000000000..5198c094f6e59b --- /dev/null +++ b/packages/core/src/i18n/data/locale_yo.ts @@ -0,0 +1,125 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleYo: NgLocale = { + 'localeId': 'yo', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'Àárọ̀', 'pm': 'Ọ̀sán'}, + 'narrow': {'am': 'Àárọ̀', 'pm': 'Ọ̀sán'}, + 'wide': {'am': 'Àárọ̀', 'pm': 'Ọ̀sán'} + }, + 'standalone': { + 'abbreviated': {'am': 'Àárọ̀', 'pm': 'Ọ̀sán'}, + 'narrow': {'am': 'Àárọ̀', 'pm': 'Ọ̀sán'}, + 'wide': {'am': 'Àárọ̀', 'pm': 'Ọ̀sán'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'Àìkú', 'Ajé', 'Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ẹtì', + 'Àbámẹ́ta' + ], + 'abbreviated': [ + 'Àìkú', 'Ajé', 'Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ẹtì', + 'Àbámẹ́ta' + ], + 'wide': [ + 'Ọjọ́ Àìkú', 'Ọjọ́ Ajé', 'Ọjọ́ Ìsẹ́gun', 'Ọjọ́rú', + 'Ọjọ́bọ', 'Ọjọ́ Ẹtì', 'Ọjọ́ Àbámẹ́ta' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'Àìkú', 'Ajé', 'Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ẹtì', + 'Àbámẹ́ta' + ], + 'abbreviated': [ + 'Àìkú', 'Ajé', 'Ìsẹ́gun', 'Ọjọ́rú', 'Ọjọ́bọ', 'Ẹtì', + 'Àbámẹ́ta' + ], + 'wide': [ + 'Ọjọ́ Àìkú', 'Ọjọ́ Ajé', 'Ọjọ́ Ìsẹ́gun', 'Ọjọ́rú', + 'Ọjọ́bọ', 'Ọjọ́ Ẹtì', 'Ọjọ́ Àbámẹ́ta' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Ṣẹ́rẹ́', 'Èrèlè', 'Ẹrẹ̀nà', 'Ìgbé', 'Ẹ̀bibi', 'Òkúdu', + 'Agẹmọ', 'Ògún', 'Owewe', 'Ọ̀wàrà', 'Bélú', 'Ọ̀pẹ̀' + ], + 'wide': [ + 'Oṣù Ṣẹ́rẹ́', 'Oṣù Èrèlè', 'Oṣù Ẹrẹ̀nà', 'Oṣù Ìgbé', + 'Oṣù Ẹ̀bibi', 'Oṣù Òkúdu', 'Oṣù Agẹmọ', 'Oṣù Ògún', 'Oṣù Owewe', + 'Oṣù Ọ̀wàrà', 'Oṣù Bélú', 'Oṣù Ọ̀pẹ̀' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + 'Ṣẹ́rẹ́', 'Èrèlè', 'Ẹrẹ̀nà', 'Ìgbé', 'Ẹ̀bibi', 'Òkúdu', + 'Agẹmọ', 'Ògún', 'Owewe', 'Ọ̀wàrà', 'Bélú', 'Ọ̀pẹ̀' + ], + 'wide': [ + 'Oṣù Ṣẹ́rẹ́', 'Oṣù Èrèlè', 'Oṣù Ẹrẹ̀nà', 'Oṣù Ìgbé', + 'Oṣù Ẹ̀bibi', 'Oṣù Òkúdu', 'Oṣù Agẹmọ', 'Oṣù Ògún', 'Oṣù Owewe', + 'Oṣù Ọ̀wàrà', 'Oṣù Bélú', 'Oṣù Ọ̀pẹ̀' + ] + } + }, + 'eras': { + 'abbreviated': ['BCE', 'LK'], + 'narrow': ['BCE', 'LK'], + 'wide': ['Saju Kristi', 'Lehin Kristi'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 1, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM y', 'short': 'dd/MM/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '₦', 'name': 'Naira ti Orílẹ́ède Nàìjíríà'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_yue.ts b/packages/core/src/i18n/data/locale_yue.ts new file mode 100644 index 00000000000000..b9916b8d33edea --- /dev/null +++ b/packages/core/src/i18n/data/locale_yue.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleYue: NgLocale = { + 'localeId': 'yue', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '朝早', + 'afternoon1': '中午', + 'afternoon2': '下晝', + 'evening1': '夜晚', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '朝早', + 'afternoon1': '中午', + 'afternoon2': '下晝', + 'evening1': '夜晚', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '朝早', + 'afternoon1': '中午', + 'afternoon2': '下晝', + 'evening1': '夜晚', + 'night1': '凌晨' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '朝早', + 'afternoon1': '中午', + 'afternoon2': '下晝', + 'evening1': '夜晚', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '朝早', + 'afternoon1': '中午', + 'afternoon2': '下晝', + 'evening1': '夜晚', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '朝早', + 'afternoon1': '中午', + 'afternoon2': '下晝', + 'evening1': '夜晚', + 'night1': '凌晨' + } + } + }, + 'days': { + 'format': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['日', '一', '二', '三', '四', '五', '六'], + 'abbreviated': ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + }, + 'standalone': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['日', '一', '二', '三', '四', '五', '六'], + 'abbreviated': ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ] + } + }, + 'eras': { + 'abbreviated': ['西元前', '西元'], + 'narrow': ['西元前', '西元'], + 'wide': ['西元前', '西元'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y年M月d日 EEEE', + 'long': 'y年M月d日', + 'medium': 'y年M月d日', + 'short': 'y/M/d' + }, + 'time': { + 'full': 'ah:mm:ss [zzzz]', + 'long': 'ah:mm:ss [z]', + 'medium': 'ah:mm:ss', + 'short': 'ah:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '08:00'}, + 'morning2': {'from': '08:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': '非數值', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'HK$', 'name': '港幣'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_zgh.ts b/packages/core/src/i18n/data/locale_zgh.ts new file mode 100644 index 00000000000000..b5528a9f32f366 --- /dev/null +++ b/packages/core/src/i18n/data/locale_zgh.ts @@ -0,0 +1,128 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleZgh: NgLocale = { + 'localeId': 'zgh', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'narrow': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'wide': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'} + }, + 'standalone': { + 'abbreviated': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'narrow': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'}, + 'wide': {'am': 'ⵜⵉⴼⴰⵡⵜ', 'pm': 'ⵜⴰⴷⴳⴳⵯⴰⵜ'} + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'abbreviated': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'wide': [ + 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', + 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + 'short': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'abbreviated': [ + 'ⴰⵙⴰ', 'ⴰⵢⵏ', 'ⴰⵙⵉ', 'ⴰⴽⵕ', 'ⴰⴽⵡ', 'ⴰⵙⵉⵎ', + 'ⴰⵙⵉⴹ' + ], + 'wide': [ + 'ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', + 'ⴰⴽⵡⴰⵙ', 'ⴰⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ' + ] + } + }, + 'months': { + 'format': { + 'narrow': + ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + 'abbreviated': [ + 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', + 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' + ], + 'wide': [ + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', + 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', + 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', + 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + ] + }, + 'standalone': { + 'narrow': + ['ⵉ', 'ⴱ', 'ⵎ', 'ⵉ', 'ⵎ', 'ⵢ', 'ⵢ', 'ⵖ', 'ⵛ', 'ⴽ', 'ⵏ', 'ⴷ'], + 'abbreviated': [ + 'ⵉⵏⵏ', 'ⴱⵕⴰ', 'ⵎⴰⵕ', 'ⵉⴱⵔ', 'ⵎⴰⵢ', 'ⵢⵓⵏ', 'ⵢⵓⵍ', + 'ⵖⵓⵛ', 'ⵛⵓⵜ', 'ⴽⵜⵓ', 'ⵏⵓⵡ', 'ⴷⵓⵊ' + ], + 'wide': [ + 'ⵉⵏⵏⴰⵢⵔ', 'ⴱⵕⴰⵢⵕ', 'ⵎⴰⵕⵚ', 'ⵉⴱⵔⵉⵔ', + 'ⵎⴰⵢⵢⵓ', 'ⵢⵓⵏⵢⵓ', 'ⵢⵓⵍⵢⵓⵣ', 'ⵖⵓⵛⵜ', + 'ⵛⵓⵜⴰⵏⴱⵉⵔ', 'ⴽⵜⵓⴱⵔ', 'ⵏⵓⵡⴰⵏⴱⵉⵔ', + 'ⴷⵓⵊⴰⵏⴱⵉⵔ' + ] + } + }, + 'eras': { + 'abbreviated': ['ⴷⴰⵄ', 'ⴷⴼⵄ'], + 'narrow': ['ⴷⴰⵄ', 'ⴷⴼⵄ'], + 'wide': ['ⴷⴰⵜ ⵏ ⵄⵉⵙⴰ', 'ⴷⴼⴼⵉⵔ ⵏ ⵄⵉⵙⴰ'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 6, + 'weekendRange': [5, 6], + 'formats': { + 'date': {'full': 'EEEE d MMMM y', 'long': 'd MMMM y', 'medium': 'd MMM, y', 'short': 'd/M/y'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': ',', + 'group': ' ', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '#,##0.00¤', + 'decimal': '#,##0.###', + 'percent': '#,##0 %', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MAD', 'name': 'ⴰⴷⵔⵉⵎ ⵏ ⵍⵎⵖⵔⵉⴱ'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_zh-Hans-HK.ts b/packages/core/src/i18n/data/locale_zh-Hans-HK.ts new file mode 100644 index 00000000000000..697b3f6f5e6f29 --- /dev/null +++ b/packages/core/src/i18n/data/locale_zh-Hans-HK.ts @@ -0,0 +1,182 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleZhHansHK: NgLocale = { + 'localeId': 'zh-Hans-HK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '早上', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '早上', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + } + }, + 'days': { + 'format': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'abbreviated': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + }, + 'standalone': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'abbreviated': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', + '十月', '十一月', '十二月' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', + '十月', '十一月', '十二月' + ] + } + }, + 'eras': { + 'abbreviated': ['公元前', '公元'], + 'narrow': ['公元前', '公元'], + 'wide': ['公元前', '公元'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y年M月d日EEEE', + 'long': 'y年M月d日', + 'medium': 'y年M月d日', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'zzzz ah:mm:ss', 'long': 'z ah:mm:ss', 'medium': 'ah:mm:ss', 'short': 'ah:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '08:00'}, + 'morning2': {'from': '08:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'HK$', 'name': '港元'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_zh-Hans-MO.ts b/packages/core/src/i18n/data/locale_zh-Hans-MO.ts new file mode 100644 index 00000000000000..5e28f7bfa1a1a2 --- /dev/null +++ b/packages/core/src/i18n/data/locale_zh-Hans-MO.ts @@ -0,0 +1,182 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleZhHansMO: NgLocale = { + 'localeId': 'zh-Hans-MO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '早上', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '早上', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + } + }, + 'days': { + 'format': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'abbreviated': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + }, + 'standalone': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'abbreviated': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', + '十月', '十一月', '十二月' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', + '十月', '十一月', '十二月' + ] + } + }, + 'eras': { + 'abbreviated': ['公元前', '公元'], + 'narrow': ['公元前', '公元'], + 'wide': ['公元前', '公元'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y年M月d日EEEE', + 'long': 'y年M月d日', + 'medium': 'y年M月d日', + 'short': 'd/M/yy' + }, + 'time': + {'full': 'zzzz ah:mm:ss', 'long': 'z ah:mm:ss', 'medium': 'ah:mm:ss', 'short': 'ah:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '08:00'}, + 'morning2': {'from': '08:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MOP$', 'name': '澳门币'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_zh-Hans-SG.ts b/packages/core/src/i18n/data/locale_zh-Hans-SG.ts new file mode 100644 index 00000000000000..2f793ce93c6da4 --- /dev/null +++ b/packages/core/src/i18n/data/locale_zh-Hans-SG.ts @@ -0,0 +1,182 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleZhHansSG: NgLocale = { + 'localeId': 'zh-Hans-SG', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '早上', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '早上', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + } + }, + 'days': { + 'format': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'abbreviated': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + }, + 'standalone': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'abbreviated': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', + '十月', '十一月', '十二月' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', + '十月', '十一月', '十二月' + ] + } + }, + 'eras': { + 'abbreviated': ['公元前', '公元'], + 'narrow': ['公元前', '公元'], + 'wide': ['公元前', '公元'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y年M月d日EEEE', + 'long': 'y年M月d日', + 'medium': 'y年M月d日', + 'short': 'dd/MM/yy' + }, + 'time': + {'full': 'zzzz ah:mm:ss', 'long': 'z ah:mm:ss', 'medium': 'ah:mm:ss', 'short': 'ah:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '08:00'}, + 'morning2': {'from': '08:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': '新加坡元'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_zh-Hans.ts b/packages/core/src/i18n/data/locale_zh-Hans.ts new file mode 100644 index 00000000000000..17876124b48f0b --- /dev/null +++ b/packages/core/src/i18n/data/locale_zh-Hans.ts @@ -0,0 +1,182 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleZhHans: NgLocale = { + 'localeId': 'zh-Hans', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '早上', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '早上', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + } + }, + 'days': { + 'format': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'abbreviated': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + }, + 'standalone': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'abbreviated': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', + '十月', '十一月', '十二月' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', + '十月', '十一月', '十二月' + ] + } + }, + 'eras': { + 'abbreviated': ['公元前', '公元'], + 'narrow': ['公元前', '公元'], + 'wide': ['公元前', '公元'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y年M月d日EEEE', + 'long': 'y年M月d日', + 'medium': 'y年M月d日', + 'short': 'y/M/d' + }, + 'time': + {'full': 'zzzz ah:mm:ss', 'long': 'z ah:mm:ss', 'medium': 'ah:mm:ss', 'short': 'ah:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '08:00'}, + 'morning2': {'from': '08:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '¥', 'name': '人民币'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_zh-Hant-HK.ts b/packages/core/src/i18n/data/locale_zh-Hant-HK.ts new file mode 100644 index 00000000000000..0398d5ff882ade --- /dev/null +++ b/packages/core/src/i18n/data/locale_zh-Hant-HK.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleZhHantHK: NgLocale = { + 'localeId': 'zh-Hant-HK', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + } + }, + 'days': { + 'format': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['日', '一', '二', '三', '四', '五', '六'], + 'abbreviated': ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + }, + 'standalone': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['日', '一', '二', '三', '四', '五', '六'], + 'abbreviated': ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ] + } + }, + 'eras': { + 'abbreviated': ['公元前', '公元'], + 'narrow': ['西元前', '西元'], + 'wide': ['公元前', '公元'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y年M月d日EEEE', + 'long': 'y年M月d日', + 'medium': 'y年M月d日', + 'short': 'd/M/y' + }, + 'time': { + 'full': 'ah:mm:ss [zzzz]', + 'long': 'ah:mm:ss [z]', + 'medium': 'ah:mm:ss', + 'short': 'ah:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '08:00'}, + 'morning2': {'from': '08:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': '非數值', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'HK$', 'name': '港元'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_zh-Hant-MO.ts b/packages/core/src/i18n/data/locale_zh-Hant-MO.ts new file mode 100644 index 00000000000000..5649ebd3584643 --- /dev/null +++ b/packages/core/src/i18n/data/locale_zh-Hant-MO.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleZhHantMO: NgLocale = { + 'localeId': 'zh-Hant-MO', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + } + }, + 'days': { + 'format': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['日', '一', '二', '三', '四', '五', '六'], + 'abbreviated': ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + }, + 'standalone': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['日', '一', '二', '三', '四', '五', '六'], + 'abbreviated': ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ] + } + }, + 'eras': { + 'abbreviated': ['公元前', '公元'], + 'narrow': ['西元前', '西元'], + 'wide': ['公元前', '公元'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y年M月d日EEEE', + 'long': 'y年M月d日', + 'medium': 'y年M月d日', + 'short': 'd/M/y' + }, + 'time': { + 'full': 'ah:mm:ss [zzzz]', + 'long': 'ah:mm:ss [z]', + 'medium': 'ah:mm:ss', + 'short': 'ah:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '08:00'}, + 'morning2': {'from': '08:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': '非數值', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'MOP$', 'name': '澳門元'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_zh-Hant.ts b/packages/core/src/i18n/data/locale_zh-Hant.ts new file mode 100644 index 00000000000000..43646700f94d7a --- /dev/null +++ b/packages/core/src/i18n/data/locale_zh-Hant.ts @@ -0,0 +1,186 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleZhHant: NgLocale = { + 'localeId': 'zh-Hant', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + } + }, + 'days': { + 'format': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['日', '一', '二', '三', '四', '五', '六'], + 'abbreviated': ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + }, + 'standalone': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['日', '一', '二', '三', '四', '五', '六'], + 'abbreviated': ['週日', '週一', '週二', '週三', '週四', '週五', '週六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ] + } + }, + 'eras': { + 'abbreviated': ['西元前', '西元'], + 'narrow': ['西元前', '西元'], + 'wide': ['西元前', '西元'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y年M月d日 EEEE', + 'long': 'y年M月d日', + 'medium': 'y年M月d日', + 'short': 'y/M/d' + }, + 'time': { + 'full': 'ah:mm:ss [zzzz]', + 'long': 'ah:mm:ss [z]', + 'medium': 'ah:mm:ss', + 'short': 'ah:mm' + }, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '08:00'}, + 'morning2': {'from': '08:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': '非數值', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '$', 'name': '新台幣'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_zh.ts b/packages/core/src/i18n/data/locale_zh.ts new file mode 100644 index 00000000000000..2449539a039cee --- /dev/null +++ b/packages/core/src/i18n/data/locale_zh.ts @@ -0,0 +1,182 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleZh: NgLocale = { + 'localeId': 'zh', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + }, + 'standalone': { + 'abbreviated': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '清晨', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'narrow': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '早上', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + }, + 'wide': { + 'midnight': '午夜', + 'am': '上午', + 'pm': '下午', + 'morning1': '早上', + 'morning2': '上午', + 'afternoon1': '中午', + 'afternoon2': '下午', + 'evening1': '晚上', + 'night1': '凌晨' + } + } + }, + 'days': { + 'format': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'abbreviated': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + }, + 'standalone': { + 'narrow': ['日', '一', '二', '三', '四', '五', '六'], + 'short': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'abbreviated': ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + 'wide': [ + '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', + '十月', '十一月', '十二月' + ] + }, + 'standalone': { + 'narrow': ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + 'abbreviated': [ + '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', + '12月' + ], + 'wide': [ + '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', + '十月', '十一月', '十二月' + ] + } + }, + 'eras': { + 'abbreviated': ['公元前', '公元'], + 'narrow': ['公���前', '公元'], + 'wide': ['公元前', '公元'] + } + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': { + 'full': 'y年M月d日EEEE', + 'long': 'y年M月d日', + 'medium': 'y年M月d日', + 'short': 'y/M/d' + }, + 'time': + {'full': 'zzzz ah:mm:ss', 'long': 'z ah:mm:ss', 'medium': 'ah:mm:ss', 'short': 'ah:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '12:00', 'to': '13:00'}, + 'afternoon2': {'from': '13:00', 'to': '19:00'}, + 'evening1': {'from': '19:00', 'to': '24:00'}, + 'midnight': '00:00', + 'morning1': {'from': '05:00', 'to': '08:00'}, + 'morning2': {'from': '08:00', 'to': '12:00'}, + 'night1': {'from': '00:00', 'to': '05:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': '¥', 'name': '人民币'}, + 'getPluralCase': function(n: number): Plural { return Plural.Other;} +}; diff --git a/packages/core/src/i18n/data/locale_zu.ts b/packages/core/src/i18n/data/locale_zu.ts new file mode 100644 index 00000000000000..a9d477627e8451 --- /dev/null +++ b/packages/core/src/i18n/data/locale_zu.ts @@ -0,0 +1,162 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocaleZu: NgLocale = { + 'localeId': 'zu', + 'dateTimeTranslations': { + 'dayPeriods': { + 'format': { + 'abbreviated': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'entathakusa', + 'morning2': 'ekuseni', + 'afternoon1': 'emini', + 'evening1': 'ntambama', + 'night1': 'ebusuku' + }, + 'narrow': { + 'am': 'a', + 'pm': 'p', + 'morning1': 'entathakusa', + 'morning2': 'ekuseni', + 'afternoon1': 'emini', + 'evening1': 'ntambama', + 'night1': 'ebusuku' + }, + 'wide': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'entathakusa', + 'morning2': 'ekuseni', + 'afternoon1': 'emini', + 'evening1': 'ntambama', + 'night1': 'ebusuku' + } + }, + 'standalone': { + 'abbreviated': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'entathakusa', + 'morning2': 'ekuseni', + 'afternoon1': 'emini', + 'evening1': 'ntambama', + 'night1': 'ebusuku' + }, + 'narrow': { + 'am': 'a', + 'pm': 'p', + 'morning1': 'entathakusa', + 'morning2': 'ekuseni', + 'afternoon1': 'emini', + 'evening1': 'ntambama', + 'night1': 'ebusuku' + }, + 'wide': { + 'am': 'AM', + 'pm': 'PM', + 'morning1': 'entathakusa', + 'morning2': 'ekuseni', + 'afternoon1': 'emini', + 'evening1': 'ntambama', + 'night1': 'ebusuku' + } + } + }, + 'days': { + 'format': { + 'narrow': ['S', 'M', 'B', 'T', 'S', 'H', 'M'], + 'short': ['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq'], + 'abbreviated': ['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq'], + 'wide': [ + 'ISonto', 'UMsombuluko', 'ULwesibili', 'ULwesithathu', 'ULwesine', 'ULwesihlanu', + 'UMgqibelo' + ] + }, + 'standalone': { + 'narrow': ['S', 'M', 'B', 'T', 'S', 'H', 'M'], + 'short': ['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq'], + 'abbreviated': ['Son', 'Mso', 'Bil', 'Tha', 'Sin', 'Hla', 'Mgq'], + 'wide': [ + 'ISonto', 'UMsombuluko', 'ULwesibili', 'ULwesithathu', 'ULwesine', 'ULwesihlanu', + 'UMgqibelo' + ] + } + }, + 'months': { + 'format': { + 'narrow': ['J', 'F', 'M', 'E', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mas', 'Eph', 'Mey', 'Jun', 'Jul', 'Aga', 'Sep', 'Okt', 'Nov', 'Dis'], + 'wide': [ + 'UMasingana', 'Februwari', 'Mashi', 'Ephreli', 'Meyi', 'Juni', 'Julayi', 'Agasti', + 'Septhemba', 'Okthoba', 'Novemba', 'Disemba' + ] + }, + 'standalone': { + 'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + 'abbreviated': + ['Jan', 'Feb', 'Mas', 'Eph', 'Mey', 'Jun', 'Jul', 'Aga', 'Sep', 'Okt', 'Nov', 'Dis'], + 'wide': [ + 'Januwari', 'Februwari', 'Mashi', 'Ephreli', 'Meyi', 'Juni', 'Julayi', 'Agasti', + 'Septhemba', 'Okthoba', 'Novemba', 'Disemba' + ] + } + }, + 'eras': {'abbreviated': ['BC', 'AD'], 'narrow': ['BC', 'AD'], 'wide': ['BC', 'AD']} + }, + 'dateTimeSettings': { + 'firstDayOfWeek': 0, + 'weekendRange': [6, 0], + 'formats': { + 'date': + {'full': 'EEEE, MMMM d, y', 'long': 'MMMM d, y', 'medium': 'MMM d, y', 'short': 'M/d/yy'}, + 'time': + {'full': 'HH:mm:ss zzzz', 'long': 'HH:mm:ss z', 'medium': 'HH:mm:ss', 'short': 'HH:mm'}, + 'dateTime': {'full': '{1} {0}', 'long': '{1} {0}', 'medium': '{1} {0}', 'short': '{1} {0}'} + }, + 'dayPeriodRules': { + 'afternoon1': {'from': '10:00', 'to': '13:00'}, + 'evening1': {'from': '13:00', 'to': '19:00'}, + 'morning1': {'from': '00:00', 'to': '06:00'}, + 'morning2': {'from': '06:00', 'to': '10:00'}, + 'night1': {'from': '19:00', 'to': '24:00'} + } + }, + 'numberSettings': { + 'symbols': { + 'decimal': '.', + 'group': ',', + 'list': ';', + 'percentSign': '%', + 'plusSign': '+', + 'minusSign': '-', + 'exponential': 'E', + 'superscriptingExponent': '×', + 'perMille': '‰', + 'infinity': '∞', + 'nan': 'NaN', + 'timeSeparator': ':' + }, + 'formats': { + 'currency': '¤#,##0.00', + 'decimal': '#,##0.###', + 'percent': '#,##0%', + 'scientific': '#E0' + } + }, + 'currencySettings': {'symbol': 'R', 'name': 'i-South African Rand'}, + 'getPluralCase': function(n: number): Plural { + let i = Math.floor(Math.abs(n)); + if (i === 0 || n === 1) return Plural.One; + return Plural.Other; + } +}; diff --git a/packages/core/src/i18n/ng_locale.ts b/packages/core/src/i18n/ng_locale.ts new file mode 100644 index 00000000000000..657f83585f8a0b --- /dev/null +++ b/packages/core/src/i18n/ng_locale.ts @@ -0,0 +1,189 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +import {AVAILABLE_LOCALES} from './available_locales'; + +export interface DayPeriods { + am: string; + pm: string; + noon?: string; + midnight?: string; + morning1?: string; + morning2?: string; + afternoon1?: string; + afternoon2?: string; + evening1?: string; + evening2?: string; + night1?: string; + night2?: string; + [key: string]: string|undefined; +} + +export interface DayPeriodRules { + noon?: string; + midnight?: string; + morning1?: DayPartFromTo; + morning2?: DayPartFromTo; + afternoon1?: DayPartFromTo; + afternoon2?: DayPartFromTo; + evening1?: DayPartFromTo; + evening2?: DayPartFromTo; + night1?: DayPartFromTo; + night2?: DayPartFromTo; +} + +export interface DayPartFromTo { + from: string; + to: string; +} + +export interface DayPeriodsWidth { + abbreviated: DayPeriods; + narrow: DayPeriods; + wide: DayPeriods; + [key: string]: DayPeriods; +} + +export interface DaysWidth { + abbreviated: string[]; + narrow: string[]; + wide: string[]; + short: string[]; + [key: string]: string[]; +} + +export interface MonthsWidth { + abbreviated: string[]; + narrow: string[]; + wide: string[]; + [key: string]: string[]; +} + +export interface ErasWidth { + abbreviated: [string, string]; + narrow: [string, string]; + wide: [string, string]; + [key: string]: [string, string]; +} + +// days & months have "format" and "standAlone" styles +// see http://cldr.unicode.org/translation/date-time#TOC-Stand-Alone-vs.-Format-Styles +// Field format standAlone +// Month M L +// Day E c +export interface DateTimeTranslations { + dayPeriods: {format: DayPeriodsWidth, standalone: DayPeriodsWidth}; + days: {format: DaysWidth, standalone: DaysWidth}; + months: {format: MonthsWidth, standalone: MonthsWidth}; + eras: ErasWidth; +} + +export interface DateTimeFormat { + full: string; + long: string; + medium: string; + short: string; +} + +export interface DateTimeFormats { + date: DateTimeFormat; + time: DateTimeFormat; + dateTime: DateTimeFormat; +} + +export interface DateTimeSettings { + firstDayOfWeek: number; + weekendRange: number[]; + formats: DateTimeFormats; + dayPeriodRules?: DayPeriodRules; +} + +export interface NumberFormat { + currency: string; + decimal: string; + percent: string; + scientific: string; +} + +export interface NumberSymbols { + decimal: string; + currencyGroup?: string; + group: string; + list: string; + percentSign: string; + plusSign: string; + minusSign: string; + exponential: string; + superscriptingExponent: string; + perMille: string; + infinity: string; + nan: string; + timeSeparator: string; +} + +export interface NumberSettings { + symbols: NumberSymbols; + formats: NumberFormat; +} + +export interface CurrencySettings { + symbol?: string; + name?: string; +} + +export interface NgLocale { + localeId: string; + dateTimeTranslations: DateTimeTranslations; + dateTimeSettings: DateTimeSettings; + numberSettings: NumberSettings; + currencySettings: CurrencySettings; + getPluralCase: (value: number) => Plural; +} + +/** @experimental */ +export enum Plural { + Zero, + One, + Two, + Few, + Many, + Other, +} + +/** + * Returns the closest existing locale or null + * ie: "en-US" will return "en", and "fr_ca" will return "fr-CA" + * + * @experimental i18n support is experimental. + */ +export function getNormalizedLocale(locale: string): string|null { + locale = locale.replace('_', '-'); + + const match = + AVAILABLE_LOCALES.find((l: string) => l.toLocaleLowerCase() === locale.toLocaleLowerCase()); + if (match) { + return match; + } else { + const parentLocale = locale.split('-')[0].toLocaleLowerCase(); + return AVAILABLE_LOCALES.find((l: string) => l.toLocaleLowerCase() === parentLocale) || null; + } +} + +/** + * Finds the matching NgLocale for a locale + * + * @experimental i18n support is experimental. + */ +export function findNgLocale(locale: string, localeData: NgLocale[]): NgLocale { + const currentLocale = getNormalizedLocale(locale); + const match = + localeData.find((providedLocale: NgLocale) => providedLocale.localeId === currentLocale); + if (!match) { + throw new Error(`Missing NgLocale data for the locale "${locale}"`); + } + return match; +} diff --git a/packages/core/src/i18n/tokens.ts b/packages/core/src/i18n/tokens.ts index 0dd471bd5caf6d..046d73eb93dfb5 100644 --- a/packages/core/src/i18n/tokens.ts +++ b/packages/core/src/i18n/tokens.ts @@ -7,12 +7,18 @@ */ import {InjectionToken} from '../di/injection_token'; +import {NgLocale} from './ng_locale'; /** * @experimental i18n support is experimental. */ export const LOCALE_ID = new InjectionToken('LocaleId'); +/** + * @experimental i18n support is experimental. + */ +export const LOCALE_DATA = new InjectionToken('LocaleData'); + /** * @experimental i18n support is experimental. */ diff --git a/packages/core/test/application_module_spec.ts b/packages/core/test/application_module_spec.ts index 969ba612338fa5..018f57820fabc4 100644 --- a/packages/core/test/application_module_spec.ts +++ b/packages/core/test/application_module_spec.ts @@ -6,12 +6,20 @@ * found in the LICENSE file at https://angular.io/license */ -import {LOCALE_ID} from '@angular/core'; +import {LOCALE_DATA, LOCALE_ID} from '@angular/core'; + +import {NgLocale, getNormalizedLocale} from '../src/i18n/ng_locale'; import {describe, expect, inject, it} from '../testing/src/testing_internal'; export function main() { describe('Application module', () => { it('should set the default locale to "en-US"', inject([LOCALE_ID], (defaultLocale: string) => { expect(defaultLocale).toEqual('en-US'); })); + + it('should provide the NgLocale data for "en-US" by default', + inject([LOCALE_DATA], (localeData: NgLocale[]) => { + expect(localeData.length).toEqual(1); + expect(localeData[0].localeId).toEqual(getNormalizedLocale('en-US')); + })); }); } diff --git a/packages/examples/common/pipes/ts/date_pipe.ts b/packages/examples/common/pipes/ts/date_pipe.ts index 5b518524ce58c8..d88b6da9a1c5a3 100644 --- a/packages/examples/common/pipes/ts/date_pipe.ts +++ b/packages/examples/common/pipes/ts/date_pipe.ts @@ -14,7 +14,8 @@ import {Component} from '@angular/core'; template: `

Today is {{today | date}}

Or if you prefer, {{today | date:'fullDate'}}

-

The time is {{today | date:'jmZ'}}

+

The time is {{today | date:'shortTime'}}

+

The custom date is {{today | date:'yyyy-mm-dd HH:mm'}}

` }) export class DatePipeComponent { diff --git a/packages/examples/common/pipes/ts/number_pipe.ts b/packages/examples/common/pipes/ts/number_pipe.ts index aa9d595db1cb10..96056b9ffdcb19 100644 --- a/packages/examples/common/pipes/ts/number_pipe.ts +++ b/packages/examples/common/pipes/ts/number_pipe.ts @@ -42,8 +42,9 @@ export class PercentPipeComponent { @Component({ selector: 'currency-pipe', template: `
-

A: {{a | currency:'USD':false}}

-

B: {{b | currency:'USD':true:'4.2-2'}}

+

A: {{a | currency:'CAD'}}

+

B: {{b | currency:'CAD':'symbol':'4.2-2'}}

+

B: {{b | currency:'CAD':'symbol-narrow':'4.2-2'}}

` }) export class CurrencyPipeComponent { diff --git a/packages/platform-browser/test/browser/bootstrap_spec.ts b/packages/platform-browser/test/browser/bootstrap_spec.ts index ad2851092ca67c..b07e40b9e6b7c9 100644 --- a/packages/platform-browser/test/browser/bootstrap_spec.ts +++ b/packages/platform-browser/test/browser/bootstrap_spec.ts @@ -7,9 +7,10 @@ */ import {isPlatformBrowser} from '@angular/common'; -import {APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, Compiler, Component, Directive, ErrorHandler, Inject, Input, LOCALE_ID, NgModule, OnDestroy, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, Provider, VERSION, createPlatformFactory, ɵstringify as stringify} from '@angular/core'; +import {APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, Compiler, Component, Directive, ErrorHandler, Inject, Input, LOCALE_DATA, LOCALE_ID, NgModule, OnDestroy, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, Provider, VERSION, createPlatformFactory, ɵstringify as stringify} from '@angular/core'; import {ApplicationRef, destroyPlatform} from '@angular/core/src/application_ref'; import {Console} from '@angular/core/src/console'; +import {NgLocaleFr} from '@angular/core/src/i18n/data/locale_fr'; import {ComponentRef} from '@angular/core/src/linker/component_factory'; import {Testability, TestabilityRegistry} from '@angular/core/src/testability/testability'; import {AsyncTestCompleter, Log, afterEach, beforeEach, beforeEachProviders, ddescribe, describe, iit, inject, it} from '@angular/core/testing/src/testing_internal'; @@ -307,6 +308,30 @@ export function main() { }); })); + // it(`should throw if you don't provide LOCALE_DATA for a custom LOCALE_ID`, + // inject([AsyncTestCompleter], (async: AsyncTestCompleter) => { + // const refPromise = + // bootstrap(HelloRootCmp, [testProviders], [{provide: LOCALE_ID, useValue: 'fr-FR'}]); + // refPromise.then(ref => { + // expect(() => ref.injector.get(LOCALE_ID)).toThrow(new Error(`Missing NgLocale data for + // the locale "fr-FR" in the LOCALE_DATA provider`)); + // async.done(); + // }); + // })); + + it('should throw if the locale provided during bootstrap is not a valid LOCALE_ID', + inject([AsyncTestCompleter], (async: AsyncTestCompleter) => { + const refPromise = + bootstrap(HelloRootCmp, [testProviders], [{provide: LOCALE_ID, useValue: 'invalid'}]); + + refPromise.then(ref => { + expect(() => ref.injector.get(LOCALE_ID)) + .toThrow(new Error( + `"invalid" is not a valid LOCALE_ID value. See https://github.com/unicode-cldr/cldr-core/blob/master/availableLocales.json for a list of valid locales`)); + async.done(); + }); + })); + it('should avoid cyclic dependencies when root component requires Lifecycle through DI', inject([AsyncTestCompleter], (async: AsyncTestCompleter) => { const refPromise = bootstrap(HelloRootCmp4, testProviders); diff --git a/packages/platform-browser/test/browser_util_spec.ts b/packages/platform-browser/test/browser_util_spec.ts index b62d113cf802df..33dd7b8c444201 100644 --- a/packages/platform-browser/test/browser_util_spec.ts +++ b/packages/platform-browser/test/browser_util_spec.ts @@ -234,7 +234,6 @@ export function main() { expect(bd.isIOS7).toBe(browser['isIOS7']); expect(bd.isSlow).toBe(browser['isSlow']); expect(bd.isChromeDesktop).toBe(browser['isChromeDesktop']); - expect(bd.isOldChrome).toBe(browser['isOldChrome']); }); }); }); diff --git a/packages/platform-browser/testing/src/browser_util.ts b/packages/platform-browser/testing/src/browser_util.ts index 875e378d5689d5..46d7a3ded44e49 100644 --- a/packages/platform-browser/testing/src/browser_util.ts +++ b/packages/platform-browser/testing/src/browser_util.ts @@ -49,25 +49,10 @@ export class BrowserDetection { get isSlow(): boolean { return this.isAndroid || this.isIE || this.isIOS7; } - // The Intl API is only natively supported in Chrome, Firefox, IE11 and Edge. - // This detector is needed in tests to make the difference between: - // 1) IE11/Edge: they have a native Intl API, but with some discrepancies - // 2) IE9/IE10: they use the polyfill, and so no discrepancies - get supportsNativeIntlApi(): boolean { - return !!(global).Intl && (global).Intl !== (global).IntlPolyfill; - } - get isChromeDesktop(): boolean { return this._ua.indexOf('Chrome') > -1 && this._ua.indexOf('Mobile Safari') == -1 && this._ua.indexOf('Edge') == -1; } - - // "Old Chrome" means Chrome 3X, where there are some discrepancies in the Intl API. - // Android 4.4 and 5.X have such browsers by default (respectively 30 and 39). - get isOldChrome(): boolean { - return this._ua.indexOf('Chrome') > -1 && this._ua.indexOf('Chrome/3') > -1 && - this._ua.indexOf('Edge') == -1; - } } BrowserDetection.setup(); diff --git a/tools/gulp-tasks/format.js b/tools/gulp-tasks/format.js index 02f27466ced474..41ee3060db947e 100644 --- a/tools/gulp-tasks/format.js +++ b/tools/gulp-tasks/format.js @@ -1,13 +1,9 @@ // clang-format entry points const srcsToFmt = [ - 'packages/**/*.{js,ts}', - 'modules/benchmarks/**/*.{js,ts}', - 'modules/e2e_util/**/*.{js,ts}', - 'modules/playground/**/*.{js,ts}', - 'tools/**/*.{js,ts}', - '!tools/public_api_guard/**/*.d.ts', - './*.{js,ts}', - '!shims_for_IE.js', + 'packages/**/*.{js,ts}', 'modules/benchmarks/**/*.{js,ts}', 'modules/e2e_util/**/*.{js,ts}', + 'modules/playground/**/*.{js,ts}', 'tools/**/*.{js,ts}', '!tools/public_api_guard/**/*.d.ts', + './*.{js,ts}', '!shims_for_IE.js', '!packages/core/src/i18n/data/**/*.{js,ts}', + '!packages/core/src/i18n/available_locales.ts', '!tools/gulp-tasks/i18n/extract.js' ]; module.exports = { diff --git a/tools/gulp-tasks/i18n.js b/tools/gulp-tasks/i18n.js new file mode 100644 index 00000000000000..c5a86ce12e1cc5 --- /dev/null +++ b/tools/gulp-tasks/i18n.js @@ -0,0 +1,42 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +const path = require('path'); +const fs = require('fs'); + +module.exports = { + extract: gulp => done => { + if (!fs.existsSync(path.join(__dirname, './i18n/cldr-data'))) { + throw new Error(`You must run "gulp i18n:download" before you can extract the data`); + } + const extract = require('./i18n/extract'); + return extract(gulp, done); + }, + + download: gulp => done => { + const cldrDownloader = require('cldr-data-downloader'); + const cldrDataFolder = path.join(__dirname, './i18n/cldr-data'); + if (!fs.existsSync(cldrDataFolder)) { + fs.mkdirSync(cldrDataFolder); + } + cldrDownloader(path.join(__dirname, './i18n/cldr-urls.json'), cldrDataFolder, done); + }, + + format: gulp => () => { + const format = require('gulp-clang-format'); + const clangFormat = require('clang-format'); + return gulp + .src( + [ + 'packages/core/src/i18n/data/*.{js,ts}', 'packages/core/src/i18n/available_locales.ts' + ], + {base: '.'}) + .pipe(format.format('file', clangFormat)) + .pipe(gulp.dest('.')); + } +}; diff --git a/tools/gulp-tasks/i18n/cldr-data.js b/tools/gulp-tasks/i18n/cldr-data.js new file mode 100644 index 00000000000000..9f4ce6bd9384e2 --- /dev/null +++ b/tools/gulp-tasks/i18n/cldr-data.js @@ -0,0 +1,81 @@ +/** + * Npm module for Unicode CLDR JSON data + * + * Copyright 2013 Rafael Xavier de Souza + * Released under the MIT license + * https://github.com/rxaviers/cldr-data-npm/blob/master/LICENSE-MIT + */ + +'use strict'; + +const JSON_EXTENSION = /^(.*)\.json$/; + +const assert = require('assert'); +const _fs = require('fs'); +const _path = require('path'); + +function argsToArray(arg) { + return [].slice.call(arg, 0); +} + +function jsonFiles(dirName) { + const fileList = _fs.readdirSync(_path.join(__dirname, 'cldr-data', dirName)); + + return fileList.reduce(function(sum, file) { + if (JSON_EXTENSION.test(file)) { + return sum.concat(file.match(JSON_EXTENSION)[1]); + } + }, []); +} + +function cldrData(path /*, ...*/) { + assert( + typeof path === 'string', 'must include path (e.g., ' + + '"main/en/numbers" or "supplemental/likelySubtags")'); + + if (arguments.length > 1) { + return argsToArray(arguments).reduce(function(sum, path) { + sum.push(cldrData(path)); + return sum; + }, []); + } + return require('./cldr-data/' + path); +} + +function mainPathsFor(locales) { + return locales.reduce(function(sum, locale) { + const mainFiles = jsonFiles(_path.join('main', locale)); + mainFiles.forEach(function(mainFile) { sum.push(_path.join('main', locale, mainFile)); }); + return sum; + }, []); +} + +function supplementalPaths() { + const supplementalFiles = jsonFiles('supplemental'); + + return supplementalFiles.map(function(supplementalFile) { + return _path.join('supplemental', supplementalFile); + }); +} + +Object.defineProperty( + cldrData, 'availableLocales', + {get: function() { return cldrData('availableLocales').availableLocales; }}); + +cldrData.all = function() { + const paths = supplementalPaths().concat(mainPathsFor(this.availableLocales)); + return cldrData.apply({}, paths); +}; + +cldrData.entireMainFor = function(locale /*, ...*/) { + assert( + typeof locale === 'string', 'must include locale (e.g., ' + + '"en")'); + return cldrData.apply({}, mainPathsFor(argsToArray(arguments))); +}; + +cldrData.entireSupplemental = function() { + return cldrData.apply({}, supplementalPaths()); +}; + +module.exports = cldrData; diff --git a/tools/gulp-tasks/i18n/cldr-urls.json b/tools/gulp-tasks/i18n/cldr-urls.json new file mode 100644 index 00000000000000..c5f6500ebc0bd5 --- /dev/null +++ b/tools/gulp-tasks/i18n/cldr-urls.json @@ -0,0 +1,22 @@ +{ + "core": [ + "https://github.com/unicode-cldr/cldr-core/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-segments-modern/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-dates-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-cal-buddhist-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-cal-chinese-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-cal-coptic-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-cal-dangi-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-cal-ethiopic-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-cal-hebrew-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-cal-indian-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-cal-islamic-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-cal-japanese-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-cal-persian-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-cal-roc-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-localenames-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-misc-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-numbers-full/archive/31.0.1.zip", + "https://github.com/unicode-cldr/cldr-units-full/archive/31.0.1.zip" + ] +} diff --git a/tools/gulp-tasks/i18n/extract.js b/tools/gulp-tasks/i18n/extract.js new file mode 100644 index 00000000000000..44e12eecd12164 --- /dev/null +++ b/tools/gulp-tasks/i18n/extract.js @@ -0,0 +1,352 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +const fs = require('fs'); +const path = require('path'); +const util = require('util'); +// used to extract plural rules +const cldr = require('cldr'); +// used to extract all other cldr data +const CldrJs = require('cldrjs'); +const cldrData = require('./cldr-data'); + +const DEFAULT_RULE = `function anonymous(n\n/**/) {\nreturn"other"\n}`; +const EMPTY_RULE = `function anonymous(n\n/**/) {\n\n}`; +const LOCALES = cldrData.availableLocales; +const WEEK_DAYS = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat']; + +module.exports = (gulp, done) => { + console.log(`Loading CLDR data...`); + CldrJs.load(cldrData.all()); + console.log(`Writing locale files`); + LOCALES.forEach((locale, index) => { + console.log(`${index+1}/${LOCALES.length} - packages/core/src/i18n/data/locale_${locale}.ts`); + fs.writeFileSync( + path.resolve(__dirname, `../../../packages/core/src/i18n/data/locale_${locale}.ts`), + generateLocale(locale), {encoding: 'utf8'}); + }); + console.log(`${LOCALES.length} locale files generated.`); + + console.log(`Writing file packages/core/src/i18n/available_locales.ts`); + fs.writeFileSync( + path.resolve(__dirname, `../../../packages/core/src/i18n/available_locales.ts`), + generateAvailableLocales(), {encoding: 'utf8'}); + + console.log(`Writing file packages/core/src/i18n/currencies.ts`); + fs.writeFileSync( + path.resolve(__dirname, `../../../packages/core/src/i18n/currencies.ts`), + generateCurrencies(), {encoding: 'utf8'}); + + console.log(`All i18n files have been generated, formatting files..."`); + const format = require('gulp-clang-format'); + const clangFormat = require('clang-format'); + return gulp.src([ + 'packages/core/src/i18n/data/*.{js,ts}', + 'packages/core/src/i18n/available_locales.ts', + 'packages/core/src/i18n/currencies.ts' + ], {base: '.'}) + .pipe(format.format('file', clangFormat)) + .pipe(gulp.dest('.')); +}; + +function generateLocale(locale) { + const localeData = new CldrJs(locale); + + return `/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +import {NgLocale, Plural} from '../ng_locale'; + +export const NgLocale${toPascalCase(locale)}: NgLocale = { + 'localeId': '${locale}', + 'dateTimeTranslations': ${getDateTimeTranslations(localeData)}, + 'dateTimeSettings': ${getDateTimeSettings(localeData)}, + 'numberSettings': ${getNumberSettings(localeData)}, + 'currencySettings': ${getCurrencySettings(locale, localeData)}, + 'getPluralCase': ${getPluralFunction(locale)} +}; +`; +} + +function toPascalCase(str) { + str = str.replace(/-+([a-z0-9A-Z])/g, (...m) => m[1].toUpperCase()); + return str.charAt(0).toUpperCase() + str.substr(1); +} + +function getDateTimeTranslations(localeData) { + const dayPeriods = localeData.main(`dates/calendars/gregorian/dayPeriods`); + const dayNames = localeData.main(`dates/calendars/gregorian/days`); + const monthNames = localeData.main(`dates/calendars/gregorian/months`); + const eras = localeData.main(`dates/calendars/gregorian/eras`); + + const dayPeriodsList = [ + 'am', 'pm', 'noon', 'midnight', 'morning1', 'morning2', 'afternoon1', 'afternoon2', 'evening1', + 'evening2', 'night1', 'night2' + ]; + Object.keys(dayPeriods).forEach(key1 => { // format / stand-alone + Object.keys(dayPeriods[key1]).forEach(key2 => { // narrow / abbreviated / wide + Object.keys(dayPeriods[key1][key2]).forEach(key3 => { + if (dayPeriodsList.indexOf(key3) === -1) { + delete dayPeriods[key1][key2][key3]; + } + }); + }); + }); + + const dateTimeTranslations = { + dayPeriods: {format: dayPeriods.format, standalone: dayPeriods['stand-alone']}, + days: { + format: { + narrow: objectValues(dayNames.format.narrow), + short: objectValues(dayNames.format.short), + abbreviated: objectValues(dayNames.format.abbreviated), + wide: objectValues(dayNames.format.wide) + }, + standalone: { + narrow: objectValues(dayNames['stand-alone'].narrow), + short: objectValues(dayNames['stand-alone'].short), + abbreviated: objectValues(dayNames['stand-alone'].abbreviated), + wide: objectValues(dayNames['stand-alone'].wide) + } + }, + months: { + format: { + narrow: objectValues(monthNames.format.narrow), + abbreviated: objectValues(monthNames.format.abbreviated), + wide: objectValues(monthNames.format.wide) + }, + standalone: { + narrow: objectValues(monthNames['stand-alone'].narrow), + abbreviated: objectValues(monthNames['stand-alone'].abbreviated), + wide: objectValues(monthNames['stand-alone'].wide) + } + }, + eras: { + abbreviated: [eras.eraAbbr['0'], eras.eraAbbr['1']], + narrow: [eras.eraNarrow['0'], eras.eraNarrow['1']], + wide: [eras.eraNames['0'], eras.eraNames['1']] + } + }; + + return JSON.stringify(dateTimeTranslations); +} + +function getDateTimeFormats(localeData) { + function getFormats(data) { + return { + full: data.full._value || data.full, + long: data.long._value || data.long, + medium: data.medium._value || data.medium, + short: data.short._value || data.short + } + } + + const dateFormats = localeData.main( "dates/calendars/gregorian/dateFormats" ); + const timeFormats = localeData.main( "dates/calendars/gregorian/timeFormats" ); + const dateTimeFormats = localeData.main( "dates/calendars/gregorian/dateTimeFormats" ); + + return { + date: getFormats(dateFormats), + time: getFormats(timeFormats), + dateTime: getFormats(dateTimeFormats) + }; +} + +function getDayPeriodRules(localeData) { + const dayPeriodRules = + localeData.get(`supplemental/dayPeriodRuleSet/${localeData.attributes.language}`); + let rules; + if (dayPeriodRules) { + rules = {}; + Object.keys(dayPeriodRules).forEach(key => { + if (dayPeriodRules[key]._at) { + rules[key] = dayPeriodRules[key]._at; + } else { + rules[key] = { from: dayPeriodRules[key]._from, to: dayPeriodRules[key]._before } + } + }) + } + + return rules; +} + +function getFirstDayOfWeek(localeData) { + return WEEK_DAYS.indexOf(localeData.supplemental.weekData.firstDay()); +} + +function getWeekendRange(localeData) { + const startDay = + localeData.get(`supplemental/weekData/weekendStart/${localeData.attributes.territory}`) || + localeData.get('supplemental/weekData/weekendStart/001'); + const endDay = + localeData.get(`supplemental/weekData/weekendEnd/${localeData.attributes.territory}`) || + localeData.get('supplemental/weekData/weekendEnd/001'); + return [WEEK_DAYS.indexOf(startDay), WEEK_DAYS.indexOf(endDay)]; +} + +function getDateTimeSettings(localeData) { + const settings = { + firstDayOfWeek: getFirstDayOfWeek(localeData), + weekendRange: getWeekendRange(localeData), + formats: getDateTimeFormats(localeData) + }; + + const dayPeriodRules = getDayPeriodRules(localeData); + if (dayPeriodRules) { + settings.dayPeriodRules = dayPeriodRules; + } + + return JSON.stringify(settings); +} + +function getNumberSettings(localeData) { + const decimalFormat = localeData.main('numbers/decimalFormats-numberSystem-latn/standard'); + const percentFormat = localeData.main('numbers/percentFormats-numberSystem-latn/standard'); + const scientificFormat = localeData.main('numbers/scientificFormats-numberSystem-latn/standard'); + const currencyFormat = localeData.main('numbers/currencyFormats-numberSystem-latn/standard'); + const symbols = localeData.main('numbers/symbols-numberSystem-latn'); + const symbolValues = { + decimal: symbols.decimal, + group: symbols.group, + list: symbols.list, + percentSign: symbols.percentSign, + plusSign: symbols.plusSign, + minusSign: symbols.minusSign, + exponential: symbols.exponential, + superscriptingExponent: symbols.superscriptingExponent, + perMille: symbols.perMille, + infinity: symbols.infinity, + nan: symbols.nan, + timeSeparator: symbols.timeSeparator, + }; + + if(symbols.currencyGroup) { + symbolValues.currencyGroup = symbols.currencyGroup; + } + + return JSON.stringify({ + symbols: symbolValues, + formats: { + currency: currencyFormat, + decimal: decimalFormat, + percent: percentFormat, + scientific: scientificFormat + } + }); +} + +function getCurrencySettings(locale, localeData) { + const currencyInfo = localeData.main(`numbers/currencies`); + let currentCurrency = ''; + + // find the currency currently used in this country + const currencies = + localeData.get(`supplemental/currencyData/region/${localeData.attributes.territory}`) || + localeData.get( + `supplemental/currencyData/region/${localeData.attributes.language.toUpperCase()}`); + + if (currencies) { + currencies.some(currency => { + const keys = Object.keys(currency); + return keys.some(key => { + if (currency[key]._from && !currency[key]._to) { + return currentCurrency = key; + } + }) + }); + + if (!currentCurrency) { + throw new Error(`Unable to find currency for locale "${locale}"`); + } + } + + const currencySettings = {}; + + if (currentCurrency) { + currencySettings.symbol = currencyInfo[currentCurrency].symbol; + currencySettings.name = currencyInfo[currentCurrency].displayName; + } + + return JSON.stringify(currencySettings); +} + +function toRegExp(s) { + return new RegExp(s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'), 'g'); +} + +function normalizePluralRule(fn) { + if (fn === EMPTY_RULE) { + fn = DEFAULT_RULE; + } + + return fn + .replace(toRegExp('function anonymous(n\n/**/) {\n'), 'function(n: number): Plural {\n ') + .replace(toRegExp('var'), 'let') + .replace(toRegExp('if(typeof n==="string")n=parseInt(n,10);'), '') + .replace(toRegExp('"zero"'), ' Plural.Zero') + .replace(toRegExp('"one"'), ' Plural.One') + .replace(toRegExp('"two"'), ' Plural.Two') + .replace(toRegExp('"few"'), ' Plural.Few') + .replace(toRegExp('"many"'), ' Plural.Many') + .replace(toRegExp('"other"'), ' Plural.Other') + .replace(toRegExp('\n}'), ';\n }'); +} + +// todo(ocombe): replace "cldr" extractPluralRuleFunction with our own extraction using "CldrJS" +// because the 2 libs can become out of sync if they use different versions of the cldr database +function getPluralFunction(locale) { + return normalizePluralRule(cldr.extractPluralRuleFunction(locale).toString()); +} + +function generateAvailableLocales() { + return `/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +export const AVAILABLE_LOCALES = ${JSON.stringify(LOCALES)}; + +${LOCALES.map(locale => `export {NgLocale${ toPascalCase(locale) }} from './data/locale_${locale}';`).join('\n')} +`; +} + +function generateCurrencies() { + const currencies = new CldrJs('en').main('numbers/currencies'); + const currencyValues = {}; + Object.keys(currencies).forEach(key => { + currencyValues[key] = { + symbol: currencies[key].symbol || key + }; + if(currencies[key]['symbol-alt-narrow'] && currencies[key]['symbol-alt-narrow'] !== currencies[key].symbol) { + currencyValues[key].symbolNarrow = currencies[key]['symbol-alt-narrow']; + } + }); + + return `/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +export const CURRENCIES: {[code: string]: {[key: string]: string}} = ${JSON.stringify(currencyValues)}; +`; +} + +function objectValues(obj) { + return Object.keys(obj).map(key => obj[key]); +} diff --git a/scripts/cldr/gen_plural_rules.js b/tools/gulp-tasks/i18n/plurals.js similarity index 77% rename from scripts/cldr/gen_plural_rules.js rename to tools/gulp-tasks/i18n/plurals.js index 0000a8294971a3..ad8e91c283f050 100644 --- a/scripts/cldr/gen_plural_rules.js +++ b/tools/gulp-tasks/i18n/plurals.js @@ -58,8 +58,6 @@ variants.forEach(locale => { } }); -console.log(generateCode()); - function generateCode() { checkMapping(); @@ -77,7 +75,7 @@ export enum Plural { Other, } ` + generateVars() + - generateRules() + ` + generateRules() + ` }`; } @@ -103,7 +101,7 @@ switch (lang) {`]; return codeParts.join('\n'); } -function generateVars(){ +function generateVars() { return ` /** * Returns the plural case based on the locale @@ -133,7 +131,8 @@ function checkMapping() { } /** - * If the language rule do not match an existing language rule, flag it as variant and handle it at the end + * If the language rule do not match an existing language rule, flag it as variant and handle it at + * the end */ function getVariantLang(locale, rule) { let lang = locale.split('_')[0]; @@ -154,26 +153,27 @@ function getVariantLang(locale, rule) { function normalizeRule(fn) { if (fn === DEFAULT_RULE || fn === EMPTY_RULE) return; - return fn - .replace(toRegExp('function anonymous(n\n/**/) {\n'), '') - .replace(toRegExp('var'), 'let') - .replace(toRegExp('"zero"'), ' Plural.Zero') - .replace(toRegExp('"one"'), ' Plural.One') - .replace(toRegExp('"two"'), ' Plural.Two') - .replace(toRegExp('"few"'), ' Plural.Few') - .replace(toRegExp('"many"'), ' Plural.Many') - .replace(toRegExp('"other"'), ' Plural.Other') - .replace(toRegExp('\n}'), '') - .replace(toRegExp('let'), '') - .replace(toRegExp('if(typeof n==="string")n=parseInt(n,10);'), '') - .replace(toRegExp('i=Math.floor(Math.abs(n))'), '') - .replace(/v=n.toString.*?.length/g, '') - .replace(/f=parseInt.*?\|\|0/g, '') - .replace(/t=parseInt.*?\|\|0/g, '') - .replace(/^[ ,;]*/, '') - + ';'; + return fn.replace(toRegExp('function anonymous(n\n/**/) {\n'), '') + .replace(toRegExp('var'), 'let') + .replace(toRegExp('"zero"'), ' Plural.Zero') + .replace(toRegExp('"one"'), ' Plural.One') + .replace(toRegExp('"two"'), ' Plural.Two') + .replace(toRegExp('"few"'), ' Plural.Few') + .replace(toRegExp('"many"'), ' Plural.Many') + .replace(toRegExp('"other"'), ' Plural.Other') + .replace(toRegExp('\n}'), '') + .replace(toRegExp('let'), '') + .replace(toRegExp('if(typeof n==="string")n=parseInt(n,10);'), '') + .replace(toRegExp('i=Math.floor(Math.abs(n))'), '') + .replace(/v=n.toString.*?.length/g, '') + .replace(/f=parseInt.*?\|\|0/g, '') + .replace(/t=parseInt.*?\|\|0/g, '') + .replace(/^[ ,;]*/, '') + + ';'; } function toRegExp(s) { return new RegExp(s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'), 'g'); } + +module.exports = generateCode();