Pool number is not day number

This commit is contained in:
Yohann D'ANELLO 2021-04-29 15:47:46 +02:00
parent afde1d35d5
commit e21c3bb413
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 3 additions and 3 deletions

View File

@ -386,7 +386,7 @@ class Pool(models.Model):
return reverse_lazy("participation:pool_detail", args=(self.pk,))
def __str__(self):
return _("Pool {round} for tournament {tournament} with teams {teams}")\
return _("Pool of day {round} for tournament {tournament} with teams {teams}")\
.format(round=self.round,
tournament=str(self.tournament),
teams=", ".join(participation.team.trigram for participation in self.participations.all()))

View File

@ -331,8 +331,8 @@ msgstr ""
#: apps/participation/models.py:389
#, python-brace-format
msgid "Pool {round} for tournament {tournament} with teams {teams}"
msgstr "Poule {round} du tournoi {tournament} avec les équipes {teams}"
msgid "Pool of day {round} for tournament {tournament} with teams {teams}"
msgstr "Poule du jour {round} du tournoi {tournament} avec les équipes {teams}"
#: apps/participation/models.py:395 apps/participation/models.py:403
msgid "pool"