mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-04 21:50:28 -04:00
declare the translator in every module instead of a global
This commit is contained in:
parent
4d4fd90eee
commit
af03f9439b
12 changed files with 30 additions and 5 deletions
3
init.lua
3
init.lua
|
@ -31,9 +31,6 @@ if minetest.get_modpath("default") then
|
|||
mail.theme = default.gui_bg .. default.gui_bg_img
|
||||
end
|
||||
|
||||
-- translation
|
||||
S = minetest.get_translator("mail")
|
||||
|
||||
-- sub files
|
||||
local MP = minetest.get_modpath(minetest.get_current_modname())
|
||||
dofile(MP .. "/util/normalize.lua")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue