(core) Extending default locale list

Summary: Adding more locale codes to support more countries in document settings

Test Plan: existing tests

Reviewers: dsagal

Reviewed By: dsagal

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3018
This commit is contained in:
Jarosław Sadziński
2021-09-23 20:09:58 +02:00
parent 52fd28815e
commit 048c8ee165
6 changed files with 240 additions and 25 deletions

View File

@@ -12,12 +12,14 @@ declare module "locale-currency/map" {
declare namespace Intl {
class DisplayNames {
public static supportedLocalesOf(locales: string | string[]): string[];
constructor(locales?: string, options?: object);
public of(code: string): string;
}
class Locale {
public region: string;
public language: string;
constructor(locale: string);
}
}