Widgets: add localization context for 'Add' and 'Edit', props nacin, fixes #21338

git-svn-id: http://core.svn.wordpress.org/trunk@21356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2012-07-27 03:56:27 +00:00
parent 93979aa0ef
commit 99496fb30c
1 changed files with 2 additions and 2 deletions

View File

@ -180,8 +180,8 @@ function wp_widget_control( $sidebar_args ) {
<div class="widget-title-action">
<a class="widget-action hide-if-no-js" href="#available-widgets"></a>
<a class="widget-control-edit hide-if-js" href="<?php echo esc_url( add_query_arg( $query_arg ) ); ?>">
<span class="edit"><?php _e( 'Edit' ); ?></span>
<span class="add"><?php _e( 'Add' ); ?></span>
<span class="edit"><?php _ex( 'Edit', 'widget' ); ?></span>
<span class="add"><?php _ex( 'Add', 'widget' ); ?></span>
<span class="screen-reader-text"><?php echo $widget_title; ?></span>
</a>
</div>