summaryrefslogtreecommitdiff
path: root/vines/vines.lua
diff options
context:
space:
mode:
Diffstat (limited to 'vines/vines.lua')
-rw-r--r--vines/vines.lua13
1 files changed, 8 insertions, 5 deletions
diff --git a/vines/vines.lua b/vines/vines.lua
index 42c20d8..1643972 100644
--- a/vines/vines.lua
+++ b/vines/vines.lua
@@ -1,5 +1,8 @@
+-- support for i18n
+local S = plantlife_i18n.gettext
+
vines.register_vine( 'root', {
- description = "Roots",
+ description = S("Roots"),
average_length = 9,
},{
choose_random_wall = true,
@@ -17,7 +20,7 @@ vines.register_vine( 'root', {
})
vines.register_vine( 'vine', {
- description = "Vines",
+ description = S("Vines"),
average_length = 5,
},{
choose_random_wall = true,
@@ -38,7 +41,7 @@ vines.register_vine( 'vine', {
})
vines.register_vine( 'side', {
- description = "Vines",
+ description = S("Vines"),
average_length = 6,
},{
choose_random_wall = true,
@@ -59,7 +62,7 @@ vines.register_vine( 'side', {
})
vines.register_vine( "jungle", {
- description = "Jungle Vines",
+ description = S("Jungle Vines"),
average_length = 7,
},{
choose_random_wall = true,
@@ -86,7 +89,7 @@ vines.register_vine( "jungle", {
})
vines.register_vine( 'willow', {
- description = "Willow Vines",
+ description = S("Willow Vines"),
average_length = 9,
},{
choose_random_wall = true,