20 lines
300 B
TypeScript
20 lines
300 B
TypeScript
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(); |