diff options
Diffstat (limited to 'src/main/java')
| -rw-r--r-- | src/main/java/com/aizistral/nochatreports/gui/EncryptionConfigScreen.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/aizistral/nochatreports/gui/EncryptionConfigScreen.java b/src/main/java/com/aizistral/nochatreports/gui/EncryptionConfigScreen.java index 5eb8c20..919a145 100644 --- a/src/main/java/com/aizistral/nochatreports/gui/EncryptionConfigScreen.java +++ b/src/main/java/com/aizistral/nochatreports/gui/EncryptionConfigScreen.java @@ -146,7 +146,8 @@ public class EncryptionConfigScreen extends Screen { })); CycleButton<Encryption> cycle = CycleButton.<Encryption>builder(value -> { - return Component.translatable("gui.nochatreports.encryption_config.algorithm", value.getName()); + return Component.translatable("gui.nochatreports.encryption_config.algorithm", + Component.translatable("algorithm.nochatreports." + value.getID() + ".name")); }).withValues(Encryption.getRegistered()).displayOnlyValue().withInitialValue(this.getConfig() .getAlgorithm()).withTooltip(value -> this.minecraft.font.split( Component.translatable("algorithm.nochatreports." + value.getID()), 250)) |
