improved translations
This commit is contained in:
@@ -117,8 +117,8 @@ public abstract class Decoupler extends Tile implements Device{
|
||||
new Radio(PROTOCOL, proto.toString(), t(proto.toString()), proto == protocol).addTo(div);
|
||||
}
|
||||
formInputs.add(t("Protocol"),div);
|
||||
formInputs.add(t("Address:"),new Input(ADDRESS, address).numeric());
|
||||
formInputs.add(t("Port:"),new Input(PORT, port).numeric());
|
||||
formInputs.add(t("Address"),new Input(ADDRESS, address).numeric());
|
||||
formInputs.add(t("Port"),new Input(PORT, port).numeric());
|
||||
|
||||
return super.properties(preForm, formInputs, postForm);
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ public abstract class Turnout extends Tile implements Device{
|
||||
new Radio(PROTOCOL, proto.toString(), t(proto.toString()), proto == protocol).addTo(div);
|
||||
}
|
||||
formInputs.add(t("Protocol"),div);
|
||||
formInputs.add(t("Address:"),new Input(ADDRESS, address).numeric());
|
||||
formInputs.add(t("Address"),new Input(ADDRESS, address).numeric());
|
||||
return super.properties(preForm, formInputs, postForm);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@ public abstract class TurnoutL extends Turnout {
|
||||
|
||||
@Override
|
||||
protected Window properties(List<Fieldset> preForm, FormInput formInputs, List<Fieldset> postForm) {
|
||||
formInputs.add(t("Straight port:"),new Input(STRAIGHT, portA).numeric());
|
||||
formInputs.add(t("Left port:"),new Input(LEFT, portB).numeric());
|
||||
formInputs.add(t("Straight port")+COL,new Input(STRAIGHT, portA).numeric());
|
||||
formInputs.add(t("Left port")+COL,new Input(LEFT, portB).numeric());
|
||||
return super.properties(preForm, formInputs, postForm);
|
||||
}
|
||||
|
||||
|
||||
@@ -36,8 +36,8 @@ public abstract class TurnoutR extends Turnout {
|
||||
|
||||
@Override
|
||||
protected Window properties(List<Fieldset> preForm, FormInput formInputs, List<Fieldset> postForm) {
|
||||
formInputs.add(t("Straight port:"),new Input(STRAIGHT, portA).numeric());
|
||||
formInputs.add(t("Right port:"),new Input(RIGHT, portB).numeric());
|
||||
formInputs.add(t("Straight port")+COL,new Input(STRAIGHT, portA).numeric());
|
||||
formInputs.add(t("Right port")+COL,new Input(RIGHT, portB).numeric());
|
||||
return super.properties(preForm, formInputs, postForm);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user