aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorxander <xander@isxander.dev>2022-09-03 13:48:03 +0100
committerxander <xander@isxander.dev>2022-09-03 13:48:03 +0100
commit4cc50efb9c3f127d4f41f4bf745460f6cb2b326a (patch)
tree021b99e9b498351db8a42cd8ce4235e5f9c153af /src/main/java
parentbc17b495e7c39eadcc04de3cf05d80bd9efe953a (diff)
downloadYetAnotherConfigLib-4cc50efb9c3f127d4f41f4bf745460f6cb2b326a.tar.gz
YetAnotherConfigLib-4cc50efb9c3f127d4f41f4bf745460f6cb2b326a.tar.bz2
YetAnotherConfigLib-4cc50efb9c3f127d4f41f4bf745460f6cb2b326a.zip
use vanilla translations for ON OFF
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java4
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