Home
last modified time | relevance | path

Searched refs:Language (Results 1 – 21 of 21) sorted by relevance

/base/update/updater/test/unittest/updater_ui_test/lang/
Dui_language_unittest.cpp35 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/
Dlanguage_ui.cpp28 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 …]
Dlanguage_ui.h28 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/
Dupdate_const.ts220 language: Map<string, Language>;
228 export interface Language { interface
/base/account/os_account/frameworks/appaccount/extension/src/
Dauthorization_extension.cpp36 case Runtime::Language::JS: in Create()
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/
Dwallpaper_extension_ability.cpp35 case Runtime::Language::JS: in Create()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth_extension/module_loader/
Duser_auth_extension.cpp32 case Runtime::Language::JS: in Create()
/base/inputmethod/imf/frameworks/kits/extension/src/
Dinputmethod_extension.cpp35 case Runtime::Language::JS: in Create()
/base/print/print_fwk/frameworks/kits/extension/src/
Dprint_extension.cpp36 case Runtime::Language::JS: in Create()
/base/notification/common_event_service/frameworks/extension/src/
Dstatic_subscriber_extension.cpp34 case AbilityRuntime::Runtime::Language::JS: in Create()
/base/customization/enterprise_device_management/framework/extension/src/
Denterprise_admin_extension.cpp33 case AbilityRuntime::Runtime::Language::JS: in Create()
/base/notification/common_event_service/frameworks/extension/test/static_subscriber_extension_test/
Dstatic_subscriber_extension_test.cpp96 mockRuntime->language = static_cast<MockRuntime::Language>(-1);
114 mockRuntime->language = MockRuntime::Language::JS;
/base/update/update_app/feature/ota/src/main/ets/util/
DChangelogParseUtils.ets17 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/
Dindex.ets20 export { UpdateState, OtaStatus, ErrorCode, UpdateConstant, Changelog, Language,
/base/web/webview/
D.clang-format2 Language: Cpp
/base/update/update_app/feature/ota/src/main/ets/components/
DChangelogContent.ets22 Language
141 let lang: Language = changelog.language.get(language);
159 let lang: Language = changelog.language.get(language);
/base/useriam/fingerprint_auth/
D.clang-format2 Language: Cpp
/base/useriam/face_auth/
D.clang-format2 Language: Cpp
/base/startup/appspawn/adapter/
Dappspawn_ace.cpp66 options.lang = OHOS::AbilityRuntime::Runtime::Language::JS; in PreloadModule()
/base/global/i18n/
DREADME.md30 **Language, script, and country codes**: The supported language must be represented by a two- or th…
/base/global/i18n_lite/
DREADME.md115 … 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>