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 /signs_road/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 'signs_road/init.lua')
-rw-r--r-- | signs_road/init.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/signs_road/init.lua b/signs_road/init.lua index e78d583..60c1b66 100644 --- a/signs_road/init.lua +++ b/signs_road/init.lua @@ -22,10 +22,10 @@ signs_road = {} signs_road.path = minetest.get_modpath("signs_road") +-- Load support for intllib. +local MP = minetest.get_modpath(minetest.get_current_modname()) +local S, NS = dofile(MP.."/intllib.lua") +signs_road.intllib = S + dofile(signs_road.path.."/nodes.lua") dofile(signs_road.path.."/crafts.lua") - - - - - |