On ajoute un lien vers l'événement à la création

This commit is contained in:
Jean-Marie Favreau 2024-10-18 00:07:54 +02:00
parent ef778cdcb5
commit ef9d0b6024
2 changed files with 152 additions and 140 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: agenda_culturel\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-17 23:13+0200\n"
"POT-Creation-Date: 2024-10-18 00:07+0200\n"
"PO-Revision-Date: 2023-10-29 14:16+0000\n"
"Last-Translator: Jean-Marie Favreau <jeanmarie.favreau@free.fr>\n"
"Language-Team: Jean-Marie Favreau <jeanmarie.favreau@free.fr>\n"
@ -91,8 +91,8 @@ msgid "Evening"
msgstr "Soir"
#: agenda_culturel/forms.py:44 agenda_culturel/models.py:171
#: agenda_culturel/models.py:355 agenda_culturel/models.py:1376
#: agenda_culturel/models.py:1478
#: agenda_culturel/models.py:355 agenda_culturel/models.py:1378
#: agenda_culturel/models.py:1480
msgid "Category"
msgstr "Catégorie"
@ -118,7 +118,7 @@ msgid "Apply category {} to the event {}"
msgstr "Appliquer la catégorie {} à l'événement {}"
#: agenda_culturel/forms.py:422 agenda_culturel/models.py:279
#: agenda_culturel/models.py:1530
#: agenda_culturel/models.py:1532
msgid "Place"
msgstr "Lieu"
@ -138,7 +138,7 @@ msgstr ""
#: agenda_culturel/models.py:49 agenda_culturel/models.py:94
#: agenda_culturel/models.py:241 agenda_culturel/models.py:258
#: agenda_culturel/models.py:1249 agenda_culturel/models.py:1322
#: agenda_culturel/models.py:1251 agenda_culturel/models.py:1324
msgid "Name"
msgstr "Nom"
@ -272,7 +272,7 @@ msgstr ""
msgid "Places"
msgstr "Lieux"
#: agenda_culturel/models.py:333 agenda_culturel/models.py:1363
#: agenda_culturel/models.py:333 agenda_culturel/models.py:1365
msgid "Published"
msgstr "Publié"
@ -292,7 +292,7 @@ msgstr "Titre"
msgid "Short title"
msgstr "Titre court"
#: agenda_culturel/models.py:350 agenda_culturel/models.py:1446
#: agenda_culturel/models.py:350 agenda_culturel/models.py:1448
msgid "Status"
msgstr "Status"
@ -326,7 +326,7 @@ msgstr "Heure de fin"
msgid "Recurrence"
msgstr "Récurrence"
#: agenda_culturel/models.py:390 agenda_culturel/models.py:1368
#: agenda_culturel/models.py:390 agenda_culturel/models.py:1370
msgid "Location"
msgstr "Localisation"
@ -422,137 +422,137 @@ msgstr "Événement"
msgid "Events"
msgstr "Événements"
#: agenda_culturel/models.py:1240
#: agenda_culturel/models.py:1242
msgid "Contact message"
msgstr "Message de contact"
#: agenda_culturel/models.py:1241
#: agenda_culturel/models.py:1243
msgid "Contact messages"
msgstr "Messages de contact"
#: agenda_culturel/models.py:1244
#: agenda_culturel/models.py:1246
msgid "Subject"
msgstr "Sujet"
#: agenda_culturel/models.py:1245
#: agenda_culturel/models.py:1247
msgid "The subject of your message"
msgstr "Sujet de votre message"
#: agenda_culturel/models.py:1250
#: agenda_culturel/models.py:1252
msgid "Your name"
msgstr "Votre nom"
#: agenda_culturel/models.py:1256
#: agenda_culturel/models.py:1258
msgid "Email address"
msgstr "Adresse email"
#: agenda_culturel/models.py:1257
#: agenda_culturel/models.py:1259
msgid "Your email address"
msgstr "Votre adresse email"
#: agenda_culturel/models.py:1262
#: agenda_culturel/models.py:1264
msgid "Message"
msgstr "Message"
#: agenda_culturel/models.py:1262
#: agenda_culturel/models.py:1264
msgid "Your message"
msgstr "Votre message"
#: agenda_culturel/models.py:1267 agenda_culturel/views.py:928
#: agenda_culturel/models.py:1269 agenda_culturel/views.py:934
msgid "Spam"
msgstr "Spam"
#: agenda_culturel/models.py:1268
#: agenda_culturel/models.py:1270
msgid "This message is a spam."
msgstr "Ce message est un spam."
#: agenda_culturel/models.py:1273 agenda_culturel/views.py:923
#: agenda_culturel/models.py:1275 agenda_culturel/views.py:929
msgid "Closed"
msgstr "Fermé"
#: agenda_culturel/models.py:1275
#: agenda_culturel/models.py:1277
msgid "this message has been processed and no longer needs to be handled"
msgstr "Ce message a été traité et ne nécessite plus d'être pris en charge"
#: agenda_culturel/models.py:1280
#: agenda_culturel/models.py:1282
msgid "Comments"
msgstr "Commentaires"
#: agenda_culturel/models.py:1281
#: agenda_culturel/models.py:1283
msgid "Comments on the message from the moderation team"
msgstr "Commentaires sur ce message par l'équipe de modération"
#: agenda_culturel/models.py:1293 agenda_culturel/models.py:1426
#: agenda_culturel/models.py:1295 agenda_culturel/models.py:1428
msgid "Recurrent import"
msgstr "Import récurrent"
#: agenda_culturel/models.py:1294
#: agenda_culturel/models.py:1296
msgid "Recurrent imports"
msgstr "Imports récurrents"
#: agenda_culturel/models.py:1298
#: agenda_culturel/models.py:1300
msgid "ical"
msgstr "ical"
#: agenda_culturel/models.py:1299
#: agenda_culturel/models.py:1301
msgid "ical no busy"
msgstr "ical sans busy"
#: agenda_culturel/models.py:1300
#: agenda_culturel/models.py:1302
msgid "ical no VC"
msgstr "ical sans VC"
#: agenda_culturel/models.py:1301
#: agenda_culturel/models.py:1303
msgid "lacoope.org"
msgstr "lacoope.org"
#: agenda_culturel/models.py:1302
#: agenda_culturel/models.py:1304
msgid "la comédie"
msgstr "la comédie"
#: agenda_culturel/models.py:1303
#: agenda_culturel/models.py:1305
msgid "le fotomat"
msgstr "le fotomat"
#: agenda_culturel/models.py:1304
#: agenda_culturel/models.py:1306
#, fuzzy
#| msgid "la puce à loreille"
msgid "la puce à l'oreille"
msgstr "la puce à loreille"
#: agenda_culturel/models.py:1305
#: agenda_culturel/models.py:1307
msgid "Plugin wordpress MEC"
msgstr "Plugin wordpress MEC"
#: agenda_culturel/models.py:1306
#: agenda_culturel/models.py:1308
msgid "Événements d'une page FB"
msgstr "Événements d'une page FB"
#: agenda_culturel/models.py:1307
#: agenda_culturel/models.py:1309
msgid "la cour des 3 coquins"
msgstr "la cour des 3 coquins"
#: agenda_culturel/models.py:1310
#: agenda_culturel/models.py:1312
msgid "simple"
msgstr "simple"
#: agenda_culturel/models.py:1311
#: agenda_culturel/models.py:1313
msgid "Headless Chromium"
msgstr "chromium sans interface"
#: agenda_culturel/models.py:1312
#: agenda_culturel/models.py:1314
msgid "Headless Chromium (pause)"
msgstr "chromium sans interface (pause)"
#: agenda_culturel/models.py:1317
#: agenda_culturel/models.py:1319
msgid "daily"
msgstr "chaque jour"
#: agenda_culturel/models.py:1319
#: agenda_culturel/models.py:1321
msgid "weekly"
msgstr "chaque semaine"
#: agenda_culturel/models.py:1324
#: agenda_culturel/models.py:1326
msgid ""
"Recurrent import name. Be careful to choose a name that is easy to "
"understand, as it will be public and displayed on the sites About page."
@ -560,135 +560,135 @@ msgstr ""
"Nom de l'import récurrent. Attention à choisir un nom compréhensible, car il "
"sera public, et affiché sur la page à propos du site."
#: agenda_culturel/models.py:1331
#: agenda_culturel/models.py:1333
msgid "Processor"
msgstr "Processeur"
#: agenda_culturel/models.py:1334
#: agenda_culturel/models.py:1336
msgid "Downloader"
msgstr "Téléchargeur"
#: agenda_culturel/models.py:1341
#: agenda_culturel/models.py:1343
msgid "Import recurrence"
msgstr "Récurrence d'import"
#: agenda_culturel/models.py:1348
#: agenda_culturel/models.py:1350
msgid "Source"
msgstr "Source"
#: agenda_culturel/models.py:1349
#: agenda_culturel/models.py:1351
msgid "URL of the source document"
msgstr "URL du document source"
#: agenda_culturel/models.py:1353
#: agenda_culturel/models.py:1355
msgid "Browsable url"
msgstr "URL navigable"
#: agenda_culturel/models.py:1355
#: agenda_culturel/models.py:1357
msgid "URL of the corresponding document that will be shown to visitors."
msgstr "URL correspondant au document et qui sera montrée aux visiteurs"
#: agenda_culturel/models.py:1364
#: agenda_culturel/models.py:1366
msgid "Status of each imported event (published or draft)"
msgstr "Status de chaque événement importé (publié ou brouillon)"
#: agenda_culturel/models.py:1369
#: agenda_culturel/models.py:1371
msgid "Address for each imported event"
msgstr "Adresse de chaque événement importé"
#: agenda_culturel/models.py:1377
#: agenda_culturel/models.py:1379
msgid "Category of each imported event"
msgstr "Catégorie de chaque événement importé"
#: agenda_culturel/models.py:1385
#: agenda_culturel/models.py:1387
msgid "Tags for each imported event"
msgstr "Étiquettes de chaque événement importé"
#: agenda_culturel/models.py:1386
#: agenda_culturel/models.py:1388
msgid "A list of tags that describe each imported event."
msgstr "Une liste d'étiquettes décrivant chaque événement importé"
#: agenda_culturel/models.py:1412
#: agenda_culturel/models.py:1414
msgid "Running"
msgstr "En cours"
#: agenda_culturel/models.py:1413
#: agenda_culturel/models.py:1415
msgid "Canceled"
msgstr "Annulé"
#: agenda_culturel/models.py:1414
#: agenda_culturel/models.py:1416
msgid "Success"
msgstr "Succès"
#: agenda_culturel/models.py:1415
#: agenda_culturel/models.py:1417
msgid "Failed"
msgstr "Erreur"
#: agenda_culturel/models.py:1418
#: agenda_culturel/models.py:1420
msgid "Batch importation"
msgstr "Importation par lot"
#: agenda_culturel/models.py:1419
#: agenda_culturel/models.py:1421
msgid "Batch importations"
msgstr "Importations par lot"
#: agenda_culturel/models.py:1427
#: agenda_culturel/models.py:1429
msgid "Reference to the recurrent import processing"
msgstr "Référence du processus d'import récurrent"
#: agenda_culturel/models.py:1435
#: agenda_culturel/models.py:1437
msgid "URL (if not recurrent import)"
msgstr "URL (si pas d'import récurrent)"
#: agenda_culturel/models.py:1437
#: agenda_culturel/models.py:1439
msgid "Source URL if no RecurrentImport is associated."
msgstr "URL source si aucun import récurrent n'est associé"
#: agenda_culturel/models.py:1450
#: agenda_culturel/models.py:1452
msgid "Error message"
msgstr "Votre message"
#: agenda_culturel/models.py:1454
#: agenda_culturel/models.py:1456
msgid "Number of collected events"
msgstr "Nombre d'événements collectés"
#: agenda_culturel/models.py:1457
#: agenda_culturel/models.py:1459
msgid "Number of imported events"
msgstr "Nombre d'événements importés"
#: agenda_culturel/models.py:1460
#: agenda_culturel/models.py:1462
msgid "Number of updated events"
msgstr "Nombre d'événements mis à jour"
#: agenda_culturel/models.py:1463
#: agenda_culturel/models.py:1465
msgid "Number of removed events"
msgstr "Nombre d'événements supprimés"
#: agenda_culturel/models.py:1471
#: agenda_culturel/models.py:1473
msgid "Weight"
msgstr "Poids"
#: agenda_culturel/models.py:1472
#: agenda_culturel/models.py:1474
msgid "The lower is the weight, the earlier the filter is applied"
msgstr "Plus le poids est léger, plus le filtre sera appliqué tôt"
#: agenda_culturel/models.py:1479
#: agenda_culturel/models.py:1481
msgid "Category applied to the event"
msgstr "Catégorie appliquée à l'événement"
#: agenda_culturel/models.py:1484
#: agenda_culturel/models.py:1486
msgid "Contained in the title"
msgstr "Contenu dans le titre"
#: agenda_culturel/models.py:1485
#: agenda_culturel/models.py:1487
msgid "Text contained in the event title"
msgstr "Texte contenu dans le titre de l'événement"
#: agenda_culturel/models.py:1491
#: agenda_culturel/models.py:1493
msgid "Exact title extract"
msgstr "Extrait exact du titre"
#: agenda_culturel/models.py:1493
#: agenda_culturel/models.py:1495
msgid ""
"If checked, the extract will be searched for in the title using the exact "
"form (capitals, accents)."
@ -696,19 +696,19 @@ msgstr ""
"Si coché, l'extrait sera recherché dans le titre en utilisant la forme "
"exacte (majuscules, accents)"
#: agenda_culturel/models.py:1499
#: agenda_culturel/models.py:1501
msgid "Contained in the description"
msgstr "Contenu dans la description"
#: agenda_culturel/models.py:1500
#: agenda_culturel/models.py:1502
msgid "Text contained in the description"
msgstr "Texte contenu dans la description"
#: agenda_culturel/models.py:1506
#: agenda_culturel/models.py:1508
msgid "Exact description extract"
msgstr "Extrait exact de description"
#: agenda_culturel/models.py:1508
#: agenda_culturel/models.py:1510
msgid ""
"If checked, the extract will be searched for in the description using the "
"exact form (capitals, accents)."
@ -716,19 +716,19 @@ msgstr ""
"Si coché, l'extrait sera recherché dans la description en utilisant la forme "
"exacte (majuscules, accents)"
#: agenda_culturel/models.py:1514
#: agenda_culturel/models.py:1516
msgid "Contained in the location"
msgstr "Contenu dans la localisation"
#: agenda_culturel/models.py:1515
#: agenda_culturel/models.py:1517
msgid "Text contained in the event location"
msgstr "Texte contenu dans la localisation de l'événement"
#: agenda_culturel/models.py:1521
#: agenda_culturel/models.py:1523
msgid "Exact location extract"
msgstr "Extrait exact de localisation"
#: agenda_culturel/models.py:1523
#: agenda_culturel/models.py:1525
msgid ""
"If checked, the extract will be searched for in the location using the exact "
"form (capitals, accents)."
@ -736,56 +736,56 @@ msgstr ""
"Si coché, l'extrait sera recherché dans la localisation en utilisant la "
"forme exacte (majuscules, accents)"
#: agenda_culturel/models.py:1531
#: agenda_culturel/models.py:1533
msgid "Location from place"
msgstr "Localisation depuis le lieu"
#: agenda_culturel/models.py:1538
#: agenda_culturel/models.py:1540
msgid "Categorisation rule"
msgstr "Règle de catégorisation"
#: agenda_culturel/models.py:1539
#: agenda_culturel/models.py:1541
msgid "Categorisation rules"
msgstr "Règles de catégorisation"
#: agenda_culturel/models.py:1606 agenda_culturel/models.py:1638
#: agenda_culturel/models.py:1608 agenda_culturel/models.py:1640
msgid "Question"
msgstr "Question"
#: agenda_culturel/models.py:1607 agenda_culturel/models.py:1645
#: agenda_culturel/models.py:1609 agenda_culturel/models.py:1647
msgid "Text that will be shown to moderators"
msgstr "Text tel que présenté aux modérateurices"
#: agenda_culturel/models.py:1613
#: agenda_culturel/models.py:1615
msgid "Moderation question"
msgstr "Question de modération"
#: agenda_culturel/models.py:1614
#: agenda_culturel/models.py:1616
msgid "Moderation questions"
msgstr "Questions de modération"
#: agenda_culturel/models.py:1639
#: agenda_culturel/models.py:1641
msgid "Associated question from moderation"
msgstr "Question associée pour la modération"
#: agenda_culturel/models.py:1644
#: agenda_culturel/models.py:1646
msgid "Answer"
msgstr "Réponse"
#: agenda_culturel/models.py:1651
#: agenda_culturel/models.py:1653
msgid "Adds tags"
msgstr "Ajoute les étiquettes"
#: agenda_culturel/models.py:1652
#: agenda_culturel/models.py:1654
msgid "A list of tags that will be added if you choose this answer."
msgstr ""
"Une liste d'étiquettes qui seront ajoutées si vous choisissez cette réponse."
#: agenda_culturel/models.py:1658
#: agenda_culturel/models.py:1660
msgid "Removes tags"
msgstr "Retire les étiquettes"
#: agenda_culturel/models.py:1659
#: agenda_culturel/models.py:1661
msgid "A list of tags that will be removed if you choose this answer."
msgstr ""
"Une liste d'étiquettes qui seront retirées si vous choisissez cette réponse."
@ -828,7 +828,9 @@ msgstr ""
#: agenda_culturel/views.py:544
msgid "The event update has been queued and will be completed shortly."
msgstr "La mise à jour de l'événement a été mise en attente et sera effectuée sous peu."
msgstr ""
"La mise à jour de l'événement a été mise en attente et sera effectuée sous "
"peu."
#: agenda_culturel/views.py:554 agenda_culturel/views.py:602
msgid "The event has been successfully modified."
@ -854,7 +856,11 @@ msgstr "L'événement a été supprimé avec succès"
msgid "The status has been successfully modified."
msgstr "Le status a été modifié avec succès."
#: agenda_culturel/views.py:649 agenda_culturel/views.py:669
#: agenda_culturel/views.py:658
msgid "The event was created: <a href=\"{}\">{}</a>."
msgstr "L'événement a été créé: <a href=\"{}\">{}</a>."
#: agenda_culturel/views.py:660 agenda_culturel/views.py:675
msgid ""
"The event has been submitted and will be published as soon as it has been "
"validated by the moderation team."
@ -862,91 +868,91 @@ msgstr ""
"L'événement a été soumis et sera publié dès qu'il aura été validé par "
"l'équipe de modération."
#: agenda_culturel/views.py:663
#: agenda_culturel/views.py:669
msgid "The event is saved."
msgstr "L'événement est enregistré."
#: agenda_culturel/views.py:755 agenda_culturel/views.py:807
#: agenda_culturel/views.py:761 agenda_culturel/views.py:813
msgid "{} has not been submitted since its already known: {}."
msgstr "{} n'a pas été soumis car il est déjà connu: {}."
#: agenda_culturel/views.py:760 agenda_culturel/views.py:813
#: agenda_culturel/views.py:766 agenda_culturel/views.py:819
msgid ""
"{} has not been submitted since its already known and currently into "
"moderation process."
msgstr "{} n'a pas été soumis car il est déjà connu et en cours de modération"
#: agenda_culturel/views.py:770
#: agenda_culturel/views.py:776
msgid "Integrating {} url(s) into our import process."
msgstr "Intégration de {} url(s) dans notre processus d'import."
#: agenda_culturel/views.py:820
#: agenda_culturel/views.py:826
msgid "Integrating {} into our import process."
msgstr "Intégration de {} dans notre processus d'import."
#: agenda_culturel/views.py:883
#: agenda_culturel/views.py:889
msgid "Your message has been sent successfully."
msgstr "Votre message a été envoyé avec succès."
#: agenda_culturel/views.py:893
#: agenda_culturel/views.py:899
msgid "The contact message has been successfully deleted."
msgstr "Le message de contact a été supprimé avec succès."
#: agenda_culturel/views.py:907
#: agenda_culturel/views.py:913
msgid "The contact message properties has been successfully modified."
msgstr "Les propriétés du message de contact ont été modifié avec succès."
#: agenda_culturel/views.py:923
#: agenda_culturel/views.py:929
msgid "Open"
msgstr "Ouvert"
#: agenda_culturel/views.py:928
#: agenda_culturel/views.py:934
msgid "Non spam"
msgstr "Non spam"
#: agenda_culturel/views.py:991
#: agenda_culturel/views.py:997
#, fuzzy
#| msgid "The event has been successfully deleted."
msgid "Spam has been successfully deleted."
msgstr "L'événement a été supprimé avec succès"
#: agenda_culturel/views.py:1008
#: agenda_culturel/views.py:1014
msgid "Search"
msgstr "Rechercher"
#: agenda_culturel/views.py:1194
#: agenda_culturel/views.py:1200
msgid "The import has been run successfully."
msgstr "L'import a été lancé avec succès"
#: agenda_culturel/views.py:1213
#: agenda_culturel/views.py:1219
msgid "The import has been canceled."
msgstr "L'import a été annulé"
#: agenda_culturel/views.py:1287
#: agenda_culturel/views.py:1293
msgid "The recurrent import has been successfully modified."
msgstr "L'import récurrent a été modifié avec succès."
#: agenda_culturel/views.py:1296
#: agenda_culturel/views.py:1302
msgid "The recurrent import has been successfully deleted."
msgstr "L'import récurrent a été supprimé avec succès"
#: agenda_culturel/views.py:1336
#: agenda_culturel/views.py:1342
msgid "The import has been launched."
msgstr "L'import a été lancé"
#: agenda_culturel/views.py:1358
#: agenda_culturel/views.py:1364
msgid "Imports has been launched."
msgstr "Les imports ont été lancés"
#: agenda_culturel/views.py:1443
#: agenda_culturel/views.py:1449
msgid "The merge has been successfully completed."
msgstr "La fusion a été réalisée avec succès."
#: agenda_culturel/views.py:1477
#: agenda_culturel/views.py:1483
msgid "Events have been marked as unduplicated."
msgstr "Les événements ont été marqués comme non dupliqués."
#: agenda_culturel/views.py:1499
#: agenda_culturel/views.py:1505
msgid ""
"The selected event has been retained, while the other has been moved to the "
"recycle bin."
@ -954,7 +960,7 @@ msgstr ""
"L'événement sélectionné a été conservé, l'autre a été déplacé dans la "
"corbeille."
#: agenda_culturel/views.py:1506
#: agenda_culturel/views.py:1512
msgid ""
"The selected event has been retained, while the others have been moved to "
"the recycle bin."
@ -962,19 +968,19 @@ msgstr ""
"L'événement sélectionné a été conservé, les autres ont été déplacés dans la "
"corbeille."
#: agenda_culturel/views.py:1517
#: agenda_culturel/views.py:1523
msgid "The event has been withdrawn from the group and made independent."
msgstr "L'événement a été retiré du groupe et rendu indépendant."
#: agenda_culturel/views.py:1550
#: agenda_culturel/views.py:1556
msgid "Cleaning up duplicates: {} item(s) removed."
msgstr "Nettoyage des dupliqués: {} élément(s) supprimés."
#: agenda_culturel/views.py:1594
#: agenda_culturel/views.py:1600
msgid "The event was successfully duplicated."
msgstr "L'événement a été marqué dupliqué avec succès."
#: agenda_culturel/views.py:1602
#: agenda_culturel/views.py:1608
msgid ""
"The event has been successfully flagged as a duplicate. The moderation team "
"will deal with your suggestion shortly."
@ -982,63 +988,63 @@ msgstr ""
"L'événement a été signalé comme dupliqué avec succès. Votre suggestion sera "
"prochainement prise en charge par l'équipe de modération."
#: agenda_culturel/views.py:1655
#: agenda_culturel/views.py:1661
msgid "The categorisation rule has been successfully modified."
msgstr "La règle de catégorisation a été modifiée avec succès."
#: agenda_culturel/views.py:1664
#: agenda_culturel/views.py:1670
msgid "The categorisation rule has been successfully deleted."
msgstr "La règle de catégorisation a été supprimée avec succès"
#: agenda_culturel/views.py:1686 agenda_culturel/views.py:1733
#: agenda_culturel/views.py:1692 agenda_culturel/views.py:1739
msgid "The rules were successfully applied and 1 event was categorised."
msgstr ""
"Les règles ont été appliquées avec succès et 1 événement a été catégorisé"
#: agenda_culturel/views.py:1693 agenda_culturel/views.py:1740
#: agenda_culturel/views.py:1699 agenda_culturel/views.py:1746
msgid "The rules were successfully applied and {} events were categorised."
msgstr ""
"Les règles ont été appliquées avec succès et {} événements ont été "
"catégorisés"
#: agenda_culturel/views.py:1700 agenda_culturel/views.py:1747
#: agenda_culturel/views.py:1706 agenda_culturel/views.py:1753
msgid "The rules were successfully applied and no events were categorised."
msgstr ""
"Les règles ont été appliquées avec succès et aucun événement n'a été "
"catégorisé"
#: agenda_culturel/views.py:1787
#: agenda_culturel/views.py:1793
msgid "The moderation question has been created with success."
msgstr "La question de modération a été créée avec succès."
#: agenda_culturel/views.py:1913 agenda_culturel/views.py:1975
#: agenda_culturel/views.py:2013
#: agenda_culturel/views.py:1919 agenda_culturel/views.py:1981
#: agenda_culturel/views.py:2019
msgid "{} events have been updated."
msgstr "{} événements ont été mis à jour."
#: agenda_culturel/views.py:1916 agenda_culturel/views.py:1977
#: agenda_culturel/views.py:2016
#: agenda_culturel/views.py:1922 agenda_culturel/views.py:1983
#: agenda_culturel/views.py:2022
msgid "1 event has been updated."
msgstr "1 événement a été mis à jour"
#: agenda_culturel/views.py:1918 agenda_culturel/views.py:1979
#: agenda_culturel/views.py:2018
#: agenda_culturel/views.py:1924 agenda_culturel/views.py:1985
#: agenda_culturel/views.py:2024
msgid "No events have been modified."
msgstr "Aucun événement n'a été modifié."
#: agenda_culturel/views.py:1927
#: agenda_culturel/views.py:1933
msgid "The place has been successfully updated."
msgstr "Le lieu a été modifié avec succès."
#: agenda_culturel/views.py:1936
#: agenda_culturel/views.py:1942
msgid "The place has been successfully created."
msgstr "Le lieu a été créé avec succès."
#: agenda_culturel/views.py:2001
#: agenda_culturel/views.py:2007
msgid "The selected place has been assigned to the event."
msgstr "Le lieu sélectionné a été assigné à l'événement."
#: agenda_culturel/views.py:2005
#: agenda_culturel/views.py:2011
msgid "A new alias has been added to the selected place."
msgstr "Un nouvel alias a été créé pour le lieu sélectionné."

View File

@ -646,7 +646,6 @@ def import_event_proxy(request):
class EventCreateView(SuccessMessageMixin, CreateView):
model = Event
success_url = reverse_lazy("home")
success_message = _("The event has been submitted and will be published as soon as it has been validated by the moderation team.")
form_class = EventForm
def get_form_kwargs(self):
@ -654,6 +653,13 @@ class EventCreateView(SuccessMessageMixin, CreateView):
kwargs["is_authenticated"] = self.request.user.is_authenticated
return kwargs
def get_success_message(self, cleaned_data):
if self.request.user.is_authenticated:
return mark_safe(_('The event was created: <a href="{}">{}</a>.').format(self.object.get_absolute_url(), self.object.title))
else:
return _("The event has been submitted and will be published as soon as it has been validated by the moderation team.")
def import_from_details(request):
form = EventForm(request.POST, is_authenticated=request.user.is_authenticated)