Make WordPress Core


Ignore:
Timestamp:
02/07/2023 05:08:26 PM (17 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-control.php

    r52978 r55276  
    5858            </button>
    5959        </div>
    60         <p class="screen-reader-text" id="reorder-items-desc-{{ data.menu_id }}"><?php _e( 'When in reorder mode, additional controls to reorder menu items will be available in the items list above.' ); ?></p>
     60        <p class="screen-reader-text" id="reorder-items-desc-{{ data.menu_id }}">
     61            <?php
     62            /* translators: Hidden accessibility text. */
     63            _e( 'When in reorder mode, additional controls to reorder menu items will be available in the items list above.' );
     64            ?>
     65        </p>
    6166        <?php
    6267    }
Note: See TracChangeset for help on using the changeset viewer.