use current intllib API

This commit is contained in:
Vanessa Ezekowitz
2014-12-27 01:06:09 -05:00
parent bc6acccd47
commit e7f2beda39
4 changed files with 7 additions and 20 deletions

View File

@ -1,11 +1,4 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if (minetest.get_modpath("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
else
S = function ( s ) return s end
end
local S = moretrees.intllib
moretrees.avoidnodes = {}