Make WordPress Core

Changeset 45510


Ignore:
Timestamp:
06/10/2019 01:32:41 PM (5 years ago)
Author:
desrosj
Message:

I18N: Combine similar strings with minor differences.

Merges [45298] to the 5.2 branch.

Props dimadin.
Fixes #47158.

Location:
branches/5.2
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

  • branches/5.2/src/wp-admin/includes/dashboard.php

    r44924 r45510  
    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">
  • branches/5.2/src/wp-admin/includes/file.php

    r45356 r45510  
    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            ),
  • branches/5.2/src/wp-admin/includes/theme.php

    r45116 r45510  
    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>
  • branches/5.2/src/wp-login.php

    r45204 r45510  
    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.