diff --git a/src/wp-login.php b/src/wp-login.php
index 60d9c21f3ddf1..429032a43a402 100644
--- a/src/wp-login.php
+++ b/src/wp-login.php
@@ -1462,10 +1462,10 @@ function wp_login_viewport_meta() {
if ( ! empty( $query['app_name'] ) ) {
/* translators: 1: Website name, 2: Application name. */
- $message = sprintf( 'Please log in to %1$s to authorize %2$s to connect to your account.', get_bloginfo( 'name', 'display' ), '' . esc_html( $query['app_name'] ) . '' );
+ $message = sprintf( __( 'Please log in to %1$s to authorize %2$s to connect to your account.' ), get_bloginfo( 'name', 'display' ), '' . esc_html( $query['app_name'] ) . '' );
} else {
/* translators: %s: Website name. */
- $message = sprintf( 'Please log in to %s to proceed with authorization.', get_bloginfo( 'name', 'display' ) );
+ $message = sprintf( __( 'Please log in to %s to proceed with authorization.' ), get_bloginfo( 'name', 'display' ) );
}
$errors->add( 'authorize_application', $message, 'message' );