Correcting internationnalisation in chapter index build function for vocabulaire
This commit is contained in:
parent
facfb75a81
commit
6d1b6f1756
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user