aboutsummaryrefslogtreecommitdiff
path: root/src
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
parenta33aec25a7869cf600c34822c351da1bc13636dd (diff)
downloadYetAnotherConfigLib-110b0bdf9d6720e09c1dc97c0b6192e933200a94.tar.gz
YetAnotherConfigLib-110b0bdf9d6720e09c1dc97c0b6192e933200a94.tar.bz2
YetAnotherConfigLib-110b0bdf9d6720e09c1dc97c0b6192e933200a94.zip
Vanilla search string (#26)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/dev/isxander/yacl/gui/YACLScreen.java2
-rw-r--r--src/main/resources/assets/yet-another-config-lib/lang/el_gr.json1
-rw-r--r--src/main/resources/assets/yet-another-config-lib/lang/en_us.json1
-rw-r--r--src/main/resources/assets/yet-another-config-lib/lang/ru_ru.json1
-rw-r--r--src/main/resources/assets/yet-another-config-lib/lang/zh_cn.json1
5 files changed, 1 insertions, 5 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);
diff --git a/src/main/resources/assets/yet-another-config-lib/lang/el_gr.json b/src/main/resources/assets/yet-another-config-lib/lang/el_gr.json
index 73ec64f..b7bc2d2 100644
--- a/src/main/resources/assets/yet-another-config-lib/lang/el_gr.json
+++ b/src/main/resources/assets/yet-another-config-lib/lang/el_gr.json
@@ -15,7 +15,6 @@
"yacl.gui.fail_apply.tooltip": "Δημιουργήθηκε ένα σφάλμα και οι αλλαγές δεν μπόρεσαν να εφαρμοστούν.",
"yacl.gui.save_before_exit": "Αποθήκευση πριν το κλείσιμο!",
"yacl.gui.save_before_exit.tooltip": "Αποθήκευσε ή ακύρωσε για να βγεις απ' το μενού."
- "yacl.gui.search": "Αναζήτηση",
"yacl.restart.title": "Η ρύθμιση απαιτεί επανεκκήνιση!",
"yacl.restart.message": "Μία ή παραπάνω επιλογές προϋποθέτουν επανεκκήνηση το παιχνιδιού για να εφαρμοστούν.",
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 fd02225..63bf7e6 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
@@ -15,7 +15,6 @@
"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.",
- "yacl.gui.search": "Search",
"yacl.restart.title": "Config requires restart!",
"yacl.restart.message": "One or more options needs you to restart the game to apply the changes.",
diff --git a/src/main/resources/assets/yet-another-config-lib/lang/ru_ru.json b/src/main/resources/assets/yet-another-config-lib/lang/ru_ru.json
index 6829492..8108634 100644
--- a/src/main/resources/assets/yet-another-config-lib/lang/ru_ru.json
+++ b/src/main/resources/assets/yet-another-config-lib/lang/ru_ru.json
@@ -13,7 +13,6 @@
"yacl.gui.fail_apply.tooltip": "Возникла ошибка; изменения невозможно применить.",
"yacl.gui.save_before_exit": "Сохраните перед закрытием",
"yacl.gui.save_before_exit.tooltip": "Сохраните или отмените изменения, чтобы закрыть настройки.",
- "yacl.gui.search": "Поиск...",
"yacl.restart.title": "Настройки требуют перезагрузки.",
"yacl.restart.message": "Одна или несколько настроек требует перезапуска игры для применения изменений.",
"yacl.restart.yes": "Закрыть Minecraft",
diff --git a/src/main/resources/assets/yet-another-config-lib/lang/zh_cn.json b/src/main/resources/assets/yet-another-config-lib/lang/zh_cn.json
index e16d244..52874ee 100644
--- a/src/main/resources/assets/yet-another-config-lib/lang/zh_cn.json
+++ b/src/main/resources/assets/yet-another-config-lib/lang/zh_cn.json
@@ -15,7 +15,6 @@
"yacl.gui.fail_apply.tooltip": "有一个错误以至于更改不能被应用.",
"yacl.gui.save_before_exit": "退出前保存!",
"yacl.gui.save_before_exit.tooltip": "保存或取消以退出GUI.",
- "yacl.gui.search": "搜索",
"yacl.restart.title": "配置需要重启!",
"yacl.restart.message": "一个或多个选项需要你重新启动游戏才能应用更改.",