forked from mtcontrib/farming
update translation detection
This commit is contained in:
parent
954a9793e7
commit
92cafe1c64
4
init.lua
4
init.lua
@ -27,7 +27,9 @@ end
|
|||||||
local statistics = dofile(farming.path .. "/statistics.lua")
|
local statistics = dofile(farming.path .. "/statistics.lua")
|
||||||
|
|
||||||
-- Intllib
|
-- Intllib
|
||||||
local S = dofile(farming.path .. "/intllib.lua")
|
local S = minetest.get_translator and minetest.get_translator("farming") or
|
||||||
|
dofile(farming.path .. "/intllib.lua")
|
||||||
|
|
||||||
farming.intllib = S
|
farming.intllib = S
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user