summaryrefslogtreecommitdiff
path: root/grapes.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-05-30 12:30:00 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-05-30 12:30:00 +0100
commitcbf7bee93af73f0c5fc3098a81149fb3b884b91b (patch)
tree28bd29fe3933cf94a5d41a5a1488ddc3887d9ed4 /grapes.lua
parent3d59270aef645f2d98384609d806f591cb6086fa (diff)
Added intllib support (thanks Xanthin)
Diffstat (limited to 'grapes.lua')
-rw-r--r--grapes.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/grapes.lua b/grapes.lua
index 9c93016..7a3bfc5 100644
--- a/grapes.lua
+++ b/grapes.lua
@@ -1,7 +1,9 @@
+local S = farming.intllib
+
-- grapes
minetest.register_craftitem("farming:grapes", {
- description = "Grapes",
+ description = S("Grapes"),
inventory_image = "farming_grapes.png",
on_use = minetest.item_eat(2),
@@ -51,7 +53,7 @@ minetest.register_craft({
-- trellis
minetest.register_node("farming:trellis", {
- description = "Trellis (place on soil before planting grapes)",
+ description = S("Trellis (place on soil before planting grapes)"),
drawtype = "plantlike",
tiles = {"farming_trellis.png"},
inventory_image = "farming_trellis.png",