bug
This commit is contained in:
@@ -71,10 +71,10 @@
|
||||
if (!self) return;
|
||||
|
||||
KBLocalizationManager *mgr = [KBLocalizationManager shared];
|
||||
// 在中英文间切换:当前是中文就切到英文,否则切到简体中文
|
||||
// 在英文与繁体中文间切换
|
||||
NSString *next = [mgr.currentLanguageCode.lowercaseString hasPrefix:@"zh"]
|
||||
? KBLanguageCodeEnglish
|
||||
: KBLanguageCodeSimplifiedChinese;
|
||||
: KBLanguageCodeTraditionalChinese;
|
||||
[mgr setCurrentLanguageCode:next persist:YES];
|
||||
|
||||
// 语言切换后重新进入根控制器
|
||||
|
||||
Reference in New Issue
Block a user