From 663ad74724ac311f483cd3fcb24de16deb88c4d6 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Tue, 14 Jan 2025 21:34:42 -0600 Subject: [PATCH] Add missing localization --- .../java/com/seibel/distanthorizons/core/config/Config.java | 4 ++-- .../core/multiplayer/client/SyncOnLoadRequestQueue.java | 2 +- .../src/main/resources/assets/distanthorizons/lang/en_us.json | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/config/Config.java b/core/src/main/java/com/seibel/distanthorizons/core/config/Config.java index adf8dac79..f7ec0fe19 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/config/Config.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/config/Config.java @@ -967,9 +967,9 @@ public class Config .comment("Render queued world gen tasks?") .build(); - public static ConfigEntry showSyncOnLoadQueue = new ConfigEntry.Builder() + public static ConfigEntry showNetworkSyncOnLoadQueue = new ConfigEntry.Builder() .set(false) - .comment("Render queued sync on load tasks?") + .comment("Render queued network sync on load tasks?") .build(); public static ConfigEntry showRenderSectionStatus = new ConfigEntry.Builder() diff --git a/core/src/main/java/com/seibel/distanthorizons/core/multiplayer/client/SyncOnLoadRequestQueue.java b/core/src/main/java/com/seibel/distanthorizons/core/multiplayer/client/SyncOnLoadRequestQueue.java index ba4f13cdf..ba04c6ba8 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/multiplayer/client/SyncOnLoadRequestQueue.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/multiplayer/client/SyncOnLoadRequestQueue.java @@ -21,7 +21,7 @@ public class SyncOnLoadRequestQueue extends AbstractFullDataNetworkRequestQueue //=============// public SyncOnLoadRequestQueue(DhClientLevel level, ClientNetworkState networkState) - { super(networkState, level, true, Config.Client.Advanced.Debugging.DebugWireframe.showSyncOnLoadQueue); } + { super(networkState, level, true, Config.Client.Advanced.Debugging.DebugWireframe.showNetworkSyncOnLoadQueue); } diff --git a/core/src/main/resources/assets/distanthorizons/lang/en_us.json b/core/src/main/resources/assets/distanthorizons/lang/en_us.json index e96bfa89b..0e6c87fd8 100644 --- a/core/src/main/resources/assets/distanthorizons/lang/en_us.json +++ b/core/src/main/resources/assets/distanthorizons/lang/en_us.json @@ -455,6 +455,8 @@ "If enabled, various wireframes for debugging internal functions will be drawn.", "distanthorizons.config.client.advanced.debugging.debugWireframe.showWorldGenQueue": "Show World Gen Queue", + "distanthorizons.config.client.advanced.debugging.debugWireframe.showNetworkSyncOnLoadQueue": + "Show Network Sync On Load Queue", "distanthorizons.config.client.advanced.debugging.debugWireframe.showRenderSectionStatus": "Show Render Section Status", "distanthorizons.config.client.advanced.debugging.debugWireframe.showRenderSectionToggling":