summaryrefslogtreecommitdiff
path: root/vines/nodes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'vines/nodes.lua')
-rw-r--r--vines/nodes.lua9
1 files changed, 6 insertions, 3 deletions
diff --git a/vines/nodes.lua b/vines/nodes.lua
index 6a1ee22..4e4d707 100644
--- a/vines/nodes.lua
+++ b/vines/nodes.lua
@@ -1,5 +1,8 @@
+-- support for i18n
+local S = plantlife_i18n.gettext
+
minetest.register_node("vines:rope_block", {
- description = "Rope",
+ description = S("Rope"),
sunlight_propagates = true,
paramtype = "light",
tiles = {
@@ -30,7 +33,7 @@ minetest.register_node("vines:rope_block", {
})
minetest.register_node("vines:rope", {
- description = "Rope",
+ description = S("Rope"),
walkable = false,
climbable = true,
sunlight_propagates = true,
@@ -47,7 +50,7 @@ minetest.register_node("vines:rope", {
})
minetest.register_node("vines:rope_end", {
- description = "Rope",
+ description = S("Rope"),
walkable = false,
climbable = true,
sunlight_propagates = true,