Make WordPress Core


Ignore:
Timestamp:
11/21/2016 01:21:01 AM (8 years ago)
Author:
johnbillion
Message:

I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment.

Adds context to one string used in two different contexts for the new user and new site signup email notification.

More to come.

See #38882

File:
1 edited

Legend:

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

    r38814 r39323  
    788788    if ( empty( $_COOKIE[ LOGGED_IN_COOKIE ] ) ) {
    789789        if ( headers_sent() ) {
     790            /* translators: 1: Browser cookie documentation URL, 2: Support forums URL */
    790791            $user = new WP_Error( 'test_cookie', sprintf( __( '<strong>ERROR</strong>: Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support forums</a>.' ),
    791792                __( 'https://codex.wordpress.org/Cookies' ), __( 'https://wordpress.org/support/' ) ) );
    792793        } elseif ( isset( $_POST['testcookie'] ) && empty( $_COOKIE[ TEST_COOKIE ] ) ) {
    793794            // If cookies are disabled we can't log in even with a valid user+pass
     795            /* translators: 1: Browser cookie documentation URL */
    794796            $user = new WP_Error( 'test_cookie', sprintf( __( '<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ),
    795797                __( 'https://codex.wordpress.org/Cookies' ) ) );
Note: See TracChangeset for help on using the changeset viewer.