summaryrefslogtreecommitdiff
path: root/technic_worldgen/init.lua
diff options
context:
space:
mode:
authorXanthin <Xanthin@users.noreply.github.com>2014-04-16 19:10:00 +0200
committerShadowNinja <shadowninja@minetest.net>2014-04-22 16:30:27 -0400
commit39c41a06f4993dc17507fb480fcabbca319ceff7 (patch)
tree63f2fad43fa39f2b1d7664a5f75cc8041e18e078 /technic_worldgen/init.lua
parentdb202503713ddd1084f188a5eac506be665e9c44 (diff)
Add german translations for all mods
Diffstat (limited to 'technic_worldgen/init.lua')
-rw-r--r--technic_worldgen/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/technic_worldgen/init.lua b/technic_worldgen/init.lua
index caf0f89..16334ff 100644
--- a/technic_worldgen/init.lua
+++ b/technic_worldgen/init.lua
@@ -1,5 +1,12 @@
local modpath = minetest.get_modpath("technic_worldgen")
+technic.worldgen = {}
+if intllib then
+ technic.worldgen.gettext = intllib.Getter()
+else
+ technic.worldgen.gettext = function(s) return s end
+end
+
dofile(modpath.."/nodes.lua")
dofile(modpath.."/oregen.lua")
dofile(modpath.."/crafts.lua")