Browse Source

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.
tags/nalc-1.2.0
Louis Royer 5 months ago
parent
commit
728d4e179a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      compat-furnaces.lua
  2. +1
    -1
      teleport_tube.lua

+ 1
- 1
compat-furnaces.lua 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


+ 1
- 1
teleport_tube.lua 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)


Loading…
Cancel
Save