first commit
This commit is contained in:
20
assets/res-native/setting/LangSet.ts
Normal file
20
assets/res-native/setting/LangSet.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export enum LangType {
|
||||
ZH = 0,
|
||||
EN = 1,
|
||||
}
|
||||
|
||||
export const LANG_STRING = {
|
||||
"zh" : LangType.ZH,
|
||||
"en" : LangType.EN
|
||||
};
|
||||
|
||||
export const LANG_ENUM = {
|
||||
0 : "zh",
|
||||
1 : "en"
|
||||
};
|
||||
|
||||
export class LangSet {
|
||||
public langIndex : LangType = LangType.EN;
|
||||
}
|
||||
|
||||
export const LANG_SET = new LangSet();
|
||||
Reference in New Issue
Block a user