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) --- cotton.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cotton.lua') diff --git a/cotton.lua b/cotton.lua index 2ddf88e..b3e131b 100644 --- a/cotton.lua +++ b/cotton.lua @@ -1,7 +1,9 @@ +local S = farming.intllib + -- cotton seeds minetest.register_node("farming:seed_cotton", { - description = "Cotton Seed", + description = S("Cotton Seed"), tiles = {"farming_cotton_seed.png"}, inventory_image = "farming_cotton_seed.png", wield_image = "farming_cotton_seed.png", @@ -20,7 +22,7 @@ minetest.register_node("farming:seed_cotton", { -- cotton / string minetest.register_craftitem("farming:cotton", { - description = "Cotton", + description = S("Cotton"), inventory_image = "farming_cotton.png", }) -- cgit v1.2.3