mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-09-27 14:50:30 +02:00
Tradotte le descrizioni
This commit is contained in:
parent
f92a938d75
commit
403ca4b589
|
@ -12,8 +12,8 @@ circular_saw = {}
|
||||||
circular_saw.known_stairs = setmetatable({}, {
|
circular_saw.known_stairs = setmetatable({}, {
|
||||||
__newindex = function(k, v)
|
__newindex = function(k, v)
|
||||||
local modname = minetest.get_current_modname()
|
local modname = minetest.get_current_modname()
|
||||||
print(("WARNING: mod %s tried to add node %s to the circular saw"
|
print(("AVVISO: il mod %s ha tentato di aggiungere il nodo %s alla sega circolare"
|
||||||
.. " manually."):format(modname, v))
|
.. " manualmente."):format(modname, v))
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ function circular_saw:reset(pos)
|
||||||
meta:set_int("anz", 0)
|
meta:set_int("anz", 0)
|
||||||
|
|
||||||
meta:set_string("infotext",
|
meta:set_string("infotext",
|
||||||
S("Circular Saw is empty (owned by %s)")
|
S("La sega circolare è vuota (di proprietà di %s)")
|
||||||
:format(meta:get_string("owner") or ""))
|
:format(meta:get_string("owner") or ""))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ function circular_saw:update_inventory(pos, amount)
|
||||||
meta:set_int("anz", amount)
|
meta:set_int("anz", amount)
|
||||||
|
|
||||||
meta:set_string("infotext",
|
meta:set_string("infotext",
|
||||||
S("Circular Saw is working on %s (owned by %s)")
|
S("La sega circolare sta lavorando su %s (di proprietà di %s)")
|
||||||
:format(material, meta:get_string("owner") or ""))
|
:format(material, meta:get_string("owner") or ""))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -333,20 +333,20 @@ function circular_saw.on_construct(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local fancy_inv = default.gui_bg..default.gui_bg_img..default.gui_slots
|
local fancy_inv = default.gui_bg..default.gui_bg_img..default.gui_slots
|
||||||
meta:set_string("formspec", "size[11,10]"..fancy_inv..
|
meta:set_string("formspec", "size[11,10]"..fancy_inv..
|
||||||
"label[0,0;" ..S("Input\nmaterial").. "]" ..
|
"label[0,0;" ..S("Materiale\niniziale").. "]" ..
|
||||||
"list[current_name;input;1.5,0;1,1;]" ..
|
"list[current_name;input;1.5,0;1,1;]" ..
|
||||||
"label[0,1;" ..S("Left-over").. "]" ..
|
"label[0,1;" ..S("Scarto").. "]" ..
|
||||||
"list[current_name;micro;1.5,1;1,1;]" ..
|
"list[current_name;micro;1.5,1;1,1;]" ..
|
||||||
"label[0,2;" ..S("Recycle\noutput").. "]" ..
|
"label[0,2;" ..S("Riciclo\nprodotto").. "]" ..
|
||||||
"list[current_name;recycle;1.5,2;1,1;]" ..
|
"list[current_name;recycle;1.5,2;1,1;]" ..
|
||||||
"field[0.3,3.5;1,1;max_offered;" ..S("Max").. ":;${max_offered}]" ..
|
"field[0.3,3.5;1,1;max_offered;" ..S("Max.").. ":;${max_offered}]" ..
|
||||||
"button[1,3.2;1,1;Set;" ..S("Set").. "]" ..
|
"button[1,3.2;1,1;Set;" ..S("Imp.").. "]" ..
|
||||||
"list[current_name;output;2.8,0;8,6;]" ..
|
"list[current_name;output;2.8,0;8,6;]" ..
|
||||||
"list[current_player;main;1.5,6.25;8,4;]")
|
"list[current_player;main;1.5,6.25;8,4;]")
|
||||||
|
|
||||||
meta:set_int("anz", 0) -- No microblocks inside yet.
|
meta:set_int("anz", 0) -- No microblocks inside yet.
|
||||||
meta:set_string("max_offered", 99) -- How many items of this kind are offered by default?
|
meta:set_string("max_offered", 99) -- How many items of this kind are offered by default?
|
||||||
meta:set_string("infotext", S("Circular Saw is empty"))
|
meta:set_string("infotext", S("La sega circolare è vuota"))
|
||||||
|
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
inv:set_size("input", 1) -- Input slot for full blocks of material x.
|
inv:set_size("input", 1) -- Input slot for full blocks of material x.
|
||||||
|
@ -371,7 +371,7 @@ function circular_saw.can_dig(pos,player)
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("moreblocks:circular_saw", {
|
minetest.register_node("moreblocks:circular_saw", {
|
||||||
description = S("Circular Saw"),
|
description = S("Sega circolare"),
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
@ -402,7 +402,7 @@ minetest.register_node("moreblocks:circular_saw", {
|
||||||
local owner = placer and placer:get_player_name() or ""
|
local owner = placer and placer:get_player_name() or ""
|
||||||
meta:set_string("owner", owner)
|
meta:set_string("owner", owner)
|
||||||
meta:set_string("infotext",
|
meta:set_string("infotext",
|
||||||
S("Circular Saw is empty (owned by %s)")
|
S("La sega circolare è vuota (di proprietà di %s)")
|
||||||
:format(owner))
|
:format(owner))
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user