Tradotti gli annunci della palla in Touchdown

This commit is contained in:
Zughy 2020-11-03 14:41:48 +01:00
parent 14754f32b9
commit e8fc45d013
3 changed files with 31 additions and 11 deletions

View File

@ -238,7 +238,7 @@ function ball:reset()
-- annuncio
for pl_name, _ in pairs(arena.players) do
minetest.sound_play("bl_ball_reset", {to_player = pl_name})
block_league.HUD_broadcast_player(pl_name, "Ball reset", 3)
block_league.HUD_broadcast_player(pl_name, S("Ball reset"), 3)
end
if ball.wielder then
@ -318,12 +318,12 @@ function add_point(w_name, arena)
for _, pl_name in pairs(team) do
minetest.sound_play("bl_crowd_cheer", {to_player = pl_name})
block_league.HUD_broadcast_player(pl_name, "NICE POINT!", 3, "0x43e6FF")
block_league.HUD_broadcast_player(pl_name, S("NICE POINT!"), 3, "0x43e6FF")
end
for _, pl_name in pairs(enemy_team) do
minetest.sound_play("bl_crowd_ohno", {to_player = pl_name})
block_league.HUD_broadcast_player(pl_name, "ENEMY TEAM SCORED...", 3, "0xFF5D43")
block_league.HUD_broadcast_player(pl_name, S("ENEMY TEAM SCORED..."), 3, "0xFF5D43")
end
arena.teams[teamID].TDs = arena.teams[teamID].TDs + 1
@ -351,23 +351,23 @@ function announce_ball_possession_change(arena, w_name, is_ball_lost)
if is_ball_lost then
for _, pl_name in pairs(team) do
minetest.sound_play("bl_crowd_ohno", {to_player = pl_name})
block_league.HUD_broadcast_player(pl_name, "Your team lost the ball!", 3, "0xFF5D43")
block_league.HUD_broadcast_player(pl_name, S("Your team lost the ball!"), 3, "0xFF5D43")
end
for _, pl_name in pairs(enemy_team) do
minetest.sound_play("bl_crowd_cheer", {to_player = pl_name})
block_league.HUD_broadcast_player(pl_name, "Enemy team lost the ball!", 3, "0x43e6FF")
block_league.HUD_broadcast_player(pl_name, S("Enemy team lost the ball!"), 3, "0x43e6FF")
end
else
for _, pl_name in pairs(team) do
minetest.sound_play("bl_crowd_cheer", {to_player = pl_name})
block_league.HUD_broadcast_player(pl_name, "Your team got the ball!", 3, "0x43e6FF")
block_league.HUD_broadcast_player(pl_name, S("Your team got the ball!"), 3, "0x43e6FF")
end
block_league.HUD_broadcast_player(w_name, "You got the ball!", 3, "0x43e6FF")
block_league.HUD_broadcast_player(w_name, S("You got the ball!"), 3, "0x43e6FF")
for _, pl_name in pairs(enemy_team) do
minetest.sound_play("bl_crowd_ohno", {to_player = pl_name})
block_league.HUD_broadcast_player(pl_name, "Enemy team got the ball!", 3, "0xFF5D43")
block_league.HUD_broadcast_player(pl_name, S("Enemy team got the ball!"), 3, "0xFF5D43")
end
end
end

View File

@ -22,10 +22,20 @@ mod management=gestione della mod
# privs.lua
It allows to use the /bladmin command=Permette di usare il comando /bladmin
# _weapons/pixelgun.lua
# bl_modes/TD/ball.lua
Ball reset=Palla resettata
NICE POINT!=BEL PUNTO!
ENEMY TEAM SCORED...=PUNTO PER LA SQUADRA AVVERSARIA...
Your team lost the ball!=La tua squadra ha perso la palla!
Enemy team lost the ball!=La squadra avversaria ha perso la palla!
Your team got the ball!=La tua squadra ha preso la palla!
You got the ball!=Hai preso la palla!
Enemy team got the ball!=La squadra avversaria ha preso la palla!
# bl_weapons/pixelgun.lua
Pixelgun=Pixelgun
# _weapons/rocket_launcher.lua
# bl_weapons/rocket_launcher.lua
Rocket Launcher=Lanciarazzi
# bl_weapons/smg.lua
@ -34,7 +44,7 @@ Submachine Gun=Submachine Gun
# bl_weapons/sword.lua
2H Sword=Spada 2H
# _weapons/weapons.lua
# bl_weapons/weapons.lua
has killed @1 players in a row!=ha ucciso @1 giocatori in un colpo!
YOU'VE KILLED @1=HAI UCCISO @1
You've been killed by @1=Sei stato ucciso da @1

View File

@ -22,6 +22,16 @@ mod management=
# privs.lua
It allows to use the /bladmin command=
# bl_modes/TD/ball.lua
Ball reset=
NICE POINT!=
ENEMY TEAM SCORED...=
Your team lost the ball!=
Enemy team lost the ball!=
Your team got the ball!=
You got the ball!=
Enemy team got the ball!=
# bl_weapons/pixelgun.lua
Pixelgun=