Include zh locale in icu data

This commit is contained in:
Charles Lew 2022-11-07 01:34:22 +08:00 committed by Manish Goregaokar
parent d15b020278
commit 707c035e00
2 changed files with 77 additions and 76 deletions

View File

@ -11,7 +11,8 @@
("ru", RU),
("tr", TR),
("und", UND),
("zh-Hans", ZH_HANS),
("zh", ZH_ZH_HANS),
("zh-Hans", ZH_ZH_HANS),
("zh-Hant", ZH_HANT),
]);
static EN: &DataStruct = &::icu_list::provider::ListFormatterPatternsV1([
@ -1010,80 +1011,6 @@
special_case: None,
},
]);
static ZH_HANS: &DataStruct = &::icu_list::provider::ListFormatterPatternsV1([
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
]);
static ZH_HANT: &DataStruct = &::icu_list::provider::ListFormatterPatternsV1([
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
@ -1158,3 +1085,77 @@
special_case: None,
},
]);
static ZH_ZH_HANS: &DataStruct = &::icu_list::provider::ListFormatterPatternsV1([
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
::icu_list::provider::ConditionalListJoinerPattern {
default: unsafe {
::icu_list::provider::ListJoinerPattern::from_parts_unchecked("", 3u8)
},
special_case: None,
},
]);

View File

@ -5,7 +5,7 @@
/* generated with:
```text
icu4x-datagen -W --pretty --fingerprint --use-separate-crates --cldr-tag latest --icuexport-tag latest \
--format mod -l en es fr it ja pt ru tr zh-Hans zh-Hant -k list/and@1 fallback/likelysubtags@1 fallback/parents@1 fallback/supplement/co@1 \
--format mod -l en es fr it ja pt ru tr zh zh-Hans zh-Hant -k list/and@1 fallback/likelysubtags@1 fallback/parents@1 fallback/supplement/co@1 \
-o src/data
```
*/