mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-25 18:30:23 +01:00
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:
parent
760e9e383c
commit
728d4e179a
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user