diff options
-rw-r--r-- | src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java | 4 | ||||
-rw-r--r-- | src/main/resources/assets/yet-another-config-lib/lang/en_us.json | 2 |
2 files changed, 2 insertions, 4 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 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 be33ef6..fa3cc91 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 @@ -1,6 +1,4 @@ { - "yacl.control.boolean.on": "ON", - "yacl.control.boolean.off": "OFF", "yacl.control.boolean.true": "True", "yacl.control.boolean.false": "False", "yacl.control.boolean.yes": "Yes", |