Correcting internationnalisation in chapter index build function for vocabulaire

This commit is contained in:
Antoine M 2023-11-24 10:14:00 +01:00
parent facfb75a81
commit 6d1b6f1756

View File

@ -16,7 +16,7 @@ if (!function_exists('build_share_urls')) {
array_push($chapterBlockIndex, [
'block-type' => $block['blockName'],
'anchor' => "#vocabulaire-summary",
'title' => "Vocabulaire" . " " . get_the_terms(get_the_ID(), "thematiques")[0]->name,
'title' => __("Vocabulaire", "homegrade-theme__texte-fonctionnel") . " " . get_the_terms(get_the_ID(), "thematiques")[0]->name,
]);
}
if ($block['blockName'] == 'homegrade-content-blocks/plus-loin') {