fix translation when doc is enabled
This commit is contained in:
parent
0ae84aca6b
commit
3ca6a56dac
4
doc.lua
4
doc.lua
@ -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",
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user