Translation string errors

Fixes #21.
Sorry, I had put wrong identifiers in translations strings.
Also, found another one to fix in `teleport_tube.lua`.

I hope, there is no other error.
This commit is contained in:
Louis Royer 2020-02-20 15:17:58 +01:00
parent 760e9e383c
commit 728d4e179a
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() minetest.get_node_timer(pos):stop()
end 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 -- Set meta values

View File

@ -229,7 +229,7 @@ pipeworks.register_tube("pipeworks:teleport_tube", {
if channel ~= "" then if channel ~= "" then
set_tube(pos, channel, can_receive) set_tube(pos, channel, can_receive)
local cr_description = (can_receive == 1) and "sending and receiving" or "sending" 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 else
-- remove empty channel tubes, to not have to search through them -- remove empty channel tubes, to not have to search through them
remove_tube(pos) remove_tube(pos)