-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (47 loc) · 1.35 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
<html>
<head>
<title>Stonehearth Translator Tool</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css.css">
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
</head>
<body class="notranslate">
<header>
<div>
<label>
📂 Load first.json
<input type="file" accept=".json" id="en_fileinput_element" onchange="load_en_file()">
</label>
<label>
📂 Load second.json
<input type="file" accept=".json" id="your_fileinput_element" onchange="load_your_file()">
</label>
<label id="download" onclick="download()">
💾 Save translation.json
<a href="" id="actual_download" style="display: none;" download="your_translation.json"></a>
</label>
</div>
<div>
<label id="collapse_all_translated" onclick="collapse_all_translated()">
🔺 Collapse completed blocks
</label>
<label id="goto_next_unstranslated" onclick="goto_next_unstranslated()">
📑 Next untranslated
</label>
</div>
<div>
<label id="google_translation" onclick="google_translation()">
🤖 Fill with Google
</label>
</div>
</header>
<main></main>
<footer>
<span id="status">Loaded: Nothing</span>
<span id="strings">Strings: 0</span>
<span id="to_translate">Not translated: ?</span>
<span id="percent">Completed: ?</span>
</footer>
<script src="javascript.js"></script>
</body>
</html>