use current intllib APIO

master
Vanessa Ezekowitz 2014-12-27 00:58:32 -05:00
parent f8f833b29f
commit 12c4987cee
2 changed files with 4 additions and 4 deletions

View File

@ -4,3 +4,4 @@ glooptest?
gloopores?
building_blocks?
stairs?
intllib?

View File

@ -9,11 +9,10 @@ Maintained by VanessaE.
-- 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())
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function ( s ) return s end
S = function(s) return s end
end
-- Nodes