I18N: Remove <a> tag from translatable string in wp-admin/options-general.php.

Add translator comment.

Props ramiy.
Fixes #35673.

git-svn-id: https://develop.svn.wordpress.org/trunk@36656 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-02-23 23:27:47 +00:00
parent e34ce471af
commit 8cc3d71197

View File

@ -105,10 +105,15 @@ $new_admin_email = get_option( 'new_admin_email' );
if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?> if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?>
<div class="updated inline"> <div class="updated inline">
<p><?php <p><?php
/* translators: 1: new admin email, 2: Cancel link URL */ printf(
printf( __( 'There is a pending change of the admin email to %1$s. <a href="%2$s">Cancel</a>' ), /* translators: %s: new admin email */
'<code>' . esc_html( $new_admin_email ) . '</code>', __( 'There is a pending change of the admin email to %s.' ),
esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) '<code>' . esc_html( $new_admin_email ) . '</code>'
);
printf(
' <a href="%1$s">%2$s</a>',
esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ),
__( 'Cancel' )
); );
?></p> ?></p>
</div> </div>