Make WordPress Core


Ignore:
Timestamp:
05/27/2010 11:52:15 AM (14 years ago)
Author:
nbachiyski
Message:

Menu translatable strings cleanup.

  • Take out <strong> of the translatable part of For more information:
  • Include support forums and Codex links inside translations, because most translators would want to change them to their local documentation sites or Codex prefixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/nav-menus.php

    r14977 r14989  
    436436wp_initial_nav_menu_meta_boxes();
    437437
    438 $help = '<p>' . __('This feature is new in version 3.0; to use a custom menu in place of your theme&#8217;s default menus, support for this feature must be registered in the theme&#8217;s functions.php file. If your theme does not support the custom menus feature yet (the new default theme Twenty Ten, does), you can learn about adding support yourself by following the below link.') . '</p>';
     438$help =  '<p>' . __('This feature is new in version 3.0; to use a custom menu in place of your theme&#8217;s default menus, support for this feature must be registered in the theme&#8217;s functions.php file. If your theme does not support the custom menus feature yet (the new default theme Twenty Ten, does), you can learn about adding support yourself by following the below link.') . '</p>';
    439439$help .= '<p>' . __('You can create custom menus for your site. These menus may contain links to pages, categories, custom links or other content types (use the Screen Options tab to decide which ones to show on the screen). You can specify a different navigation label for a menu item as well as other attributes. You can create multiple menus. If your theme includes more than one menu, you can choose which custom menu to associate with each. You can also use custom menus in conjunction with the Custom Menus widget.') . '</p>';
    440440$help .= '<p>' . __('To create a new custom menu, click on the + tab, give the menu a name, and click Create Menu. Next, add menu items from the appropriate boxes. You&#8217;ll be able to edit the information for each menu item, and can drag and drop to put them in order. You can also drag a menu item a little to the right to make it a submenu, to create menus with hierarchy. You&#8217;ll see when the position of the drop target shifts over to create the nested placement. Don&#8217;t forget to click Save when you&#8217;re finished.') . '</p>';
    441 $help .= '<p>' . __('<strong>For more information:</strong>') . '</p>';
    442 $help .= '<p>' . sprintf(__('<a href="%s">Menus Documentation</a>'), 'http://codex.wordpress.org/Appearance_Menus_SubPanel') . '</p>';
    443 $help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>';
     441$help .= '<p><strong>' . __('For more information:') . '</strong></p>';
     442$help .= '<p>' . __('<a href="http://codex.wordpress.org/Appearance_Menus_SubPanel">Menus Documentation</a>') . '</p>';
     443$help .= '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>';
    444444
    445445add_contextual_help($current_screen, $help);
Note: See TracChangeset for help on using the changeset viewer.