Some menu string improvements. props JohnONolan. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14832 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0aa0cde880
commit
b30c9c252e
|
@ -407,7 +407,7 @@ function wp_nav_menu_locations_meta_box() {
|
||||||
$menu_locations = get_nav_menu_locations();
|
$menu_locations = get_nav_menu_locations();
|
||||||
$num_locations = count( array_keys($locations) );
|
$num_locations = count( array_keys($locations) );
|
||||||
|
|
||||||
echo '<p>' . sprintf( _n('Your theme supports %s menu. Assign a menu to your theme.', 'Your theme supports %s menus. Assign menus to your theme.', $num_locations), number_format_i18n($num_locations) ) . '</p>';
|
echo '<p>' . 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>';
|
||||||
|
|
||||||
foreach ( $locations as $location => $description ) {
|
foreach ( $locations as $location => $description ) {
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -93,7 +93,7 @@ function twentyten_setup() {
|
||||||
|
|
||||||
// This theme uses wp_nav_menu() in one location.
|
// This theme uses wp_nav_menu() in one location.
|
||||||
register_nav_menus( array(
|
register_nav_menus( array(
|
||||||
'primary' => __( 'Primary Menu', 'twentyten' ),
|
'primary' => __( 'Primary Navigation', 'twentyten' ),
|
||||||
) );
|
) );
|
||||||
|
|
||||||
// This theme allows users to set a custom background
|
// This theme allows users to set a custom background
|
||||||
|
|
Loading…
Reference in New Issue