1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Fix fgettext call in dlg_settings.lua

(#15614)
This commit is contained in:
sfan5
2025-02-14 22:17:10 +01:00
committed by GitHub
parent 849a583f66
commit 54bf5d62f2

View File

@@ -517,7 +517,7 @@ local function get_formspec(dialogdata)
("button[0,%f;%f,0.8;back;%s]"):format(
tabsize.height + 0.2, back_w,
fgettext(INIT == "pause_menu" and "Exit" or "Back")),
INIT == "pause_menu" and fgettext("Exit") or fgettext("Back")),
("box[%f,%f;%f,0.8;#0000008C]"):format(
back_w + 0.2, tabsize.height + 0.2, checkbox_w),