turnstates
This commit is contained in:
parent
1a13781220
commit
cd85677efd
57 changed files with 1813 additions and 104 deletions
|
@ -1,21 +1,21 @@
|
|||
function msglang(english, japanese=[txt()], language=global.lang) {
|
||||
return array_insert_array_parse(argument[language-1]);
|
||||
/*switch language {
|
||||
function msglang(english, japanese, language=global.lang) {
|
||||
switch language {
|
||||
case LANGUAGE.ENGLISH:
|
||||
return array_insert_array_parse(english);
|
||||
return english;
|
||||
break;
|
||||
case LANGUAGE.JAPANESE:
|
||||
return array_insert_array_parse(japanese);
|
||||
return japanese;
|
||||
break;
|
||||
default:
|
||||
return [txt()];
|
||||
break;
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
enum LANGUAGE {
|
||||
NULL,
|
||||
ENGLISH,
|
||||
JAPANESE,
|
||||
}
|
||||
}
|
||||
|
||||
global.lang = LANGUAGE.ENGLISH;
|
|
@ -2,8 +2,8 @@
|
|||
"isDnD": false,
|
||||
"isCompatibility": false,
|
||||
"parent": {
|
||||
"name": "data",
|
||||
"path": "folders/Scripts/util/data.yy",
|
||||
"name": "Textbox",
|
||||
"path": "folders/Textbox.yy",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "msglang",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue