I18N: Use a consistent translator comment ("accessibility text") for strings used in `aria-label` attributes.

See #32000.

git-svn-id: https://develop.svn.wordpress.org/trunk@40033 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-01-31 08:54:49 +00:00
parent 78e0bfb343
commit a52789b8b9
2 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ wp_localize_script( 'theme', '_wpThemeSettings', array(
'noThemesFound' => __( 'No themes found. Try a different search.' ), 'noThemesFound' => __( 'No themes found. Try a different search.' ),
'collapseSidebar' => __( 'Collapse Sidebar' ), 'collapseSidebar' => __( 'Collapse Sidebar' ),
'expandSidebar' => __( 'Expand Sidebar' ), 'expandSidebar' => __( 'Expand Sidebar' ),
/* translators: hidden accessibility text */ /* translators: accessibility text */
'selectFeatureFilter' => __( 'Select one or more Theme features to filter by' ), 'selectFeatureFilter' => __( 'Select one or more Theme features to filter by' ),
), ),
'installedThemes' => array_keys( $installed_themes ), 'installedThemes' => array_keys( $installed_themes ),

View File

@ -651,11 +651,11 @@ function wp_default_scripts( &$scripts ) {
'updatedLabel' => __( '%s updated!' ), 'updatedLabel' => __( '%s updated!' ),
/* translators: %s: Plugin name and version */ /* translators: %s: Plugin name and version */
'updateFailedLabel' => __( '%s update failed' ), 'updateFailedLabel' => __( '%s update failed' ),
/* translators: JavaScript accessible string */ /* translators: Accessibility text */
'updatingMsg' => __( 'Updating... please wait.' ), // No ellipsis. 'updatingMsg' => __( 'Updating... please wait.' ), // No ellipsis.
/* translators: JavaScript accessible string */ /* translators: Accessibility text */
'updatedMsg' => __( 'Update completed successfully.' ), 'updatedMsg' => __( 'Update completed successfully.' ),
/* translators: JavaScript accessible string */ /* translators: Accessibility text */
'updateCancel' => __( 'Update canceled.' ), 'updateCancel' => __( 'Update canceled.' ),
'beforeunload' => __( 'Updates may not complete if you navigate away from this page.' ), 'beforeunload' => __( 'Updates may not complete if you navigate away from this page.' ),
'installNow' => __( 'Install Now' ), 'installNow' => __( 'Install Now' ),