fix translation when doc is enabled

This commit is contained in:
FaceDeer 2020-07-02 13:54:07 -06:00
parent 0ae84aca6b
commit 3ca6a56dac

View File

@ -2,9 +2,7 @@ if not minetest.get_modpath("doc") then
return
end
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = minetest.get_translator(minetest.get_current_modname())
doc.add_category("commoditymarket",
{