Name of syntheses

This commit is contained in:
Yohann D'ANELLO 2020-05-08 19:06:04 +02:00
parent 8ceecd85c8
commit 6c907e0168
2 changed files with 18 additions and 13 deletions

View File

@ -524,7 +524,8 @@ class PoolDetailView(LoginRequiredMixin, DetailView):
resp = HttpResponse(out.getvalue(), content_type="application/x-zip-compressed")
resp['Content-Disposition'] = 'attachment; filename={}' \
.format(_("Syntheses of a pool.zip").replace(" ", "%20"))
.format(_("Syntheses of a pool for the round {round} of the tournament {tournament}.zip")
.format(round=pool.round, tournament=str(pool.tournament)).replace(" ", "%20"))
return resp
return self.get(request, *args, **kwargs)

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: TFJM2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-08 16:29+0200\n"
"POT-Creation-Date: 2020-05-08 19:05+0200\n"
"PO-Revision-Date: 2020-04-29 02:30+0000\n"
"Last-Translator: Yohann D'ANELLO <yohann.danello@animath.fr>\n"
"Language-Team: fr <LL@li.org>\n"
@ -271,23 +271,25 @@ msgstr "synthèses"
#: apps/member/models.py:300
#, python-brace-format
msgid ""
"Synthesis of team {trigram} that is {source} for the tournament {tournament}"
"Synthesis of team {trigram} that is {source} for the round {round} of "
"tournament {tournament}"
msgstr ""
"Synthèse de l'équipe {trigram} qui est {source} pour le tournoi {tournament}"
"Synthèse de l'équipe {trigram} qui est {source} pour le tour {round} du "
"tournoi {tournament}"
#: apps/member/models.py:308
#: apps/member/models.py:309
msgid "key"
msgstr "clé"
#: apps/member/models.py:313
#: apps/member/models.py:314
msgid "value"
msgstr "valeur"
#: apps/member/models.py:317
#: apps/member/models.py:318
msgid "configuration"
msgstr "configuration"
#: apps/member/models.py:318
#: apps/member/models.py:319
msgid "configurations"
msgstr "configurations"
@ -680,8 +682,10 @@ msgid "Solutions of a pool.zip"
msgstr "Solutions d'une poule.zip"
#: apps/tournament/views.py:527
msgid "Syntheses of a pool.zip"
msgstr "Notes de synthèse d'une poule.zip"
#, python-brace-format
msgid ""
"Syntheses of a pool for the round {round} of the tournament {tournament}.zip"
msgstr "Synthèse d'une poule du tour {round} du tournoi {tournament}.zip"
#: templates/400.html:6
msgid "Bad request"
@ -1039,9 +1043,9 @@ msgid ""
"However, you have an extra time of 30 minutes to send your papers, no "
"panic :)"
msgstr ""
"La date limite pour envoyer vos notes de synthèses pour le tour %(round)s est "
"dépassée. Toutefois, vous avez droit à un délai supplémentaire de 30 minutes "
"pour envoyer vos papiers, pas de panique :)"
"La date limite pour envoyer vos notes de synthèses pour le tour %(round)s "
"est dépassée. Toutefois, vous avez droit à un délai supplémentaire de 30 "
"minutes pour envoyer vos papiers, pas de panique :)"
#: templates/tournament/syntheses_list.html:22
#: templates/tournament/syntheses_list.html:34