mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-05-04 02:10:17 +02:00
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")
|
||||
|
||||
-- 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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user