diff --git a/src/agenda_culturel/locale/fr/LC_MESSAGES/django.po b/src/agenda_culturel/locale/fr/LC_MESSAGES/django.po index aeb13d2..be6b6e3 100644 --- a/src/agenda_culturel/locale/fr/LC_MESSAGES/django.po +++ b/src/agenda_culturel/locale/fr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: agenda_culturel\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-06 11:21+0200\n" +"POT-Creation-Date: 2025-04-06 13:18+0200\n" "PO-Revision-Date: 2023-10-29 14:16+0000\n" "Last-Translator: Jean-Marie Favreau \n" "Language-Team: Jean-Marie Favreau \n" @@ -17,76 +17,76 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: agenda_culturel/calendar.py:189 +#: agenda_culturel/calendar.py:223 msgid "All day today" msgstr "Aujourd'hui toute la journée" -#: agenda_culturel/calendar.py:191 +#: agenda_culturel/calendar.py:225 msgid "This morning" msgstr "Ce matin" -#: agenda_culturel/calendar.py:192 +#: agenda_culturel/calendar.py:226 msgid "This noon" msgstr "Ce midi" -#: agenda_culturel/calendar.py:193 +#: agenda_culturel/calendar.py:227 msgid "This afternoon" msgstr "Cet après-midi" -#: agenda_culturel/calendar.py:194 +#: agenda_culturel/calendar.py:228 msgid "This evening" msgstr "Ce soir" -#: agenda_culturel/calendar.py:197 +#: agenda_culturel/calendar.py:231 msgid "Tomorrow" msgstr "Demain" -#: agenda_culturel/calendar.py:198 +#: agenda_culturel/calendar.py:232 msgid "All day tomorrow" msgstr "Toute la journée de demain" -#: agenda_culturel/calendar.py:200 agenda_culturel/calendar.py:209 +#: agenda_culturel/calendar.py:234 agenda_culturel/calendar.py:243 #, python-format msgid "%s morning" msgstr "%s matin" -#: agenda_culturel/calendar.py:201 agenda_culturel/calendar.py:210 +#: agenda_culturel/calendar.py:235 agenda_culturel/calendar.py:244 #, python-format msgid "%s noon" msgstr "%s midi" -#: agenda_culturel/calendar.py:202 agenda_culturel/calendar.py:211 +#: agenda_culturel/calendar.py:236 agenda_culturel/calendar.py:245 #, python-format msgid "%s afternoon" msgstr "%s après-midi" -#: agenda_culturel/calendar.py:203 agenda_culturel/calendar.py:212 +#: agenda_culturel/calendar.py:237 agenda_culturel/calendar.py:246 #, python-format msgid "%s evening" msgstr "%s soir" -#: agenda_culturel/calendar.py:207 +#: agenda_culturel/calendar.py:241 #, python-format msgid "All day %s" msgstr "Toute la journée de %s" -#: agenda_culturel/calendar.py:214 +#: agenda_culturel/calendar.py:248 msgid "All day" msgstr "Toute la journée" -#: agenda_culturel/calendar.py:216 +#: agenda_culturel/calendar.py:250 msgid "Morning" msgstr "Matin" -#: agenda_culturel/calendar.py:217 +#: agenda_culturel/calendar.py:251 msgid "Noon" msgstr "Midi" -#: agenda_culturel/calendar.py:218 +#: agenda_culturel/calendar.py:252 msgid "Afternoon" msgstr "Après-midi" -#: agenda_culturel/calendar.py:219 +#: agenda_culturel/calendar.py:253 msgid "Evening" msgstr "Soir" @@ -1691,8 +1691,10 @@ msgid "The place has been successfully created." msgstr "Le lieu a été créé avec succès." #: agenda_culturel/views.py:2584 -msgid "The selected place has been assigned to the event." -msgstr "Le lieu sélectionné a été assigné à l'événement." +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:2589 msgid "A new alias has been added to the selected place." diff --git a/src/agenda_culturel/views.py b/src/agenda_culturel/views.py index 3a48854..67e3867 100644 --- a/src/agenda_culturel/views.py +++ b/src/agenda_culturel/views.py @@ -2581,7 +2581,11 @@ class UnknownPlaceAddView(PermissionRequiredMixin, SuccessMessageMixin, UpdateVi if form.cleaned_data.get("place"): messages.success( self.request, - _("The selected place has been assigned to the event."), + mark_safe( + _( + 'The selected place has been assigned to the event {}.' + ).format(self.object.get_absolute_url(), str(self.object)) + ), ) if form.cleaned_data.get("add_alias"): messages.success(