From c174aa2b6ff7cbb35a91506d92729a3b7dd913d2 Mon Sep 17 00:00:00 2001
From: "Dominik Schilling (ocean90)" ' . __( 'This panel is used for managing navigation menus for content you have already published on your site. You can create menus and add items for existing content such as pages, posts, categories, tags, formats, or custom links.' ) . ' ' . sprintf( __( 'Menus can be displayed in locations defined by your theme or in widget areas by adding a “Custom Menu” widget.' ), "javascript:wp.customize.panel( 'widgets' ).focus();" ) . ' ' . __( 'Menus can be displayed in locations defined by your theme.' ) . ' ' . __( 'Your theme supports one menu. Select which menu you would like to use.' );
+ $description = ' ' . __( 'Your theme supports one menu. Select which menu you would like to use.' ) . ' ' . 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 ) );
+ /* translators: %s: number of menu locations */
+ $description = ' ' . 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 ) ) . ' ' . sprintf( __( 'You can also place menus in widget areas with the “Custom Menu” widget.' ), "javascript:wp.customize.panel( 'widgets' ).focus();" ) . '
' . __( 'You can also place menus in widget areas with the Custom Menu widget.' ) . '
'; $this->manager->add_section( 'menu_locations', array( 'title' => __( 'Menu Locations' ),