Replaced '$' formatting with '@'
This commit is contained in:
@@ -143,7 +143,7 @@ public class ResearchBlock extends Block{
|
||||
i.setScaling(Scaling.fit);
|
||||
i.setColor(researching == null ? Color.lightGray : Color.white);
|
||||
}).size(32).pad(3);
|
||||
t.label(() -> researching == null ? "$none" : researching.content.localizedName).color(Color.lightGray);
|
||||
t.label(() -> researching == null ? "@none" : researching.content.localizedName).color(Color.lightGray);
|
||||
}).left().padTop(4);
|
||||
}
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ public class MessageBlock extends Block{
|
||||
accepted = str -> configure(str);
|
||||
}});
|
||||
}else{
|
||||
BaseDialog dialog = new BaseDialog("$editmessage");
|
||||
BaseDialog dialog = new BaseDialog("@editmessage");
|
||||
dialog.setFillParent(false);
|
||||
TextArea a = dialog.cont.add(new TextArea(message.replace("\n", "\r"))).size(380f, 160f).get();
|
||||
a.setFilter((textField, c) -> {
|
||||
@@ -112,7 +112,7 @@ public class MessageBlock extends Block{
|
||||
return true;
|
||||
});
|
||||
a.setMaxLength(maxTextLength);
|
||||
dialog.buttons.button("$ok", () -> {
|
||||
dialog.buttons.button("@ok", () -> {
|
||||
configure(a.getText());
|
||||
dialog.hide();
|
||||
}).size(130f, 60f);
|
||||
|
||||
@@ -132,7 +132,7 @@ public class UnitFactory extends UnitBlock{
|
||||
if(units.any()){
|
||||
ItemSelection.buildTable(table, units, () -> currentPlan == -1 ? null : plans[currentPlan].unit, unit -> configure(units.indexOf(unit)));
|
||||
}else{
|
||||
table.table(Styles.black3, t -> t.add("$none").color(Color.lightGray));
|
||||
table.table(Styles.black3, t -> t.add("@none").color(Color.lightGray));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ public class UnitFactory extends UnitBlock{
|
||||
i.setScaling(Scaling.fit);
|
||||
i.setColor(currentPlan == -1 ? Color.lightGray : Color.white);
|
||||
}).size(32).padBottom(-4).padRight(2);
|
||||
t.label(() -> currentPlan == -1 ? "$none" : plans[currentPlan].unit.localizedName).color(Color.lightGray);
|
||||
t.label(() -> currentPlan == -1 ? "@none" : plans[currentPlan].unit.localizedName).color(Color.lightGray);
|
||||
}).left();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user