chore(lint): elargir les regles ruff et rendre le format bloquant en CI
QUA-002, seconde moitie. Le depot etant formate, l elargissement porte sur
des defauts et non sur du brassage.
Ajoute a la selection : B (bugbear), C4, RET, SIM, UP. Le lot entier n a
produit que 24 signalements sur 76 fichiers -- le code etait plus propre
que l audit ne le craignait. Neuf corriges automatiquement, quinze a la
main.
SIM108 est ignore : forcer un ternaire se lit moins bien que le if/else
qu il remplace, au seul endroit ou il se declenche.
isort (I) n est PAS active. Il reordonnerait les imports de 48 fichiers,
soit une seconde passe de pur brassage juste apres le commit de formatage.
A faire, mais seul.
Deux vrais defauts trouves par les nouvelles regles
- team_matches.edit_match faisait `except ValueError: pass` sur l heure de
debut et l heure de fin, trois lignes sous un champ date qui, lui,
signale et redirige. Une heure mal saisie etait donc acceptee par le
formulaire, jetee, l ancienne valeur conservee -- et la page annoncait
la reussite. Meme traitement que la date desormais.
- backup.py levait BackupError depuis deux blocs `except` sans `from`,
ce qui perdait la cause d origine dans la trace.
Ainsi que : un `return` explicite dans force_https, `%`-formatage remplace
dans log_auth_event (operations de chaine avant journalisation, pas des
gabarits de logger -- la redaction n est pas affectee), une compréhension
inutile, un `set(...)` en compréhension d ensemble, `open(..., 'r')`, une
variable de boucle inutilisee, et `contextlib.suppress` dans conftest.
CI : `ruff format --check` remplace le commentaire qui expliquait pourquoi
il etait absent.
263 tests passent. Les deux nouveaux messages sont traduits ; attention,
pybabel les avait apparies en `fuzzy` avec des entrees « date » existantes,
et une entree fuzzy est ignoree a l execution.
Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
Binary file not shown.
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: team-tryouts VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2026-08-08 15:07-0400\n"
|
||||
"POT-Creation-Date: 2026-08-08 15:57-0400\n"
|
||||
"PO-Revision-Date: 2026-08-07 20:22-0400\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: fr\n"
|
||||
@@ -19,7 +19,7 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.18.0\n"
|
||||
|
||||
#: app/validators.py:43
|
||||
#: app/validators.py:49
|
||||
msgid ""
|
||||
"Password must be at least 8 characters with uppercase, lowercase, and a "
|
||||
"number."
|
||||
@@ -27,74 +27,74 @@ msgstr ""
|
||||
"Le mot de passe doit compter au moins 8 caractères, dont une majuscule, "
|
||||
"une minuscule et un chiffre."
|
||||
|
||||
#: app/validators.py:62
|
||||
#: app/validators.py:67
|
||||
msgid "Username must be 3-30 characters (letters, numbers, underscore, hyphen)."
|
||||
msgstr ""
|
||||
"Le nom d’utilisateur doit compter de 3 à 30 caractères (lettres, "
|
||||
"chiffres, tiret bas, trait d’union)."
|
||||
|
||||
#: app/validators.py:81
|
||||
#: app/validators.py:86
|
||||
msgid "Invalid Discord username format."
|
||||
msgstr "Format de nom d’utilisateur Discord invalide."
|
||||
|
||||
#: app/validators.py:98
|
||||
#: app/validators.py:103
|
||||
msgid "Discord User ID must be a 17-20 digit number."
|
||||
msgstr "L’identifiant Discord doit être un nombre de 17 à 20 chiffres."
|
||||
|
||||
#: app/validators.py:116
|
||||
#: app/validators.py:121
|
||||
msgid "Invalid phone number format."
|
||||
msgstr "Format de numéro de téléphone invalide."
|
||||
|
||||
#: app/validators.py:155
|
||||
#: app/validators.py:163
|
||||
msgid "Username is required."
|
||||
msgstr "Le nom d’utilisateur est obligatoire."
|
||||
|
||||
#: app/validators.py:159
|
||||
#: app/validators.py:167
|
||||
msgid "Password is required."
|
||||
msgstr "Le mot de passe est obligatoire."
|
||||
|
||||
#: app/validators.py:180 app/validators.py:251
|
||||
#: app/validators.py:189 app/validators.py:261
|
||||
msgid "Username must be 3-80 characters."
|
||||
msgstr "Le nom d’utilisateur doit compter de 3 à 80 caractères."
|
||||
|
||||
#: app/validators.py:186
|
||||
#: app/validators.py:195
|
||||
msgid "Email must be 120 characters or less."
|
||||
msgstr "L’adresse courriel ne doit pas dépasser 120 caractères."
|
||||
|
||||
#: app/validators.py:199 app/validators.py:266 app/validators.py:299
|
||||
#: app/validators.py:365
|
||||
#: app/validators.py:208 app/validators.py:276 app/validators.py:307
|
||||
#: app/validators.py:371
|
||||
msgid "Full name is required."
|
||||
msgstr "Le nom complet est obligatoire."
|
||||
|
||||
#: app/validators.py:234
|
||||
#: app/validators.py:243
|
||||
msgid "Passwords do not match."
|
||||
msgstr "Les mots de passe ne concordent pas."
|
||||
|
||||
#: app/validators.py:272 app/validators.py:309
|
||||
#: app/validators.py:280 app/validators.py:315
|
||||
msgid "Invalid role selected."
|
||||
msgstr "Rôle sélectionné invalide."
|
||||
|
||||
#: app/validators.py:409
|
||||
#: app/validators.py:416
|
||||
msgid "Player must be selected."
|
||||
msgstr "Vous devez choisir un joueur."
|
||||
|
||||
#: app/validators.py:412
|
||||
#: app/validators.py:419
|
||||
msgid "Notes must be 2000 characters or less."
|
||||
msgstr "Les notes ne doivent pas dépasser 2000 caractères."
|
||||
|
||||
#: app/validators.py:431
|
||||
#: app/validators.py:438
|
||||
msgid "Date must be in YYYY-MM-DD format."
|
||||
msgstr "La date doit être au format AAAA-MM-JJ."
|
||||
|
||||
#: app/validators.py:438 app/validators.py:473
|
||||
#: app/validators.py:443 app/validators.py:470
|
||||
msgid "Start time must be in HH:MM format."
|
||||
msgstr "L’heure de début doit être au format HH:MM."
|
||||
|
||||
#: app/validators.py:445
|
||||
#: app/validators.py:447
|
||||
msgid "End time must be in HH:MM format."
|
||||
msgstr "L’heure de fin doit être au format HH:MM."
|
||||
|
||||
#: app/validators.py:449
|
||||
#: app/validators.py:450
|
||||
msgid "Points must be 2000 characters or less."
|
||||
msgstr "Les points ne doivent pas dépasser 2000 caractères."
|
||||
|
||||
@@ -102,22 +102,22 @@ msgstr "Les points ne doivent pas dépasser 2000 caractères."
|
||||
msgid "Day must be 0 (Monday) to 6 (Sunday)."
|
||||
msgstr "Le jour doit aller de 0 (lundi) à 6 (dimanche)."
|
||||
|
||||
#: app/routes/auth.py:186 app/routes/auth.py:314 app/routes/users.py:83
|
||||
#: app/routes/users.py:687
|
||||
#: app/routes/auth.py:186 app/routes/auth.py:322 app/routes/users.py:106
|
||||
#: app/routes/users.py:821
|
||||
#, python-format
|
||||
msgid "%(field)s: %(msg)s"
|
||||
msgstr "%(field)s : %(msg)s"
|
||||
|
||||
#: app/routes/auth.py:204
|
||||
#: app/routes/auth.py:203
|
||||
msgid "This account has been deactivated."
|
||||
msgstr "Ce compte a été désactivé."
|
||||
|
||||
#: app/routes/auth.py:242
|
||||
#: app/routes/auth.py:238
|
||||
#, python-format
|
||||
msgid "Welcome back, %(username)s!"
|
||||
msgstr "Bon retour, %(username)s !"
|
||||
|
||||
#: app/routes/auth.py:263
|
||||
#: app/routes/auth.py:268
|
||||
msgid ""
|
||||
"Login unsuccessful. Please check your username and password, or ask a "
|
||||
"president for help."
|
||||
@@ -125,27 +125,27 @@ msgstr ""
|
||||
"Échec de la connexion. Vérifiez le nom d’utilisateur et le mot de passe, "
|
||||
"ou demandez de l’aide à un président."
|
||||
|
||||
#: app/routes/auth.py:295
|
||||
#: app/routes/auth.py:303
|
||||
msgid "Incorrect CAPTCHA answer. Please try again."
|
||||
msgstr "Réponse au CAPTCHA incorrecte. Veuillez réessayer."
|
||||
|
||||
#: app/routes/auth.py:337 app/routes/users.py:370
|
||||
#: app/routes/auth.py:345 app/routes/users.py:436
|
||||
msgid "Username already exists."
|
||||
msgstr "Ce nom d’utilisateur est déjà pris."
|
||||
|
||||
#: app/routes/auth.py:349 app/routes/users.py:374
|
||||
#: app/routes/auth.py:357 app/routes/users.py:440
|
||||
msgid "Email already registered."
|
||||
msgstr "Cette adresse courriel est déjà enregistrée."
|
||||
|
||||
#: app/routes/auth.py:395
|
||||
#: app/routes/auth.py:404
|
||||
msgid "Your account has been created! You can now log in."
|
||||
msgstr "Votre compte a été créé. Vous pouvez maintenant vous connecter."
|
||||
|
||||
#: app/routes/auth.py:421
|
||||
#: app/routes/auth.py:430
|
||||
msgid "Discord OAuth2 is not configured."
|
||||
msgstr "La connexion Discord n’est pas configurée."
|
||||
|
||||
#: app/routes/auth.py:461
|
||||
#: app/routes/auth.py:471
|
||||
msgid ""
|
||||
"Discord authorization could not be verified. Please start the connection "
|
||||
"again from this page."
|
||||
@@ -153,414 +153,422 @@ msgstr ""
|
||||
"L’autorisation Discord n’a pas pu être vérifiée. Relancez la connexion "
|
||||
"depuis cette page."
|
||||
|
||||
#: app/routes/auth.py:469
|
||||
#: app/routes/auth.py:480
|
||||
msgid "Discord authorization failed. No code received."
|
||||
msgstr "L’autorisation Discord a échoué : aucun code reçu."
|
||||
|
||||
#: app/routes/auth.py:493
|
||||
#: app/routes/auth.py:504
|
||||
msgid "Failed to connect to Discord. Please try again."
|
||||
msgstr "Impossible de joindre Discord. Veuillez réessayer."
|
||||
|
||||
#: app/routes/auth.py:497
|
||||
#: app/routes/auth.py:508
|
||||
msgid "Failed to obtain Discord access token."
|
||||
msgstr "Impossible d’obtenir le jeton d’accès Discord."
|
||||
|
||||
#: app/routes/auth.py:512
|
||||
#: app/routes/auth.py:523
|
||||
msgid "Failed to fetch Discord user profile."
|
||||
msgstr "Impossible de récupérer le profil Discord."
|
||||
|
||||
#: app/routes/auth.py:559
|
||||
#: app/routes/auth.py:570
|
||||
msgid "Discord account connected! Your profile has been pre-filled."
|
||||
msgstr "Compte Discord connecté. Votre profil a été pré-rempli."
|
||||
|
||||
#: app/routes/auth.py:587
|
||||
#: app/routes/auth.py:598
|
||||
msgid "You have been logged out."
|
||||
msgstr "Vous avez été déconnecté."
|
||||
|
||||
#: app/routes/evaluations.py:41
|
||||
#: app/routes/evaluations.py:45
|
||||
msgid "You do not have permission to view evaluations."
|
||||
msgstr "Vous n’avez pas les droits pour consulter les évaluations."
|
||||
|
||||
#: app/routes/evaluations.py:122
|
||||
#: app/routes/evaluations.py:135
|
||||
msgid "You do not have permission to evaluate players."
|
||||
msgstr "Vous n’avez pas les droits pour évaluer des joueurs."
|
||||
|
||||
#: app/routes/evaluations.py:127 app/routes/evaluations.py:220
|
||||
#: app/routes/evaluations.py:140 app/routes/evaluations.py:263
|
||||
msgid "You do not have permission to evaluate players in this tryout."
|
||||
msgstr "Vous n’avez pas les droits pour évaluer des joueurs dans cette sélection."
|
||||
|
||||
#: app/routes/evaluations.py:134
|
||||
#: app/routes/evaluations.py:151
|
||||
msgid "Player is not registered for this tryout."
|
||||
msgstr "Ce joueur n’est pas inscrit à cette sélection."
|
||||
|
||||
#: app/routes/evaluations.py:139
|
||||
#: app/routes/evaluations.py:156
|
||||
msgid "Can only evaluate players."
|
||||
msgstr "Seuls des joueurs peuvent être évalués."
|
||||
|
||||
#: app/routes/evaluations.py:177
|
||||
#: app/routes/evaluations.py:208
|
||||
msgid "Evaluation updated!"
|
||||
msgstr "Évaluation mise à jour."
|
||||
|
||||
#: app/routes/evaluations.py:190
|
||||
#: app/routes/evaluations.py:228
|
||||
msgid "Evaluation submitted successfully!"
|
||||
msgstr "Évaluation enregistrée."
|
||||
|
||||
#: app/routes/evaluations.py:215 app/routes/teams.py:236
|
||||
#: app/routes/teams.py:267 app/routes/teams.py:298 app/routes/teams.py:323
|
||||
#: app/routes/teams.py:348 app/routes/teams.py:380 app/routes/tryouts.py:341
|
||||
#: app/routes/tryouts.py:357 app/routes/tryouts.py:376
|
||||
#: app/routes/tryouts.py:413 app/routes/tryouts.py:448
|
||||
#: app/routes/tryouts.py:467
|
||||
#: app/routes/evaluations.py:258 app/routes/teams.py:268
|
||||
#: app/routes/teams.py:309 app/routes/teams.py:350 app/routes/teams.py:375
|
||||
#: app/routes/teams.py:400 app/routes/teams.py:435 app/routes/tryouts.py:472
|
||||
#: app/routes/tryouts.py:488 app/routes/tryouts.py:508
|
||||
#: app/routes/tryouts.py:547 app/routes/tryouts.py:583
|
||||
#: app/routes/tryouts.py:602
|
||||
msgid "Permission denied."
|
||||
msgstr "Accès refusé."
|
||||
|
||||
#: app/routes/main.py:44
|
||||
#: app/routes/main.py:53
|
||||
msgid "That language is not available."
|
||||
msgstr "Cette langue n’est pas disponible."
|
||||
|
||||
#: app/routes/matches.py:201
|
||||
#: app/routes/matches.py:245
|
||||
msgid "You do not have permission to schedule matches for this tryout."
|
||||
msgstr "Vous n’avez pas les droits pour planifier des matchs pour cette sélection."
|
||||
|
||||
#: app/routes/matches.py:205 app/routes/matches.py:336
|
||||
#: app/routes/matches.py:249 app/routes/matches.py:422
|
||||
msgid "This tryout has ended. Matches can no longer be created or modified."
|
||||
msgstr ""
|
||||
"Cette sélection est terminée. Les matchs ne peuvent plus être créés ni "
|
||||
"modifiés."
|
||||
|
||||
#: app/routes/matches.py:224
|
||||
#: app/routes/matches.py:270
|
||||
msgid "Start time is required. Please select a time slot."
|
||||
msgstr "L’heure de début est obligatoire. Choisissez une plage horaire."
|
||||
|
||||
#: app/routes/matches.py:231 app/routes/matches.py:359
|
||||
#: app/routes/team_matches.py:123 app/routes/team_matches.py:206
|
||||
#: app/routes/matches.py:282 app/routes/matches.py:445
|
||||
#: app/routes/team_matches.py:151 app/routes/team_matches.py:255
|
||||
msgid "Invalid date format."
|
||||
msgstr "Format de date invalide."
|
||||
|
||||
#: app/routes/matches.py:246 app/routes/team_matches.py:140
|
||||
#: app/routes/matches.py:302 app/routes/team_matches.py:172
|
||||
msgid "Invalid time format."
|
||||
msgstr "Format d’heure invalide."
|
||||
|
||||
#: app/routes/matches.py:317
|
||||
#: app/routes/matches.py:398
|
||||
msgid "Match scheduled successfully!"
|
||||
msgstr "Match planifié."
|
||||
|
||||
#: app/routes/matches.py:332 app/routes/team_matches.py:193
|
||||
#: app/routes/matches.py:418 app/routes/team_matches.py:242
|
||||
msgid "You do not have permission to edit this match."
|
||||
msgstr "Vous n’avez pas les droits pour modifier ce match."
|
||||
|
||||
#: app/routes/matches.py:365
|
||||
#: app/routes/matches.py:456
|
||||
msgid "Start time is required."
|
||||
msgstr "L’heure de début est obligatoire."
|
||||
|
||||
#: app/routes/matches.py:461 app/routes/team_matches.py:229
|
||||
#: app/routes/matches.py:578 app/routes/team_matches.py:284
|
||||
msgid "Match updated successfully!"
|
||||
msgstr "Match mis à jour."
|
||||
|
||||
#: app/routes/matches.py:506 app/routes/team_matches.py:243
|
||||
#: app/routes/matches.py:631 app/routes/team_matches.py:299
|
||||
msgid "You do not have permission to delete this match."
|
||||
msgstr "Vous n’avez pas les droits pour supprimer ce match."
|
||||
|
||||
#: app/routes/matches.py:509
|
||||
#: app/routes/matches.py:634
|
||||
msgid "This tryout has ended. Matches can no longer be deleted."
|
||||
msgstr "Cette sélection est terminée. Les matchs ne peuvent plus être supprimés."
|
||||
|
||||
#: app/routes/matches.py:521 app/routes/team_matches.py:247
|
||||
#: app/routes/matches.py:647 app/routes/team_matches.py:303
|
||||
msgid "Match deleted successfully."
|
||||
msgstr "Match supprimé."
|
||||
|
||||
#: app/routes/team_matches.py:81
|
||||
#: app/routes/team_matches.py:98
|
||||
msgid "You do not have permission to schedule matches for this team."
|
||||
msgstr "Vous n’avez pas les droits pour planifier des matchs pour cette équipe."
|
||||
|
||||
#: app/routes/team_matches.py:116
|
||||
#: app/routes/team_matches.py:140
|
||||
msgid "Date is required."
|
||||
msgstr "La date est obligatoire."
|
||||
|
||||
#: app/routes/team_matches.py:179
|
||||
#: app/routes/team_matches.py:228
|
||||
#, python-format
|
||||
msgid "Team match \"%(title)s\" scheduled successfully!"
|
||||
msgstr "Match d’équipe « %(title)s » planifié."
|
||||
|
||||
#: app/routes/teams.py:28
|
||||
#: app/routes/team_matches.py:267
|
||||
msgid "Invalid start time format."
|
||||
msgstr "Format d’heure de début invalide."
|
||||
|
||||
#: app/routes/team_matches.py:275
|
||||
msgid "Invalid end time format."
|
||||
msgstr "Format d’heure de fin invalide."
|
||||
|
||||
#: app/routes/teams.py:38
|
||||
msgid "Use My Team(s) to view your teams."
|
||||
msgstr "Utilisez « Mon ou mes équipes » pour consulter vos équipes."
|
||||
|
||||
#: app/routes/teams.py:31
|
||||
#: app/routes/teams.py:41
|
||||
msgid "You do not have permission to view teams."
|
||||
msgstr "Vous n’avez pas les droits pour consulter les équipes."
|
||||
|
||||
#: app/routes/teams.py:48
|
||||
#: app/routes/teams.py:68
|
||||
msgid "This page is for players."
|
||||
msgstr "Cette page est réservée aux joueurs."
|
||||
|
||||
#: app/routes/teams.py:90
|
||||
#: app/routes/teams.py:121
|
||||
msgid "You do not have permission to create teams."
|
||||
msgstr "Vous n’avez pas les droits pour créer une équipe."
|
||||
|
||||
#: app/routes/teams.py:98 app/routes/teams.py:143
|
||||
#: app/routes/teams.py:129 app/routes/teams.py:174
|
||||
msgid "Team name is required."
|
||||
msgstr "Le nom de l’équipe est obligatoire."
|
||||
|
||||
#: app/routes/teams.py:103 app/routes/teams.py:148
|
||||
#: app/routes/teams.py:134 app/routes/teams.py:179
|
||||
#, python-format
|
||||
msgid "Team \"%(name)s\" already exists."
|
||||
msgstr "L’équipe « %(name)s » existe déjà."
|
||||
|
||||
#: app/routes/teams.py:125
|
||||
#: app/routes/teams.py:156
|
||||
#, python-format
|
||||
msgid "Team \"%(name)s\" created successfully!"
|
||||
msgstr "Équipe « %(name)s » créée."
|
||||
|
||||
#: app/routes/teams.py:135
|
||||
#: app/routes/teams.py:166
|
||||
msgid "You do not have permission to edit this team."
|
||||
msgstr "Vous n’avez pas les droits pour modifier cette équipe."
|
||||
|
||||
#: app/routes/teams.py:186
|
||||
#: app/routes/teams.py:217
|
||||
#, python-format
|
||||
msgid "Team \"%(name)s\" updated successfully!"
|
||||
msgstr "Équipe « %(name)s » mise à jour."
|
||||
|
||||
#: app/routes/teams.py:195
|
||||
#: app/routes/teams.py:226
|
||||
msgid "You do not have permission to delete teams."
|
||||
msgstr "Vous n’avez pas les droits pour supprimer une équipe."
|
||||
|
||||
#: app/routes/teams.py:226
|
||||
#: app/routes/teams.py:258
|
||||
#, python-format
|
||||
msgid "Team \"%(name)s\" deleted successfully."
|
||||
msgstr "Équipe « %(name)s » supprimée."
|
||||
|
||||
#: app/routes/teams.py:241
|
||||
#: app/routes/teams.py:273
|
||||
msgid "Please select a coach."
|
||||
msgstr "Veuillez choisir un coach."
|
||||
|
||||
#: app/routes/teams.py:246
|
||||
#: app/routes/teams.py:278
|
||||
msgid "Only coaches can be assigned as coach."
|
||||
msgstr "Seuls les coachs peuvent être assignés comme coach."
|
||||
|
||||
#: app/routes/teams.py:250
|
||||
#: app/routes/teams.py:284
|
||||
#, python-format
|
||||
msgid "%(username)s is already a coach of %(name)s."
|
||||
msgstr "%(username)s est déjà coach de %(name)s."
|
||||
|
||||
#: app/routes/teams.py:257
|
||||
#: app/routes/teams.py:297
|
||||
#, python-format
|
||||
msgid "%(username)s added as coach of %(name)s."
|
||||
msgstr "%(username)s a été ajouté comme coach de %(name)s."
|
||||
|
||||
#: app/routes/teams.py:272
|
||||
#: app/routes/teams.py:314
|
||||
msgid "Please select a manager."
|
||||
msgstr "Veuillez choisir un gérant."
|
||||
|
||||
#: app/routes/teams.py:277
|
||||
#: app/routes/teams.py:319
|
||||
msgid "Only managers can be assigned as manager."
|
||||
msgstr "Seuls les gérants peuvent être assignés comme gérant."
|
||||
|
||||
#: app/routes/teams.py:281
|
||||
#: app/routes/teams.py:325
|
||||
#, python-format
|
||||
msgid "%(username)s is already a manager of %(name)s."
|
||||
msgstr "%(username)s est déjà gérant de %(name)s."
|
||||
|
||||
#: app/routes/teams.py:288
|
||||
#: app/routes/teams.py:338
|
||||
#, python-format
|
||||
msgid "%(username)s added as manager of %(name)s."
|
||||
msgstr "%(username)s a été ajouté comme gérant de %(name)s."
|
||||
|
||||
#: app/routes/teams.py:313
|
||||
#: app/routes/teams.py:365
|
||||
#, python-format
|
||||
msgid "Coach removed from %(name)s."
|
||||
msgstr "Coach retiré de %(name)s."
|
||||
|
||||
#: app/routes/teams.py:338
|
||||
#: app/routes/teams.py:390
|
||||
#, python-format
|
||||
msgid "Manager removed from %(name)s."
|
||||
msgstr "Gérant retiré de %(name)s."
|
||||
|
||||
#: app/routes/teams.py:354 app/routes/tryouts.py:380 app/routes/tryouts.py:478
|
||||
#: app/routes/teams.py:406 app/routes/tryouts.py:512 app/routes/tryouts.py:613
|
||||
msgid "Please select a player."
|
||||
msgstr "Veuillez choisir un joueur."
|
||||
|
||||
#: app/routes/teams.py:359
|
||||
#: app/routes/teams.py:411
|
||||
msgid "Can only assign players to teams."
|
||||
msgstr "Seuls des joueurs peuvent être assignés à une équipe."
|
||||
|
||||
#: app/routes/teams.py:364
|
||||
#: app/routes/teams.py:417
|
||||
#, python-format
|
||||
msgid "%(username)s is already on %(name)s."
|
||||
msgstr "%(username)s fait déjà partie de %(name)s."
|
||||
|
||||
#: app/routes/teams.py:370
|
||||
#: app/routes/teams.py:425
|
||||
#, python-format
|
||||
msgid "%(username)s added to %(name)s!"
|
||||
msgstr "%(username)s a été ajouté à %(name)s."
|
||||
|
||||
#: app/routes/teams.py:386 app/routes/teams.py:449
|
||||
#: app/routes/teams.py:442 app/routes/teams.py:515
|
||||
#, python-format
|
||||
msgid "%(username)s is not on %(name)s."
|
||||
msgstr "%(username)s ne fait pas partie de %(name)s."
|
||||
|
||||
#: app/routes/teams.py:391
|
||||
#: app/routes/teams.py:450
|
||||
#, python-format
|
||||
msgid "%(username)s removed from %(name)s."
|
||||
msgstr "%(username)s a été retiré de %(name)s."
|
||||
|
||||
#: app/routes/teams.py:421 app/routes/teams.py:439
|
||||
#: app/routes/teams.py:486 app/routes/teams.py:504
|
||||
msgid "You do not have permission to add notes to this team."
|
||||
msgstr "Vous n’avez pas les droits pour ajouter des notes à cette équipe."
|
||||
|
||||
#: app/routes/teams.py:429
|
||||
#: app/routes/teams.py:494
|
||||
msgid "Team notes added successfully!"
|
||||
msgstr "Notes d’équipe ajoutées."
|
||||
|
||||
#: app/routes/teams.py:444 app/routes/users.py:1266 app/routes/users.py:1308
|
||||
#: app/routes/teams.py:509 app/routes/users.py:1530 app/routes/users.py:1573
|
||||
msgid "Can only add notes for players."
|
||||
msgstr "Il n’est possible d’ajouter des notes que pour des joueurs."
|
||||
|
||||
#: app/routes/teams.py:457
|
||||
#: app/routes/teams.py:525
|
||||
#, python-format
|
||||
msgid "Note added for %(username)s!"
|
||||
msgstr "Note ajoutée pour %(username)s."
|
||||
|
||||
#: app/routes/tryouts.py:43
|
||||
#: app/routes/tryouts.py:56
|
||||
msgid "You do not have permission to create tryouts."
|
||||
msgstr "Vous n’avez pas les droits pour créer une sélection."
|
||||
|
||||
#: app/routes/tryouts.py:65 app/routes/tryouts.py:140
|
||||
#: app/routes/tryouts.py:82 app/routes/tryouts.py:189
|
||||
msgid "Invalid start date format."
|
||||
msgstr "Format de date de début invalide."
|
||||
|
||||
#: app/routes/tryouts.py:74 app/routes/tryouts.py:149
|
||||
#: app/routes/tryouts.py:97 app/routes/tryouts.py:204
|
||||
msgid "End date cannot be before start date."
|
||||
msgstr "La date de fin ne peut pas précéder la date de début."
|
||||
|
||||
#: app/routes/tryouts.py:78 app/routes/tryouts.py:153
|
||||
#: app/routes/tryouts.py:107 app/routes/tryouts.py:214
|
||||
msgid "Invalid end date format."
|
||||
msgstr "Format de date de fin invalide."
|
||||
|
||||
#: app/routes/tryouts.py:100
|
||||
#: app/routes/tryouts.py:139
|
||||
msgid "Tryout created successfully!"
|
||||
msgstr "Sélection créée."
|
||||
|
||||
#: app/routes/tryouts.py:114
|
||||
#: app/routes/tryouts.py:159
|
||||
msgid "You do not have permission to edit this tryout."
|
||||
msgstr "Vous n’avez pas les droits pour modifier cette sélection."
|
||||
|
||||
#: app/routes/tryouts.py:118
|
||||
#: app/routes/tryouts.py:163
|
||||
msgid "This tryout has ended and can no longer be modified."
|
||||
msgstr "Cette sélection est terminée et ne peut plus être modifiée."
|
||||
|
||||
#: app/routes/tryouts.py:175
|
||||
#: app/routes/tryouts.py:242
|
||||
msgid "Tryout updated successfully!"
|
||||
msgstr "Sélection mise à jour."
|
||||
|
||||
#: app/routes/tryouts.py:207
|
||||
#: app/routes/tryouts.py:289
|
||||
msgid "You do not have permission to view this tryout."
|
||||
msgstr "Vous n’avez pas les droits pour consulter cette sélection."
|
||||
|
||||
#: app/routes/tryouts.py:309
|
||||
#: app/routes/tryouts.py:439
|
||||
msgid "Only players can register for tryouts."
|
||||
msgstr "Seuls les joueurs peuvent s’inscrire à une sélection."
|
||||
|
||||
#: app/routes/tryouts.py:313
|
||||
#: app/routes/tryouts.py:443
|
||||
msgid "This tryout is not accepting registrations."
|
||||
msgstr "Cette sélection n’accepte pas d’inscriptions."
|
||||
|
||||
#: app/routes/tryouts.py:319
|
||||
#: app/routes/tryouts.py:450
|
||||
msgid "You are already registered for this tryout."
|
||||
msgstr "Vous êtes déjà inscrit à cette sélection."
|
||||
|
||||
#: app/routes/tryouts.py:325 app/routes/tryouts.py:397
|
||||
#: app/routes/tryouts.py:456 app/routes/tryouts.py:531
|
||||
msgid "This tryout is full."
|
||||
msgstr "Cette sélection est complète."
|
||||
|
||||
#: app/routes/tryouts.py:331
|
||||
#: app/routes/tryouts.py:462
|
||||
msgid "Successfully registered for tryout!"
|
||||
msgstr "Inscription à la sélection réussie."
|
||||
|
||||
#: app/routes/tryouts.py:347
|
||||
#: app/routes/tryouts.py:478
|
||||
#, python-format
|
||||
msgid "Tryout status updated to %(new_status)s."
|
||||
msgstr "Statut de la sélection mis à jour : %(new_status)s."
|
||||
|
||||
#: app/routes/tryouts.py:366
|
||||
#: app/routes/tryouts.py:498
|
||||
msgid "Registration status updated."
|
||||
msgstr "Statut d’inscription mis à jour."
|
||||
|
||||
#: app/routes/tryouts.py:385
|
||||
#: app/routes/tryouts.py:517
|
||||
msgid "Can only register players."
|
||||
msgstr "Seuls des joueurs peuvent être inscrits."
|
||||
|
||||
#: app/routes/tryouts.py:391
|
||||
#: app/routes/tryouts.py:523
|
||||
#, python-format
|
||||
msgid "%(username)s is already registered for this tryout."
|
||||
msgstr "%(username)s est déjà inscrit à cette sélection."
|
||||
|
||||
#: app/routes/tryouts.py:403
|
||||
#: app/routes/tryouts.py:537
|
||||
#, python-format
|
||||
msgid "%(username)s registered for tryout!"
|
||||
msgstr "%(username)s est inscrit à la sélection."
|
||||
|
||||
#: app/routes/tryouts.py:438
|
||||
#: app/routes/tryouts.py:573
|
||||
#, python-format
|
||||
msgid "%(username)s removed from tryout."
|
||||
msgstr "%(username)s a été retiré de la sélection."
|
||||
|
||||
#: app/routes/tryouts.py:456
|
||||
#: app/routes/tryouts.py:591
|
||||
#, python-format
|
||||
msgid "Team \"%(team_name)s\" created!"
|
||||
msgstr "Équipe « %(team_name)s » créée."
|
||||
|
||||
#: app/routes/tryouts.py:485
|
||||
#: app/routes/tryouts.py:622
|
||||
msgid "That player is not registered for this tryout."
|
||||
msgstr "Ce joueur n’est pas inscrit à cette sélection."
|
||||
|
||||
#: app/routes/tryouts.py:491
|
||||
#: app/routes/tryouts.py:628
|
||||
msgid "Player is already on this team."
|
||||
msgstr "Ce joueur est déjà dans cette équipe."
|
||||
|
||||
#: app/routes/tryouts.py:496
|
||||
#: app/routes/tryouts.py:633
|
||||
msgid "Player added to team!"
|
||||
msgstr "Joueur ajouté à l’équipe."
|
||||
|
||||
#: app/routes/tryouts.py:506
|
||||
#: app/routes/tryouts.py:643
|
||||
msgid "You do not have permission to delete this tryout."
|
||||
msgstr "Vous n’avez pas les droits pour supprimer cette sélection."
|
||||
|
||||
#: app/routes/tryouts.py:541
|
||||
#: app/routes/tryouts.py:679
|
||||
msgid "Tryout deleted successfully."
|
||||
msgstr "Sélection supprimée."
|
||||
|
||||
#: app/routes/users.py:61
|
||||
#: app/routes/users.py:83
|
||||
msgid "No file selected."
|
||||
msgstr "Aucun fichier sélectionné."
|
||||
|
||||
#: app/routes/users.py:65
|
||||
#: app/routes/users.py:87
|
||||
msgid "Only PDF files are allowed for contracts."
|
||||
msgstr "Seuls les fichiers PDF sont acceptés pour les contrats."
|
||||
|
||||
#: app/routes/users.py:70
|
||||
#: app/routes/users.py:92
|
||||
msgid "That file is not a PDF, whatever its name says."
|
||||
msgstr "Ce fichier n’est pas un PDF, quel que soit son nom."
|
||||
|
||||
#: app/routes/users.py:153
|
||||
#: app/routes/users.py:181
|
||||
msgid "Only the president can manage users."
|
||||
msgstr "Seul le président peut gérer les utilisateurs."
|
||||
|
||||
#: app/routes/users.py:165
|
||||
#: app/routes/users.py:193
|
||||
msgid "Only the president can edit users."
|
||||
msgstr "Seul le président peut modifier des utilisateurs."
|
||||
|
||||
#: app/routes/users.py:202
|
||||
#: app/routes/users.py:234
|
||||
msgid "Email already in use by another account."
|
||||
msgstr "Cette adresse courriel est déjà utilisée par un autre compte."
|
||||
|
||||
#: app/routes/users.py:212
|
||||
#: app/routes/users.py:245
|
||||
msgid "You cannot change your own role. Ask another president to do it."
|
||||
msgstr ""
|
||||
"Vous ne pouvez pas modifier votre propre rôle. Demandez à un autre "
|
||||
"président de le faire."
|
||||
|
||||
#: app/routes/users.py:223
|
||||
#: app/routes/users.py:258
|
||||
msgid ""
|
||||
"This is the last active president. Promote another account before "
|
||||
"changing this one."
|
||||
@@ -568,174 +576,174 @@ msgstr ""
|
||||
"C’est le dernier président actif. Promouvez un autre compte avant de "
|
||||
"modifier celui-ci."
|
||||
|
||||
#: app/routes/users.py:285
|
||||
#: app/routes/users.py:337
|
||||
#, python-format
|
||||
msgid "User %(username)s updated successfully!"
|
||||
msgstr "Utilisateur %(username)s mis à jour."
|
||||
|
||||
#: app/routes/users.py:300
|
||||
#: app/routes/users.py:358
|
||||
msgid "Only the president can delete users."
|
||||
msgstr "Seul le président peut supprimer des utilisateurs."
|
||||
|
||||
#: app/routes/users.py:304
|
||||
#: app/routes/users.py:362
|
||||
msgid "You cannot delete your own account."
|
||||
msgstr "Vous ne pouvez pas supprimer votre propre compte."
|
||||
|
||||
#: app/routes/users.py:341
|
||||
#: app/routes/users.py:405
|
||||
#, python-format
|
||||
msgid "User %(deleted_username)s has been removed."
|
||||
msgstr "L’utilisateur %(deleted_username)s a été supprimé."
|
||||
|
||||
#: app/routes/users.py:350
|
||||
#: app/routes/users.py:416
|
||||
msgid "Only the president can create users."
|
||||
msgstr "Seul le président peut créer des utilisateurs."
|
||||
|
||||
#: app/routes/users.py:389
|
||||
#: app/routes/users.py:464
|
||||
#, python-format
|
||||
msgid "User %(full_name)s created as %(role)s!"
|
||||
msgstr "Utilisateur %(full_name)s créé avec le rôle %(role)s."
|
||||
|
||||
#: app/routes/users.py:446
|
||||
#: app/routes/users.py:534
|
||||
msgid "Username already taken."
|
||||
msgstr "Ce nom d’utilisateur est déjà pris."
|
||||
|
||||
#: app/routes/users.py:452
|
||||
#: app/routes/users.py:544
|
||||
msgid "Email already in use."
|
||||
msgstr "Cette adresse courriel est déjà utilisée."
|
||||
|
||||
#: app/routes/users.py:477
|
||||
#: app/routes/users.py:574
|
||||
msgid "Profile updated successfully!"
|
||||
msgstr "Profil mis à jour."
|
||||
|
||||
#: app/routes/users.py:675
|
||||
#: app/routes/users.py:809
|
||||
msgid "Only presidents, managers, and coaches can upload contracts."
|
||||
msgstr "Seuls les présidents, gérants et coachs peuvent téléverser un contrat."
|
||||
|
||||
#: app/routes/users.py:694
|
||||
#: app/routes/users.py:828
|
||||
msgid "You do not have permission to upload a contract for this player."
|
||||
msgstr "Vous n’avez pas les droits pour téléverser un contrat pour ce joueur."
|
||||
|
||||
#: app/routes/users.py:733
|
||||
#: app/routes/users.py:869
|
||||
#, python-format
|
||||
msgid "Contract uploaded successfully for %(username)s!"
|
||||
msgstr "Contrat téléversé pour %(username)s."
|
||||
|
||||
#: app/routes/users.py:745
|
||||
#: app/routes/users.py:883
|
||||
msgid "Only the player can upload their signed contract."
|
||||
msgstr "Seul le joueur peut téléverser son contrat signé."
|
||||
|
||||
#: app/routes/users.py:762
|
||||
#: app/routes/users.py:902
|
||||
msgid "Signed contract uploaded successfully!"
|
||||
msgstr "Contrat signé téléversé."
|
||||
|
||||
#: app/routes/users.py:772 app/routes/users.py:783
|
||||
#: app/routes/users.py:912 app/routes/users.py:925
|
||||
msgid "You do not have permission to download this contract."
|
||||
msgstr "Vous n’avez pas les droits pour télécharger ce contrat."
|
||||
|
||||
#: app/routes/users.py:786
|
||||
#: app/routes/users.py:928
|
||||
msgid "No signed contract available."
|
||||
msgstr "Aucun contrat signé disponible."
|
||||
|
||||
#: app/routes/users.py:853
|
||||
#: app/routes/users.py:1034
|
||||
msgid "Only players can request One on One sessions."
|
||||
msgstr "Seuls les joueurs peuvent demander une rencontre individuelle."
|
||||
|
||||
#: app/routes/users.py:866
|
||||
#: app/routes/users.py:1047
|
||||
msgid "You do not have a coach assigned to your team."
|
||||
msgstr "Aucun coach n’est assigné à votre équipe."
|
||||
|
||||
#: app/routes/users.py:893
|
||||
#: app/routes/users.py:1082
|
||||
msgid "Cannot request One on One - no coach assigned."
|
||||
msgstr "Impossible de demander une rencontre : aucun coach assigné."
|
||||
|
||||
#: app/routes/users.py:901
|
||||
#: app/routes/users.py:1090
|
||||
msgid "Invalid date or time format."
|
||||
msgstr "Format de date ou d’heure invalide."
|
||||
|
||||
#: app/routes/users.py:915
|
||||
#: app/routes/users.py:1104
|
||||
msgid "The requested time is not within the coach's availability."
|
||||
msgstr "L’horaire demandé ne correspond à aucune disponibilité du coach."
|
||||
|
||||
#: app/routes/users.py:938
|
||||
#: app/routes/users.py:1132
|
||||
msgid "Your One on One request has been submitted!"
|
||||
msgstr "Votre demande de rencontre a été envoyée."
|
||||
|
||||
#: app/routes/users.py:973
|
||||
#: app/routes/users.py:1176
|
||||
msgid "Only coaches can accept One on One requests."
|
||||
msgstr "Seuls les coachs peuvent accepter une demande de rencontre."
|
||||
|
||||
#: app/routes/users.py:979 app/routes/users.py:1020
|
||||
#: app/routes/users.py:1182 app/routes/users.py:1232
|
||||
msgid "This request is not for you."
|
||||
msgstr "Cette demande ne vous est pas destinée."
|
||||
|
||||
#: app/routes/users.py:983 app/routes/users.py:1024
|
||||
#: app/routes/users.py:1186 app/routes/users.py:1236
|
||||
msgid "This request has already been processed."
|
||||
msgstr "Cette demande a déjà été traitée."
|
||||
|
||||
#: app/routes/users.py:1005
|
||||
#: app/routes/users.py:1213
|
||||
#, python-format
|
||||
msgid "One on One request from %(player)s has been approved!"
|
||||
msgstr "La demande de rencontre de %(player)s a été approuvée."
|
||||
|
||||
#: app/routes/users.py:1014
|
||||
#: app/routes/users.py:1226
|
||||
msgid "Only coaches can reject One on One requests."
|
||||
msgstr "Seuls les coachs peuvent refuser une demande de rencontre."
|
||||
|
||||
#: app/routes/users.py:1051
|
||||
#: app/routes/users.py:1268
|
||||
#, python-format
|
||||
msgid "One on One request from %(player)s has been rejected."
|
||||
msgstr "La demande de rencontre de %(player)s a été refusée."
|
||||
|
||||
#: app/routes/users.py:1064
|
||||
#: app/routes/users.py:1286
|
||||
msgid "This page is for players only."
|
||||
msgstr "Cette page est réservée aux joueurs."
|
||||
|
||||
#: app/routes/users.py:1095
|
||||
#: app/routes/users.py:1328
|
||||
msgid "Only coaches can manage availability."
|
||||
msgstr "Seuls les coachs peuvent gérer leurs disponibilités."
|
||||
|
||||
#: app/routes/users.py:1157
|
||||
#: app/routes/users.py:1394
|
||||
msgid "Only coaches can access the notes dashboard."
|
||||
msgstr "Seuls les coachs ont accès au tableau des notes."
|
||||
|
||||
#: app/routes/users.py:1221
|
||||
#: app/routes/users.py:1484
|
||||
msgid "Only coaches can manage team notes."
|
||||
msgstr "Seuls les coachs peuvent gérer les notes d’équipe."
|
||||
|
||||
#: app/routes/users.py:1227
|
||||
#: app/routes/users.py:1490
|
||||
msgid "You are not assigned to a team."
|
||||
msgstr "Vous n’êtes assigné à aucune équipe."
|
||||
|
||||
#: app/routes/users.py:1240
|
||||
#: app/routes/users.py:1503
|
||||
msgid "Team notes saved successfully!"
|
||||
msgstr "Notes d’équipe enregistrées."
|
||||
|
||||
#: app/routes/users.py:1254
|
||||
#: app/routes/users.py:1518
|
||||
msgid "Only coaches can manage personal notes."
|
||||
msgstr "Seuls les coachs peuvent gérer les notes personnelles."
|
||||
|
||||
#: app/routes/users.py:1261 app/routes/users.py:1303 app/routes/users.py:1353
|
||||
#: app/routes/users.py:1404
|
||||
#: app/routes/users.py:1525 app/routes/users.py:1568 app/routes/users.py:1619
|
||||
#: app/routes/users.py:1673
|
||||
msgid "Player and content are required."
|
||||
msgstr "Le joueur et le contenu sont obligatoires."
|
||||
|
||||
#: app/routes/users.py:1270 app/routes/users.py:1312 app/routes/users.py:1357
|
||||
#: app/routes/users.py:1408
|
||||
#: app/routes/users.py:1534 app/routes/users.py:1577 app/routes/users.py:1623
|
||||
#: app/routes/users.py:1677
|
||||
msgid "You can only write notes about players you work with."
|
||||
msgstr ""
|
||||
"Vous ne pouvez écrire des notes que sur les joueurs avec qui vous "
|
||||
"travaillez."
|
||||
|
||||
#: app/routes/users.py:1280 app/routes/users.py:1325
|
||||
#: app/routes/users.py:1544 app/routes/users.py:1590
|
||||
#, python-format
|
||||
msgid "Note added for %(username)s."
|
||||
msgstr "Note ajoutée pour %(username)s."
|
||||
|
||||
#: app/routes/users.py:1293 app/routes/users.py:1338 app/routes/users.py:1388
|
||||
#: app/routes/users.py:1558 app/routes/users.py:1604 app/routes/users.py:1657
|
||||
msgid "Only coaches can add personal notes."
|
||||
msgstr "Seuls les coachs peuvent ajouter des notes personnelles."
|
||||
|
||||
#: app/routes/users.py:1368 app/routes/users.py:1419
|
||||
#: app/routes/users.py:1634 app/routes/users.py:1688
|
||||
msgid "Note added successfully."
|
||||
msgstr "Note ajoutée."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user