Fix translation junk in server logs from update message

This commit is contained in:
Aaron Suen 2023-04-23 15:37:02 -04:00
parent 6d3794efac
commit 342488e33a

View File

@ -37,7 +37,7 @@ local function announce(depth)
end
local text = vercomp(modstore)
if not text then return end
nodecore.log("warning", text)
nodecore.log("warning", minetest.get_translated_string(minetest.settings:get("language") or "", text))
return minetest.chat_send_all(text)
end
announce(5)