diff options
| -rw-r--r-- | src/main/java/com/aizistral/nochatreports/gui/EncryptionWarningScreen.java | 2 | ||||
| -rw-r--r-- | src/main/resources/assets/nochatreports/lang/en_us.json | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/aizistral/nochatreports/gui/EncryptionWarningScreen.java b/src/main/java/com/aizistral/nochatreports/gui/EncryptionWarningScreen.java index 961d277..eb6e313 100644 --- a/src/main/java/com/aizistral/nochatreports/gui/EncryptionWarningScreen.java +++ b/src/main/java/com/aizistral/nochatreports/gui/EncryptionWarningScreen.java @@ -47,7 +47,7 @@ public class EncryptionWarningScreen extends WarningScreen { sessionSeen = true; })); - this.addRenderableWidget(new Button(this.width / 2 - 100 + offset, 100 + i, 150, 20, Component.literal("Learn More"), button -> { + this.addRenderableWidget(new Button(this.width / 2 - 100 + offset, 100 + i, 150, 20, Component.translatable("gui.nochatreports.encryption_warning.learn_more"), button -> { Minecraft.getInstance().setScreen(new ConfirmLinkScreen(agree -> { if (agree) { Util.getPlatform().openUri(WIKI_LINK); diff --git a/src/main/resources/assets/nochatreports/lang/en_us.json b/src/main/resources/assets/nochatreports/lang/en_us.json index 7e81612..d4835dc 100644 --- a/src/main/resources/assets/nochatreports/lang/en_us.json +++ b/src/main/resources/assets/nochatreports/lang/en_us.json @@ -23,8 +23,9 @@ "gui.nochatreports.encryption_state_on": "§a§lEnabled§r", "gui.nochatreports.encryption_state_off": "§c§lDisabled§r", "gui.nochatreports.encryption_warning.header": "About Encryption", - "gui.nochatreports.encryption_warning.contents": "You can encrypt your messages using a secret key. Only people who know this key will be able to decrypt them. No Chat Reports will automatically decrypt all encrypted messages when suitable key is provided and feature is enabled.\nHowever, be aware that encryption is not a \"magic wand\" kind of solution. Moderators on third-party servers can mute or ban you for sending what will appear to them as garbled mess in chat. Futhermore, it is recommended that you generate custom encryption key, and communicate it to other people only via secure channels.", + "gui.nochatreports.encryption_warning.contents": "You can encrypt your messages using a secret key. Only people who know this key will be able to decrypt them. No Chat Reports will automatically decrypt all encrypted messages when suitable key is provided and feature is enabled.\nHowever, be aware that encryption is not a \"magic wand\" kind of solution. Moderators on third-party servers can mute or ban you for sending what will appear to them as garbled mess in chat. Futhermore, it is recommended that you generate custom encryption key, and communicate it to other people only via secure channels. Click \"Learn More\" to learn more about how and when you should use encryption.", "gui.nochatreports.encryption_warning.check": "Don't show again", + "gui.nochatreports.encryption_warning.learn_more": "Learn More", "gui.nochatreports.encryption_config.header": "Encryption Settings", "gui.nochatreports.encryption_config.key_desc": "§lEncryption Key§r\nKey that will be used to encrypt and decrypt your messages. It's format depends on algorithm; for AES it will be 128 bits of Base64-encoded binary data.", "gui.nochatreports.encryption_config.passphrase_desc": "§lEncryption Passphrase§r\nInstead of generating random key, you can derive one from passphrase of your choice. If you use this - choose a strong one. Not all algorithms support passphrases.", |
