From e21c3bb413132cc21b65531bdf11889e24750c02 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 29 Apr 2021 15:47:46 +0200 Subject: [PATCH] Pool number is not day number --- apps/participation/models.py | 2 +- locale/fr/LC_MESSAGES/django.po | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/participation/models.py b/apps/participation/models.py index 2cace3b..c1926ae 100644 --- a/apps/participation/models.py +++ b/apps/participation/models.py @@ -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())) diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 023db2b..bc1355f 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -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"