declare the translator in every module instead of a global

This commit is contained in:
BuckarooBanzay 2023-03-31 17:47:36 +02:00 committed by Athozus
parent 4d4fd90eee
commit af03f9439b
12 changed files with 30 additions and 5 deletions

View file

@ -1,3 +1,6 @@
-- translation
local S = minetest.get_translator("mail")
local FORMNAME = "mail:message"
function mail.show_message(name, id)