1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Fix fgettext() usage in dlg_config_world.lua

This commit is contained in:
ZavGaro 2024-08-23 09:50:59 +03:00
parent 9b79e00d12
commit 66316d2098

View file

@ -183,7 +183,7 @@ local function get_formspec(data)
error.reason ~= "unsatisfied_depends"
then
error_message = error_message ..
fgettext(minetest.colorize(mt_color_red, "Errors:") .. "\n")
minetest.colorize(mt_color_red, fgettext("Errors:")) .. "\n"
if error.reason == "invalid" then
error_message = error_message .. fgettext(
"Mod is incomplete because it has no \"init.lua\" file. " ..