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. Built from https://develop.svn.wordpress.org/trunk@55276 git-svn-id: http://core.svn.wordpress.org/trunk@54809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -574,7 +574,7 @@ function list_plugin_updates() {
|
||||
<input type="checkbox" name="checked[]" id="<?php echo $checkbox_id; ?>" value="<?php echo esc_attr( $plugin_file ); ?>" />
|
||||
<label for="<?php echo $checkbox_id; ?>" class="screen-reader-text">
|
||||
<?php
|
||||
/* translators: %s: Plugin name. */
|
||||
/* translators: Hidden accessibility text. %s: Plugin name. */
|
||||
printf( __( 'Select %s' ), $plugin_data->Name );
|
||||
?>
|
||||
</label>
|
||||
@@ -748,7 +748,7 @@ function list_theme_updates() {
|
||||
<input type="checkbox" name="checked[]" id="<?php echo $checkbox_id; ?>" value="<?php echo esc_attr( $stylesheet ); ?>" />
|
||||
<label for="<?php echo $checkbox_id; ?>" class="screen-reader-text">
|
||||
<?php
|
||||
/* translators: %s: Theme name. */
|
||||
/* translators: Hidden accessibility text. %s: Theme name. */
|
||||
printf( __( 'Select %s' ), $theme->display( 'Name' ) );
|
||||
?>
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user