From e10af1444b05577a9cf0f228b885ccc0af6deadd Mon Sep 17 00:00:00 2001 From: MODKILLER1001 Date: Tue, 16 Aug 2022 09:11:42 -0400 Subject: Add documentation sort of, it looks neater --- src/main/java/com/aizistral/nochatreports/core/ModMenuIntegration.java | 2 +- src/main/resources/assets/nochatreports/lang/en_us.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/com/aizistral/nochatreports/core/ModMenuIntegration.java b/src/main/java/com/aizistral/nochatreports/core/ModMenuIntegration.java index 50d2b47..b4beb9d 100644 --- a/src/main/java/com/aizistral/nochatreports/core/ModMenuIntegration.java +++ b/src/main/java/com/aizistral/nochatreports/core/ModMenuIntegration.java @@ -43,7 +43,7 @@ public class ModMenuIntegration implements ModMenuApi { .build()); // Add link for documentation for showServerSafety - visual.addEntry(entryBuilder.startTextDescription(Component.translatable("option.NoChatReports.showServerSafety.currentSafetyLevels") + visual.addEntry(entryBuilder.startTextDescription(Component.translatable("option.NoChatReports.showServerSafety.moreInfo") .withStyle(s -> s .withHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, Component.translatable("https://github.com/Aizistral-Studios/No-Chat-Reports/wiki/Configuration-Files/#option-showserversafety"))).withClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://github.com/Aizistral-Studios/No-Chat-Reports/wiki/Configuration-Files/#option-showserversafety")))) .build()); diff --git a/src/main/resources/assets/nochatreports/lang/en_us.json b/src/main/resources/assets/nochatreports/lang/en_us.json index cbd56d1..f0f4659 100644 --- a/src/main/resources/assets/nochatreports/lang/en_us.json +++ b/src/main/resources/assets/nochatreports/lang/en_us.json @@ -24,7 +24,7 @@ "option.NoChatReports.convertToGameMessage.tooltip": "Makes the server convert all player messages into system\nmessages. System messages don't have any signatures\nattached and cannot be reported; on unmodified clients\nthey will display with gray bar to the left.", "option.NoChatReports.showServerSafety":"Show server safety", "option.NoChatReports.showServerSafety.tooltip":"Allows the client to display server safety status in\nbottom-right corner of chat screen. The icon is\nhoverable for additional information:", - "option.NoChatReports.showServerSafety.currentSafetyLevels":"More information on server safety levels linked here", + "option.NoChatReports.showServerSafety.moreInfo":"More information on server safety levels linked here", "option.NoChatReports.hideRedChatIndicators":"Hide red chat indicators", "option.NoChatReports.hideRedChatIndicators.tooltip":"Prevents the client from displaying \"Not Secure\"\nindicators, in the form of red bar to the left\nand §c§l(§r§c!§c§l)§r icon to the right of chat message.", "option.NoChatReports.hideYellowChatIndicators":"Hide yellow chat indicators", -- cgit v1.2.3