summaryrefslogtreecommitdiff
path: root/recipes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'recipes.lua')
-rw-r--r--recipes.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes.lua b/recipes.lua
index 5df3119..9895971 100644
--- a/recipes.lua
+++ b/recipes.lua
@@ -1,5 +1,9 @@
+-- internationalization boilerplate
+local MP = minetest.get_modpath(minetest.get_current_modname())
+local S, NS = dofile(MP.."/intllib.lua")
+
minetest.register_craftitem("digtron:digtron_core", {
- description = "Digtron Core",
+ description = S("Digtron Core"),
inventory_image = "digtron_core.png",
_doc_items_longdesc = digtron.doc.core_longdesc,
_doc_items_usagehelp = digtron.doc.core_usagehelp,