1
0
mirror of https://github.com/pyrollo/display_modpack.git synced 2025-07-01 23:50:40 +02:00

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
This commit is contained in:
fat115
2017-08-05 10:12:43 +02:00
parent 54108e8054
commit 2fef15d878
30 changed files with 715 additions and 50 deletions

View File

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