From 6cb16b2f82dd03e53317ce1484dfe21c0536d307 Mon Sep 17 00:00:00 2001 From: saidmsaif Date: Fri, 24 Dec 2021 20:59:56 +0600 Subject: [PATCH] fix localization issue --- inc/option-panel/customizer/options/home-counter.php | 6 +++--- inc/option-panel/customizer/options/home-hero.php | 6 +++--- inc/option-panel/customizer/options/home-info.php | 6 +++--- inc/option-panel/customizer/options/home-infography.php | 6 +++--- inc/option-panel/customizer/options/home-newsletter.php | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/inc/option-panel/customizer/options/home-counter.php b/inc/option-panel/customizer/options/home-counter.php index b285c40..023cbae 100644 --- a/inc/option-panel/customizer/options/home-counter.php +++ b/inc/option-panel/customizer/options/home-counter.php @@ -105,8 +105,8 @@ function repeater_labels( $string, $id, $control ) { 'section' => 'craftnce_home_page_counter', 'settings' => 'craftnce_home_counter_section_featured_image_setting', 'button_labels' => array( - 'select' => 'Select Image', - 'remove' => 'Remove Image', - 'change' => 'Change Image', + 'select' => __('Select Image', 'craftnce'), + 'remove' => __('Remove Image', 'craftnce'), + 'change' => __('Change Image', 'craftnce'), ) ))); \ No newline at end of file diff --git a/inc/option-panel/customizer/options/home-hero.php b/inc/option-panel/customizer/options/home-hero.php index 2869262..edd8b3a 100644 --- a/inc/option-panel/customizer/options/home-hero.php +++ b/inc/option-panel/customizer/options/home-hero.php @@ -198,8 +198,8 @@ 'section' => 'craftnce_home_page_hero', 'settings' => 'craftnce_home_hero_featured_image_setting', 'button_labels' => array( - 'select' => 'Select Image', - 'remove' => 'Remove Image', - 'change' => 'Change Image', + 'select' => __('Select Image', 'craftnce'), + 'remove' => __('Remove Image', 'craftnce'), + 'change' => __('Change Image', 'craftnce'), ) ))); \ No newline at end of file diff --git a/inc/option-panel/customizer/options/home-info.php b/inc/option-panel/customizer/options/home-info.php index cbaea6b..dd4f435 100644 --- a/inc/option-panel/customizer/options/home-info.php +++ b/inc/option-panel/customizer/options/home-info.php @@ -233,8 +233,8 @@ 'section' => 'craftnce_home_page_info', 'settings' => 'craftnce_home_info_section_featured_image_setting', 'button_labels' => array( - 'select' => 'Select Image', - 'remove' => 'Remove Image', - 'change' => 'Change Image', + 'select' => __('Select Image', 'craftnce'), + 'remove' => __('Remove Image', 'craftnce'), + 'change' => __('Change Image', 'craftnce'), ) ))); \ No newline at end of file diff --git a/inc/option-panel/customizer/options/home-infography.php b/inc/option-panel/customizer/options/home-infography.php index df1b133..e791932 100644 --- a/inc/option-panel/customizer/options/home-infography.php +++ b/inc/option-panel/customizer/options/home-infography.php @@ -81,9 +81,9 @@ 'section' => 'craftnce_home_page_infography', 'settings' => 'craftnce_home_infography_section_featured_image_setting', 'button_labels' => array( - 'select' => 'Select Image', - 'remove' => 'Remove Image', - 'change' => 'Change Image', + 'select' => __('Select Image', 'craftnce'), + 'remove' => __('Remove Image', 'craftnce'), + 'change' => __('Change Image', 'craftnce'), ) ))); diff --git a/inc/option-panel/customizer/options/home-newsletter.php b/inc/option-panel/customizer/options/home-newsletter.php index 2a5f3e1..9aad3fe 100644 --- a/inc/option-panel/customizer/options/home-newsletter.php +++ b/inc/option-panel/customizer/options/home-newsletter.php @@ -97,8 +97,8 @@ 'section' => 'craftnce_home_page_newsletter', 'settings' => 'craftnce_home_newsletter_section_background_image_setting', 'button_labels' => array( - 'select' => 'Select Image', - 'remove' => 'Remove Image', - 'change' => 'Change Image', + 'select' => __('Select Image', 'craftnce'), + 'remove' => __('Remove Image', 'craftnce'), + 'change' => __('Change Image', 'craftnce'), ) ))); \ No newline at end of file