Ticket #9190: widgets.diff
| File widgets.diff, 1.1 KB (added by , 17 years ago) |
|---|
-
wp-admin/widgets.php
192 192 193 193 // This is sort of lame since "widget" won't be converted to "widgets" in the JS 194 194 if ( 1 < $sidebars_count = count($wp_registered_sidebars) ) 195 $sidebar_info_text = _ _ngettext( 'You are using %1$s widget in the "%2$s" sidebar.', 'You are using %1$s widgets in the "%2$s" sidebar.', $sidebar_widget_count );195 $sidebar_info_text = _n( 'You are using %1$s widget in the "%2$s" sidebar.', 'You are using %1$s widgets in the "%2$s" sidebar.', $sidebar_widget_count ); 196 196 else 197 $sidebar_info_text = _ _ngettext( 'You are using %1$s widget in the sidebar.', 'You are using %1$s widgets in the sidebar.', $sidebar_widget_count );197 $sidebar_info_text = _n( 'You are using %1$s widget in the sidebar.', 'You are using %1$s widgets in the sidebar.', $sidebar_widget_count ); 198 198 199 199 200 200 $sidebar_info_text = sprintf( wp_specialchars( $sidebar_info_text ), "<span id='widget-count'>$sidebar_widget_count</span>", $wp_registered_sidebars[$sidebar]['name'] );
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)