WordPress.org

Make WordPress Core

Changeset 39927


Ignore:
Timestamp:
01/20/17 05:59:32 (8 months ago)
Author:
SergeyBiryukov
Message:

Customize: Remove redundant context for "Reorder" and "Done" strings in nav menu and widget area controls to ensure consistent translations.

Props pavelevap, Presskopp.
Fixes #33747.

Location:
trunk/src/wp-includes/customize
Files:
2 edited

Legend:

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

    r39098 r39927  
    5353        </button> 
    5454        <button type="button" class="button-link reorder-toggle" aria-label="<?php esc_attr_e( 'Reorder menu items' ); ?>" aria-describedby="reorder-items-desc-{{ data.menu_id }}"> 
    55             <span class="reorder"><?php _ex( 'Reorder', 'Reorder menu items in Customizer' ); ?></span> 
    56             <span class="reorder-done"><?php _ex( 'Done', 'Cancel reordering menu items in Customizer' ); ?></span> 
     55            <span class="reorder"><?php _e( 'Reorder' ); ?></span> 
     56            <span class="reorder-done"><?php _e( 'Done' ); ?></span> 
    5757        </button> 
    5858        <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> 
  • trunk/src/wp-includes/customize/class-wp-widget-area-customize-control.php

    r38672 r39927  
    6262        </button> 
    6363        <button type="button" class="button-link reorder-toggle" aria-label="<?php esc_attr_e( 'Reorder widgets' ); ?>" aria-describedby="<?php echo esc_attr( $id ); ?>"> 
    64             <span class="reorder"><?php _ex( 'Reorder', 'Reorder widgets in Customizer' ); ?></span> 
    65             <span class="reorder-done"><?php _ex( 'Done', 'Cancel reordering widgets in Customizer' ); ?></span> 
     64            <span class="reorder"><?php _e( 'Reorder' ); ?></span> 
     65            <span class="reorder-done"><?php _e( 'Done' ); ?></span> 
    6666        </button> 
    6767        <p class="screen-reader-text" id="<?php echo esc_attr( $id ); ?>"><?php _e( 'When in reorder mode, additional controls to reorder widgets will be available in the widgets list above.' ); ?></p> 
Note: See TracChangeset for help on using the changeset viewer.