Browse Source

working on function mapping

lookup-tables
Stephan Richter 4 years ago
parent
commit
ab8a915380
  1. 2
      pom.xml
  2. 2
      resources/translations/Application.de.translation
  3. 2
      src/main/java/de/srsoftware/web4rail/moving/Locomotive.java

2
pom.xml

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.srsoftware</groupId>
<artifactId>web4rail</artifactId>
<version>1.4.38</version>
<version>1.4.39</version>
<name>Web4Rail</name>
<packaging>jar</packaging>
<description>Java Model Railway Control</description>

2
resources/translations/Application.de.translation

@ -107,6 +107,7 @@ Counterpart : Gegenstück @@ -107,6 +107,7 @@ Counterpart : Gegenstück
couple : kuppeln
Couple first parked train : ersten geparkten Zug kuppeln
Couple last parked train : letzten geparkten Zug kuppeln
Coupler : Kupplung
CoupleTrain : Zug kuppeln
Create action : Aktion erzeugen
Current location : Aufenthaltsort
@ -190,6 +191,7 @@ Hold : an lassen @@ -190,6 +191,7 @@ Hold : an lassen
if ({}) : falls ({})
If car of train\: inspect car number : Falls Fahrzeug aus Zug: Untersuche Fahrzeug Nummer
If checked, tiles behind the train are freed according to the length of the train and the tiles. If it is unchecked, tiles will not get free before route is finished. : Falls aktiviert, wird die Strecke anhand von Zug- und Kachel-Länge hinter dem Zug freigegeben, Falls deaktiviert wird die Strecke hinter dem Zug erst bei Abschluss der Route freigegeben.
Interior light : Innenbeleuchtung
internal contacts : interne Kontakte
Interval : Intervall
inverted : invertiert

2
src/main/java/de/srsoftware/web4rail/moving/Locomotive.java

@ -259,7 +259,7 @@ public class Locomotive extends Car implements Constants{ @@ -259,7 +259,7 @@ public class Locomotive extends Car implements Constants{
}
private static String functionName(int index,String key) {
return "function["+index+"]["+key+"]";
return "functions/"+index+"/"+key;
}
@Override

Loading…
Cancel
Save