summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2020-02-18 17:34:52 +0000
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2020-02-18 17:34:52 +0000
commit760e9e383c280dfee895150b08f6316cd3f4a70c (patch)
tree359944bcd77a5ec36a32b1475e2818019e105956 /init.lua
parent84d7104c66459d8785b95d2db5cc8f425a499d89 (diff)
parent62bc13078f4e93993ebf121cc9c74bc31a6e5d90 (diff)
downloadpipeworks-760e9e383c280dfee895150b08f6316cd3f4a70c.tar
pipeworks-760e9e383c280dfee895150b08f6316cd3f4a70c.tar.gz
pipeworks-760e9e383c280dfee895150b08f6316cd3f4a70c.tar.bz2
pipeworks-760e9e383c280dfee895150b08f6316cd3f4a70c.tar.xz
pipeworks-760e9e383c280dfee895150b08f6316cd3f4a70c.zip
Merge branch 'mt5-locale' into 'master'
French translation See merge request VanessaE/pipeworks!16
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index ed93dd5..3034ff3 100644
--- a/init.lua
+++ b/init.lua
@@ -10,6 +10,7 @@ local DEBUG = false
pipeworks.worldpath = minetest.get_worldpath()
pipeworks.modpath = minetest.get_modpath("pipeworks")
+local S = minetest.get_translator("pipeworks")
dofile(pipeworks.modpath.."/default_settings.lua")
-- Read the external config file if it exists.
@@ -45,7 +46,7 @@ pipeworks.liquid_texture = "default_water.png"
pipeworks.button_off = {text="", texture="pipeworks_button_off.png", addopts="false;false;pipeworks_button_interm.png"}
pipeworks.button_on = {text="", texture="pipeworks_button_on.png", addopts="false;false;pipeworks_button_interm.png"}
pipeworks.button_base = "image_button[0,4.3;1,0.6"
-pipeworks.button_label = "label[0.9,4.31;Allow splitting incoming stacks from tubes]"
+pipeworks.button_label = "label[0.9,4.31;"..S("Allow splitting incoming stacks from tubes").."]"
-- Helper functions