From 9f2c181c30303b53ebf61c1b33ab7f615e160deb Mon Sep 17 00:00:00 2001 From: Serreau Jovann Date: Wed, 28 Jan 2026 16:21:09 +0100 Subject: [PATCH] =?UTF-8?q?```=20=F0=9F=94=A5=20refactor(translations):=20?= =?UTF-8?q?Supprime=20le=20fichier=20de=20traduction=20fran=C3=A7ais=20obs?= =?UTF-8?q?ol=C3=A8te.=20=F0=9F=8C=90=20feat(templates/revervation):=20Ajo?= =?UTF-8?q?ute=20la=20prise=20en=20charge=20de=20l'internationalisation=20?= =?UTF-8?q?(i18n).=20```?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/revervation/base.twig | 122 +++++++-------- translations/KnpPaginatorBundle.fr.yaml | 3 + translations/SchebTwoFactorBundle.fr.yaml | 6 + translations/messages.fr.yaml | 53 +++---- translations/security.fr.yaml | 19 +++ translations/validators.fr.yaml | 175 ++++++++++++++++++++++ 6 files changed, 279 insertions(+), 99 deletions(-) create mode 100644 translations/KnpPaginatorBundle.fr.yaml create mode 100644 translations/SchebTwoFactorBundle.fr.yaml create mode 100644 translations/security.fr.yaml create mode 100644 translations/validators.fr.yaml diff --git a/templates/revervation/base.twig b/templates/revervation/base.twig index 32cdd05..7b77f35 100644 --- a/templates/revervation/base.twig +++ b/templates/revervation/base.twig @@ -1,40 +1,41 @@ - + - {# Correction : Suppression de maximum-scale=1.0 et user-scalable=no pour l'accessibilité #} {# --- SEO Fondamental --- #} - {% block title %}Location Structure Gonflable & Châteaux pour vos Événements | Ludikevent{% endblock %} + {% block title %}{{ 'Location Structure Gonflable & Châteaux pour vos Événements | Ludikevent'|trans }}{% endblock %} - {% if block('description') is defined %} - + {% if block('description') is defined %} + {% endif %} - {# URL Canonique dynamique #} + {% block canonical %} - {# Génère l'URL propre automatiquement pour 99% des pages #} {% endblock %} - - {# --- Open Graph (Facebook / WhatsApp) --- #} + + + + {# --- Open Graph --- #} {% if block('description') is defined %} - + {% endif %} {# --- Twitter Card --- #} - + - {% block extra_header %} - {% endblock %} + + {% block extra_header %}{% endblock %} + {# --- Données Structurées (JSON-LD) --- #}