Ticket #13520: accurate-location-label.13520.diff
File accurate-location-label.13520.diff, 1.0 KB (added by , 11 years ago) |
---|
-
wp-admin/includes/nav-menu.php
405 405 $locations = get_registered_nav_menus(); 406 406 $menus = wp_get_nav_menus(); 407 407 $menu_locations = get_nav_menu_locations(); 408 $first_location = array_shift( array_slice($locations, 0, 1) ); 408 409 $num_locations = count( array_keys($locations) ); 409 410 410 echo '<p class="howto">' . sprintf( _n('Your theme supports % s menu. Select where you would like it to appear.', 'Your theme supports %s menus. Select where you would like them to appear.', $num_locations), number_format_i18n($num_locations)) . '</p>';411 echo '<p class="howto">' . sprintf( _n('Your theme supports %1$s menu. Select which menu appears in %2$s.', 'Your theme supports %1$s menus. Select which menu appears in each location.', $num_locations), number_format_i18n($num_locations), $first_location ) . '</p>'; 411 412 412 413 foreach ( $locations as $location => $description ) { 413 414 ?>