diff options
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java | 4 | ||||
| -rw-r--r-- | src/main/resources/assets/nochatreports/lang/en_us.json | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java b/src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java index 832fd51..884bf12 100644 --- a/src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java +++ b/src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java @@ -117,6 +117,10 @@ public class ModMenuIntegration implements ModMenuApi { .setSaveConsumer(newValue -> NoReportsConfig.getInstance().whitelistAllServers = newValue) .build()); + // Instructions for adding servers + whitelistedServers.addEntry(entryBuilder.startTextDescription(Component.translatable("option.NoChatReports.whitelistedServers.instructions")) + .build()); + // Add or remove whitelisted servers whitelistedServers.addEntry(entryBuilder.startStrList(Component.translatable("option.NoChatReports.whitelistedServers"), NoReportsConfig.getInstance().whitelistedServers) .setExpanded(true) diff --git a/src/main/resources/assets/nochatreports/lang/en_us.json b/src/main/resources/assets/nochatreports/lang/en_us.json index 621e66c..a7893ed 100644 --- a/src/main/resources/assets/nochatreports/lang/en_us.json +++ b/src/main/resources/assets/nochatreports/lang/en_us.json @@ -43,5 +43,6 @@ "option.NoChatReports.whitelistedServers":"Whitelisted servers", "option.NoChatReports.whitelistedServers.tooltip":"Current list of whitelisted unsafe servers.\nUsed on client to remember which servers user disabled unsafety warnings for.", "option.NoChatReports.whitelistedServers.addButtonTooltip":"Add server", - "option.NoChatReports.whitelistedServers.removeButtonTooltip":"Remove server" + "option.NoChatReports.whitelistedServers.removeButtonTooltip":"Remove server", + "option.NoChatReports.whitelistedServers.instructions":"When adding a server click below Whitelisted servers to type in the field." }
\ No newline at end of file |
