Skip to content

Commit

Permalink
Add translator comments, lowercase help.
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejost committed Aug 4, 2022
1 parent 237d421 commit c844e5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/js/components/setup/SetupUsingProxyWithSignIn.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export default function SetupUsingProxyWithSignIn() {
external
>
{ __(
'Get Help',
'Get help',
'google-site-kit'
) }
</Link>
Expand Down
6 changes: 3 additions & 3 deletions includes/Core/Authentication/Authentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '<p>' . sprintf(
/* translators: 1: Plugin name. 2: Message. 3: Proxy setup URL. 4: Reconnect string. */
__( '%1$s: %2$s <a href="%3$s">%4$s</a>. <a targe="_blank" href="%5$s">%6$s</a>', '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 <a href="%3$s">%4$s</a>. <a target="_blank" href="%5$s">%6$s</a>', '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' )
) . '</p>';

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

0 comments on commit c844e5b

Please sign in to comment.