diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-06-11 11:14:08 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-06-11 11:14:08 +0100 |
commit | 09a6592f69bffc77c2ad873893323d759496a48a (patch) | |
tree | dd7ae36d9f1c81ccaa1e1442b1ea67bbb14d7e56 /init.lua | |
parent | 23ffc0d0da463ec75de50a1e2b16da2075d4b2b7 (diff) |
Added intllib support (en/de)
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,6 +1,15 @@ local path = minetest.get_modpath("mobs_animal") +-- Intllib +local S +if minetest.get_modpath("intllib") then + S = intllib.Getter() +else + S = function(s) return s end +end +mobs.intllib = S + -- Animals dofile(path .. "/chicken.lua") -- JKmurray @@ -12,4 +21,4 @@ dofile(path .. "/bee.lua") -- KrupnoPavel dofile(path .. "/bunny.lua") -- ExeterDad dofile(path .. "/kitten.lua") -- Jordach/BFD -print ("[MOD] Mobs Redo 'Animals' loaded") +print (S("[MOD] Mobs Redo 'Animals' loaded")) |