diff options
author | fat115 <fat115@framasoft.org> | 2017-08-05 10:12:43 +0200 |
---|---|---|
committer | fat115 <fat115@framasoft.org> | 2017-08-05 10:12:43 +0200 |
commit | 2fef15d878f00c72a799aebc5b8a6bd61489296e (patch) | |
tree | 5d5ec63f18bb317fa7c56dcb00c8ffa7f3a62b10 /ontime_clocks/init.lua | |
parent | 54108e8054ee21e1a3b229f4a4e9e521f5700aa6 (diff) |
add intllib support (i18n)
-> mods ontime_clocks, signs, signs_roads & steles
add french translations
add updatepo.sh script to update po/pot files
add specific array for full description of steles
Diffstat (limited to 'ontime_clocks/init.lua')
-rw-r--r-- | ontime_clocks/init.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ontime_clocks/init.lua b/ontime_clocks/init.lua index abcaebf..d6d2da4 100644 --- a/ontime_clocks/init.lua +++ b/ontime_clocks/init.lua @@ -21,10 +21,11 @@ ontime_clocks = {} ontime_clocks.path = minetest.get_modpath("ontime_clocks") +-- Load support for intllib. +local MP = minetest.get_modpath(minetest.get_current_modname()) +local S, NS = dofile(MP.."/intllib.lua") +ontime_clocks.intllib = S + dofile(ontime_clocks.path.."/common.lua") dofile(ontime_clocks.path.."/nodes.lua") dofile(ontime_clocks.path.."/crafts.lua") - - - - |