fichiers translation
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s

This commit is contained in:
Julie Blanc 2026-02-25 15:08:45 +01:00
parent cb2fe498fe
commit 224ddedc93
3 changed files with 10 additions and 2 deletions

View file

@ -6,4 +6,8 @@ return [
'locale' => 'en_US.UTF-8',
'name' => 'English',
'url' => '/en',
'translations' => [
'impact.type' => 'Impact',
'impacts.title' => 'Impacts',
],
];

View file

@ -7,4 +7,8 @@ return [
'locale' => 'fr_FR.UTF-8',
'name' => 'Français',
'url' => '/',
'translations' => [
'impact.type' => 'Impact',
'impacts.title' => 'Impacts',
],
];

View file

@ -306,12 +306,12 @@ $impacts = $impactsParent ? $impactsParent->children()->listed()->filter(functio
<?php if ($impacts && $impacts->isNotEmpty()): ?>
<aside class="page__aside" id="impacts">
<h3 class="aside__title">Impacts</h3>
<h3 class="aside__title"><?= t('impacts.title') ?></h3>
<?php foreach ($impacts as $impact): ?>
<div class="card--block-small has-link">
<div class="group-top">
<p class="type">Impact</p>
<p class="type"><?= t('impact.type') ?></p>
<?php if ($impact->category()->isNotEmpty()): ?>
<p class="category"><?= $impact->category()->esc() ?></p>
<?php endif ?>