mirror of
https://github.com/minetest-mods/maptools.git
synced 2025-06-30 06:10:22 +02:00
Update translation system to MT 5.0.0+ (#16)
This commit is contained in:
3
init.lua
3
init.lua
@ -12,9 +12,8 @@ maptools = {}
|
||||
|
||||
local modpath = minetest.get_modpath("maptools")
|
||||
|
||||
local S, NS = dofile(modpath .. "/intllib.lua")
|
||||
local S = minetest.get_translator("maptools")
|
||||
maptools.S = S
|
||||
maptools.NS = NS
|
||||
|
||||
maptools.drop_msg = function(itemstack, player)
|
||||
local name = player:get_player_name()
|
||||
|
Reference in New Issue
Block a user