update translation detection
parent
6b3efdba65
commit
33937dd0cc
4
init.lua
4
init.lua
|
@ -5,7 +5,9 @@
|
||||||
|
|
||||||
-- Intllib support
|
-- Intllib support
|
||||||
local S
|
local S
|
||||||
if minetest.global_exists("intllib") then
|
if minetest.get_translator then
|
||||||
|
S = minetest.get_translator("bees")
|
||||||
|
elseif minetest.global_exists("intllib") then
|
||||||
S = intllib.Getter()
|
S = intllib.Getter()
|
||||||
else
|
else
|
||||||
S = function(s) return s end
|
S = function(s) return s end
|
||||||
|
|
Loading…
Reference in New Issue