I18N: Combine similar strings with minor differences.
Props dimadin. Fixes #47158. Built from https://develop.svn.wordpress.org/trunk@45298 git-svn-id: http://core.svn.wordpress.org/trunk@45107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1628,7 +1628,7 @@ function wp_dashboard_php_nag() {
|
||||
<p><?php echo $msg; ?></p>
|
||||
|
||||
<h3><?php _e( 'What is PHP and how does it affect my site?' ); ?></h3>
|
||||
<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’s performance.' ); ?></p>
|
||||
<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’s performance.' ); ?></p>
|
||||
|
||||
<p class="button-container">
|
||||
<?php
|
||||
|
||||
@@ -1187,8 +1187,8 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
|
||||
return new WP_Error(
|
||||
'signature_verification_unsupported',
|
||||
sprintf(
|
||||
/* translators: 1: The filename of the package. */
|
||||
__( 'The authenticity of %1$s could not be verified as signature verification is unavailable on this system.' ),
|
||||
/* translators: %s: The filename of the package. */
|
||||
__( 'The authenticity of %s could not be verified as signature verification is unavailable on this system.' ),
|
||||
'<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
|
||||
),
|
||||
array(
|
||||
|
||||
@@ -723,8 +723,13 @@ function customize_themes_print_templates() {
|
||||
{{{ data.stars }}}
|
||||
<a class="num-ratings" target="_blank" href="{{ data.reviews_url }}">
|
||||
<?php
|
||||
/* translators: %s: number of ratings */
|
||||
echo sprintf( __( '(%s ratings) <span class="screen-reader-text">link to view ratings opens in a new tab</span>' ), '{{ data.num_ratings }}' );
|
||||
printf(
|
||||
'%1$s <span class="screen-reader-text">%2$s</span>',
|
||||
/* translators: %s: number of ratings */
|
||||
sprintf( __( '(%s ratings)' ), '{{ data.num_ratings }}' ),
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new tab)' )
|
||||
);
|
||||
?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user