diff options
Diffstat (limited to 'vines/init.lua')
-rw-r--r-- | vines/init.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vines/init.lua b/vines/init.lua index 72eda93..2abbda0 100644 --- a/vines/init.lua +++ b/vines/init.lua @@ -3,6 +3,9 @@ vines = { recipes = {} } +-- support for i18n +local S = plantlife_i18n.gettext + dofile( minetest.get_modpath( vines.name ) .. "/functions.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/aliases.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/recipes.lua" ) @@ -11,4 +14,4 @@ dofile( minetest.get_modpath( vines.name ) .. "/nodes.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/shear.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/vines.lua" ) -print("[Vines] Loaded!") +print(S("[Vines] Loaded!")) |