save
This commit is contained in:
parent
95ff0c95b3
commit
562b148ac6
|
|
@ -31,7 +31,7 @@ jsonp_handle(
|
|||
"controls.stop": "Anhalten",
|
||||
"controls.edit": "Bearbeiten",
|
||||
"controls.clear": "Leeren",
|
||||
"help.introduction": "Dieses Spiel ist inspiriert von !var:manufacturia, !var:crazy_machines, !var:world_of_goo … und auch von unvergessenen Stunden Hardware-Praktikum im Informatik-Studium :P",
|
||||
"help.introduction": "Dieses Spiel ist inspiriert von ${manufacturia}, ${crazy_machines}, ${world_of_goo} … und auch von unvergessenen Stunden Hardware-Praktikum im Informatik-Studium :P",
|
||||
"help.controls.title": "Steuerung",
|
||||
"help.controls.eintrag1": "Links-Klick/Rechts-Klick: Feldtyp wechseln",
|
||||
"help.controls.eintrag2": "Mausrad-Drehen: Feld drehen",
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ jsonp_handle(
|
|||
"controls.stop": "stop",
|
||||
"controls.edit": "edit",
|
||||
"controls.clear": "clear",
|
||||
"help.introduction": "This game is inspired by !var:manufacturia, !var:crazy_machines, !var:world_of_goo … and also by memorable hours of the practical hardware course during computer science study :P",
|
||||
"help.introduction": "This game is inspired by ${manufacturia}, ${crazy_machines}, ${world_of_goo} … and also by memorable hours of the practical hardware course during computer science study :P",
|
||||
"help.controls.title": "controls",
|
||||
"help.controls.eintrag1": "left click/right click: change tile type",
|
||||
"help.controls.eintrag2": "rotate mousewheel: rotate tile",
|
||||
|
|
|
|||
|
|
@ -119,14 +119,7 @@ module lib_translate
|
|||
);
|
||||
if (found)
|
||||
{
|
||||
let str : string = lib_errormonade.read(result);
|
||||
for (let name in vars)
|
||||
{
|
||||
let pattern : RegExp = (new RegExp("!var:" + name));
|
||||
let value : string = vars[name];
|
||||
str = str.replace(pattern, value);
|
||||
}
|
||||
return str;
|
||||
return lib_string.stance(lib_errormonade.read(result), vars);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -67,6 +67,8 @@ input,select,textarea,button
|
|||
border: none;
|
||||
padding: 8px;
|
||||
|
||||
min-width: 80px;
|
||||
|
||||
// border-radius: 2px;
|
||||
// box-shadow: 1px 1px 1px black;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue