forked from mtcontrib/plantlife_modpack
use current intllib API
This commit is contained in:
@ -1,12 +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 = plantslib.intllib
|
||||
|
||||
-- Basket
|
||||
|
||||
|
@ -2,14 +2,8 @@
|
||||
-- now maintained by VanessaE
|
||||
--
|
||||
-- License: WTFPL
|
||||
-- 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 = plantslib.intllib
|
||||
|
||||
bushes_classic = {}
|
||||
|
||||
|
@ -1,12 +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 = plantslib.intllib
|
||||
|
||||
plantlife_bushes = {}
|
||||
|
||||
|
Reference in New Issue
Block a user