Make WordPress Core

Changeset 45298 for trunk


Ignore:
Timestamp:
05/09/2019 07:47:28 PM (6 years ago)
Author:
desrosj
Message:

I18N: Combine similar strings with minor differences.

Props dimadin.
Fixes #47158.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r44924 r45298  
    16291629
    16301630    <h3><?php _e( 'What is PHP and how does it affect my site?' ); ?></h3>
    1631     <p><?php _e( 'PHP is the programming language we use to build and maintain WordPress. Newer versions of PHP are both faster and more secure, so updating will have a positive effect on your sites performance.' ); ?></p>
     1631    <p><?php _e( 'PHP is the programming language we use to build and maintain WordPress. Newer versions of PHP are both faster and more secure, so updating will have a positive effect on your site&#8217;s performance.' ); ?></p>
    16321632
    16331633    <p class="button-container">
  • trunk/src/wp-admin/includes/file.php

    r45266 r45298  
    11881188            'signature_verification_unsupported',
    11891189            sprintf(
    1190                 /* translators: 1: The filename of the package. */
    1191                 __( 'The authenticity of %1$s could not be verified as signature verification is unavailable on this system.' ),
     1190                /* translators: %s: The filename of the package. */
     1191                __( 'The authenticity of %s could not be verified as signature verification is unavailable on this system.' ),
    11921192                '<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
    11931193            ),
  • trunk/src/wp-admin/includes/theme.php

    r45116 r45298  
    724724                            <a class="num-ratings" target="_blank" href="{{ data.reviews_url }}">
    725725                                <?php
    726                                 /* translators: %s: number of ratings */
    727                                 echo sprintf( __( '(%s ratings) <span class="screen-reader-text">link to view ratings opens in a new tab</span>' ), '{{ data.num_ratings }}' );
     726                                printf(
     727                                    '%1$s <span class="screen-reader-text">%2$s</span>',
     728                                    /* translators: %s: number of ratings */
     729                                    sprintf( __( '(%s ratings)' ), '{{ data.num_ratings }}' ),
     730                                    /* translators: accessibility text */
     731                                    __( '(opens in a new tab)' )
     732                                );
    728733                                ?>
    729734                            </a>
  • trunk/src/wp-login.php

    r45204 r45298  
    427427
    428428    if ( $message && ! wp_mail( $user_email, wp_specialchars_decode( $title ), $message ) ) {
    429         wp_die( __( 'The email could not be sent.' ) . "<br />\n" . __( 'Possible reason: your host may have disabled the mail() function.' ) );
     429        wp_die( __( 'The email could not be sent. Possible reason: your host may have disabled the mail() function.' ) );
    430430    }
    431431
Note: See TracChangeset for help on using the changeset viewer.