diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 25f49724..ea259ce0 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-12 15:55+0100\n" +"POT-Creation-Date: 2025-02-18 15:03+0100\n" "PO-Revision-Date: 2016-07-18\n" "Last-Translator: Maréchal \n" @@ -935,6 +935,10 @@ msgstr "rôle" msgid "description" msgstr "description" +#: club/models.py +msgid "past member" +msgstr "ancien membre" + #: club/models.py msgid "Email address" msgstr "Adresse email" @@ -1425,8 +1429,9 @@ msgstr "" #: com/templates/com/macros.jinja #, python-format msgid "" -"This event will take place every week for %(nb)s weeks. If you moderate or delete " -"this event, it will also be moderated (or deleted) for the following weeks." +"This event will take place every week for %(nb)s weeks. If you moderate or " +"delete this event, it will also be moderated (or deleted) for the following " +"weeks." msgstr "" "Cet événement se déroulera chaque semaine pendant %(nb)s semaines. Si vous " "modérez ou supprimez cet événement, il sera également modéré (ou supprimé) " @@ -3070,20 +3075,6 @@ msgstr "Éditer les groupes pour %(user_name)s" msgid "User list" msgstr "Liste d'utilisateurs" -#: core/templates/core/user_pictures.jinja -#, python-format -msgid "%(user_name)s's pictures" -msgstr "Photos de %(user_name)s" - -#: core/templates/core/user_pictures.jinja -msgid "Download all my pictures" -msgstr "Télécharger toutes mes photos" - -#: core/templates/core/user_pictures.jinja sas/templates/sas/album.jinja -#: sas/templates/sas/macros.jinja -msgid "To be moderated" -msgstr "A modérer" - #: core/templates/core/user_preferences.jinja core/views/user.py msgid "Preferences" msgstr "Préférences" @@ -3336,8 +3327,8 @@ msgstr "Nom d'utilisateur, email, ou numéro de compte AE" #: core/views/forms.py msgid "" -"Profile: you need to be visible on the picture, in order to be recognized (e." -"g. by the barmen)" +"Profile: you need to be visible on the picture, in order to be recognized " +"(e.g. by the barmen)" msgstr "" "Photo de profil: vous devez être visible sur la photo afin d'être reconnu " "(par exemple par les barmen)" @@ -3947,8 +3938,8 @@ msgstr "" #: counter/templates/counter/mails/account_dump.jinja msgid "If you think this was a mistake, please mail us at ae@utbm.fr." msgstr "" -"Si vous pensez qu'il s'agit d'une erreur, veuillez envoyer un mail à ae@utbm." -"fr." +"Si vous pensez qu'il s'agit d'une erreur, veuillez envoyer un mail à " +"ae@utbm.fr." #: counter/templates/counter/mails/account_dump.jinja msgid "" @@ -5217,6 +5208,15 @@ msgstr "SAS" msgid "Albums" msgstr "Albums" +#: sas/templates/sas/album.jinja +msgid "Download album" +msgstr "Télécharger l'album" + +#: sas/templates/sas/album.jinja sas/templates/sas/macros.jinja +#: sas/templates/sas/user_pictures.jinja +msgid "To be moderated" +msgstr "A modérer" + #: sas/templates/sas/album.jinja msgid "Upload" msgstr "Envoyer" @@ -5286,6 +5286,15 @@ msgstr "Personne(s)" msgid "Identify users on pictures" msgstr "Identifiez les utilisateurs sur les photos" +#: sas/templates/sas/user_pictures.jinja +#, python-format +msgid "%(user_name)s's pictures" +msgstr "Photos de %(user_name)s" + +#: sas/templates/sas/user_pictures.jinja +msgid "Download all my pictures" +msgstr "Télécharger toutes mes photos" + #: sith/settings.py msgid "English" msgstr "Anglais" @@ -6022,6 +6031,3 @@ msgstr "Vous ne pouvez plus écrire de commentaires, la date est passée." #, python-format msgid "Maximum characters: %(max_length)s" msgstr "Nombre de caractères max: %(max_length)s" - -#~ msgid "past member" -#~ msgstr "ancien membre" diff --git a/sas/templates/sas/album.jinja b/sas/templates/sas/album.jinja index 402881e0..fb1a4a80 100644 --- a/sas/templates/sas/album.jinja +++ b/sas/templates/sas/album.jinja @@ -69,7 +69,7 @@ maxPageSize: {{ settings.SITH_SAS_IMAGES_PER_PAGE }}, })"> - {{ download_button("Download album") }} + {{ download_button(_("Download album")) }}

{% trans %}Pictures{% endtrans %}

diff --git a/sas/templates/sas/download_pictures.jinja b/sas/templates/sas/download_pictures.jinja index cc25ded7..d89b1b41 100644 --- a/sas/templates/sas/download_pictures.jinja +++ b/sas/templates/sas/download_pictures.jinja @@ -9,7 +9,7 @@ This requires importing `bundled/sas/pictures-download-index.ts` Parameters: - name (str): name displayed on the button, will be translated + name (str): name displayed on the button #} {% macro download_button(name) %}
@@ -21,7 +21,7 @@ > {%- if name != "" -%} - {% trans %}{{ name }}{% endtrans %} + {{ name }} {%- endif -%} diff --git a/sas/templates/sas/user_pictures.jinja b/sas/templates/sas/user_pictures.jinja index b45bf8e5..d7c8d61d 100644 --- a/sas/templates/sas/user_pictures.jinja +++ b/sas/templates/sas/user_pictures.jinja @@ -17,7 +17,7 @@ {% block content %}
{% if user.id == object.id %} - {{ download_button("Download all my pictures") }} + {{ download_button(_("Download all my pictures")) }} {% endif %}