From d68d2e9f30d51eefbe1a003da1aebbcd274968f1 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 18 Oct 2018 22:33:11 -0400 Subject: [PATCH] Moved paused text details into bundle --- core/assets/bundles/bundle.properties | 2 +- core/src/io/anuke/mindustry/ui/fragments/HudFragment.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index 1d9fc70fec..a81a01cb97 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -294,7 +294,7 @@ text.settings.clearall.confirm=[scarlet]WARNING![]\nThis will clear all data, in text.settings.clearsectors=Clear Sectors text.settings.clearunlocks=Clear Unlocks text.settings.clearall=Clear All -text.paused=Paused +text.paused=[accent]< Paused > text.yes=Yes text.no=No text.info.title=Info diff --git a/core/src/io/anuke/mindustry/ui/fragments/HudFragment.java b/core/src/io/anuke/mindustry/ui/fragments/HudFragment.java index 52a53a23b9..db13164fb4 100644 --- a/core/src/io/anuke/mindustry/ui/fragments/HudFragment.java +++ b/core/src/io/anuke/mindustry/ui/fragments/HudFragment.java @@ -142,7 +142,7 @@ public class HudFragment extends Fragment{ //paused table parent.fill(t -> { t.top().visible(() -> state.is(State.paused) && !Net.active()); - t.table("clear", top -> top.add("[orange]< " + Bundles.get("text.paused") + " >").pad(6).get().setFontScale(fontScale * 1.5f)); + t.table("clear", top -> top.add("$text.paused").pad(6).get().setFontScale(fontScale * 1.5f)); }); parent.fill(t -> {