From ac641ce702cb52c7f7b35dd435fbda617e3b8b49 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Fri, 16 Aug 2024 11:11:03 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20d'une=20explication=20sur=20le=20champs?= =?UTF-8?q?=20cat=C3=A9gorie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agenda_culturel/forms.py | 1 + .../locale/fr/LC_MESSAGES/django.po | 25 +++++++++++-------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/agenda_culturel/forms.py b/src/agenda_culturel/forms.py index d3bd6c9..1885431 100644 --- a/src/agenda_culturel/forms.py +++ b/src/agenda_culturel/forms.py @@ -44,6 +44,7 @@ class URLSubmissionForm(Form): label=_("Category"), queryset=Category.objects.all().order_by("name"), empty_label=_("Unknown"), + help_text=_('Optional. If you don''t specify a category, we''ll find it for you.'), required=False, ) diff --git a/src/agenda_culturel/locale/fr/LC_MESSAGES/django.po b/src/agenda_culturel/locale/fr/LC_MESSAGES/django.po index 7cbdca6..e46b228 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: 2024-08-15 22:30+0200\n" +"POT-Creation-Date: 2024-08-16 11:10+0200\n" "PO-Revision-Date: 2023-10-29 14:16+0000\n" "Last-Translator: Jean-Marie Favreau \n" "Language-Team: Jean-Marie Favreau \n" @@ -27,35 +27,39 @@ msgstr "Catégorie" msgid "Unknown" msgstr "Inconnue" -#: agenda_culturel/forms.py:118 +#: agenda_culturel/forms.py:47 +msgid "Optional. If you dont specify a category, well find it for you." +msgstr "Facultatif. Si tu ne donnes pas la catégorie, on s'occupe de la trouver." + +#: agenda_culturel/forms.py:119 msgid "The end date must be after the start date." msgstr "La date de fin doit être après la date de début." -#: agenda_culturel/forms.py:134 +#: agenda_culturel/forms.py:135 msgid "The end time cannot be earlier than the start time." msgstr "L'heure de fin ne peut pas être avant l'heure de début." -#: agenda_culturel/forms.py:144 +#: agenda_culturel/forms.py:145 msgid "JSON in the format expected for the import." msgstr "JSON dans le format attendu pour l'import" -#: agenda_culturel/forms.py:403 +#: agenda_culturel/forms.py:404 msgid "Apply category {} to the event {}" msgstr "Appliquer la catégorie {} à l'événement {}" -#: agenda_culturel/forms.py:418 agenda_culturel/models.py:240 +#: agenda_culturel/forms.py:419 agenda_culturel/models.py:240 msgid "Place" msgstr "Lieu" -#: agenda_culturel/forms.py:420 +#: agenda_culturel/forms.py:421 msgid "Create a missing place" msgstr "Créer un lieu manquant" -#: agenda_culturel/forms.py:430 +#: agenda_culturel/forms.py:431 msgid "Add \"{}\" to the aliases of the place" msgstr "Ajouter « {} » aux alias du lieu" -#: agenda_culturel/forms.py:457 +#: agenda_culturel/forms.py:458 msgid "On saving, use aliases to detect all matching events with missing place" msgstr "" "Lors de l'enregistrement, utiliser des alias pour détecter tous les " @@ -707,8 +711,7 @@ msgstr "{} n'a pas été soumis car il est déjà connu: {}." 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" +msgstr "{} n'a pas été soumis car il est déjà connu et en cours de modération" #: agenda_culturel/views.py:652 msgid "Integrating {} url(s) into our import process."