1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-09-27 15:20:18 +02:00

update translation detection

This commit is contained in:
tenplus1 2020-08-25 09:19:59 +01:00
parent 954a9793e7
commit 92cafe1c64

View File

@ -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