diff --git a/.gitignore b/.gitignore index ecf7088e..9d096d7d 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,6 @@ dist/ downloads/ eggs/ .eggs/ -lib/ lib64/ parts/ sdist/ @@ -115,6 +114,9 @@ ENV/ env.bak/ venv.bak/ +# JS stuff +node_modules/ + # Spyder project settings .spyderproject .spyproject diff --git a/content_manager/locale/fr/LC_MESSAGES/django.mo b/content_manager/locale/fr/LC_MESSAGES/django.mo index 81b7d6ee..93ae939f 100644 Binary files a/content_manager/locale/fr/LC_MESSAGES/django.mo and b/content_manager/locale/fr/LC_MESSAGES/django.mo differ diff --git a/content_manager/locale/fr/LC_MESSAGES/django.po b/content_manager/locale/fr/LC_MESSAGES/django.po index 66e56b48..aa19144a 100644 --- a/content_manager/locale/fr/LC_MESSAGES/django.po +++ b/content_manager/locale/fr/LC_MESSAGES/django.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-08-27 18:47+0200\n" -"PO-Revision-Date: 2024-08-27 18:58+0200\n" +"POT-Creation-Date: 2024-09-02 19:25+0200\n" +"PO-Revision-Date: 2024-09-02 19:26+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: fr\n" @@ -201,7 +201,7 @@ msgstr "Badge" #: content_manager/blocks.py:616 content_manager/blocks.py:625 #: content_manager/blocks.py:667 content_manager/blocks.py:781 #: content_manager/blocks.py:811 content_manager/blocks.py:924 -#: content_manager/models.py:323 +#: content_manager/models.py:341 msgid "Title" msgstr "Titre" @@ -892,67 +892,111 @@ msgstr "Page de contenu" msgid "Tag" msgstr "Étiquette" -#: content_manager/models.py:95 +#: content_manager/models.py:65 content_manager/models.py:100 +msgid "Custom scripts" +msgstr "Scripts personnalisés" + +#: content_manager/models.py:70 +msgid "Scripts in the
section" +msgstr "Scripts dans la section " + +#: content_manager/models.py:71 +msgid "Allows for scripts to be placed in the tag of the website pages." +msgstr "" +"Permet de placer des scripts à l’intérieur du tag des pages du site." + +#: content_manager/models.py:77 +msgid "Scripts in the section" +msgstr "Scripts dans la section " + +#: content_manager/models.py:78 +msgid "" +"Allows for scripts to be placed at the end of the tag of the website " +"pages." +msgstr "" +"Permet de placer des scripts à l’intérieur du tag des pages du site." + +#: content_manager/models.py:82 +msgid "Use Tarteaucitron?" +msgstr "Utiliser Tarteaucitron ?" + +#: content_manager/models.py:86 +msgid "" +"See Documentation" +msgstr "" +"Voir Documentation" + +#: content_manager/models.py:101 +msgid "" +"Allows to add custom CSS and JS to the site, for example for Matomo, " +"Tarteaucitron…" +msgstr "" +"Permet d’ajouter du CSS et du JS personnalisé au site, par exemple pour " +"Matomo ou Tarteaucitron." + +#: content_manager/models.py:109 msgid "Site configuration" msgstr "Configuration du site" -#: content_manager/models.py:96 +#: content_manager/models.py:110 msgid "Site configurations" msgstr "Configurations du site" -#: content_manager/models.py:99 +#: content_manager/models.py:113 msgid "Institution (header)" msgstr "Institution (en-tête)" -#: content_manager/models.py:102 +#: content_manager/models.py:117 msgid "" -"Institution brand as defined on page https://www.info.gouv.fr/marque-de-" -"letat/le-bloc-marque" +"Institution brand as defined on official page." msgstr "" -"Nom de l’institution tel que défini sur la page https://www.info.gouv.fr/" -"marque-de-letat/le-bloc-marque" +"Nom de l’institution tel que défini sur la page officielle." -#: content_manager/models.py:106 +#: content_manager/models.py:122 msgid "Institution with line break (header)" msgstr "Institution avec césure (en-tête)" -#: content_manager/models.py:110 +#: content_manager/models.py:126 msgid "Institution brand with';
+ html += ' ' + tarteaucitron.lang.adblock + '
';
+ html += ' ' + tarteaucitron.lang.adblock_call + '';
+ html += '