aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorxander <xander@isxander.dev>2022-09-03 14:34:54 +0100
committerxander <xander@isxander.dev>2022-09-03 14:34:54 +0100
commit008b7fbcb801ee7ec5c899d90ab0477484309229 (patch)
tree3a45d9ad1f64d187bb81e03e5781f6371b208682 /src/main/java
parent3027527637373d7df682bf56368cf176ffcc19a8 (diff)
downloadYetAnotherConfigLib-008b7fbcb801ee7ec5c899d90ab0477484309229.tar.gz
YetAnotherConfigLib-008b7fbcb801ee7ec5c899d90ab0477484309229.tar.bz2
YetAnotherConfigLib-008b7fbcb801ee7ec5c899d90ab0477484309229.zip
fix translation keys being yocl not yacl
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/dev/isxander/yacl/gui/YACLScreen.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/dev/isxander/yacl/gui/YACLScreen.java b/src/main/java/dev/isxander/yacl/gui/YACLScreen.java
index e49d544..f464bfc 100644
--- a/src/main/java/dev/isxander/yacl/gui/YACLScreen.java
+++ b/src/main/java/dev/isxander/yacl/gui/YACLScreen.java
@@ -74,7 +74,7 @@ public class YACLScreen extends Screen {
OptionUtils.forEachOptions(config, option -> {
if (option.changed()) {
YACLConstants.LOGGER.error("Option '{}' was saved as '{}' but the changes don't seem to have applied.", option.name().getString(), option.pendingValue());
- setSaveButtonMessage(Text.translatable("yocl.gui.fail_apply").formatted(Formatting.RED), Text.translatable("yocl.gui.fail_apply.tooltip"));
+ setSaveButtonMessage(Text.translatable("yacl.gui.fail_apply").formatted(Formatting.RED), Text.translatable("yacl.gui.fail_apply.tooltip"));
}
});
config.saveFunction().run();
@@ -187,7 +187,7 @@ public class YACLScreen extends Screen {
@Override
public boolean shouldCloseOnEsc() {
if (pendingChanges()) {
- setSaveButtonMessage(Text.translatable("yocl.gui.save_before_exit").formatted(Formatting.RED), Text.translatable("yocl.gui.save_before_exit.tooltip"));
+ setSaveButtonMessage(Text.translatable("yacl.gui.save_before_exit").formatted(Formatting.RED), Text.translatable("yacl.gui.save_before_exit.tooltip"));
return false;
}
return true;