1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-12 18:07:29 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Emmy D'Anello
8aec72d712
Correction mot Coefficient 2025-05-31 17:38:45 +02:00
Emmy D'Anello
6a521b6121
Noms des fichiers en français 2025-05-31 12:18:12 +02:00
2 changed files with 3 additions and 1 deletions

View File

@ -1776,7 +1776,7 @@ msgstr "Moyenne"
#: participation/models.py:1320 participation/views.py:1669
msgid "Coefficient"
msgstr "Coefficien"
msgstr "Coefficient"
#: participation/models.py:1321 participation/views.py:1712
msgid "Subtotal"

View File

@ -5,11 +5,13 @@ from pathlib import Path
from django.conf import settings
from django.core.management import BaseCommand
from django.utils.translation import activate
from participation.models import Solution, Tournament
class Command(BaseCommand):
def handle(self, *args, **kwargs):
activate(settings.PREFERRED_LANGUAGE_CODE)
base_dir = Path(__file__).parent.parent.parent.parent
base_dir /= "output"
if not base_dir.is_dir():