Ticket #42112: 42112.diff
File 42112.diff, 1.6 KB (added by , 7 years ago) |
---|
-
src/wp-includes/class-wp-customize-nav-menus.php
414 414 'page_label' => get_post_type_object( 'page' )->labels->singular_name, 415 415 /* translators: %s: menu location */ 416 416 'menuLocation' => _x( '(Currently set to: %s)', 'menu' ), 417 'locationsTitle' => _n( 'Menu Location', 'Menu Locations', $num_locations ), 417 418 'locationsDescription' => $locations_description, 418 419 'menuNameLabel' => __( 'Menu Name' ), 419 420 'newMenuNameDescription' => __( 'If your theme has multiple menus, giving them clear names will help you manage them.' ), … … 583 584 } 584 585 585 586 $this->manager->add_section( 'menu_locations', array( 586 'title' => _ x( 'View All Locations', 'menu locations' ),587 'title' => _nx( 'View Location', 'View All Locations', $num_locations, 'menu locations' ), 587 588 'panel' => 'nav_menus', 588 589 'priority' => 30, 589 590 'description' => $description … … 938 939 </script> 939 940 940 941 <script type="text/html" id="tmpl-nav-menu-locations-header"> 941 <span class="customize-control-title customize-section-title-menu_locations-heading"> <?php _e( 'Menu Locations' ); ?></span>942 <span class="customize-control-title customize-section-title-menu_locations-heading">{{ data.l10n.locationsTitle }}</span> 942 943 <p class="customize-control-description customize-section-title-menu_locations-description">{{ data.l10n.locationsDescription }}</p> 943 944 </script> 944 945