Make WordPress Core

Changeset 61368


Ignore:
Timestamp:
12/11/2025 12:45:50 AM (2 days ago)
Author:
westonruter
Message:

I18N: Add missing translation functions for REST API app login.

Developed in https://github.com/WordPress/wordpress-develop/pull/10578

Follow-up to [49110], [49109].

Props geminorum.
See #42790.
Fixes #64331.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r61085 r61368  
    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
Note: See TracChangeset for help on using the changeset viewer.