diff options
author | pyrollo <dev@pyrollo.com> | 2017-08-26 10:22:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-26 10:22:54 +0200 |
commit | d59c475162da02695a85ebd92a44e53129aa8be3 (patch) | |
tree | b72e4a139bd574119c2d67f93354178557642237 /signs_road/init.lua | |
parent | e29f085c32caa485ce407b574641bd5f0a492820 (diff) | |
parent | 2fef15d878f00c72a799aebc5b8a6bd61489296e (diff) |
Merge pull request #6 from fat115/master
add intllib support (i18n)
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") - - - - - |