/base/update/updater/test/unittest/updater_ui_test/lang/ |
D | ui_language_unittest.cpp | 35 std::make_tuple(Language::CHINESE, "zh", "/data/updater/ui/correct_zh.json"), 36 std::make_tuple(Language::SPANISH, "es", "/data/updater/ui/correct_es.json"), 37 std::make_tuple(Language::ENGLISH, "en", "/data/updater/ui/correct_en.json") 39 constexpr std::array LANG_ARRAY { Language::CHINESE, Language::ENGLISH, Language::SPANISH }; 41 std::pair {Language::CHINESE, "zh"}, 42 std::pair {Language::ENGLISH, "en"}, 43 std::pair {Language::SPANISH, "es"} 45 constexpr auto GetStrForLang(Language language) in GetStrForLang() 54 static_assert(GetStrForLang(Language::CHINESE), "zh"); 55 static_assert(GetStrForLang(Language::ENGLISH), "en"); [all …]
|
/base/update/updater/services/ui/language/ |
D | language_ui.cpp | 28 std::unordered_map<Language, std::string> g_languageDataVars = { 29 {Language::CHINESE, "zh"}, 30 {Language::ENGLISH, "en"}, 31 {Language::SPANISH, "spa"}, 35 const std::unordered_map<std::string, Language> LanguageUI::LOCALES { 36 {"zh", Language::CHINESE}, 37 {"en", Language::ENGLISH}, 38 {"es", Language::SPANISH} 41 LanguageUI::LanguageUI() : strMap_ {}, res_ {}, langRes_ {}, language_ {Language::ENGLISH} in LanguageUI() 52 bool LanguageUI::Init(Language language) in Init() [all …]
|
D | language_ui.h | 28 enum class Language { enum 38 [[nodiscard]] bool Init(Language language); 41 Language ParseLanguage() const; 52 Language language_; 54 const static std::unordered_map<std::string, Language> LOCALES;
|
/base/update/update_app/common/src/main/ets/const/ |
D | update_const.ts | 220 language: Map<string, Language>; 228 export interface Language { interface
|
/base/account/os_account/frameworks/appaccount/extension/src/ |
D | authorization_extension.cpp | 36 case Runtime::Language::JS: in Create()
|
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/ |
D | wallpaper_extension_ability.cpp | 35 case Runtime::Language::JS: in Create()
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth_extension/module_loader/ |
D | user_auth_extension.cpp | 32 case Runtime::Language::JS: in Create()
|
/base/inputmethod/imf/frameworks/kits/extension/src/ |
D | inputmethod_extension.cpp | 35 case Runtime::Language::JS: in Create()
|
/base/print/print_fwk/frameworks/kits/extension/src/ |
D | print_extension.cpp | 36 case Runtime::Language::JS: in Create()
|
/base/notification/common_event_service/frameworks/extension/src/ |
D | static_subscriber_extension.cpp | 34 case AbilityRuntime::Runtime::Language::JS: in Create()
|
/base/customization/enterprise_device_management/framework/extension/src/ |
D | enterprise_admin_extension.cpp | 33 case AbilityRuntime::Runtime::Language::JS: in Create()
|
/base/notification/common_event_service/frameworks/extension/test/static_subscriber_extension_test/ |
D | static_subscriber_extension_test.cpp | 96 mockRuntime->language = static_cast<MockRuntime::Language>(-1); 114 mockRuntime->language = MockRuntime::Language::JS;
|
/base/update/update_app/feature/ota/src/main/ets/util/ |
D | ChangelogParseUtils.ets | 17 import type { Features, Language, Feature, Changelog, Icon } from '@ohos/common/src/main/ets/const/… 105 let language: Language = { featuresArray: [] }; 144 function parseFeatures(languageElement: any, language: Language, icons: Object): void {
|
/base/update/update_app/common/ |
D | index.ets | 20 export { UpdateState, OtaStatus, ErrorCode, UpdateConstant, Changelog, Language,
|
/base/web/webview/ |
D | .clang-format | 2 Language: Cpp
|
/base/update/update_app/feature/ota/src/main/ets/components/ |
D | ChangelogContent.ets | 22 Language 141 let lang: Language = changelog.language.get(language); 159 let lang: Language = changelog.language.get(language);
|
/base/useriam/fingerprint_auth/ |
D | .clang-format | 2 Language: Cpp
|
/base/useriam/face_auth/ |
D | .clang-format | 2 Language: Cpp
|
/base/startup/appspawn/adapter/ |
D | appspawn_ace.cpp | 66 options.lang = OHOS::AbilityRuntime::Runtime::Language::JS; in PreloadModule()
|
/base/global/i18n/ |
D | README.md | 30 **Language, script, and country codes**: The supported language must be represented by a two- or th…
|
/base/global/i18n_lite/ |
D | README.md | 115 … id="p4551033123313"><a name="p4551033123313"></a><a name="p4551033123313"></a>Name of Language</p> 119 … id="p5551113317339"><a name="p5551113317339"></a><a name="p5551113317339"></a>Name of Language</p> 123 …="p25511633143312"><a name="p25511633143312"></a><a name="p25511633143312"></a>Name of Language</p>
|