mirror of
https://github.com/rubenwardy/food.git
synced 2024-09-27 13:50:18 +02:00
update intllib
This commit is contained in:
parent
47e7ce58a7
commit
3f48cf6a03
7
init.lua
7
init.lua
|
@ -9,11 +9,10 @@
|
||||||
|
|
||||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||||
local S
|
local S
|
||||||
if (minetest.get_modpath("intllib")) then
|
if intllib then
|
||||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
S = intllib.Getter()
|
||||||
S = intllib.Getter(minetest.get_current_modname())
|
|
||||||
else
|
else
|
||||||
S = function ( s ) return s end
|
S = function(s) return s end
|
||||||
end
|
end
|
||||||
|
|
||||||
food = {
|
food = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user