improved translations

This commit is contained in:
Stephan Richter
2021-01-15 14:23:49 +01:00
parent 14b7a69d03
commit 494eeddf59
17 changed files with 49 additions and 54 deletions

View File

@@ -154,7 +154,7 @@ public abstract class Action extends BaseClass {
}
for (Entry<String, String> entry : names.entrySet()) select.addOption(entry.getValue(), entry.getKey());
return select.addTo(new Label(t("Action type:")+NBSP));
return select.addTo(new Label(t("Action type")+COL));
}
protected static String t(String tex,Object...fills) {

View File

@@ -85,7 +85,7 @@ public class ConditionalAction extends ActionList {
@Override
public String toString() {
if (conditions.isEmpty()) return "["+t("Click here to add conditions")+"]";
return t("if ({}):",conditions);
return t("if ({})",conditions)+COL;
}
@Override

View File

@@ -80,7 +80,7 @@ public class DelayedAction extends ActionList {
@Override
public String toString() {
return t("Wait {} ms, then:",min_delay < max_delay ? min_delay+""+max_delay : min_delay);
return t("Wait {} ms, then",min_delay < max_delay ? min_delay+""+max_delay : min_delay)+COL;
}
@Override

View File

@@ -79,7 +79,7 @@ public class Loop extends ActionList {
}
public String toString() {
return t("For each {} do:",object);
return t("For each {} do",object)+COL;
};
private Tag typeSelector() {

View File

@@ -34,7 +34,7 @@ public class SetDisplayText extends TextAction{
@Override
protected Label label() {
return new Label(t("Text to show on display:")+NBSP);
return new Label(t("Text to show on display")+COL);
}
@Override

View File

@@ -18,7 +18,7 @@ public class ShowText extends TextAction{
@Override
protected Label label() {
return new Label(t("Text to display on clients:")+NBSP);
return new Label(t("Text to display on clients")+COL);
}
@Override