After [31941], use the decoupled strings from `WP_Customize_Manager::register_controls()` on the Menus screen.

see #28502.

git-svn-id: https://develop.svn.wordpress.org/trunk@31951 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-04-01 11:36:46 +00:00
parent 8f1a04d2fb
commit 8e9a5a7156
1 changed files with 5 additions and 1 deletions

View File

@ -562,7 +562,11 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
?>
<?php
if ( $locations_screen ) :
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>';
if ( 1 == $num_locations ) {
echo '<p>' . __( 'Your theme supports one menu. Select which menu you would like to use.' ) . '</p>';
} else {
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>';
}
?>
<div id="menu-locations-wrap">
<form method="post" action="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>">