switch over to native translation system

This commit is contained in:
FaceDeer
2020-02-17 22:36:53 -07:00
parent a9559bcbcf
commit d59bc8d489
113 changed files with 984 additions and 4066 deletions

View File

@ -1,7 +1,8 @@
df_mapitems = {}
--grab a shorthand for the filepath of the mod
local modpath = minetest.get_modpath(minetest.get_current_modname())
local modname = minetest.get_current_modname()
df_mapitems.S = minetest.get_translator(modname)
local modpath = minetest.get_modpath(modname)
--load companion lua files
dofile(modpath.."/config.lua")