diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index 03c61f6cc2..b9d7cbc00c 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -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}[]"? diff --git a/core/src/mindustry/ui/dialogs/GameOverDialog.java b/core/src/mindustry/ui/dialogs/GameOverDialog.java index 6173752b80..b355def9ae 100644 --- a/core/src/mindustry/ui/dialogs/GameOverDialog.java +++ b/core/src/mindustry/ui/dialogs/GameOverDialog.java @@ -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(); }