diff --git a/includes/admin.php b/includes/admin.php index 72954d2..ab937d6 100644 --- a/includes/admin.php +++ b/includes/admin.php @@ -92,7 +92,7 @@ add_filter('views_edit-artisans', function ($views) { $post_type, $status, $class, - __('Offline', 'text-domain'), + __('Offline', 'metiers-patrimoine-theme'), $count ); } @@ -115,12 +115,12 @@ function add_custom_post_status($post_states, $post) // Ajouter le statut "Publié" si l'article est publié if ('publish' === $post->post_status) { - $post_states[] = __('Publié', 'text-domain'); // Affiche "Publié" + $post_states[] = __('Publié', 'metiers-patrimoine-theme'); // Affiche "Publié" } // Ajouter votre statut personnalisé (ex : "offline") si c'est le cas if ('offline' === get_post_status($post->ID)) { - $post_states[] = __('Offline', 'text-domain'); // Affiche "En attente" + $post_states[] = __('Offline', 'metiers-patrimoine-theme'); // Affiche "En attente" } } }