diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-12-27 01:02:35 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-12-27 01:02:35 -0500 |
commit | 127caef5b3385af4136a22b22940876a9e2b1c14 (patch) | |
tree | 91199d3f6847650e626ba59cc92f81e906799aab | |
parent | ef9c129aa2b864170b9887723fe8c916adf5eca6 (diff) | |
download | unifieddyes-127caef5b3385af4136a22b22940876a9e2b1c14.tar unifieddyes-127caef5b3385af4136a22b22940876a9e2b1c14.tar.gz unifieddyes-127caef5b3385af4136a22b22940876a9e2b1c14.tar.bz2 unifieddyes-127caef5b3385af4136a22b22940876a9e2b1c14.tar.xz unifieddyes-127caef5b3385af4136a22b22940876a9e2b1c14.zip |
use current intllib API
-rw-r--r-- | depends.txt | 2 | ||||
-rw-r--r-- | init.lua | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/depends.txt b/depends.txt index 2717bef..b08c42c 100644 --- a/depends.txt +++ b/depends.txt @@ -1,2 +1,4 @@ default dye +intllib? + @@ -31,14 +31,12 @@ with this program; if not, write to the Free Software Foundation, Inc., -- 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()) +if minetest.get_modpath("intllib") then + S = intllib.Getter() else - S = function ( s ) return s end + S = function(s) return s end end - -- Items/recipes needed to generate the few base colors that are not -- provided by the standard dyes mod. |