Site Health: Add missing i18n for “Copied!” string.

Props: Soean, mukesh27, davidbaumwald.
Fixes #46847.

git-svn-id: https://develop.svn.wordpress.org/trunk@45155 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2019-04-09 15:23:20 +00:00
parent 7215374431
commit 4428086e4c

View File

@ -87,12 +87,12 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
<div class="site-health-copy-buttons">
<div class="copy-button-wrapper">
<button type="button" class="button button-primary copy-button" data-clipboard-text="<?php echo esc_attr( WP_Debug_Data::format( $info, 'text' ) ); ?>"><?php _e( 'Copy site info to clipboard' ); ?></button>
<span class="success" aria-hidden="true">Copied!</span>
<span class="success" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
</div>
<?php if ( $english_info ) : ?>
<div class="copy-button-wrapper">
<button type="button" class="button copy-button" data-clipboard-text="<?php echo esc_attr( WP_Debug_Data::format( $english_info, 'text' ) ); ?>"><?php _e( 'Copy site info to clipboard (English)' ); ?></button>
<span class="success" aria-hidden="true">Copied!</span>
<span class="success" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
</div>
<?php endif; ?>
</div>