From be2f30a1a2f5b6c2aae7fd4cf8231aec2da0844d Mon Sep 17 00:00:00 2001
From: ShadowNinja <noreply@gmail.com>
Date: Wed, 30 Oct 2013 18:48:39 +0100
Subject: [PATCH] Add support for translations via intllib

---
 technic/tools/tree_tap.lua |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/technic/tools/tree_tap.lua b/technic/tools/tree_tap.lua
index 3b038a2..183a95b 100644
--- a/technic/tools/tree_tap.lua
+++ b/technic/tools/tree_tap.lua
@@ -1,5 +1,8 @@
+
+local S = technic.getter
+
 minetest.register_tool("technic:treetap", {
-	description = "Tree Tap",
+	description = S("Tree Tap"),
 	inventory_image = "technic_tree_tap.png",
 	on_use = function(itemstack,user,pointed_thing)
 		if pointed_thing.type ~= "node" then
@@ -41,7 +44,7 @@
 })
      
 minetest.register_craftitem("technic:raw_latex", {
-	description = "Raw Latex",
+	description = S("Raw Latex"),
 	inventory_image = "technic_raw_latex.png",
 })
      
@@ -52,7 +55,7 @@
 })
 
 minetest.register_craftitem("technic:rubber", {
-	description = "Rubber Fiber",
+	description = S("Rubber Fiber"),
 	inventory_image = "technic_rubber.png",
 })
 

--
Gitblit v1.8.0