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