Update outdated intllib boilerplate code
This commit is contained in:
parent
417ed74be1
commit
8bf8ae5199
8
init.lua
8
init.lua
@ -1,9 +1,9 @@
|
||||
-- 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
|
||||
|
||||
teletool = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user