improved translations
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user