From 6d1b6f17569d4ed02d7b6717d361ce2eadc9849e Mon Sep 17 00:00:00 2001 From: Antoine M Date: Fri, 24 Nov 2023 10:14:00 +0100 Subject: [PATCH] Correcting internationnalisation in chapter index build function for vocabulaire --- single-conseils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/single-conseils.php b/single-conseils.php index 2ffdc12..10e026f 100644 --- a/single-conseils.php +++ b/single-conseils.php @@ -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') {