Changeset 41868 for trunk/src/wp-admin/nav-menus.php
- Timestamp:
- 10/15/2017 10:22:59 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/nav-menus.php
r40313 r41868 515 515 516 516 if ( ! current_theme_supports( 'menus' ) && ! $num_locations ) 517 $messages[] = '<div id="message" class="updated"><p>' . sprintf( __( 'Your theme does not natively support menus, but you can use them in sidebars by adding a “ CustomMenu” widget on the <a href="%s">Widgets</a> screen.' ), admin_url( 'widgets.php' ) ) . '</p></div>';517 $messages[] = '<div id="message" class="updated"><p>' . sprintf( __( 'Your theme does not natively support menus, but you can use them in sidebars by adding a “Navigation Menu” widget on the <a href="%s">Widgets</a> screen.' ), admin_url( 'widgets.php' ) ) . '</p></div>'; 518 518 519 519 if ( ! $locations_screen ) : // Main tab 520 $overview = '<p>' . __( 'This screen is used for managing your customnavigation menus.' ) . '</p>';520 $overview = '<p>' . __( 'This screen is used for managing your navigation menus.' ) . '</p>'; 521 521 /* translators: 1: Widgets admin screen URL, 2 and 3: The name of the default themes */ 522 $overview .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a “ Custom Menu” widget on the <a href="%1$s">Widgets</a> screen. If your theme does not support the custommenus feature (the default themes, %2$s and %3$s, do), you can learn about adding this support by following the Documentation link to the side.' ), admin_url( 'widgets.php' ), 'Twenty Sixteen', 'Twenty Seventeen' ) . '</p>';522 $overview .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a “Navigation Menu” widget on the <a href="%1$s">Widgets</a> screen. If your theme does not support the navigation menus feature (the default themes, %2$s and %3$s, do), you can learn about adding this support by following the Documentation link to the side.' ), admin_url( 'widgets.php' ), 'Twenty Sixteen', 'Twenty Seventeen' ) . '</p>'; 523 523 $overview .= '<p>' . __( 'From this screen you can:' ) . '</p>'; 524 524 $overview .= '<ul><li>' . __( 'Create, edit, and delete menus' ) . '</li>'; … … 542 542 ) ); 543 543 544 $editing_menus = '<p>' . __( 'Each custommenu may contain a mix of links to pages, categories, custom URLs or other content types. Menu links are added by selecting items from the expanding boxes in the left-hand column below.' ) . '</p>';544 $editing_menus = '<p>' . __( 'Each navigation menu may contain a mix of links to pages, categories, custom URLs or other content types. Menu links are added by selecting items from the expanding boxes in the left-hand column below.' ) . '</p>'; 545 545 $editing_menus .= '<p>' . __( '<strong>Clicking the arrow to the right of any menu item</strong> in the editor will reveal a standard group of settings. Additional settings such as link target, CSS classes, link relationships, and link descriptions can be enabled and disabled via the Screen Options tab.' ) . '</p>'; 546 546 $editing_menus .= '<ul><li>' . __( 'Add one or several items at once by <strong>selecting the checkbox next to each item and clicking Add to Menu</strong>' ) . '</li>';
Note: See TracChangeset
for help on using the changeset viewer.