Skip to content

Commit 2abe734

Browse files
committed
I18N: Add missing translation functions for REST API app login.
Developed in WordPress/wordpress-develop#10578 Follow-up to [49110], [49109]. Props geminorum. See #42790. Fixes #64331. Built from https://develop.svn.wordpress.org/trunk@61368 git-svn-id: https://core.svn.wordpress.org/trunk@60680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 91dee40 commit 2abe734

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '7.0-alpha-61367';
19+
$wp_version = '7.0-alpha-61368';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

wp-login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,10 +1462,10 @@ function wp_login_viewport_meta() {
14621462

14631463
if ( ! empty( $query['app_name'] ) ) {
14641464
/* translators: 1: Website name, 2: Application name. */
1465-
$message = sprintf( 'Please log in to %1$s to authorize %2$s to connect to your account.', get_bloginfo( 'name', 'display' ), '<strong>' . esc_html( $query['app_name'] ) . '</strong>' );
1465+
$message = sprintf( __( 'Please log in to %1$s to authorize %2$s to connect to your account.' ), get_bloginfo( 'name', 'display' ), '<strong>' . esc_html( $query['app_name'] ) . '</strong>' );
14661466
} else {
14671467
/* translators: %s: Website name. */
1468-
$message = sprintf( 'Please log in to %s to proceed with authorization.', get_bloginfo( 'name', 'display' ) );
1468+
$message = sprintf( __( 'Please log in to %s to proceed with authorization.' ), get_bloginfo( 'name', 'display' ) );
14691469
}
14701470

14711471
$errors->add( 'authorize_application', $message, 'message' );

0 commit comments

Comments
 (0)