Commit 6715ce10 authored by Tommy Chan's avatar Tommy Chan

background

parent cde918d6
......@@ -142,6 +142,54 @@
<option value="7">7</option>
</select>
</span>
<span id="replace_story_photo">Story background</span>
<span class="css3-selectbox">
<select id="bg_selector">
<option value="" id="bg_text">---Background---</option>
<option value="battle2">battle2</option>
<option value="battle3">battle3</option>
<option value="battle4">battle4</option>
<option value="desert">desert</option>
<option value="forest_grass">forest_grass</option>
<option value="forest_mud">forest_mud</option>
<option value="hill_dry">hill_dry</option>
<option value="hill_grass">hill_grass</option>
<option value="prison2">prison2</option>
<option value="prison_drama">prison_drama</option>
<option value="rock_dry">rock_dry</option>
<option value="room1">room1</option>
<option value="story01">story01</option>
<option value="story02a">story02a</option>
<option value="story02b">story02b</option>
<option value="story02c">story02c</option>
<option value="story03a">story03a</option>
<option value="story03b">story03b</option>
<option value="story03c">story03c</option>
<option value="story03d">story03d</option>
<option value="story04a">story04a</option>
<option value="story04b">story04b</option>
<option value="story04c">story04c</option>
<option value="story05a_drama">story05a_drama</option>
<option value="story05a">story05a</option>
<option value="story05b">story05b</option>
<option value="story05b_drama">story05b_drama</option>
<option value="story06a">story06a</option>
<option value="story06b">story06b</option>
<option value="story06b2">story06b2</option>
<option value="story06c">story06c</option>
<option value="story06d">story06d</option>
<option value="story06d2">story06d2</option>
<option value="story07a">story07a</option>
<option value="story07b">story07b/option>
<option value="story07c">story07c</option>
<option value="story07d">story07d</option>
<option value="temple">temple</option>
<option value="trees_dry">trees_dry</option>
<option value="trees_grass">trees_grass</option>
<option value="trees_mud">trees_mud</option>
<option value="village">village</option>
<option value="village2">village2</option>
</span>
<br/>
<span id="storyname_eng_text">Story name(English): </span><input type="text" id="storyname" />
<input type="submit" id="engtochi_text" value="Eng to Chi" />
......
......@@ -69,6 +69,7 @@ class Languages {
$("#editor_ln").text(this._lang.editor_line);
$("#editor_ch").text(this._lang.editor_ch);
$("#editor_ttln").text(this._lang.editor_totalline);
$("replace_story_photo").text(this._lang.replace_story_photo);
}
}
......
......@@ -25,7 +25,7 @@ function engtochi() {
}
function generateExe() {
$('#generate_exe').val(window.lang.loading_text);
// TODO Verify if Java is installed and in path
const xmlData = File.getDataFromEditor();
......@@ -174,6 +174,7 @@ function compileExe() {
fs.unlinkSync(xml_storylist_filename);
fs.unlinkSync(swf_filename);
dialog.info(window.lang.exe_success, window.lang.success);
$('#generate_exe').val(window.lang.generate_exe);
}
......
{
"language" : "中文",
"title": "HF - 線上修改故事",
"title": "HF - 故事修改器",
"save_as": "另存新檔",
"generate_exe": "建立EXE檔",
"replace_story": "取代故事:",
......@@ -28,8 +28,10 @@
"save_error":"抱歉,儲存故事時發生錯誤。",
"savename_error":"抱歉,儲存故事名稱時發生錯誤。",
"success":"成功",
"exe_success":"Executable successfully generated!",
"exe_success":"成功建立遊戲執行檔!",
"cancel_text":"取消",
"comfirm_text":"確定",
"prompt_text":"請輸入檔案名稱"
"prompt_text":"請輸入檔案名稱",
"loading_text":"建立執行檔中...",
"replace_story_photo":"背景相片: "
}
......@@ -31,5 +31,7 @@
"exe_success":"Executable successfully generated!",
"cancel_text":"Cancel",
"comfirm_text":"Comfirm",
"prompt_text":"Please enter a file name"
"prompt_text":"Please enter a file name",
"loading_text":"Generating...",
"replace_story_photo":"Story background: "
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment