mirror of
https://notabug.org/TenPlus1/lucky_block.git
synced 2024-10-04 03:13:04 +02:00
update translation detection
This commit is contained in:
parent
396c585e17
commit
46d692c211
3
init.lua
3
init.lua
@ -5,7 +5,8 @@ lucky_schems = {}
|
||||
|
||||
-- Load support for intllib.
|
||||
local MP = minetest.get_modpath(minetest.get_current_modname())
|
||||
local S, NS = dofile(MP .. "/intllib.lua")
|
||||
local S = minetest.get_translator and minetest.get_translator("lucky_block") or
|
||||
dofile(MP .. "/intllib.lua")
|
||||
|
||||
|
||||
-- default blocks
|
||||
|
Loading…
Reference in New Issue
Block a user