mirror of
https://repo.or.cz/minetest_pep.git
synced 2025-03-21 07:11:22 +00:00
Fix outdated intllib boilerplate
This commit is contained in:
parent
4df189c5d7
commit
14a20679e8
1 changed files with 1 additions and 2 deletions
3
init.lua
3
init.lua
|
@ -1,8 +1,7 @@
|
||||||
-- 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 minetest.get_modpath("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
|
||||||
|
|
Loading…
Add table
Reference in a new issue