From 61b4fe0b5705b386e14fc58ca913e1002b7dfcdb Mon Sep 17 00:00:00 2001 From: Mayuko Moriyama Date: Tue, 12 Apr 2016 17:17:32 +0900 Subject: [PATCH 1/7] Correct capital letters and typos. --- inc/admin/welcome-screen/sections/free_pro.php | 6 +++--- inc/admin/welcome-screen/sections/getting-started.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/inc/admin/welcome-screen/sections/free_pro.php b/inc/admin/welcome-screen/sections/free_pro.php index 4824806..e21c75e 100644 --- a/inc/admin/welcome-screen/sections/free_pro.php +++ b/inc/admin/welcome-screen/sections/free_pro.php @@ -43,7 +43,7 @@

-

+

@@ -66,8 +66,8 @@ -

-

+

+

diff --git a/inc/admin/welcome-screen/sections/getting-started.php b/inc/admin/welcome-screen/sections/getting-started.php index a34e959..383dc7b 100644 --- a/inc/admin/welcome-screen/sections/getting-started.php +++ b/inc/admin/welcome-screen/sections/getting-started.php @@ -247,12 +247,12 @@ - +
- +

-

+

From 1a179da5456751b2679622bcbb5cbbef6082cfe2 Mon Sep 17 00:00:00 2001 From: Mayuko Moriyama Date: Wed, 13 Apr 2016 01:31:35 +0900 Subject: [PATCH 2/7] Delete unreadable parameters. If parameter text is not readable, translate will change. If you don't need to add screen-reader-text, that's better to remove. --- inc/admin/welcome-screen/sections/child-themes.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/admin/welcome-screen/sections/child-themes.php b/inc/admin/welcome-screen/sections/child-themes.php index 94cfb7b..3008bb7 100644 --- a/inc/admin/welcome-screen/sections/child-themes.php +++ b/inc/admin/welcome-screen/sections/child-themes.php @@ -59,7 +59,7 @@
OnePirate - ZblackBeard' ); ?> +
@@ -86,7 +86,7 @@
Zifer Child - Zerius' ); ?> +
@@ -115,7 +115,7 @@
ResponsiveBoat - ResponsiveBoat' ); ?> +
@@ -142,7 +142,7 @@
Zerius - Zerius' ); ?> +
From 034d1564921f4c902fe8cbdc630777ca7c596c55 Mon Sep 17 00:00:00 2001 From: Mayuko Moriyama Date: Mon, 18 Apr 2016 06:47:29 +0900 Subject: [PATCH 3/7] Make welcome page title translatable. --- inc/admin/welcome-screen/welcome-screen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/admin/welcome-screen/welcome-screen.php b/inc/admin/welcome-screen/welcome-screen.php index d0b2380..aba24a1 100644 --- a/inc/admin/welcome-screen/welcome-screen.php +++ b/inc/admin/welcome-screen/welcome-screen.php @@ -41,7 +41,7 @@ public function __construct() { * @since 1.8.2.4 */ public function zerif_lite_welcome_register_menu() { - add_theme_page( 'About Zerif Lite', 'About Zerif Lite', 'activate_plugins', 'zerif-lite-welcome', array( $this, 'zerif_lite_welcome_screen' ) ); + add_theme_page( __( 'About Zerif Lite', 'zerif-lite' ), __( 'About Zerif Lite', 'zerif-lite' ), 'activate_plugins', 'zerif-lite-welcome', array( $this, 'zerif_lite_welcome_screen' ) ); } /** From 40648b4f11da408a89575c1b04ddb85fedc714df Mon Sep 17 00:00:00 2001 From: Mayuko Moriyama Date: Mon, 18 Apr 2016 07:35:19 +0900 Subject: [PATCH 4/7] Fix text domains. --- inc/customizer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/customizer.php b/inc/customizer.php index a8d580f..6ab2ba7 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -102,7 +102,7 @@ public function render_content() { $wp_customize->add_control( 'zerif_use_safe_font', array( 'type' => 'checkbox', - 'label' => __( 'Use safe font?','zerif' ), + 'label' => __( 'Use safe font?','zerif-lite' ), 'section' => 'zerif_general_section', 'priority' => 1 ) ); @@ -175,7 +175,7 @@ public function render_content() { $wp_customize->add_control( 'zerif_change_to_full_width', array( 'type' => 'checkbox', - 'label' => __( 'Change the template to Full width for all the pages?','zerif' ), + 'label' => __( 'Change the template to Full width for all the pages?','zerif-lite' ), 'section' => 'zerif_general_section', 'priority' => 6 ) ); From 4fd02a423e84cede5b207e8f3913264d8a7f3ac0 Mon Sep 17 00:00:00 2001 From: Mayuko Moriyama Date: Mon, 18 Apr 2016 07:44:56 +0900 Subject: [PATCH 5/7] Make link string translatable. --- inc/customizer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/customizer.php b/inc/customizer.php index 6ab2ba7..675f1ae 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -1975,7 +1975,7 @@ public function render_content() { $wp_customize->add_control( 'zerif_contactus_sitekey', array( 'label' => __( 'Site key', 'zerif-lite' ), - 'description' => ''.__('Create an account here','zerif-lite').' to get the Site key and the Secret key for the reCaptcha.', + 'description' => sprintf( _x( '%s to get the Site key and the Secret key for the reCaptcha.', '%s = "Create an acount here"', 'zerif-lite' ), ''.__( 'Create an account here' , 'zerif-lite' ).'' ), 'section' => 'zerif_contactus_section', 'priority' => 7, )); From 86e9acd2405b579650d7134ec1670a601b45f828 Mon Sep 17 00:00:00 2001 From: Mayuko Moriyama Date: Mon, 18 Apr 2016 07:51:00 +0900 Subject: [PATCH 6/7] Make welcome title translatable. --- inc/admin/welcome-screen/sections/getting-started.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/admin/welcome-screen/sections/getting-started.php b/inc/admin/welcome-screen/sections/getting-started.php index 383dc7b..bd65a3b 100644 --- a/inc/admin/welcome-screen/sections/getting-started.php +++ b/inc/admin/welcome-screen/sections/getting-started.php @@ -10,7 +10,7 @@
-

Welcome to Zerif Lite!

+

From af0087eb10d7d9d9c780357403129ae044fa20bb Mon Sep 17 00:00:00 2001 From: Mayuko Moriyama Date: Mon, 18 Apr 2016 18:53:26 +0900 Subject: [PATCH 7/7] Revert "Delete unreadable parameters." This reverts commit 1a179da5456751b2679622bcbb5cbbef6082cfe2. --- inc/admin/welcome-screen/sections/child-themes.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/admin/welcome-screen/sections/child-themes.php b/inc/admin/welcome-screen/sections/child-themes.php index 3008bb7..94cfb7b 100644 --- a/inc/admin/welcome-screen/sections/child-themes.php +++ b/inc/admin/welcome-screen/sections/child-themes.php @@ -59,7 +59,7 @@

OnePirate - + ZblackBeard' ); ?>
@@ -86,7 +86,7 @@
Zifer Child - + Zerius' ); ?>
@@ -115,7 +115,7 @@
ResponsiveBoat - + ResponsiveBoat' ); ?>
@@ -142,7 +142,7 @@
Zerius - + Zerius' ); ?>