language fix
This commit is contained in:
@@ -65,7 +65,6 @@ export class PreloadUI extends Component {
|
||||
|
||||
this.preloadFiles();
|
||||
|
||||
LanguageUtils.setLanguage(LanguageType.CN);
|
||||
}
|
||||
|
||||
protected onDestroy(): void {
|
||||
|
||||
@@ -44,11 +44,6 @@ export class SimpleLanguagePanel extends li_BaseView {
|
||||
@property(Button)
|
||||
private btnHindi: Button = null;
|
||||
|
||||
@property(Button)
|
||||
private btnFrench: Button = null;
|
||||
|
||||
@property(Button)
|
||||
private btnGerman: Button = null;
|
||||
|
||||
@property(Node)
|
||||
private panelBg: Node = null;
|
||||
@@ -78,8 +73,6 @@ export class SimpleLanguagePanel extends li_BaseView {
|
||||
this.initLanguageButton(this.btnEnglish, LanguageType.EN, "English");
|
||||
this.initLanguageButton(this.btnChinese, LanguageType.CN, "中文");
|
||||
this.initLanguageButton(this.btnHindi, LanguageType.HI, "हिंदी");
|
||||
this.initLanguageButton(this.btnFrench, LanguageType.FR, "Français");
|
||||
this.initLanguageButton(this.btnGerman, LanguageType.DE, "Deutsch");
|
||||
}
|
||||
|
||||
private initLanguageButton(
|
||||
|
||||
Reference in New Issue
Block a user