Replaced stats entries to assist translation changes

This commit is contained in:
Anuken
2022-05-08 09:29:10 -04:00
parent 0f3780dbb2
commit 396363c11d
2 changed files with 14 additions and 14 deletions

View File

@@ -76,13 +76,13 @@ schematic.tagdelconfirm = Delete this tag completely?
schematic.tagexists = That tag already exists.
stats = Stats
stat.wave = Waves Defeated
stat.unitsCreated = Units Created
stat.enemiesDestroyed = Enemies Destroyed
stat.built = Buildings Built
stat.destroyed = Buildings Destroyed
stat.deconstructed = Buildings Deconstructed
stat.playtime = Time Played
stats.wave = Waves Defeated
stats.unitsCreated = Units Created
stats.enemiesDestroyed = Enemies Destroyed
stats.built = Buildings Built
stats.destroyed = Buildings Destroyed
stats.deconstructed = Buildings Deconstructed
stats.playtime = Time Played
globalitems = [accent]Total Items
map.delete = Are you sure you want to delete the map "[accent]{0}[]"?

View File

@@ -71,17 +71,17 @@ public class GameOverDialog extends BaseDialog{
t.setBackground(Styles.black3);
t.table(stats -> {
if(state.rules.waves) addStat(stats, Core.bundle.get("stat.wave"), state.stats.wavesLasted, 0f);
addStat(stats, Core.bundle.get("stat.unitsCreated"), state.stats.unitsCreated, 0.05f);
addStat(stats, Core.bundle.get("stat.enemiesDestroyed"), state.stats.enemyUnitsDestroyed, 0.1f);
addStat(stats, Core.bundle.get("stat.built"), state.stats.buildingsBuilt, 0.15f);
addStat(stats, Core.bundle.get("stat.destroyed"), state.stats.buildingsDestroyed, 0.2f);
addStat(stats, Core.bundle.get("stat.deconstructed"), state.stats.buildingsDeconstructed, 0.25f);
if(state.rules.waves) addStat(stats, Core.bundle.get("stats.wave"), state.stats.wavesLasted, 0f);
addStat(stats, Core.bundle.get("stats.unitsCreated"), state.stats.unitsCreated, 0.05f);
addStat(stats, Core.bundle.get("stats.enemiesDestroyed"), state.stats.enemyUnitsDestroyed, 0.1f);
addStat(stats, Core.bundle.get("stats.built"), state.stats.buildingsBuilt, 0.15f);
addStat(stats, Core.bundle.get("stats.destroyed"), state.stats.buildingsDestroyed, 0.2f);
addStat(stats, Core.bundle.get("stats.deconstructed"), state.stats.buildingsDeconstructed, 0.25f);
}).top().grow().row();
if(control.saves.getCurrent() != null){
t.table(tt -> {
tt.add(new FLabel(Core.bundle.get("stat.playtime"))).left().pad(5).growX();
tt.add(new FLabel(Core.bundle.get("stats.playtime"))).left().pad(5).growX();
tt.add(new FLabel("[accent]" + control.saves.getCurrent().getPlayTime())).right().pad(5);
}).growX();
}