diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-12-27 01:06:09 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-12-27 01:06:09 -0500 |
commit | e7f2beda39dca493c584488ad6e037ba53b69fdb (patch) | |
tree | 1feaf01782a24956244e795c20a23ffadec708d3 /crafts.lua | |
parent | bc6acccd47d12950f58e34c5c63aa3d85ba97bd9 (diff) |
use current intllib API
Diffstat (limited to 'crafts.lua')
-rw-r--r-- | crafts.lua | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,11 +1,4 @@ --- Boilerplate to support localized strings if intllib mod is installed. -local S -if (minetest.get_modpath("intllib")) then - dofile(minetest.get_modpath("intllib").."/intllib.lua") - S = intllib.Getter(minetest.get_current_modname()) -else - S = function ( s ) return s end -end +local S = moretrees.intllib for i in ipairs(moretrees.treelist) do local treename = moretrees.treelist[i][1] |