use current intllib API

这个提交包含在:
Vanessa Ezekowitz
2014-12-27 01:13:05 -05:00
父节点 6905c363eb
当前提交 bb8b3eea20
共有 6 个文件被更改,包括 16 次插入13 次删除

查看文件

@ -1 +1,3 @@
default
intllib?

查看文件

@ -5,12 +5,11 @@
-- This file defines some items in order to not have to depend on other mods.
-- 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());
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function ( s ) return s; end
S = function(s) return s end
end
if (not minetest.get_modpath("homedecor")) then