Merge pull request #357 from Xertis/main

Correction settings.controls
This commit is contained in:
MihailRis 2024-11-07 23:31:52 +03:00 committed by GitHub
commit f84fe71021
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 7 deletions

View File

@ -6,6 +6,7 @@
</trackbar>
<panel id='search_panel' size='380,60' padding='2' interval='1' color='#0000004C'>
<textbox id='search_textbox' multiline='false' size='300,20' sub-consumer='function(x) refresh_search() end'></textbox>
<checkbox size='100,24' id='search_key_checkbox' consumer='function(x) refresh_search() end'>@settings.Controls Search Mode</checkbox>
</panel>
<panel id='bindings_panel' size='380,204' padding='2' interval='1' max-length='300' color='#0000004C'>
<!-- content is generated in script -->

View File

@ -44,11 +44,6 @@ function on_open()
document.sensitivity_track.value = core.get_setting("camera.sensitivity")
refresh_sensitivity()
document.search_panel:add(string.format(
"<checkbox size='100,24' id='search_key_checkbox' consumer='function(x) refresh_search() end' tooltip='%s'>%s</checkbox>",
gui.str("controls.key.tooltip", "settings"), gui.str("Key", "settings")
))
local panel = document.bindings_panel
local bindings = input.get_bindings()
table.sort(bindings, function(a, b) return a > b end)

View File

@ -14,7 +14,9 @@ world.generators.flat=Flat
# Tooltips
graphics.gamma.tooltip=Lighting brightness curve
graphics.backlight.tooltip=Backlight to prevent total darkness
controls.key.tooltip=Search by attached button name
# settings
settings.Controls Search Mode=Search by attached button name
# Bindings
chunks.reload=Reload Chunks

View File

@ -20,7 +20,6 @@ pack.remove-confirm=Удалить весь поставляемый паком/
# Подсказки
graphics.gamma.tooltip=Кривая яркости освещения
graphics.backlight.tooltip=Подсветка, предотвращающая полную темноту
controls.key.tooltip=Поиск по привязвнной кнопки управления
# Меню
menu.Apply=Применить
@ -76,6 +75,7 @@ settings.Regular Sounds=Обычные Звуки
settings.UI Sounds=Звуки Интерфейса
settings.V-Sync=Вертикальная Синхронизация
settings.Key=Кнопка
settings.Controls Search Mode=Поиск по привязанной кнопки управления
settings.Limit Background FPS=Ограничить фоновую частоту кадров
# Управление