-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
207 lines (193 loc) · 9.46 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html>
<head>
<!--
Please note, that any changes on the structure of this document might possibly break the
GTH Discord Bot [https://github.com/Mightyfrong/gth-discord-bot]
Please get in touch with Mightyfrong beforehand!
-->
<meta charset="utf-8">
<title>Gallifreyan Translation Helper</title>
<link rel="stylesheet" href="css/main.css">
<link rel="apple-touch-icon" sizes="180x180" href="./assets/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/favicon/favicon-16x16.png">
<link rel="mask-icon" href="./assets/favicon/safari-pinned-tab.svg" color="#f2b90d">
<link rel="shortcut icon" href="./assets/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#F2B90D">
<meta name="msapplication-config" content="./assets/favicon/browserconfig.xml">
<meta name="theme-color" content="#F2B90D">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="manifest" href="./site.webmanifest">
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", () => {
navigator.serviceWorker && navigator.serviceWorker.register("./js/sw.js");
});
}
</script>
</head>
<body>
<header>
<h1>
<img src="./assets/favicon/favicon.svg" width="48" height="48" />
<div id="creator">Mightyfrong's</div>
Gallifreyan Translation Helper<br />
<svg id="menu" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"
onclick="document.getElementById('acknowledgement').style.display='block'">
<g>
<rect x="0" y="0" width="64" height="12.8" />
<rect x="0" y="25.6" width="64" height="12.8" />
<rect x="0" y="51.2" width="64" height="12.8" />
</g>
</svg>
</h1>
</header>
<main>
<form>
<div>
<label for="language" id="helpwith">Help with </label>
<my-select id="language" data-name="language">
<label>Sherman's</label>
<label>Doctor's Cot</label>
<label>TARDIS Console</label>
<label>Flux</label>
<label>Clockwork</label>
<label>GC Gallifreyan</label>
<label>cBettenbender's</label>
<label>CC Gallifreyan</label>
<label>Timekeepers Gallifreyan</label>
<label>DotScript</label>
<label>ArtByBoredom</label>
<label>DarkIfaerie's</label>
<label>Eva's</label>
<label>bpjmarriot's</label>
<label>ODDISM's</label>
</select>
</div>
<fieldset id="lang-controls">
<label class="custominput" for="circular"><input type="checkbox" id="circular" checked />circular <span
class="checkmark"></span></label>
<label class="custominput" for="convertc"><input type="checkbox" id="convertc" checked />convert c <span
class="checkmark"></span></label>
<label class="custominput" for="stacking"><input type="checkbox" id="stacking" checked />stacking <span
class="checkmark"></span></label>
<label class="custominput" for="stack">Maximum stacked <input type="range" min="1" max="7" step="1" id="stack"
onchange="this.nextSibling.innerHTML=this.value" /><span> </span></label>
<div id="keyoptions">
<label class="custominput" for="ipakeys"><input type="radio" name="keyboard" id="ipakeys"
checked />IPA keyboard <span class="checkmark"></span></label>
<label class="custominput" for="enkeys"><input type="radio" name="keyboard"
id="enkeys" />phonetic/english keyboard <span class="checkmark"></span></label>
</div>
<div id="cot-keys">
<div id="dcconsonants" class="keys"></div>
<div id="dcvowels" class="keys"></div>
<br />
</div>
<div id="clockwork-keys">
<div id="cwconsonants" class="keys"></div>
<div id="cwvowels" class="keys"></div>
<div id="cwpunctuation" class="keys"></div>
<span id="cwhint">If a phrase does not end with supported punctuation, a period will be added by
default.</span>
</div>
<div id="gc-hint">
<span id="gchint">If a phrase does not end with supported punctuation, a period will be added by
default.</span>
</div>
<div id="oddism-keys">
<div id="oddismconsonants" class="keys"></div>
<div id="oddismvowels" class="keys"></div>
</div>
<div id="cbettenbenders-keys">
<div id="cbconsonants" class="keys"></div>
<div id="cbvowels" class="keys"></div>
<br />
<span id="cbhint">Please separate syllables manually with a space</span><br />
</div>
<div id="eva-keys">
<div id="evaconsonants" class="keys"></div>
<div id="evavowels" class="keys"></div>
</div>
</fieldset>
<br />
<textarea id="text" rows="4" placeholder="type your text here"></textarea>
<br />
<label>
<input type="submit" />
<svg id="renderbutton" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048">
<path
d="M1984 1920q26 0 45 19t19 45-19 45-45 19H704q-26 0-45-19t-19-45 19-45 45-19h1280zM1856 0q40 0 75 15t61 41 41 61 15 75-14.5 73-41.5 62L630 1760q-37 39-73 67t-74.5 51.5-80 45T313 1970h-1q-28 14-57 14-42 0-76-25l-70 70q-19 19-45 19t-45-19-19-45 19-45l70-70q-25-34-25-77 0-29 14-57 25-48 46.5-89.5t45-80T221 1491t67-73L1721 56q29-27 62-41.5T1856 0zM255 1856q40-21 77.5-40t72.5-40 67.5-46 64.5-58L1764 382l-98-98L376 1510q-32 31-57 64.5t-46.5 69-40.5 73-40 76.5zM1852 289q9-9 20.5-20t22-23 18-25.5 7.5-28.5q0-26-19-45t-45-19q-15 0-28.5 7.5t-25.5 18-23 22-20 20.5z">
</path>
</svg>
</label>
</form>
<p id="info">
This is a tool aimed at artists and hobbyists who produce designs in one of the supported types of
Gallifreyan. Use it online or install it as a progressive web app on your device to use it offline on the
go.<br />
Please recognize this tool not as a translator: it serves the purpose of quicker impressions of writing
syntax. The artistic composition is, and should be, your challenge. Please do not use any of these outputs
for an immediate tattoo template!
</p>
<div id="drawoutput">
<a><img id="output-img" title="Save Image"></a>
<pre id="output"></pre>
<input type="color" id="foregroundcolor" value="#F2B90D" />
<input type="color" id="backgroundcolor" value="#050F2E" />
</div>
</main>
<footer>
<div>© 2020-2023 Mightyfrong, erroronline1, ModisR</div>
<div id="UILanguages"></div>
<div>
<a href="https://github.com/Mightyfrong/gallifreyan-translation-helper" target="_blank">
<svg class="tileimg" fill="currentColor" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
<path fill-rule="evenodd"
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z">
</path>
</svg>
Visit on Github
</a>
</div>
</footer>
<div id="acknowledgement" onclick="this.style.display='none'">
This is a tool aimed at artists and hobbyists who produce designs in one of the supported types of
Gallifreyan. Use it online or install it as a progressive web app on your device to use it offline on the
go.<br />
Please recognize this tool not as a translator: it serves the purpose of quicker impressions of writing
syntax. The artistic composition is, and should be, your challenge. Please do not use any of these outputs for
an immediate tattoo template!
<br /><br />
<a href="https://www.ipachart.com/" target="ipa">IPA-chart with sound</a> for anyone who struggles with that.
<br /><br />
The list of provided writing styles is not complete regarding every known style or font. To be implemented
into the GTH a writing style is supposed to follow a pattern that can be translated into an algorithm. To
date this has not been possible for styles that keep tenses into account, have incomplete or cumbersome
guides or other reasons. Of course we acknowledge and appreciate other writing styles as well and the effort of
developing and documenting them and contributing to the Doctor Who Fandom.
One or the other may or may not be on our inofficial to-do-list.<br /><br />
<a href="https://www.reddit.com/r/gallifreyan/wiki/language" target="ack">(Likely incomplete) list of known
styles</a><br /><br />
Sources and references for the supported writing styles can be found and are linked on <a
href="https://github.com/Mightyfrong/gallifreyan-translation-helper" target="_blank">the repo</a>.
</div>
<script defer type="module" src="./js/main.js"></script>
</body>
</html>
<!--
Copyright 2020-2023 Mightyfrong, erroronline1, ModisR
This file is part of the Gallifreyan Translation Helper,
henceforth referred to as "the GTH".
The GTH is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
The GTH is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with the GTH. If not, see <https://www.gnu.org/licenses/>.
-->