From 3d9b1d7f836b011585b24ca46976ad9900c655db Mon Sep 17 00:00:00 2001 From: Valentin Le Moign Date: Thu, 5 Nov 2026 13:47:27 +0100 Subject: [PATCH] Recherche : nom des programmes et axes selon la langue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La carte affichait le champ complet « FR // EN ». Elle passe maintenant par le filtre bilingual, comme taxonomy.twig. --- templates/search.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/search.twig b/templates/search.twig index 34b23a8..140e6dd 100644 --- a/templates/search.twig +++ b/templates/search.twig @@ -49,7 +49,7 @@ {% for term in taxonomy_cards %}
  • - {{ term.name }} + {{ term.name | bilingual(current_language) }} {{ term.taxonomy_label }}{% if term.count %} · {{ term.count }} {{ term.count > 1 ? (current_language == 'en' ? 'posts' : 'publications') : (current_language == 'en' ? 'post' : 'publication') }}{% endif %}