mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 16:57:36 +00:00
LibLocale: Update to CLDR version 44.0.1
https://cldr.unicode.org/index/downloads/cldr-44 Notable changes that affect us include: * The Islamic Calendar is now localized as the Hijri Calender (in en-US) but has not been updated for all locales. So this patch updates tests where possible and removes a few test cases that currently cannot be localized. * The und locale has received more likely subtag data (the und locale is basically a pseudo-locale meaning "undetermined"). * The exponential symbol in the Arabic number system was changed from U+0627 to U+0623.
This commit is contained in:
parent
536b9c29e4
commit
38dd284915
6 changed files with 30 additions and 32 deletions
|
@ -18,10 +18,10 @@ test("normal behavior", () => {
|
|||
expect(new Intl.Locale("und").maximize().toString()).toBe("en-Latn-US");
|
||||
expect(new Intl.Locale("und-Thai").maximize().toString()).toBe("th-Thai-TH");
|
||||
expect(new Intl.Locale("und-419").maximize().toString()).toBe("es-Latn-419");
|
||||
expect(new Intl.Locale("und-150").maximize().toString()).toBe("ru-Cyrl-RU");
|
||||
expect(new Intl.Locale("und-150").maximize().toString()).toBe("en-Latn-150");
|
||||
expect(new Intl.Locale("und-AT").maximize().toString()).toBe("de-Latn-AT");
|
||||
expect(new Intl.Locale("und-Cyrl-RO").maximize().toString()).toBe("bg-Cyrl-RO");
|
||||
expect(new Intl.Locale("und-AQ").maximize().toString()).toBe("und-Latn-AQ");
|
||||
expect(new Intl.Locale("und-AQ").maximize().toString()).toBe("en-Latn-AQ");
|
||||
});
|
||||
|
||||
test("keywords are preserved", () => {
|
||||
|
|
|
@ -23,7 +23,7 @@ test("normal behavior", () => {
|
|||
expect(new Intl.Locale("ru-Cyrl-RU").minimize().toString()).toBe("ru");
|
||||
expect(new Intl.Locale("de-Latn-AT").minimize().toString()).toBe("de-AT");
|
||||
expect(new Intl.Locale("bg-Cyrl-RO").minimize().toString()).toBe("bg-RO");
|
||||
expect(new Intl.Locale("und-Latn-AQ").minimize().toString()).toBe("und-AQ");
|
||||
expect(new Intl.Locale("und-Latn-AQ").minimize().toString()).toBe("en-AQ");
|
||||
});
|
||||
|
||||
test("keywords are preserved", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue