updating js translations array
This commit is contained in:
parent
5e3e41c8c8
commit
9c72828676
|
|
@ -69,6 +69,7 @@ function homegrade_enqueue_scripts()
|
||||||
$main_app_js_dynamic_datas = array(
|
$main_app_js_dynamic_datas = array(
|
||||||
'yes' => __('Oui', 'homegrade-theme__texte-fonctionnel'),
|
'yes' => __('Oui', 'homegrade-theme__texte-fonctionnel'),
|
||||||
'no' => __('Non', 'homegrade-theme__texte-fonctionnel'),
|
'no' => __('Non', 'homegrade-theme__texte-fonctionnel'),
|
||||||
|
'deleteFilter' => __('Supprimer le filtre', 'homegrade-theme__texte-fonctionnel'),
|
||||||
'template_directory_uri' => get_template_directory_uri(),
|
'template_directory_uri' => get_template_directory_uri(),
|
||||||
'current_thematique' => get_the_terms(get_the_ID(), 'thematiques')[0] ?? null,
|
'current_thematique' => get_the_terms(get_the_ID(), 'thematiques')[0] ?? null,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user