summaryrefslogtreecommitdiff
path: root/sugar.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 /sugar.lua
parent3d59270aef645f2d98384609d806f591cb6086fa (diff)
Added intllib support (thanks Xanthin)
Diffstat (limited to 'sugar.lua')
-rw-r--r--sugar.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/sugar.lua b/sugar.lua
index efc92ef..97efc67 100644
--- a/sugar.lua
+++ b/sugar.lua
@@ -1,8 +1,10 @@
+local S = farming.intllib
+
--= Sugar
minetest.register_craftitem("farming:sugar", {
- description = "Sugar",
+ description = S("Sugar"),
inventory_image = "farming_sugar.png",
})