From cbf7bee93af73f0c5fc3098a81149fb3b884b91b Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 30 May 2016 12:30:00 +0100 Subject: Added intllib support (thanks Xanthin) --- cucumber.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cucumber.lua') 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") -- cgit v1.2.3