aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/isxander/yacl
diff options
context:
space:
mode:
authorMadis Otenurm <Madis0@users.noreply.github.com>2022-09-19 23:58:53 +0300
committerGitHub <noreply@github.com>2022-09-19 21:58:53 +0100
commit110b0bdf9d6720e09c1dc97c0b6192e933200a94 (patch)
treef058e5cf1f2663c1674f99e0dec63936ed457409 /src/main/java/dev/isxander/yacl
parenta33aec25a7869cf600c34822c351da1bc13636dd (diff)
downloadYetAnotherConfigLib-110b0bdf9d6720e09c1dc97c0b6192e933200a94.tar.gz
YetAnotherConfigLib-110b0bdf9d6720e09c1dc97c0b6192e933200a94.tar.bz2
YetAnotherConfigLib-110b0bdf9d6720e09c1dc97c0b6192e933200a94.zip
Vanilla search string (#26)
Diffstat (limited to 'src/main/java/dev/isxander/yacl')
-rw-r--r--src/main/java/dev/isxander/yacl/gui/YACLScreen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/dev/isxander/yacl/gui/YACLScreen.java b/src/main/java/dev/isxander/yacl/gui/YACLScreen.java
index 6b5a2e4..6323e1c 100644
--- a/src/main/java/dev/isxander/yacl/gui/YACLScreen.java
+++ b/src/main/java/dev/isxander/yacl/gui/YACLScreen.java
@@ -83,7 +83,7 @@ public class YACLScreen extends Screen {
OptionUtils.forEachOptions(config, Option::forgetPendingValue);
});
- searchFieldWidget = new SearchFieldWidget(this, textRenderer, width / 3 / 2 - paddedWidth / 2 + 1, undoButton.y - 22, paddedWidth - 2, 18, Text.translatable("yacl.gui.search"), Text.translatable("yacl.gui.search"));
+ searchFieldWidget = new SearchFieldWidget(this, textRenderer, width / 3 / 2 - paddedWidth / 2 + 1, undoButton.y - 22, paddedWidth - 2, 18, Text.translatable("gui.recipebook.search_hint"), Text.translatable("gui.recipebook.search_hint"));
categoryList = new CategoryListWidget(client, this, width, height);
addSelectableChild(categoryList);