diff options
author | xander <xander@isxander.dev> | 2022-09-03 13:48:03 +0100 |
---|---|---|
committer | xander <xander@isxander.dev> | 2022-09-03 13:48:03 +0100 |
commit | 4cc50efb9c3f127d4f41f4bf745460f6cb2b326a (patch) | |
tree | 021b99e9b498351db8a42cd8ce4235e5f9c153af /src/main/java/dev/isxander/yacl/gui | |
parent | bc17b495e7c39eadcc04de3cf05d80bd9efe953a (diff) | |
download | YetAnotherConfigLib-4cc50efb9c3f127d4f41f4bf745460f6cb2b326a.tar.gz YetAnotherConfigLib-4cc50efb9c3f127d4f41f4bf745460f6cb2b326a.tar.bz2 YetAnotherConfigLib-4cc50efb9c3f127d4f41f4bf745460f6cb2b326a.zip |
use vanilla translations for ON OFF
Diffstat (limited to 'src/main/java/dev/isxander/yacl/gui')
-rw-r--r-- | src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java b/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java index 49bc307..fc3120e 100644 --- a/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java +++ b/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java @@ -20,8 +20,8 @@ public class BooleanController implements Controller<Boolean> { public static final Function<Boolean, Text> ON_OFF_FORMATTER = (state) -> state - ? Text.translatable("yacl.control.boolean.on") - : Text.translatable("yacl.control.boolean.off"); + ? Text.translatable("options.on") + : Text.translatable("options.off"); public static final Function<Boolean, Text> TRUE_FALSE_FORMATTER = (state) -> state |