Make WordPress Core

Changeset 45155


Ignore:
Timestamp:
04/09/2019 03:23:20 PM (7 years ago)
Author:
desrosj
Message:

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/site-health-info.php

    r45120 r45155  
    8888                <div class="copy-button-wrapper">
    8989                        <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>
    90                         <span class="success" aria-hidden="true">Copied!</span>
     90                        <span class="success" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
    9191                </div>
    9292                <?php if ( $english_info ) : ?>
    9393                        <div class="copy-button-wrapper">
    9494                                <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>
    95                                 <span class="success" aria-hidden="true">Copied!</span>
     95                                <span class="success" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
    9696                        </div>
    9797                <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.