mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Translation editor (#249)
* Enabled DOUBLE line for Croatian + translation fix Enabled DOUBLE line Menu for Croatian. A minor translation fix. * Added Double line menus for Croatian Added Double line menus for Croatian. For some reason they were not included in the previous pull request, even though I made them (most probably it was by my mistake). * Added "Power: " translation for Croatian * Menu desciption scroll sped up 3x * Slow scroll * Additional HR translation fix * EOL fixed * Fixed flickering - update only when required * Reverted to Ralim/ts100 current Translation.c, HR translation fix moved to translation-hr branch * Synchronized with Ralim master * Synchronized with Ralim * Ralim * Ralim * Sync * - Translation Editor Tool (HTML5) - Translations Parser (HTML5 tool for extracting initial translations from Translations.cpp to separate JSON files) - Languages extracted into separate JSON files * Added make_translation.py pre-compile script that creates Translation.cpp from JSON files. This one is just for single-language version, until we make a multi-lingual one. * Fixed Lithuanian local language name. * Fixed _lt.json syntax * Added 12x16 and 6x8 HTML5 font editor * Added Icon (16x16), Screen (84x16) and Full-Screen (96x16) sizes to Font Editor * "Font Editor" changed to "Bitmap Editor" * Added 24x16 icon size
This commit is contained in:
110
Translation Editor/translations.css
Normal file
110
Translation Editor/translations.css
Normal file
@@ -0,0 +1,110 @@
|
||||
* {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #66A;
|
||||
}
|
||||
|
||||
h1 span {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
table.data, div.data {
|
||||
border: 1px solid #888;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div.value {
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.header input {
|
||||
width: 50% !important;
|
||||
}
|
||||
|
||||
input.short {
|
||||
width: 150px !important;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.header .selected {
|
||||
display: block;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.stringId {
|
||||
font-family: monospace;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.label {
|
||||
background-color: #ddf;
|
||||
padding: 0.5em;
|
||||
width: 20%;
|
||||
color: #66A;
|
||||
}
|
||||
|
||||
.value {
|
||||
background-color: #eef;
|
||||
}
|
||||
|
||||
.value .label {
|
||||
width: 99%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
td input {
|
||||
width: 99%;
|
||||
}
|
||||
|
||||
input.unchanged, input.empty, .unchanged input, .empty input {
|
||||
background-color: #ffc;
|
||||
}
|
||||
|
||||
input.invalid, .invalid input {
|
||||
background-color: #f99;
|
||||
}
|
||||
|
||||
.ref, .tran input {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.ref::before, .ref::after {
|
||||
color: #99F;
|
||||
font-family: sans-serif;
|
||||
content: "\"";
|
||||
}
|
||||
|
||||
.note {
|
||||
color : #66A;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
div.constraint {
|
||||
float: right;
|
||||
display: inline-block;
|
||||
font-family: monospace;
|
||||
color: #66A;
|
||||
}
|
||||
|
||||
.invalid .constraint {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
.value {
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.saved {
|
||||
background-color: #ddd;
|
||||
}
|
||||
Reference in New Issue
Block a user