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/cans.lua | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/technic/tools/cans.lua b/technic/tools/cans.lua index e95b144..44846e4 100644 --- a/technic/tools/cans.lua +++ b/technic/tools/cans.lua @@ -1,6 +1,8 @@ local water_can_max_load = 16 local lava_can_max_load = 8 +local S = technic.getter + minetest.register_craft({ output = 'technic:water_can 1', recipe = { @@ -21,7 +23,7 @@ minetest.register_tool("technic:water_can", { - description = "Water Can", + description = S("Water Can"), inventory_image = "technic_water_can.png", stack_max = 1, liquids_pointable = true, @@ -70,7 +72,7 @@ }) minetest.register_tool("technic:lava_can", { - description = "Lava Can", + description = S("Lava Can"), inventory_image = "technic_lava_can.png", stack_max = 1, liquids_pointable = true, @@ -117,3 +119,4 @@ end end, }) + -- Gitblit v1.8.0