Make WordPress Core


Ignore:
Timestamp:
01/20/2017 05:59:32 AM (8 years 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.