diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-30 12:30:00 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-30 12:30:00 +0100 |
commit | cbf7bee93af73f0c5fc3098a81149fb3b884b91b (patch) | |
tree | 28bd29fe3933cf94a5d41a5a1488ddc3887d9ed4 /cucumber.lua | |
parent | 3d59270aef645f2d98384609d806f591cb6086fa (diff) |
Added intllib support (thanks Xanthin)
Diffstat (limited to 'cucumber.lua')
-rw-r--r-- | cucumber.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cucumber.lua b/cucumber.lua index 22e367b..8e29215 100644 --- a/cucumber.lua +++ b/cucumber.lua @@ -4,9 +4,11 @@ https://forum.minetest.net/viewtopic.php?id=3948 ]] +local S = farming.intllib + -- cucumber minetest.register_craftitem("farming:cucumber", { - description = "Cucumber", + description = S("Cucumber"), inventory_image = "farming_cucumber.png", on_place = function(itemstack, placer, pointed_thing) return farming.place_seed(itemstack, placer, pointed_thing, "farming:cucumber_1") |