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 /cotton.lua | |
parent | 3d59270aef645f2d98384609d806f591cb6086fa (diff) |
Added intllib support (thanks Xanthin)
Diffstat (limited to 'cotton.lua')
-rw-r--r-- | cotton.lua | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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", }) |