From c844e5ba5945bfb4c8ef8bd2c3743c6463e23043 Mon Sep 17 00:00:00 2001 From: Maciej Date: Thu, 4 Aug 2022 11:28:42 +0200 Subject: [PATCH] Add translator comments, lowercase help. --- assets/js/components/setup/SetupUsingProxyWithSignIn.js | 2 +- includes/Core/Authentication/Authentication.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/js/components/setup/SetupUsingProxyWithSignIn.js b/assets/js/components/setup/SetupUsingProxyWithSignIn.js index a20d5b1d487..aa85ba5aaca 100644 --- a/assets/js/components/setup/SetupUsingProxyWithSignIn.js +++ b/assets/js/components/setup/SetupUsingProxyWithSignIn.js @@ -319,7 +319,7 @@ export default function SetupUsingProxyWithSignIn() { external > { __( - 'Get Help', + 'Get help', 'google-site-kit' ) } diff --git a/includes/Core/Authentication/Authentication.php b/includes/Core/Authentication/Authentication.php index 95204eb6234..876871dfdeb 100644 --- a/includes/Core/Authentication/Authentication.php +++ b/includes/Core/Authentication/Authentication.php @@ -1112,14 +1112,14 @@ private function get_reconnect_after_url_mismatch_notice() { $connected_url = $this->connected_proxy_url->get(); $current_url = $this->context->get_canonical_home_url(); $content = '

' . sprintf( - /* translators: 1: Plugin name. 2: Message. 3: Proxy setup URL. 4: Reconnect string. */ - __( '%1$s: %2$s %4$s. %6$s', 'google-site-kit' ), + /* translators: 1: Plugin name. 2: Message. 3: Proxy setup URL. 4: Reconnect string. 5: Proxy support link for the url-has-changed help page. 6: Message. */ + __( '%1$s: %2$s %4$s. %6$s', 'google-site-kit' ), esc_html__( 'Site Kit by Google', 'google-site-kit' ), esc_html__( 'Looks like the URL of your site has changed. In order to continue using Site Kit, you’ll need to reconnect, so that your plugin settings are updated with the new URL.', 'google-site-kit' ), esc_url( $this->get_proxy_setup_url() ), esc_html__( 'Reconnect', 'google-site-kit' ), esc_url( $this->get_proxy_support_link_url() . '/?doc=url-has-changed' ), - esc_html__( 'Get Help', 'google-site-kit' ) + esc_html__( 'Get help', 'google-site-kit' ) ) . '

'; // Only show the comparison if URLs don't match as it is possible