From d8a66b7b2523b489b9c2fe606718ccc3502e4936 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 24 Feb 2024 12:31:06 -0500 Subject: [PATCH] Bundle change for #9591 --- core/assets/bundles/bundle.properties | 4 ++-- core/src/mindustry/ui/fragments/HudFragment.java | 4 ++-- gradle.properties | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index 09f8119504..427f9b00ef 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -775,8 +775,8 @@ sector.curlost = Sector Lost sector.missingresources = [scarlet]Insufficient Core Resources sector.attacked = Sector [accent]{0}[white] under attack! sector.lost = Sector [accent]{0}[white] lost! -#note: the missing space in the line below is intentional -sector.capture = Sector [accent]{0}[white]Captured! +sector.capture = Sector [accent]{0}[white] Captured! +sector.capture.current = Sector Captured! sector.changeicon = Change Icon sector.noswitch.title = Unable to Switch Sectors sector.noswitch = You may not switch sectors while an existing sector is under attack.\n\nSector: [accent]{0}[] on [accent]{1}[] diff --git a/core/src/mindustry/ui/fragments/HudFragment.java b/core/src/mindustry/ui/fragments/HudFragment.java index e964aa5fdf..cb92cb77ad 100644 --- a/core/src/mindustry/ui/fragments/HudFragment.java +++ b/core/src/mindustry/ui/fragments/HudFragment.java @@ -72,9 +72,9 @@ public class HudFragment{ Events.on(SectorCaptureEvent.class, e -> { if(e.sector.isBeingPlayed()){ - ui.announce(Core.bundle.format("sector.capture", ""), 5f); + ui.announce("@sector.capture.current", 5f); }else{ - showToast(Core.bundle.format("sector.capture", e.sector.name() + " ")); + showToast(Core.bundle.format("sector.capture", e.sector.name())); } }); diff --git a/gradle.properties b/gradle.properties index 1451cdd8a3..73d2c94b6c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,4 +25,4 @@ org.gradle.caching=true #used for slow jitpack builds; TODO see if this actually works org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.connectionTimeout=100000 -archash=a2acd2ee5f +archash=580916ccfd