Merge branch 'fix-21' into 'master'

Translation string errors

Closes #21

See merge request VanessaE/pipeworks!17
This commit is contained in:
Vanessa Dannenberg 2020-02-20 14:29:07 +00:00
commit 99cb3a5d9d
2 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ local function furnace_node_timer(pos, elapsed)
minetest.get_node_timer(pos):stop()
end
local infotext = active.." "..DS("(Item: @2; Fuel: @3)", item_state, fuel_state)
local infotext = active.." "..DS("(Item: @1; Fuel: @2)", item_state, fuel_state)
--
-- Set meta values

View File

@ -229,7 +229,7 @@ pipeworks.register_tube("pipeworks:teleport_tube", {
if channel ~= "" then
set_tube(pos, channel, can_receive)
local cr_description = (can_receive == 1) and "sending and receiving" or "sending"
meta:set_string("infotext", S("Teleportation Tube @1 on '@1'", cr_description, channel))
meta:set_string("infotext", S("Teleportation Tube @1 on '@2'", cr_description, channel))
else
-- remove empty channel tubes, to not have to search through them
remove_tube(pos)