- Timestamp:
- 06/03/2024 08:33:03 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php
r57746 r58306 78 78 <span class="item-controls"> 79 79 <button type="button" class="button-link item-edit" aria-expanded="false"><span class="screen-reader-text"> 80 <?php 81 /* translators: 1: Title of a menu item, 2: Type of a menu item. */ 82 printf( __( 'Edit menu item: %1$s (%2$s)' ), '{{ data.title || data.original_title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}' ); 83 ?> 80 <# if ( 0 === data.depth ) { #> 81 <?php 82 /* translators: 1: Title of a menu item, 2: Type of a menu item. 3: Item index, 4: Total items. */ 83 printf( __( 'Edit %1$s (%2$s, %3$d of %4$d)' ), '{{ data.title || data.original_title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}', '', '' ); 84 ?> 85 <# } else if ( 1 === data.depth ) { #> 86 <?php 87 /* translators: 1: Title of a menu item, 2: Type of a menu item, 3, Item index, 4, Total items, 5: Item parent. */ 88 printf( __( 'Edit %1$s (%2$s, sub-item %3$d of %4$d under %5$s)' ), '{{ data.title || data.original_title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}', '', '', '' ); 89 ?> 90 <# } else { #> 91 <?php 92 /* translators: 1: Title of a menu item, 2: Type of a menu item, 3, Item index, 4, Total items, 5: Item parent, 6: Item depth. */ 93 printf( __( 'Edit %1$s (%2$s, sub-item %3$d of %4$d under %5$s, level %6$s)' ), '{{ data.title || data.original_title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}', '', '', '', '{{data.depth}}' ); 94 ?> 95 <# } #> 84 96 </span><span class="toggle-indicator" aria-hidden="true"></span></button> 85 97 <button type="button" class="button-link item-delete submitdelete deletion"><span class="screen-reader-text">
Note: See TracChangeset
for help on using the changeset viewer.