From 6b21d517c6600aacf61ce27096642452e4a05f5a Mon Sep 17 00:00:00 2001 From: Frank419 Date: Sat, 14 Sep 2024 21:34:06 +0800 Subject: [PATCH] Make static text translatable. --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 274ba3c..4d8701c 100644 --- a/functions.php +++ b/functions.php @@ -34,12 +34,12 @@ function minimalistflex_add_supports() { 'abstract' => Array( 'url' => get_template_directory_uri() . '/defaults/header.png', 'thumbnail_url' => get_template_directory_uri() . '/defaults/header.png', - 'description' => 'An abstract default header image.' + 'description' => esc_html__( 'An abstract default header image.', 'minimalistflex' ) ), 'lines' => Array( 'url' => get_template_directory_uri() . '/defaults/header2.png', 'thumbnail_url' => get_template_directory_uri() . '/defaults/header2.png', - 'description' => 'A default header image that contains three lines.' + 'description' => esc_html__( 'A default header image that contains three lines.', 'minimalistflex' ) ) ) );