mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-08 00:29:28 +08:00
[ci skip][AUTO]: Automated clang-format update: 771de57fc2 (#10469) (#10472)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
This commit is contained in:
@@ -36,9 +36,9 @@ ccstd::string CommonSystem::getDeviceModel() const {
|
||||
}
|
||||
|
||||
CommonSystem::LanguageType CommonSystem::getCurrentLanguage() const {
|
||||
ccstd::string languageName = getCurrentLanguageJNI();
|
||||
const char * pLanguageName = languageName.c_str();
|
||||
LanguageType ret = LanguageType::ENGLISH;
|
||||
ccstd::string languageName = getCurrentLanguageJNI();
|
||||
const char * pLanguageName = languageName.c_str();
|
||||
LanguageType ret = LanguageType::ENGLISH;
|
||||
|
||||
if (0 == strcmp("zh", pLanguageName)) {
|
||||
ret = LanguageType::CHINESE;
|
||||
|
||||
Reference in New Issue
Block a user