-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (88 loc) · 3.47 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Minecraft lang file editor v1.3</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="caption-box">
Minecraft语言文件编辑器 v1.3 by Firok
</div>
<div id="cb">
<div class="cbi" id="cb-input">分析</div>
<div class="cbi" id="cb-edit">编辑</div>
<div class="cbi" id="cb-make">组装</div>
<div class="cbi" id="cb-reload">初始化</div>
<div class="cbi" id="cb-help">帮助</div>
<div class="cbi cbi2 cbis" id="cb-clear">清空</div>
<div id="button-make" class="cbi cbi2 cbis">开始组装</div>
<div class="cbi cbi2 cbis" id="cb-new">新增一行</div>
<div id="button-input" class="cbi cbi1 cbis">开始分析</div>
<div id="button-middle" class="cbi cbi3 cbis">获取编辑器中转语言内容</div>
</div>
<div id="bar-edit-new">
内部名称<input type="text" id="input-new-inner" />
源语言<input type="text" id="input-new-source"/>
目标语言<input type="text" id="input-new-result"/>
<input type="button" id="input-new-create" value="创建" />
<input type="button" id="input-new-cancel" value="取消" />
</div>
<div id="main-box">
<div id="box-input" class="main-box-item">
<p class="main-box-item-caption" id="caption-input">请将要分析的语言文件内容 <br />或编辑器中转语言内容 <br />粘贴到输入框</p>
<p>
<textarea id="box-sourceLang"></textarea>
</p>
</div>
<div id="box-edit" class="main-box-item">
<p class="main-box-item-caption" id="caption-edit">编辑页</p>
<div id="editor-box"></div>
</div>
<div id="box-output" class="main-box-item">
<p class="main-box-item-caption" id="caption-make">组装页</p>
<div id="output-box"></div>
<div id="output-box-middle"></div>
</div>
<div id="box-help" class="main-box-item">
<p class="main-box-item-caption" id="caption-help">帮助页</p>
<div id="help-box">
这个小工具用来方便编辑Minecraft的.lang语言文件 <br />
因为是基于web,运行速度有限,不适合一次性处理大量数据(可能会卡死)<br />
语言文件太长的话最好分段处理<br />
<br />
<div style="width:50%;float:left">
语言文件应该是像这样 <br />(格式为" * = * ") <br />
<br />
<p style="border:1px solid black;text-align:left">
# Other <br />
itemGroup.thaumcraft=神秘时代4 <br />
nodetype.NORMAL.name=标准 <br />
nodetype.UNSTABLE.name=震荡 <br />
nodetype.DARK.name=凶险 <br />
nodetype.PURE.name=纯净 <br />
</p>
</div>
<div style="width:50%;float:left">
编辑器中转语言应该是像这样 <br />(格式为" * = * = * ")<br /><br />
<p style="border:1px solid black;text-align:left">
# Other <br />
itemGroup.thaumcraft=神秘时代4=thaumcraft <br />
nodetype.NORMAL.name=标准=normal <br />
nodetype.UNSTABLE.name=震荡=unstable <br />
nodetype.DARK.name=凶险=dark <br />
nodetype.PURE.name=纯净=pure <br />
</p>
</div>
<br />
GitHub链接<br />
<a href="https://github.com/S2Lab/Minecraft-.lang-File-Editor">https://github.com/S2Lab/Minecraft-.lang-File-Editor</a><br />
任何的问题请到这里反馈
</div>
</div>
</div>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js'></script>
<script src="js/index.js"></script>
</body>
</html>