Skip to content
Open
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
Binary file modified blog/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
13 changes: 9 additions & 4 deletions blog/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: 2026-02-26 18:17+0100\n"
"PO-Revision-Date: 2025-10-28 13:46+0100\n"
"POT-Creation-Date: 2026-03-23 16:30+0100\n"
"PO-Revision-Date: 2026-03-23 16:34+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
Expand Down Expand Up @@ -85,8 +85,7 @@ msgid "Filter by source"
msgstr "Filtrer par source"

msgid "The source is the organization of the post author"
msgstr ""
"La source est l’organisation à laquelle appartient l’auteur de l’article"
msgstr "La source est l’organisation à laquelle appartient l’auteur de l’article"

msgid "Show filters"
msgstr "Afficher les filtres"
Expand Down Expand Up @@ -160,6 +159,12 @@ msgstr "Source :"
msgid "Filters"
msgstr "Filtres"

msgid "selected"
msgstr "étiquette sélectionnée"

msgid "unselected"
msgstr "étiquette non-sélectionnée"

msgid "Posts"
msgstr "Articles"

Expand Down

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions blog/templates/blog/blog_entry_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,15 @@ <h2>{% translate "Posted by:" %}</h2>
{% endwith %}

<div class="fr-container fr-my-4w">
{% for tag in page.tags.all|dictsort:"slug" %}
<a class="fr-tag"
target="_self"
href="{% pageurl page.get_parent %}{% toggle_url_filter tag=tag %}">{{ tag }}</a>
{% endfor %}
<ul class="fr-tags-group">
{% for tag in page.tags.all|dictsort:"slug" %}
<li>
<a class="fr-tag"
target="_self"
href="{% pageurl page.get_parent %}{% toggle_url_filter tag=tag %}">{{ tag }}</a>
</li>
{% endfor %}
</ul>
</div>

{% if settings.content_manager.CmsDsfrConfig.show_share_links and settings.content_manager.CmsDsfrConfig.share_links_blog_posts %}
Expand Down
8 changes: 5 additions & 3 deletions blog/templates/blog/blog_index_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

<div class="fr-container fr-pt-4w">
{% include "content_manager/blocks/breadcrumbs.html" %}

{% if page.show_title %}
<h1>
{{ page.title }}
Expand Down Expand Up @@ -102,7 +102,8 @@ <h3 class="fr-h6">{% translate "Filter by category" %}</h3>
<a type="button"
class="fr-tag"
href="{% pageurl page %}{% toggle_url_filter category=category %}#posts-list"
{% if category.slug == current_category.slug %}aria-pressed="true"{% else %}aria-pressed="false"{% endif %}>
title="{% if category.slug == current_category.slug %}{% translate 'selected' %}{% else %}{% translate 'unselected' %} {% endif %}"
{% if category.slug == current_category.slug %} aria-pressed="true" {% else %} aria-pressed="false" {% endif %}>
{{ category.name }}
</a>
</li>
Expand All @@ -120,7 +121,8 @@ <h3 class="fr-h6">{% translate "Filter by tag" %}</h3>
<a class="fr-tag"
type="button"
href="{% pageurl page %}{% toggle_url_filter tag=tag %}#posts-list"
{% if tag.id == current_tag.id %}aria-pressed="true"{% else %}aria-pressed="false"{% endif %}>
title="{% if tag.slug in current_tag %}{% translate 'selected' %}{% else %}{% translate 'unselected' %}{% endif %}"
{% if tag.id == current_tag.id %} aria-pressed="true" {% else %} aria-pressed="false" {% endif %}>
{{ tag }}
</a>
</li>
Expand Down
6 changes: 6 additions & 0 deletions content_manager/blocks/basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,12 @@ class StepsListBlock(blocks.StreamBlock):

class StepperBlock(blocks.StructBlock):
title = blocks.CharBlock(label=_("Title"))
heading_tag = blocks.ChoiceBlock(
label=_("Heading level"),
choices=HEADING_CHOICES,
default="h2",
help_text=_("Adapt to the page layout. Defaults to heading 2."),
)
total = blocks.IntegerBlock(label=_("Number of steps"), min_value=1, max_value=8)
current = blocks.IntegerBlock(label=_("Current step"), min_value=1, max_value=8)
steps = StepsListBlock(label=_("Steps"))
Expand Down
Binary file modified content_manager/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
16 changes: 11 additions & 5 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: 2026-03-24 09:46+0100\n"
"PO-Revision-Date: 2026-02-05 15:41+0100\n"
"POT-Creation-Date: 2026-03-26 13:53+0100\n"
"PO-Revision-Date: 2026-03-26 13:58+0100\n"
"Last-Translator: Sylvain Boissel <sylvain@boissel.dev>\n"
"Language-Team: \n"
"Language: fr\n"
Expand Down Expand Up @@ -281,6 +281,9 @@ msgstr "Détail"
msgid "Step"
msgstr "Étape"

msgid "Adapt to the page layout. Defaults to heading 2."
msgstr "À adapter à la structure de la page. Par défaut en-tête 2."

msgid "Number of steps"
msgstr "Nombre d’étapes"

Expand Down Expand Up @@ -785,9 +788,6 @@ msgstr "Colonne ajustable"
msgid "Background image"
msgstr "Image de fond"

msgid "Adapt to the page layout. Defaults to heading 2."
msgstr "À adapter à la structure de la page. Par défaut en-tête 2."

msgid "Columns"
msgstr "Colonnes"

Expand Down Expand Up @@ -1414,6 +1414,12 @@ msgstr "Source :"
msgid "Filters"
msgstr "Filtres"

msgid "selected"
msgstr "étiquette sélectionnée"

msgid "unselected"
msgstr "étiquette non-sélectionnée"

msgid "Pages"
msgstr "Pages"

Expand Down
Loading
Loading