summaryrefslogtreecommitdiff
path: root/beanpole.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 /beanpole.lua
parent3d59270aef645f2d98384609d806f591cb6086fa (diff)
Added intllib support (thanks Xanthin)
Diffstat (limited to 'beanpole.lua')
-rw-r--r--beanpole.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/beanpole.lua b/beanpole.lua
index cda736f..cef2767 100644
--- a/beanpole.lua
+++ b/beanpole.lua
@@ -4,9 +4,11 @@
CC-BY-SA-3.0
]]
+local S = farming.intllib
+
-- beans
minetest.register_craftitem("farming:beans", {
- description = "Green Beans",
+ description = S("Green Beans"),
inventory_image = "farming_beans.png",
on_use = minetest.item_eat(1),
@@ -56,7 +58,7 @@ minetest.register_craft({
-- beanpole
minetest.register_node("farming:beanpole", {
- description = "Bean Pole (place on soil before planting beans)",
+ description = S("Bean Pole (place on soil before planting beans)"),
drawtype = "plantlike",
tiles = {"farming_beanpole.png"},
inventory_image = "farming_beanpole.png",