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 /ontime_clocks/init.lua | |
parent | e29f085c32caa485ce407b574641bd5f0a492820 (diff) | |
parent | 2fef15d878f00c72a799aebc5b8a6bd61489296e (diff) |
Merge pull request #6 from fat115/master
add intllib support (i18n)
Diffstat (limited to 'ontime_clocks/init.lua')
-rw-r--r-- | ontime_clocks/init.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ontime_clocks/init.lua b/ontime_clocks/init.lua index abcaebf..d6d2da4 100644 --- a/ontime_clocks/init.lua +++ b/ontime_clocks/init.lua @@ -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") - - - - |