Infobox: show players in queue

This commit is contained in:
Zughy 2023-01-23 02:09:00 +01:00
parent 3ce1a70267
commit 88c6a32eb0
4 changed files with 5 additions and 5 deletions

View File

@ -244,7 +244,7 @@ One sign per arena=Un cartello per arena
Arena sign=Cartello dell'arena
[!] Uh-oh, it looks like this sign has been misplaced: well, fixed, hit it again!=[!]Oh oh, sembra che questo cartello sia fuori posto: beh, sistemato, colpiscilo di nuovo!
[!] That's not an arena_lib sign!=[!] Questo non è un cartello di arena_lib!
No ongoing match=Nessuna partita in corso
No ongoing activity=Nessuna attività in corso
Now inside=Ora dentro
The arena is not enabled=L'arena non è abilitata
Leave the queue (you can also left-click the sign)=Abbandona la coda (puoi farlo anche premendo il cartello col sinistro)

View File

@ -243,7 +243,7 @@ One sign per arena=
Arena sign=
[!] Uh-oh, it looks like this sign has been misplaced: well, fixed, hit it again!=
[!] That's not an arena_lib sign!=
No ongoing match=
No ongoing activity=
Now inside=
The arena is not enabled=
Leave the queue (you can also left-click the sign)=

View File

@ -230,8 +230,8 @@ function get_infobox_formspec(mod, arenaID, player)
local thumbnail = arena.thumbnail ~= "" and arena.thumbnail or "arenalib_infobox_thumbnail.png"
local list_bg, inside_col, pl_list
-- se è in partita...
if arena.in_game then
-- se c'è una partita o qualcunə in coda...
if arena.in_game or arena.players_amount > 0 then
list_bg = "arenalib_infobox_list.png"
inside_col = "#5a5353"
pl_list = ""
@ -269,7 +269,7 @@ function get_infobox_formspec(mod, arenaID, player)
else
list_bg = "arenalib_infobox_list_off.png"
inside_col = "#d7ded7"
pl_list = "hypertext[0.7,2.22;3.6,2;name;<global halign=center valign=middle><style size=17 font=mono color=#d7ded7>" .. S("No ongoing match") .. "</style>]"
pl_list = "hypertext[0.7,2.22;3.6,2;name;<global halign=center valign=middle><style size=17 font=mono color=#d7ded7>" .. S("No ongoing activity") .. "</style>]"
end
local bgm_info

Binary file not shown.

Before

Width:  |  Height:  |  Size: 858 B

After

Width:  |  Height:  |  Size: 847 B