Changeset 31951
- Timestamp:
- 04/01/2015 11:36:46 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/nav-menus.php
r31927 r31951 563 563 <?php 564 564 if ( $locations_screen ) : 565 echo '<p>' . sprintf( _n( 'Your theme supports %s menu. Select which menu you would like to use.', 'Your theme supports %s menus. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ) . '</p>'; 565 if ( 1 == $num_locations ) { 566 echo '<p>' . __( 'Your theme supports one menu. Select which menu you would like to use.' ) . '</p>'; 567 } else { 568 echo '<p>' . sprintf( _n( 'Your theme supports %s menu. Select which menu appears in each location.', 'Your theme supports %s menus. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ) . '</p>'; 569 } 566 570 ?> 567 571 <div id="menu-locations-wrap">
Note: See TracChangeset
for help on using the changeset viewer.