Adding percentage to games won
This commit is contained in:
parent
899f38c622
commit
550870ee26
14 changed files with 49 additions and 48 deletions
|
@ -430,10 +430,10 @@ msgstr[0] "{number} partida jugada."
|
|||
msgstr[1] "{number} partides jugades."
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgstr[0] "{number} primer lloc."
|
||||
msgstr[1] "{number} primers llocs."
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] "{number} primer lloc ({percent}%)."
|
||||
msgstr[1] "{number} primers llocs ({percent}%)."
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} card played"
|
||||
|
|
|
@ -441,10 +441,10 @@ msgstr[0] "{number} gespieltes Spiel"
|
|||
msgstr[1] "{number} gespielte Spiele"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgstr[0] "{number} mal 1. Platz"
|
||||
msgstr[1] "{number} mal 1. Platz"
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] "{number} mal 1. Platz ({percent}%)"
|
||||
msgstr[1] "{number} mal 1. Platz ({percent}%)"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} card played"
|
||||
|
|
|
@ -432,10 +432,10 @@ msgstr[0] "{number} partida jugada."
|
|||
msgstr[1] "{number} partidas jugadas."
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgstr[0] "{number} primer lugar."
|
||||
msgstr[1] "{number} primeros lugares."
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] "{number} primer lugar ({percent}%)."
|
||||
msgstr[1] "{number} primeros lugares ({percent}%)."
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} card played"
|
||||
|
|
|
@ -430,8 +430,8 @@ msgid "{number} games played"
|
|||
msgstr "{number} permainan dimainkan"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} first places"
|
||||
msgstr "{number} diletakkan pertama"
|
||||
msgid "{number} first places ({percent}%)"
|
||||
msgstr "{number} diletakkan pertama ({percent}%)"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} cards played"
|
||||
|
|
|
@ -434,10 +434,10 @@ msgstr[0] "{number} partite giocate"
|
|||
msgstr[1] "{number} partite giocate"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgstr[0] "{number} vittorie"
|
||||
msgstr[1] "{number} vittorie"
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] "{number} vittorie ({percent}%)"
|
||||
msgstr[1] "{number} vittorie ({percent}%)"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} card played"
|
||||
|
|
|
@ -436,10 +436,10 @@ msgstr[0] "{number} ഗെയിം കളിച്ചു. "
|
|||
msgstr[1] "{number} ഗെയിം കളിച്ചു "
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgstr[0] "{number} ഒന്നാം സ്ഥാനം."
|
||||
msgstr[1] "{number} ഒന്നാം സ്ഥാനങ്ങൾ ."
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] "{number} ഒന്നാം സ്ഥാനം ({percent}%)."
|
||||
msgstr[1] "{number} ഒന്നാം സ്ഥാനങ്ങൾ ({percent}%)."
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} card played"
|
||||
|
|
|
@ -426,10 +426,10 @@ msgstr[0] "{number} partida jogada"
|
|||
msgstr[1] "{number} partidas jogadas"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgstr[0] "{number} vez em primeiro lugar"
|
||||
msgstr[1] "{number} vezes em primeiro lugar"
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] "{number} vez em primeiro lugar ({percent}%)"
|
||||
msgstr[1] "{number} vezes em primeiro lugar ({percent}%)"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} card played"
|
||||
|
|
|
@ -436,10 +436,10 @@ msgstr[0] "{number} игры сыграно"
|
|||
msgstr[1] "{number} игр сыграно"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgstr[0] "{number} первое место"
|
||||
msgstr[1] "{number} первых мест"
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] "{number} первое место ({percent}%)"
|
||||
msgstr[1] "{number} первых мест ({percent}%)"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} card played"
|
||||
|
|
|
@ -515,10 +515,10 @@ msgstr[1] "{number} Oyun oynandı"
|
|||
|
||||
#: simple_commands.py:129
|
||||
#, python-brace-format
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgstr[0] "{number} Defa birincilik"
|
||||
msgstr[1] "{number} Defa birincilik"
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] "{number} Defa birincilik ({percent}%)"
|
||||
msgstr[1] "{number} Defa birincilik ({percent}%)"
|
||||
|
||||
#: simple_commands.py:136
|
||||
#, python-brace-format
|
||||
|
|
|
@ -464,8 +464,8 @@ msgstr[1] ""
|
|||
|
||||
#: simple_commands.py:129
|
||||
#, python-brace-format
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
|
|
|
@ -521,9 +521,9 @@ msgstr[0] "玩了 {number} 盘"
|
|||
|
||||
#: simple_commands.py:129
|
||||
#, python-brace-format
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgstr[0] "赢了 {number} 盘"
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] "赢了 {number} 盘 ({percent}%)"
|
||||
|
||||
#: simple_commands.py:136
|
||||
#, python-brace-format
|
||||
|
|
|
@ -402,9 +402,9 @@ msgid_plural "{number} games played"
|
|||
msgstr[0] "玩咗{number}盤"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgstr[0] "贏咗{number}次"
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] "贏咗{number}次 ({percent}%)"
|
||||
|
||||
#: simple_commands.py
|
||||
msgid "{number} card played"
|
||||
|
|
|
@ -528,9 +528,9 @@ msgstr[0] "已遊玩 {number} 場遊戲"
|
|||
|
||||
#: simple_commands.py:129
|
||||
#, python-brace-format
|
||||
msgid "{number} first place"
|
||||
msgid_plural "{number} first places"
|
||||
msgstr[0] "拿了 {number} 次第一名"
|
||||
msgid "{number} first place ({percent}%)"
|
||||
msgid_plural "{number} first places ({percent}%)"
|
||||
msgstr[0] "拿了 {number} 次第一名 ({percent}%)"
|
||||
|
||||
#: simple_commands.py:136
|
||||
#, python-brace-format
|
||||
|
|
|
@ -126,10 +126,11 @@ def stats(bot, update):
|
|||
)
|
||||
|
||||
n = us.first_places
|
||||
m = int((us.games_played / us.first_places) * 100) if us.first_places else 0
|
||||
stats_text.append(
|
||||
_("{number} first place",
|
||||
"{number} first places",
|
||||
n).format(number=n)
|
||||
_("{number} first place ({percent}%)",
|
||||
"{number} first places ({percent}%)",
|
||||
n).format(number=n, percent=m)
|
||||
)
|
||||
|
||||
n = us.cards_played
|
||||
|
|
Loading…
Reference in a new issue