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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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),