Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mise à jour des traductions #94

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ collectstatic:
$(EXEC_CMD) poetry run python manage.py collectstatic --noinput --ignore=*.sass


.PHONY: makemessages
makemessages:
.PHONY: messages
messages:
$(EXEC_CMD) poetry run django-admin makemessages -l fr --ignore=manage.py

.PHONY: sass
Expand Down
12 changes: 6 additions & 6 deletions blog/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-27 11:30+0100\n"
"POT-Creation-Date: 2024-03-11 16:15+0100\n"
"PO-Revision-Date: 2024-02-27 11:32+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -18,25 +18,25 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.4\n"

#: blog/models.py:33
#: blog/models.py:34
msgid "Posts per page"
msgstr "Articles par page"

#: blog/models.py:43
#: blog/models.py:44
msgid "Blog index"
msgstr "Index de blog"

#: blog/models.py:71 blog/templates/blog/tags_list_page.html:20
#: blog/models.py:72 blog/templates/blog/tags_list_page.html:20
#: blog/views.py:149
msgid "Tags"
msgstr "Étiquettes"

#: blog/models.py:94 blog/models.py:167 blog/models.py:248
#: blog/models.py:95 blog/models.py:167 blog/models.py:248
#: blog/templates/blog/categories_list_page.html:20 blog/views.py:117
msgid "Categories"
msgstr "Catégories"

#: blog/models.py:106 blog/templates/blog/blog_index_page.html:58
#: blog/models.py:107 blog/templates/blog/blog_index_page.html:58
msgid "Posts written by"
msgstr "Articles écrits par"

Expand Down
87 changes: 81 additions & 6 deletions content_manager/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-27 11:30+0100\n"
"PO-Revision-Date: 2024-02-27 11:32+0100\n"
"POT-Creation-Date: 2024-03-11 16:15+0100\n"
"PO-Revision-Date: 2024-03-11 16:19+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
Expand All @@ -18,18 +18,93 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.4\n"

#: content_manager/abstract.py:28
#: content_manager/abstract.py:25
msgid "Show title in header image?"
msgstr "Afficher le titre sur l’image d’en-tête ?"

#: content_manager/abstract.py:33
msgid "Header image"
msgstr "Image d’en-tête"

#: content_manager/abstract.py:33
#: content_manager/abstract.py:37
msgid "Background color"
msgstr "Couleur de fond"

#: content_manager/abstract.py:41
msgid "Uses the French Design System colors"
msgstr "Utilise les couleurs du système de design de l'État"

#: content_manager/abstract.py:44
msgid "Full width"
msgstr "Pleine largeur"

#: content_manager/abstract.py:45
msgid "Darken background image"
msgstr "Assombrir l’image de fond"

#: content_manager/abstract.py:48
msgid "Call to action text"
msgstr "Texte de l’appel à action"

#: content_manager/abstract.py:54
msgid "Call to action label"
msgstr "Libellé de l’appel à action"

#: content_manager/abstract.py:60
msgid "Call to action link"
msgstr "Lien de l’appel à action"

#: content_manager/abstract.py:66
msgid "Body"
msgstr "Corps"

#: content_manager/abstract.py:41
#: content_manager/abstract.py:70
msgid "Common page configuration"
msgstr "Configuration commune"

#: content_manager/abstract.py:82
msgid "Header options"
msgstr "Options d’en-tête"

#: content_manager/abstract.py:102
msgid "Base page"
msgstr "Page de base"

#: content_manager/abstract.py:42
#: content_manager/abstract.py:103
msgid "Base pages"
msgstr "Pages de base"

#: content_manager/blocks.py:31
msgid "Link text"
msgstr "Texte du lien"

#: content_manager/blocks.py:32
msgid "Page"
msgstr "Page"

#: content_manager/blocks.py:33
msgid "External URL"
msgstr "URL externe"

#: content_manager/models.py:19
msgid "Content page"
msgstr "Page de contenu"

#: content_manager/templates/content_manager/tags_list_page.html:31
#: content_manager/views.py:46 content_manager/views.py:77
msgid "Tags"
msgstr "Étiquettes"

#: content_manager/views.py:52
msgid "List of all the tags."
msgstr "Liste de toutes les étiquettes"

#: content_manager/views.py:73
#, python-brace-format
msgid "Pages tagged with {tag}"
msgstr "Pages avec l’étiquette {tag}"

#: content_manager/views.py:82
#, python-brace-format
msgid "List of pages tagged with {tag}"
msgstr "Liste de pages avec l’étiquette {tag}"
2 changes: 1 addition & 1 deletion content_manager/management/commands/create_sample_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def create_homepage(self) -> None:

# Create the page
body = []
title = "Votre nouveau site avec le CMS Beta"
title = "Votre nouveau site avec Sites faciles"

image = import_image(
full_path="staticfiles/dsfr/dist/artwork/pictograms/digital/coding.svg",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "content-manager"
version = "1.1"
version = "1.3"
description = "Gestionnaire de contenu permettant de créer et gérer un site internet basé sur le Système de design de l'État, accessible et responsive"
authors = [
"Sébastien Reuiller <sebastien.reuiller@beta.gouv.fr>",
Expand Down
Loading