mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 06:40:25 +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:
@@ -330,7 +330,12 @@ printf(
|
||||
<th scope="row"><?php _e( 'Permalink structure' ); ?></th>
|
||||
<td>
|
||||
<fieldset class="structure-selection">
|
||||
<legend class="screen-reader-text"><?php _e( 'Permalink structure' ); ?></legend>
|
||||
<legend class="screen-reader-text">
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. */
|
||||
_e( 'Permalink structure' );
|
||||
?>
|
||||
</legend>
|
||||
<?php foreach ( $default_structures as $input ) : ?>
|
||||
<div class="row">
|
||||
<input id="permalink-input-<?php echo $input['id']; ?>"
|
||||
@@ -356,7 +361,10 @@ printf(
|
||||
<label for="custom_selection"><?php _e( 'Custom Structure' ); ?></label>
|
||||
<p>
|
||||
<label for="permalink_structure" class="screen-reader-text">
|
||||
<?php _e( 'Customize permalink structure by selecting available tags' ); ?>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. */
|
||||
_e( 'Customize permalink structure by selecting available tags' );
|
||||
?>
|
||||
</label>
|
||||
<span class="code">
|
||||
<code id="permalink-custom"><?php echo $url_base; ?></code>
|
||||
|
||||
Reference in New Issue
Block a user