From 728d4e179a6076e86ce69bb6b8a4d675eeeb6ada Mon Sep 17 00:00:00 2001 From: Louis Royer <4259825-lroyer@users.noreply.gitlab.com> Date: Thu, 20 Feb 2020 15:17:58 +0100 Subject: [PATCH] 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. --- compat-furnaces.lua | 2 +- teleport_tube.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compat-furnaces.lua b/compat-furnaces.lua index f1618d2..abf087f 100644 --- a/compat-furnaces.lua +++ b/compat-furnaces.lua @@ -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 diff --git a/teleport_tube.lua b/teleport_tube.lua index 7fd118a..7dcdf62 100644 --- a/teleport_tube.lua +++ b/teleport_tube.lua @@ -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)