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.
|
||||
local S
|
||||
if (minetest.get_modpath("intllib")) then
|
||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
||||
S = intllib.Getter(minetest.get_current_modname())
|
||||
if intllib then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function ( s ) return s end
|
||||
S = function(s) return s end
|
||||
end
|
||||
|
||||
food = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user