mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 14:25:10 +00:00
Add missing translation for some redstone nodes
This commit is contained in:
parent
f04170d66b
commit
47f7b21190
6 changed files with 21 additions and 9 deletions
|
@ -287,16 +287,18 @@ for _, state in pairs{mesecon.state.on, mesecon.state.off} do
|
||||||
nodedef.groups = table.copy(nodedef.groups)
|
nodedef.groups = table.copy(nodedef.groups)
|
||||||
nodedef.groups.not_in_creative_inventory = 1
|
nodedef.groups.not_in_creative_inventory = 1
|
||||||
local extra_desc = {}
|
local extra_desc = {}
|
||||||
if mode == "sub" then
|
if mode == "sub" or state == mesecon.state.on then
|
||||||
table.insert(extra_desc, "Subtract")
|
|
||||||
nodedef.inventory_image = nil
|
nodedef.inventory_image = nil
|
||||||
end
|
end
|
||||||
if state == mesecon.state.on then
|
local desc = nodedef.description
|
||||||
table.insert(extra_desc, "Powered")
|
if mode ~= "sub" and state == mesecon.state.on then
|
||||||
nodedef.inventory_image = nil
|
desc = S("Redstone Comparator (Powered)")
|
||||||
|
elseif mode == "sub" and state ~= mesecon.state.on then
|
||||||
|
desc = S("Redstone Comparator (Subtract)")
|
||||||
|
elseif mode == "sub" and state == mesecon.state.on then
|
||||||
|
desc = S("Redstone Comparator (Subtract, Powered)")
|
||||||
end
|
end
|
||||||
nodedef.description = nodedef.description..
|
nodedef.description = desc
|
||||||
" ("..table.concat(extra_desc, ", ")..")"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node(nodename, nodedef)
|
minetest.register_node(nodename, nodedef)
|
||||||
|
|
|
@ -7,3 +7,6 @@ The side inputs are only powered by normal redstone power. The redstone comparat
|
||||||
Transmission mode:@nThe front torch is unlit and lowered. The output is powered if, and only if the main input is powered. The two side inputs are ignored.=Übertragungsmodus:@nDie vordere Fackel ist eingefahren und leuchtet nicht auf. Die Ausgabe gibt ein Signal, wenn, nur nur wenn der Haupteingang bestromt wird. Die zwei Seiteneingänge werden ignoriert.
|
Transmission mode:@nThe front torch is unlit and lowered. The output is powered if, and only if the main input is powered. The two side inputs are ignored.=Übertragungsmodus:@nDie vordere Fackel ist eingefahren und leuchtet nicht auf. Die Ausgabe gibt ein Signal, wenn, nur nur wenn der Haupteingang bestromt wird. Die zwei Seiteneingänge werden ignoriert.
|
||||||
Subtraction mode:@nThe front torch is lit. The output is powered if, and only if the main input is powered and none of the side inputs is powered.=Subtraktionsmodus:@nDie vordere Fackel leuchtet auf. Die Ausgabe gibt ein Signal wenn, nur nur wenn der Haupteingang versorgt wird und keiner der Seiteneingänge bestromt ist.
|
Subtraction mode:@nThe front torch is lit. The output is powered if, and only if the main input is powered and none of the side inputs is powered.=Subtraktionsmodus:@nDie vordere Fackel leuchtet auf. Die Ausgabe gibt ein Signal wenn, nur nur wenn der Haupteingang versorgt wird und keiner der Seiteneingänge bestromt ist.
|
||||||
Redstone Comparator=Redstonekomparator
|
Redstone Comparator=Redstonekomparator
|
||||||
|
Redstone Comparator (Subtract)=Redstonekomparator (subtrahieren)
|
||||||
|
Redstone Comparator (Powered)=Redstonekomparator (bestromt)
|
||||||
|
Redstone Comparator (Subtract, Powered)=Redstonekomparator (subtrahieren, bestromt)
|
||||||
|
|
|
@ -7,3 +7,6 @@ The side inputs are only powered by normal redstone power. The redstone comparat
|
||||||
Transmission mode:@nThe front torch is unlit and lowered. The output is powered if, and only if the main input is powered. The two side inputs are ignored.=
|
Transmission mode:@nThe front torch is unlit and lowered. The output is powered if, and only if the main input is powered. The two side inputs are ignored.=
|
||||||
Subtraction mode:@nThe front torch is lit. The output is powered if, and only if the main input is powered and none of the side inputs is powered.=
|
Subtraction mode:@nThe front torch is lit. The output is powered if, and only if the main input is powered and none of the side inputs is powered.=
|
||||||
Redstone Comparator=
|
Redstone Comparator=
|
||||||
|
Redstone Comparator (Subtract)=
|
||||||
|
Redstone Comparator (Powered)=
|
||||||
|
Redstone Comparator (Subtract, Powered)=
|
||||||
|
|
|
@ -117,7 +117,7 @@ minetest.register_craft({
|
||||||
{"mcl_core:stick"},}
|
{"mcl_core:stick"},}
|
||||||
})
|
})
|
||||||
|
|
||||||
mcl_torches.register_torch("mesecon_torch_off", "Redstone Torch (off)",
|
mcl_torches.register_torch("mesecon_torch_off", S("Redstone Torch (off)"),
|
||||||
nil,
|
nil,
|
||||||
nil,
|
nil,
|
||||||
"jeija_torches_off.png",
|
"jeija_torches_off.png",
|
||||||
|
@ -143,7 +143,7 @@ mcl_torches.register_torch("mesecon_torch_off", "Redstone Torch (off)",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
mcl_torches.register_torch("mesecon_torch_overheated", "Redstone Torch (overheated)",
|
mcl_torches.register_torch("mesecon_torch_overheated", S("Redstone Torch (overheated)"),
|
||||||
nil,
|
nil,
|
||||||
nil,
|
nil,
|
||||||
"jeija_torches_off.png",
|
"jeija_torches_off.png",
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# textdomain: mesecons_torch
|
# textdomain: mesecons_torch
|
||||||
Redstone Torch=Redstonefackel
|
Redstone Torch=Redstonefackel
|
||||||
|
Redstone Torch (off)=Redstonefackel (aus)
|
||||||
|
Redstone Torch (overheated)=Redstonefackel (überhitzt)
|
||||||
A redstone torch is a redstone component which can be used to invert a redstone signal. It supplies its surrounding blocks with redstone power, except for the block it is attached to. A redstone torch is normally lit, but it can also be turned off by powering the block it is attached to. While unlit, a redstone torch does not power anything.=Eine Redstonefackel ist eine Redstonekomponente, die benutzt werden kann, um ein Redstonesignal zu invertieren. Sie versorgt die benachbarten Blöcke mit Redstoneenergie, ausgenommen den Block, an dem sie befestigt wurde. Eine Redstonefackel leuchtet normalerweise, aber sie kann auch ausgeschaltet werden, indem der Block, an dem sie befestigt ist, bestromt wird. Wenn sie aus ist, wird sie nichts mit Redstoneenergie versorgen.
|
A redstone torch is a redstone component which can be used to invert a redstone signal. It supplies its surrounding blocks with redstone power, except for the block it is attached to. A redstone torch is normally lit, but it can also be turned off by powering the block it is attached to. While unlit, a redstone torch does not power anything.=Eine Redstonefackel ist eine Redstonekomponente, die benutzt werden kann, um ein Redstonesignal zu invertieren. Sie versorgt die benachbarten Blöcke mit Redstoneenergie, ausgenommen den Block, an dem sie befestigt wurde. Eine Redstonefackel leuchtet normalerweise, aber sie kann auch ausgeschaltet werden, indem der Block, an dem sie befestigt ist, bestromt wird. Wenn sie aus ist, wird sie nichts mit Redstoneenergie versorgen.
|
||||||
Redstone torches can be placed at the side and on the top of full solid opaque blocks.=Redstonefackeln können an der Seite und auf der Oberseite der meisten undurchsichtigen ganzen Blöcke platziert werden.
|
Redstone torches can be placed at the side and on the top of full solid opaque blocks.=Redstonefackeln können an der Seite und auf der Oberseite der meisten undurchsichtigen ganzen Blöcke platziert werden.
|
||||||
Block of Redstone=Redstoneblock
|
Block of Redstone=Redstoneblock
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# textdomain: mesecons_torch
|
# textdomain: mesecons_torch
|
||||||
Redstone Torch=
|
Redstone Torch=
|
||||||
|
Redstone Torch (off)=
|
||||||
|
Redstone Torch (overheated)=
|
||||||
A redstone torch is a redstone component which can be used to invert a redstone signal. It supplies its surrounding blocks with redstone power, except for the block it is attached to. A redstone torch is normally lit, but it can also be turned off by powering the block it is attached to. While unlit, a redstone torch does not power anything.=
|
A redstone torch is a redstone component which can be used to invert a redstone signal. It supplies its surrounding blocks with redstone power, except for the block it is attached to. A redstone torch is normally lit, but it can also be turned off by powering the block it is attached to. While unlit, a redstone torch does not power anything.=
|
||||||
Redstone torches can be placed at the side and on the top of full solid opaque blocks.=
|
Redstone torches can be placed at the side and on the top of full solid opaque blocks.=
|
||||||
Block of Redstone=
|
Block of Redstone=
|
||||||
|
|
Loading…
Reference in a new issue