From 2fef15d878f00c72a799aebc5b8a6bd61489296e Mon Sep 17 00:00:00 2001 From: fat115 Date: Sat, 5 Aug 2017 10:12:43 +0200 Subject: 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 --- signs/init.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'signs/init.lua') 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") - - - - - -- cgit v1.2.3