mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
I18N: Mark screen reader strings as such with translator comments.
This aims to provide better context for translators and make it easier to determine that some strings contain hidden accessibility text and are not displayed in the UI. Props kebbet, mercime, pavelevap, ocean90, swissspidy, Chouby, jipmoors, afercia, desrosj, costdev, audrasjb, SergeyBiryukov. Fixes #29748. git-svn-id: https://develop.svn.wordpress.org/trunk@55276 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -7147,7 +7147,12 @@ function wp_auth_check_html() {
|
||||
<div id="wp-auth-check-wrap" class="<?php echo $wrap_class; ?>">
|
||||
<div id="wp-auth-check-bg"></div>
|
||||
<div id="wp-auth-check">
|
||||
<button type="button" class="wp-auth-check-close button-link"><span class="screen-reader-text"><?php _e( 'Close dialog' ); ?></span></button>
|
||||
<button type="button" class="wp-auth-check-close button-link"><span class="screen-reader-text">
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. */
|
||||
_e( 'Close dialog' );
|
||||
?>
|
||||
</span></button>
|
||||
<?php
|
||||
|
||||
if ( $same_domain ) {
|
||||
@@ -8110,7 +8115,7 @@ function wp_direct_php_update_button() {
|
||||
'<a class="button button-primary" href="%1$s" target="_blank" rel="noopener">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
|
||||
esc_url( $direct_update_url ),
|
||||
__( 'Update PHP' ),
|
||||
/* translators: Accessibility text. */
|
||||
/* translators: Hidden accessibility text. */
|
||||
__( '(opens in a new tab)' )
|
||||
);
|
||||
echo '</p>';
|
||||
|
||||
Reference in New Issue
Block a user