update translation detection
This commit is contained in:
parent
863bf0d0f8
commit
7bde751f93
6
init.lua
6
init.lua
@ -26,9 +26,11 @@ local is_uninv = minetest.global_exists("unified_inventory") or false
|
||||
local thirsty_mod = minetest.get_modpath("thirsty")
|
||||
|
||||
|
||||
-- Intllib
|
||||
-- Intllib support
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
if minetest.get_translator then
|
||||
S = minetest.get_translator("wine")
|
||||
elseif minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function(s, a, ...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user