aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/dev/isxander/yacl/gui/YACLScreen.java4
-rw-r--r--src/main/resources/assets/yet-another-config-lib/lang/en_us.json8
2 files changed, 6 insertions, 6 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;
diff --git a/src/main/resources/assets/yet-another-config-lib/lang/en_us.json b/src/main/resources/assets/yet-another-config-lib/lang/en_us.json
index fd066db..6510d86 100644
--- a/src/main/resources/assets/yet-another-config-lib/lang/en_us.json
+++ b/src/main/resources/assets/yet-another-config-lib/lang/en_us.json
@@ -12,8 +12,8 @@
"yacl.gui.reset.tooltip": "Resets all options to default. (This is reversible!)",
"yacl.gui.undo": "Undo",
"yacl.gui.undo.tooltip": "Reverts all options back to what they were before editing.",
- "yocl.gui.fail_apply": "Failed to apply",
- "yocl.gui.fail_apply.tooltip": "There was an error and the changes couldn't be applied.",
- "yocl.gui.save_before_exit": "Save before exiting!",
- "yocl.gui.save_before_exit.tooltip": "Save or cancel to exit the GUI."
+ "yacl.gui.fail_apply": "Failed to apply",
+ "yacl.gui.fail_apply.tooltip": "There was an error and the changes couldn't be applied.",
+ "yacl.gui.save_before_exit": "Save before exiting!",
+ "yacl.gui.save_before_exit.tooltip": "Save or cancel to exit the GUI."
}