mirror of
https://gitee.com/openharmony/global_i18n
synced 2024-11-26 16:51:24 +00:00
代码一致性问题
Signed-off-by: zhangdd_ewan <zhangdongdong50@huawei.com>
This commit is contained in:
parent
29db406361
commit
776a5eb8cc
@ -17,10 +17,6 @@
|
||||
<id>zh</id>
|
||||
<display_name>རྒྱ་སྐད་</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>en</id>
|
||||
<display_name>དབྱིན་ཇིའི་སྐད།</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>zh-Hans</id>
|
||||
<display_name>རྒྱ་ཡིག་སྟབས་བདེ་རུ་གཏོང་བ།</display_name>
|
||||
@ -37,12 +33,4 @@
|
||||
<id>fa</id>
|
||||
<display_name>པོ་སིའི་སྐད།</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>bo</id>
|
||||
<display_name>བོད་སྐད་</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>ug</id>
|
||||
<display_name>ཡུ་གུར་སྐད།</display_name>
|
||||
</lang>
|
||||
</languages>
|
@ -41,12 +41,4 @@
|
||||
<id>fa-AF</id>
|
||||
<display_name>Dari</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>bo</id>
|
||||
<display_name>Tibetan</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>ug</id>
|
||||
<display_name>Uyghur</display_name>
|
||||
</lang>
|
||||
</languages>
|
@ -17,18 +17,6 @@
|
||||
<id>zh</id>
|
||||
<display_name>خەنزۇچە</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>en</id>
|
||||
<display_name>ئىنگلىزچە</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>zh-Hans</id>
|
||||
<display_name>ئاددىي خەنچە</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>zh-Hant</id>
|
||||
<display_name>مۇرەككەپ خەنچە</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>ro</id>
|
||||
<display_name>رومىنچە</display_name>
|
||||
@ -37,12 +25,4 @@
|
||||
<id>fa</id>
|
||||
<display_name>پارسچە</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>bo</id>
|
||||
<display_name>تىبەتچە</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>ug</id>
|
||||
<display_name>ئۇيغۇرچە</display_name>
|
||||
</lang>
|
||||
</languages>
|
@ -41,12 +41,4 @@
|
||||
<id>fa-AF</id>
|
||||
<display_name>达里语</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>bo</id>
|
||||
<display_name>藏文</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>ug</id>
|
||||
<display_name>维吾尔文</display_name>
|
||||
</lang>
|
||||
</languages>
|
@ -29,24 +29,8 @@
|
||||
<id>ro</id>
|
||||
<display_name>羅馬尼亞文</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>ro-MD</id>
|
||||
<display_name>摩爾多瓦文</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>fa</id>
|
||||
<display_name>波斯文</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>fa-AF</id>
|
||||
<display_name>達里语</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>bo</id>
|
||||
<display_name>藏文</display_name>
|
||||
</lang>
|
||||
<lang>
|
||||
<id>ug</id>
|
||||
<display_name>維吾爾文</display_name>
|
||||
</lang>
|
||||
</languages>
|
@ -228,6 +228,10 @@ HWTEST_F(IntlTest, IntlFuncTest0053, TestSize.Level1)
|
||||
std::make_unique<PhoneNumberFormat>("zh-CN", options);
|
||||
std::string location = phoneNumberFormat->getLocationName("18622350085", "zh-CN");
|
||||
EXPECT_EQ(location, "天津市");
|
||||
std::string location2 = phoneNumberFormat->getLocationName("15156712345", "zh-CN");
|
||||
EXPECT_EQ(location2, "安徽省亳州市");
|
||||
std::string location3 = phoneNumberFormat->getLocationName("17673241234", "zh-CN");
|
||||
EXPECT_EQ(location3, "湖南省株洲市");
|
||||
bool flag = phoneNumberFormat->isValidPhoneNumber("+8618622350085");
|
||||
EXPECT_TRUE(flag);
|
||||
std::string number2 = "+8618622350085";
|
||||
|
Loading…
Reference in New Issue
Block a user