From c57582e77570a383b6d094cbd26bc350f3233dd7 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sat, 4 Feb 2017 23:08:38 -0700 Subject: Internationalization support What a lot of strings. --- recipes.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'recipes.lua') 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, -- cgit v1.2.3