mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-29 21:11:08 +02:00
Translate game fields into english
This commit is contained in:
@ -53,11 +53,11 @@ class Command(BaseCommand):
|
||||
|
||||
for game in Game.objects.order_by("name").all():
|
||||
f.write(f"## {game.name}\n\n\n")
|
||||
f.write(f"Durée : {game.duree}\n\n")
|
||||
f.write(f"Nombre de joueurs : {game.nombre_joueurs_min} "
|
||||
f"- {game.nombre_joueurs_max}\n\n")
|
||||
if game.proprietaire.username != "Med":
|
||||
f.write(f"Propriétaire : {game.proprietaire.username}\n\n")
|
||||
f.write(f"Durée : {game.duration}\n\n")
|
||||
f.write(f"Nombre de joueurs : {game.players_min} "
|
||||
f"- {game.players_max}\n\n")
|
||||
if game.owner.username != "Med":
|
||||
f.write(f"Propriétaire : {game.owner.username}\n\n")
|
||||
if game.comment:
|
||||
f.write(f"Commentaire : {game.comment}\n\n")
|
||||
f.write("\n\n\n")
|
||||
|
Reference in New Issue
Block a user