Make WordPress Core

Ticket #13134: 13134-create_menu_text.diff

File 13134-create_menu_text.diff, 2.2 KB (added by duck_, 15 years ago)
  • wp-admin/nav-menus.php

     
    389389                                                                </label>
    390390                                                       
    391391                                                                <div class="publishing-action">
    392                                                                         <input class="button-primary" name="save_menu" type="submit" value="<?php esc_attr_e('Save Menu'); ?>" />
     392                                                                        <input class="button-primary" name="save_menu" type="submit" value="<?php empty($nav_menu_selected_id) ? esc_attr_e('Create Menu') : esc_attr_e('Save Menu'); ?>" />
    393393                                                                </div><!--END .publishing-action-->
    394394                                                       
    395395                                                                <?php if ( ! empty( $nav_menu_selected_id ) ) : ?>
     
    419419                                                                </ul>
    420420                                                        <?php elseif ( empty($nav_menu_selected_id) ):
    421421                                                                echo '<div class="post-body-plain">';
    422                                                                 echo '<p>' . __('To create a custom menu, give it a name above, then choose items like pages, categories or custom links from the left column to add to this menu.') . '</p>';
    423                                                                 echo '<p>' . __('After you have added your items, drag and drop to put them in the order you want, and click each item to reveal additional configuration options.') . '</p>';
    424                                                                 echo '<p>' . __('When you are finished building your custom menu, make sure you click the Save Menu button above.') . '</p>';
     422                                                                echo '<p>' . __('To create a custom menu, give it a name above and click Create Menu. Then choose items like pages, categories or custom links from the left column to add to this menu.') . '</p>';
     423                                                                echo '<p>' . __('After you have added your items, drag and drop to put them in the order you want. You can also click each item to reveal additional configuration options.') . '</p>';
     424                                                                echo '<p>' . __('When you have finished building your custom menu, make sure you click the Save Menu button.') . '</p>';
    425425                                                                echo '<p>' . __('You can create multiple menus. You can also display custom menus using the new "Custom Menu" widget.') . '</p>';
    426426                                                                echo '<p>' . sprintf( __('For more information on this feature, see the <a href="%s">Custom Menus</a> article in the Codex.'), _x('http://codex.wordpress.org/Custom_Menus', 'Custom Menus codex page') ) . '</p>';
    427427                                                                echo '</div>';