Make WordPress Core


Ignore:
Timestamp:
02/07/2023 05:08:26 PM (20 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-admin/update-core.php

    r54897 r55276  
    575575                <label for="<?php echo $checkbox_id; ?>" class="screen-reader-text">
    576576                    <?php
    577                     /* translators: %s: Plugin name. */
     577                    /* translators: Hidden accessibility text. %s: Plugin name. */
    578578                    printf( __( 'Select %s' ), $plugin_data->Name );
    579579                    ?>
     
    749749                <label for="<?php echo $checkbox_id; ?>" class="screen-reader-text">
    750750                    <?php
    751                     /* translators: %s: Theme name. */
     751                    /* translators: Hidden accessibility text. %s: Theme name. */
    752752                    printf( __( 'Select %s' ), $theme->display( 'Name' ) );
    753753                    ?>
Note: See TracChangeset for help on using the changeset viewer.