-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocstredit_help.html
More file actions
90 lines (89 loc) · 7.08 KB
/
Copy pathlocstredit_help.html
File metadata and controls
90 lines (89 loc) · 7.08 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title data-langKey="title">Help Factorio Locale String Editor</title>
<link rel="stylesheet" type="text/css" href="locstredit.css?v=0.2.1">
<!--Global site tag (gtag.js) Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-KYGSR6XRD0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-KYGSR6XRD0');
</script>
<script type="text/javascript" charset="UTF-8" src="locstredit_help.js?v=0.2.1"></script>
</head>
<body>
<h2 data-langKey="1000">Help - <a href="locstredit.html">Factorio Locale String Editor</a></h2>
<p class="indexitem"><a href="#progress" data-langKey="1010">◆ Work Progress</a></p>
<p class="indexitem"><a href="#menuinfo" data-langKey="2000">◆ Menu Information</a></p>
<p class="indexitem"><a href="#changelog" data-langKey="3000">◆ Changelog</a></p>
<p class="indexitem"><a href="#extlink" data-langKey="4000">◆ External Links</a></p>
<hr>
<a id="progress"></a><h3 data-langKey="1010">◆ Work Progress</h3>
<p data-langKey="1020">1. Copy texts from the full version of <b>.cfg</b> file under the <b>locale</b> folder of an Factorio mod extraction, and paste into <b>"original"</b> section of this app.</p>
<p data-langKey="1030">2. (optional) Copy texts from the incomplete version of <b>.cfg</b> file of same mod or translating mod, and paste into <b>"localised"</b> section of this app.</p>
<p data-langKey="1040">3. Press <b>"generate missing"</b> to filter keys not included in <b>"localised"</b> section. See <b>"compare"</b> section to see output.</p>
<p data-langKey="1050">4. Translate texts in <b>"compare"</b> section in your way.</p>
<p data-langKey="1060">5. (optional) To use translation software, press <b>"tag line number"</b> and then <b>"detach key names"</b> to exclude key names not to be translated. Press <b>"attach key names"</b> to go back to original format.</p>
<p data-langKey="1070">6. Press <b>"merge with localised"</b> to merge <b>"compare"</b> text into <b>"localised"</b> text, your final result will be ready in <b>"compare"</b> section.</p>
<p data-langKey="1080">* All progress need to be done while maintaining text in <b>"original"</b> section.</p>
<p data-langKey="1090">* Saving and undo features are not supported. Frequently use 3rd party text editor to keep your texts.</p>
<hr>
<a id="menuinfo"></a><h3 data-langKey="2000">◆ Menu Information</h3>
<table class="noline">
<tr><td>-</td><td class="nw">?</td><td>:</td><td data-langKey="2010">This help page</td></tr>
<tr><td>-</td><td class="nw" data-langKey="2020">word wrap</td><td>:</td><td data-langKey="2025">Turn on/off automatic line feed for long sentences.</td></tr>
<tr><td>-</td><td class="nw" data-langKey="2030">generate missing</td><td>:</td><td data-langKey="2035">Generate <b>"compare"</b> text with keys not in <b>"localised"</b> but in <b>"original"</b>.</td></tr>
<tr><td>-</td><td class="nw" data-langKey="2040">generate difference</td><td>:</td><td data-langKey="2045">Generate <b>"compare"</b> text with values in <b>"localised"</b> not same to <b>"original"</b>, excluding missing keys.</td></tr>
<tr><td>-</td><td class="nw" data-langKey="2050">generate identical</td><td>:</td><td data-langKey="2055">Generate <b>"compare"</b> text with keys and values exactly same in both <b>"localised"</b> and <b>"original"</b>.</td></tr>
<tr><td>-</td><td class="nw" data-langKey="2060">tag line numbers</td><td>:</td><td data-langKey="2065">Insert line number in front of each lines for all 3 sections.</td></tr>
<tr><td>-</td><td class="nw" data-langKey="2070">untag line numbers</td><td>:</td><td data-langKey="2075">Revert <b>"tag line numbers"</b>.</td></tr>
<tr><td>-</td><td class="nw" data-langKey="2080">detach key names</td><td>:</td><td data-langKey="2085">Remove key names and leave only values in text of <b>"compare"</b> section. <b>"tag line numbers"</b> is needed to remember original keys.</td></tr>
<tr><td>-</td><td class="nw" data-langKey="2090">attach key names</td><td>:</td><td data-langKey="2095">Reattach key names to text processed by <b>"detach key names"</b>, refering data in <b>"original"</b> section.</td></tr>
<tr><td>-</td><td class="nw" data-langKey="2100">merge with localised</td><td>:</td><td data-langKey="2105">Refering data in <b>"original"</b> section, merge <b>"localised"</b> with <b>"compare"</b> and put final result into <b>"compare"</b>.</td></tr>
</table>
<hr>
<a id="changelog"></a><h3 data-langKey="3000">◆ Changelog</h3>
<table class="noline valign">
<tr><td>-</td><td>v0.2.5</td><td class="nw">2022-02-22</td><td>
<p>- Recognise dot"." in key names.</p>
</td><td></td></tr>
<tr><td>-</td><td>v0.2.4</td><td class="nw">2021-02-20</td><td>
<p>- Warns if nothing merged from "compare" when using "merge with localised".
<br>This will prevent accidental using "merge with localised" before reverting "detach key names".
</p>
</td><td></td></tr>
<tr><td>-</td><td>v0.2.3</td><td class="nw">2021-02-20</td><td>
<p>- "detach key names" & "attach key names" will now recognise things like "__ABCD_E1F2_G3H4__", for example, "__CONTROL_STYLE_BEGIN__".</p>
</td><td></td></tr>
<tr><td>-</td><td>v0.2.2</td><td class="nw">2021-02-20</td><td>
<p>- Hotfix when using "generate difference" with "original" texts in higher priority generate wrong values.</p>
<p>- Hotfix category key & sentence key names can contain "#" character.</p>
</td><td></td></tr>
<tr><td>-</td><td>v0.2.1</td><td class="nw">2021-02-20</td><td>
<p>- "detach key names" & "attach key names" now handle "\n" character with exclusive emoji and give ability to convert/revert with line breaks.</p>
<p>- Parser now remembers how many empty lines before each line in "original" section, and mimic even empty lines of "original" when generating "compare" texts.
<br>Now full key copy of "original" text in "compare" can have exactly same line count and sorting order, even when "original" have random empty lines here and there.
</p>
</td><td></td></tr>
<tr><td>-</td><td>v0.2</td><td class="nw">2021-02-18</td><td>
<p>- Possible to choose priority among "original" and "localised" when using "generate difference".</p>
<p>- Light/dark mode automatically switches by device's light/dark setting. (If browser & OS supports)</p>
<p>- "detach key names" & "attach key names" are now convert special words (ex: \n, __1__, [/color], etc...) into emoji to avoid them to be translated by tranlation software.</p>
<p>- Changed description of "generate difference" function from "including" to "excluding".</p>
</td><td></td></tr>
<tr><td>-</td><td>v0.1</td><td class="nw">2021-02-17</td><td>
<p>- Open to public</p>
<p>- Category parser hotfix</p>
</td><td></td></tr>
</table>
<hr>
<a id="extlink"></a><h3 data-langKey="4000">◆ External Links</h3>
<p>- <a href="https://github.com/x2605/x2605.github.io">github repository</a></p>
<div style="height:50px;"></div>
<a id="gototop" href="#">▲</a>
</body>
</html>