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. schematic.tagexists = That tag already exists.
stats = Stats stats = Stats
stat.wave = Waves Defeated stats.wave = Waves Defeated
stat.unitsCreated = Units Created stats.unitsCreated = Units Created
stat.enemiesDestroyed = Enemies Destroyed stats.enemiesDestroyed = Enemies Destroyed
stat.built = Buildings Built stats.built = Buildings Built
stat.destroyed = Buildings Destroyed stats.destroyed = Buildings Destroyed
stat.deconstructed = Buildings Deconstructed stats.deconstructed = Buildings Deconstructed
stat.playtime = Time Played stats.playtime = Time Played
globalitems = [accent]Total Items globalitems = [accent]Total Items
map.delete = Are you sure you want to delete the map "[accent]{0}[]"? 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.setBackground(Styles.black3);
t.table(stats -> { t.table(stats -> {
if(state.rules.waves) addStat(stats, Core.bundle.get("stat.wave"), state.stats.wavesLasted, 0f); if(state.rules.waves) addStat(stats, Core.bundle.get("stats.wave"), state.stats.wavesLasted, 0f);
addStat(stats, Core.bundle.get("stat.unitsCreated"), state.stats.unitsCreated, 0.05f); addStat(stats, Core.bundle.get("stats.unitsCreated"), state.stats.unitsCreated, 0.05f);
addStat(stats, Core.bundle.get("stat.enemiesDestroyed"), state.stats.enemyUnitsDestroyed, 0.1f); addStat(stats, Core.bundle.get("stats.enemiesDestroyed"), state.stats.enemyUnitsDestroyed, 0.1f);
addStat(stats, Core.bundle.get("stat.built"), state.stats.buildingsBuilt, 0.15f); addStat(stats, Core.bundle.get("stats.built"), state.stats.buildingsBuilt, 0.15f);
addStat(stats, Core.bundle.get("stat.destroyed"), state.stats.buildingsDestroyed, 0.2f); addStat(stats, Core.bundle.get("stats.destroyed"), state.stats.buildingsDestroyed, 0.2f);
addStat(stats, Core.bundle.get("stat.deconstructed"), state.stats.buildingsDeconstructed, 0.25f); addStat(stats, Core.bundle.get("stats.deconstructed"), state.stats.buildingsDeconstructed, 0.25f);
}).top().grow().row(); }).top().grow().row();
if(control.saves.getCurrent() != null){ if(control.saves.getCurrent() != null){
t.table(tt -> { 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); tt.add(new FLabel("[accent]" + control.saves.getCurrent().getPlayTime())).right().pad(5);
}).growX(); }).growX();
} }