WordPress.org

Make WordPress Core

Changeset 14989


Ignore:
Timestamp:
05/27/10 11:52:15 (5 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
Location:
trunk/wp-admin
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r14967 r14989  
    167167 
    168168if ( 'post' == $post_type ) { 
    169     add_contextual_help($current_screen, '<p>' . __('The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes that allow you to add metadata to your post using drag and drop, and can minimize or expand them by clicking the title bar of the box. You can also hide any of the boxes by using the Screen Options tab, where you can also choose a 1- or 2-column layout for this screen.') . '</p>' . 
     169    add_contextual_help($current_screen, 
     170    '<p>' . __('The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes that allow you to add metadata to your post using drag and drop, and can minimize or expand them by clicking the title bar of the box. You can also hide any of the boxes by using the Screen Options tab, where you can also choose a 1- or 2-column layout for this screen.') . '</p>' . 
    170171    '<p>' . __('<strong>Title</strong> - Enter a title for your post. After you enter a title, you&#8217;ll see the permalink below, which you can edit.') . '</p>' . 
    171172    '<p>' . __('<strong>Post editor</strong> - Enter the text for you post. There are two modes of editing: Visual and HTML. Choose the mode by clicking on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the last icon in the row to get a second row of controls. The HTML mode allows you to enter raw HTML along with your post text. You can insert media files by clicking the icons above the post editor and following the directions.') . '</p>' . 
     
    174175    '<p>' . __('<strong>Send Trackbacks</strong> - Trackbacks are a way to notify legacy blog systems that you’ve linked to them. Enter the URL(s) you want to send trackbacks. If you link other WordPress sites they&#8217;ll be notified automatically using pingbacks, and this field is unnecessary.') . '</p>' . 
    175176    '<p>' . __('<strong>Discussion</strong> - You can turn comments and pings on or off, and if there are comments on the post, you can see them here and moderate them.') . '</p>' . 
    176     '<p>' . sprintf(__('You can also create posts with the <a href="%s">Press This bookmarklet</a>.'), 'tools.php') . '</p>' . 
    177     '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    178     '<p>' . sprintf(__('<a href="%s">Writing Posts Documentation</a>'), 'http://codex.wordpress.org/Writing_Posts') . '</p>' . 
    179     '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     177    '<p>' . sprintf(__('You can also create posts with the <a href="%s">Press This bookmarklet.</a>'), 'tools.php') . '</p>' . 
     178    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     179    '<p>' . __('<a href="http://codex.wordpress.org/Writing_Posts">Writing Posts Documentation</a>') . '</p>' . 
     180    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    180181    ); 
    181182} elseif ( 'page' == $post_type ) { 
     
    186187    '<p>' . __('<strong>Order</strong> - Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in.') . '</p>' . 
    187188    '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    188     '<p>' . sprintf(__('<a href="%s">Page Creation Documentation</a>'), 'http://codex.wordpress.org/Pages_Add_New_SubPanel') . '</p>' . 
    189     '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     189    '<p>' . __('<a href="http://codex.wordpress.org/Pages_Add_New_SubPanel">Page Creation Documentation</a>') . '</p>' . 
     190    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    190191    ); 
    191192} 
  • trunk/wp-admin/edit-link-categories.php

    r14965 r14989  
    5454add_contextual_help($current_screen, '<p>' . __('You can create groups of links by using link categories. Link category names must be unique and link categories are separate from the categories you use for posts.') . '</p>' . 
    5555    '<p>' . __('You can delete link categories, but that action does not delete the links within the category. Instead, it moves them to the default link category.') . '</p>' . 
    56     '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    57     '<p>' . sprintf(__('<a href="%1$s">Link Categories Documentation</a>'), 'http://codex.wordpress.org/Links_Link_Categories_SubPanel') . '</p>' . 
    58     '<p>' . sprintf(__('<a href="%1$s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     56    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     57    '<p>' . __('<a href="http://codex.wordpress.org/Links_Link_Categories_SubPanel">Link Categories Documentation</a>') . '</p>' . 
     58    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    5959); 
    6060 
  • trunk/wp-admin/edit-link-form.php

    r14965 r14989  
    3838do_action('do_meta_boxes', 'link', 'side', $link); 
    3939 
    40 add_contextual_help($current_screen, '<p>' . __('You can add or edit links on this screen by entering information in each of the boxes. Only the link\'s web address and name (the text you want to display on your site as the link) are required fields.') . '</p>' . 
    41     '<p>' . __('The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don\'t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.') . '</p>' . 
    42     '<p>' . __( sprintf('XFN stands for <a href="%s">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of site to which you are linking.', 'http://gmpg.org/xfn/'  ) ) . '</p>' . 
    43     '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    44     '<p>' . sprintf(__('<a href="%1$s">Creating Links Documentation</a>'), 'http://codex.wordpress.org/Links_Add_New_SubPanel') . '</p>' . 
    45     '<p>' . sprintf(__('<a href="%1$s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     40add_contextual_help($current_screen, 
     41    '<p>' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link&#8217;s web address and name (the text you want to display on your site as the link) are required fields.' ) . '</p>' . 
     42    '<p>' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don\'t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '</p>' . 
     43    '<p>' . __( 'XFN stands for <a href="http://gmpg.org/xfn/">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of site to which you are linking.' ) . '</p>' . 
     44    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 
     45    '<p>' . __( '<a href="http://codex.wordpress.org/Links_Add_New_SubPanel">Creating Links Documentation</a>' ) . '</p>' . 
     46    '<p>' . __( '<a href="http://wordpress.org/support/">Support Forums</a>' ) . '</p>' 
    4647); 
    4748 
  • trunk/wp-admin/edit-tags.php

    r14978 r14989  
    181181        '<li>' . __('<strong>Name</strong> - The name is how it appears on your site.') . '</li>'; 
    182182    if ( ! global_terms_enabled() ) 
    183         $help .= '<li>' . __('<strong>Slug</strong> - The  &#8220;slug &#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.') . '</li>'; 
     183        $help .= '<li>' . __('<strong>Slug</strong> - The  &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.') . '</li>'; 
    184184 
    185185    if ( 'category' == $taxonomy ) 
     
    189189        '</ul>' . 
    190190        '<p>' . __('You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.') . '</p>' . 
    191         '<p>' . __('<strong>For more information:</strong>') . '</p>'; 
     191        '<p><strong>' . __('For more information:') . '</strong></p>'; 
    192192 
    193193    if ( 'category' == $taxonomy ) 
    194         $help .= '<p>' . sprintf(__('<a href="%s">Categories Documentation</a>'), 'http://codex.wordpress.org/Manage_Categories_SubPanel') . '</p>'; 
    195     else 
    196         $help .= '<p>' . sprintf(__('<a href="%s">Tags Documentation</a>'), 'http://codex.wordpress.org/Post_Tags_SubPanel') . '</p>'; 
    197  
    198     $help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'; 
     194        $help .= '<p>' . __('<a href="http://codex.wordpress.org/Manage_Categories_SubPanel">Categories Documentation</a>') . '</p>'; 
     195    else 
     196        $help .= '<p>' . __('<a href="http://codex.wordpress.org/Post_Tags_SubPanel">Tags Documentation</a>') . '</p>'; 
     197 
     198    $help .= '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>'; 
    199199 
    200200    add_contextual_help($current_screen, $help); 
  • trunk/wp-admin/edit.php

    r14961 r14989  
    158158 
    159159if ( 'post' == $post_type ) { 
    160     add_contextual_help($current_screen, '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' . 
     160    add_contextual_help($current_screen, 
     161    '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' . 
    161162    '<ul>' . 
    162163    '<li>' . __('You can hide/display columns based on your needs and decide how many posts to list per screen using the Screen Options tab.') . '</li>' . 
     
    173174    '</ul>' . 
    174175    '<p>' . __('You can also edit multiple posts at once. Select the posts you want to edit using the checkboxes, select Edit from the Bulk Actions menu and click Apply. You will be able to change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.') . '</p>' . 
    175     '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    176     '<p>' . sprintf(__('<a href="%s">Edit Posts Documentation</a>'), 'http://codex.wordpress.org/Posts_Edit_SubPanel') . '</p>' . 
    177     '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     176    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     177    '<p>' . __('<a href="http://codex.wordpress.org/Posts_Edit_SubPanel">Edit Posts Documentation</a>') . '</p>' . 
     178    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    178179    ); 
    179180} elseif ( 'page' == $post_type ) { 
    180     add_contextual_help($current_screen, '<p>' . __('Pages are similar to to Posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest Pages under other Pages by making one the "Parent" of the other, creating a group of Pages.') . '</p>' . 
     181    add_contextual_help($current_screen, 
     182    '<p>' . __('Pages are similar to to Posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest Pages under other Pages by making one the "Parent" of the other, creating a group of Pages.') . '</p>' . 
    181183    '<p>' . __('Managing Pages is very similar to managing Posts, and the screens can be customized in the same way. ') . '</p>' . 
    182184    '<p>' . __('You can also perform the same types of actions, including narrowing the list by using the filters, acting on a Page using the action links that appear when you hover over a row, or using the Bulk Actions menu to edit the metadata for multiple Pages at once.') . '</p>' . 
    183     '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    184     '<p>' . sprintf(__('<a href="%s">Page Management Documentation</a>'), 'http://codex.wordpress.org/Pages_Edit_SubPanel') . '</p>' . 
    185     '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     185    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     186    '<p>' . __('<a href="http://codex.wordpress.org/Pages_Edit_SubPanel">Page Management Documentation</a>') . '</p>' . 
     187    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    186188    ); 
    187189} 
  • trunk/wp-admin/export.php

    r14966 r14989  
    1717$title = __('Export'); 
    1818 
    19 add_contextual_help($current_screen, '<p>' . __('You can export a file of your site&#8217;s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can set filters to have the WXR file only include a certain date, author, category, tag, all posts or all pages, certain publishing statuses.') . '</p>' . 
     19add_contextual_help($current_screen, 
     20    '<p>' . __('You can export a file of your site&#8217;s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can set filters to have the WXR file only include a certain date, author, category, tag, all posts or all pages, certain publishing statuses.') . '</p>' . 
    2021    '<p>' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '</p>' . 
    21     '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    22     '<p>' . sprintf(__('<a href="%s">Export Documentation</a>'), 'http://codex.wordpress.org/Tools_Export_SubPanel') . '</p>' . 
    23     '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     22    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     23    '<p>' . __('<a href="http://codex.wordpress.org/Tools_Export_SubPanel">Export Documentation</a>') . '</p>' . 
     24    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    2425); 
    2526 
  • trunk/wp-admin/import.php

    r14986 r14989  
    1717$title = __('Import'); 
    1818 
    19 add_contextual_help($current_screen, '<p>' . __('This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.') . '</p>' . 
     19add_contextual_help($current_screen, 
     20    '<p>' . __('This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.') . '</p>' . 
    2021    '<p>' . __('In previous versions of WordPress, all the importers were built-in, but they have been turned into plugins as of version 3.0 since most people only use them once or infrequently.') . '</p>' . 
    21     '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    22     '<p>' . sprintf(__('<a href="%s">Import Documentation</a>'), 'http://codex.wordpress.org/Tools_Import_SubPanel') . '</p>' . 
    23     '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     22    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     23    '<p>' . __('<a href="http://codex.wordpress.org/Tools_Import_SubPanel">Import Documentation</a>') . '</p>' . 
     24    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    2425); 
    2526 
  • trunk/wp-admin/index.php

    r14842 r14989  
    2525$parent_file = 'index.php'; 
    2626 
    27 add_contextual_help($current_screen, '<p>' . __('The left-hand navigation menu provides links to the administration screens in your WordPress application. You can expand or collapse navigation sections by clicking on the arrow that appears on the right side of each navigation item when you hover over it. You can also minimize the navigation menu to a narrow icon strip by clicking on the separator lines between navigation sections that end in double arrowheads; when minimized, the submenu items will be displayed on hover.') . '</p>' . 
     27add_contextual_help($current_screen, 
     28    '<p>' . __('The left-hand navigation menu provides links to the administration screens in your WordPress application. You can expand or collapse navigation sections by clicking on the arrow that appears on the right side of each navigation item when you hover over it. You can also minimize the navigation menu to a narrow icon strip by clicking on the separator lines between navigation sections that end in double arrowheads; when minimized, the submenu items will be displayed on hover.') . '</p>' . 
    2829    '<p>' . __('You can configure your dashboard by choosing which modules to display, how many columns to display them in, and where each module should be placed. You can hide/show modules and select the number of columns in the Screen Options tab. To rearrange the modules, drag and drop by clicking on the title bar of the selected module and releasing when you see a gray dotted-line box appear in the location you want to place the module. You can also expand or collapse each module by clicking once on the the module&#8217;s title bar. In addition, some modules are configurable, and will show a &#8220;Configure&#8221; link in the title bar when you hover over it.') . '</p>' . 
    2930    '<p>' . __('The modules on your Dashboard screen are:') . '</p>' . 
     
    3536    '<p>' . __('<strong>Other WordPress News</strong> - Shows the feed from http://planet.wordpress.org. You can configure it to show a different feed of your choosing.') . '</p>' . 
    3637    '<p>' . __('<strong>Plugins</strong> - Features the most popular, newest, and recently updated plugins from the WordPress.org plugin repository.') . '</p>' . 
    37     '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    38     '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_SubPanel">Codex - Dashboard</a>') . '</p>' 
     38    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     39    '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_SubPanel">Dashboard Documentation</a>') . '</p>' . 
     40    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    3941); 
    4042 
  • trunk/wp-admin/link-manager.php

    r14965 r14989  
    4545$this_file = $parent_file = 'link-manager.php'; 
    4646 
    47 add_contextual_help( $current_screen, '<p>' . sprintf(__('You can add links here to be displayed on your site, usually using <a href="%s">Widgets</a>. By default, links to several sites in WordPress community are included as examples'), 'widgets.php') . '</p>' . 
    48         '<p>' . __('Links may be separated into categories; these are different than the categories used on your posts.') . '</p>' . 
    49         '<p>' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '</p>' . 
    50         '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet. ') . '</p>' . 
    51         '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    52         '<p>'. sprintf(__('<a href="%1$s">Link Management Documentation</a>'), 'http://codex.wordpress.org/Links_Edit_SubPanel') . '</p>' . 
    53         '<p>'. sprintf(__('<a href="%1$s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     47add_contextual_help( $current_screen, 
     48    '<p>' . sprintf(__('You can add links here to be displayed on your site, usually using <a href="%s">Widgets</a>. By default, links to several sites in WordPress community are included as examples'), 'widgets.php') . '</p>' . 
     49    '<p>' . __('Links may be separated into categories; these are different than the categories used on your posts.') . '</p>' . 
     50    '<p>' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '</p>' . 
     51    '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet. ') . '</p>' . 
     52    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     53    '<p>' . __('<a href="http://codex.wordpress.org/Links_Edit_SubPanel">Link Management Documentation</a>') . '</p>' . 
     54    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    5455); 
    5556 
  • trunk/wp-admin/media-upload.php

    r14930 r14989  
    5959 
    6060    add_contextual_help( $current_screen, 
    61  
    6261        '<p>' . __('You can upload media files here without creating a post first. This allows you to upload files to use with posts and pages later and/or to get a web link for a particular file that you can share.') . '</p>' . 
    6362        '<p>' . __('The first screen for <em>Upload New</em> provides two options: to <em>Select Files</em> (multiple file upload allowed) or to switch to a <em>Browser Uploader</em> (which has two similar options). Clicking <em>Select Files</em> opens a navigation window showing you files in your operating system. Selecting <em>Open</em> after clicking on the file you want activates a progress bar on the uploader screen, which gives percentages, says &#8220;crunching,&#8221; and upon completion adds a thumbnail and five metadata boxes on this screen. Basic image editing is available after upload is complete. Make sure you click <em>Save</em> before leaving this screen.') . '</p>' . 
     63        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    6464        '<p>' . __('<a href="http://codex.wordpress.org/Media_Add_New_SubPanel">Add New Media in Codex</a>') . '</p>' . 
    65         '<p>' . __('<a href="http://codex.wordpress.org/">General Codex Documentation</a>') . '</p>' . 
    6665        '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    6766    ); 
  • 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); 
  • trunk/wp-admin/options-general.php

    r14746 r14989  
    5151add_filter('admin_head', 'add_js'); 
    5252 
    53 add_contextual_help($current_screen, __('<a href="http://codex.wordpress.org/Settings_General_SubPanel" target="_blank">General Settings</a>')); 
     53add_contextual_help($current_screen, __('<a href="http://codex.wordpress.org/Settings_General_SubPanel">General Settings Documentation</a>')); 
    5454 
    5555include('./admin-header.php'); 
  • trunk/wp-admin/plugin-editor.php

    r14965 r14989  
    108108    } 
    109109 
    110     add_contextual_help($current_screen, '<p>' . __('You can use the editor to make changes to any of your plugins&#8217; individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations. ') . '</p>' . 
     110    add_contextual_help($current_screen, 
     111        '<p>' . __('You can use the editor to make changes to any of your plugins&#8217; individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations. ') . '</p>' . 
    111112        '<p>' . __('Choose a plugin to edit from the menu in the upper right and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don&#8217;t forget to save your changes (Update File) when you&#8217;re finished.') . '</p>' . 
    112113        '<p>' . __('The Documentation menu below the editor lists the PHP functions recognized in the plugin file. Clicking Lookup takes you to a web page about that particular function. ') . '</p>' . 
    113114        '<p>' . __('If you want to make changes but don&#8217;t want them to be overwritten when the plugin is updated, you may be ready to think about writing your own plugin. For information on how to edit a plugin or start from scratch, check out the links below.') . '</p>' . 
    114         '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    115         '<p>' . sprintf(__('<a href="%s">Documentation on Editing Plugins</a>'), 'http://codex.wordpress.org/Plugins_Editor_SubPanel') . '</p>' . 
    116         '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     115        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     116        '<p>' . __('<a href="http://codex.wordpress.org/Plugins_Editor_SubPanel">Documentation on Editing Plugins</a>') . '</p>' . 
     117        '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    117118    ); 
    118119 
     
    128129        if ( !empty($functions) ) { 
    129130            $docs_select = '<select name="docs-list" id="docs-list">'; 
    130             $docs_select .= '<option value="">' . __( 'Function Name...' ) . '</option>'; 
     131            $docs_select .= '<option value="">' . __( 'Function Name&hellip;' ) . '</option>'; 
    131132            foreach ( $functions as $function) { 
    132                 $docs_select .= '<option value="' . esc_attr( $function ) . '">' . htmlspecialchars( $function ) . '()</option>'; 
     133                $docs_select .= '<option value="' . esc_attr( $function ) . '">' . esc_html( $function ) . '()</option>'; 
    133134            } 
    134135            $docs_select .= '</select>'; 
  • trunk/wp-admin/plugin-install.php

    r14958 r14989  
    5353do_action('install_plugins_pre_' . $tab); //Used to override the general interface, Eg, install or plugin information. 
    5454 
    55 add_contextual_help($current_screen, '<p>' . __('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from WordPress core by thousands of developers all over the world. All plugins in the official <a href="http://wordpress.org/extend/plugins/">WordPress.org Plugin Directory</a> are compatible with the WordPress GPL v2 license. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section.') . '</p>' . 
     55add_contextual_help($current_screen, 
     56    '<p>' . __('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from WordPress core by thousands of developers all over the world. All plugins in the official <a href="http://wordpress.org/extend/plugins/">WordPress.org Plugin Directory</a> are compatible with the WordPress GPL v2 license. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section.') . '</p>' . 
    5657    '<p>' . __('If you know what you&#8217;re looking for, Search is your best bet. The Search screen has options to Search in the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting a popular tags. Tags in larger type mean more plugins have teen labeled with that tag.') . '</p>' . 
    5758    '<p>' . __('If you just want to get an idea of what&#8217;s available, you can browse Featured, Popular, Newest, and Recently Updated plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '</p>' . 
    5859    '<p>' . __('If you want to install a plugin that you&#8217;ve downloaded elsewhere, click Upload in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '</p>' . 
    59     '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    60     '<p>' . sprintf(__('<a href="%s">Documentation on Installing Plugins</a>'), 'http://codex.wordpress.org/Plugins_Add_New_SubPanel') . '</p>' . 
    61     '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     60    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     61    '<p>' . __('<a href="http://codex.wordpress.org/Plugins_Add_New_SubPanel">Documentation on Installing Plugins</a>') . '</p>' . 
     62    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    6263); 
    6364 
  • trunk/wp-admin/plugins.php

    r14985 r14989  
    306306add_thickbox(); 
    307307 
    308 add_contextual_help($current_screen, '<p>' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '</p>' . 
     308add_contextual_help($current_screen, 
     309    '<p>' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '</p>' . 
    309310    '<p>' . sprintf(__('You can find additional plugins for your site by using the <a href="%1$s">Plugin Browser/Installer</a> functionality or by browsing the <a href="%2$s">WordPress Plugin Directory</a> directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your <code>/wp-content/plugins</code> directory. Once a plugin has been installed, you can activate it here.'), 'plugin-install.php', 'http://wordpress.org/extend/plugins/') . '</p>' . 
    310311    '<p>' . __('Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin&#8217;s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue.') . '</p>' . 
    311312    '<p>' . sprintf( __('If something goes wrong with a plugin and you can&#8217;t use WordPress, delete or rename that file in the <code>%s</code> directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '</p>' .     
    312     '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    313     '<p>' . sprintf(__('<a href="%s">Documentation on Managing Plugins</a>'), 'http://codex.wordpress.org/Managing_Plugins#Plugin_Management') . '</p>' . 
    314     '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     313    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     314    '<p>' . __('<a href="http://codex.wordpress.org/Managing_Plugins#Plugin_Management">Documentation on Managing Plugins</a>') . '</p>' . 
     315    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    315316); 
    316317 
  • trunk/wp-admin/theme-editor.php

    r14951 r14989  
    2121$help .= '<p>' . __('After typing in your edits, click Update File.') . '</p>'; 
    2222$help .= '<p>' . __('<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.') . '</p>'; 
    23 $help .= '<p>' . sprintf(__('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="%s">child theme</a> instead.'), 'http://codex.wordpress.org/Child_Themes') . '</p>'; 
    24 $help .= '<p>' . __('<strong>For more information:</strong>') . '</p>';  
    25 $help .= '<p>' . sprintf(__('<a href="%s">Theme Development Documentation</a>'), 'http://codex.wordpress.org/Theme_Development') . '</p>'; 
    26 $help .= '<p>' . sprintf(__('<a href="%s">Documentation on Using Themes</a>'), 'http://codex.wordpress.org/Using_Themes') . '</p>'; 
    27 $help .= '<p>' . sprintf(__('<a href="%s">Documentation on Editing Files</a>'), 'http://codex.wordpress.org/Editing_Files') . '</p>'; 
    28 $help .= '<p>' . sprintf(__('<a href="%s">Template Tags Documentation</a>'), 'http://codex.wordpress.org/Template_Tags') . '</p>'; 
    29 $help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'; 
     23$help .= '<p>' . __('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="http://codex.wordpress.org/Child_Themes">child theme</a> instead.') . '</p>'; 
     24$help .= '<p><strong>' . __('For more information:') . '</strong></p>'; 
     25$help .= '<p>' . __('<a href="http://codex.wordpress.org/Theme_Development">Documentation on Theme Development</a>') . '</p>'; 
     26$help .= '<p>' . __('<a href="http://codex.wordpress.org/Using_Themes">Documentation on Using Themes</a>') . '</p>'; 
     27$help .= '<p>' . __('<a href="http://codex.wordpress.org/Editing_Files">Documentation on Editing Files</a>') . '</p>'; 
     28$help .= '<p>' . __('<a href="http://codex.wordpress.org/Template_Tags">Documentation on Template Tags</a>') . '</p>'; 
     29$help .= '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>'; 
    3030add_contextual_help($current_screen, $help); 
    3131 
  • trunk/wp-admin/theme-install.php

    r14951 r14989  
    5757$help .= '<p>' . __('You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter. Alternately, you can browse the themes that are Featured, Newest, or Recently Updated. When you find a theme you like, you can preview it or install it.') . '</p>'; 
    5858$help .= '<p>' . __('You can Upload a theme manually if you have already downloaded its ZIP archive onto your computer (make sure it is from a trusted and original source). You can also do it the old-fashioned way and copy a downloaded theme&#8217;s folder via FTP into your wp-content/themes directory.') . '</p>'; 
    59 $help .= '<p>' . __('<strong>For more information:</strong>') . '</p>'; 
    60 $help .= '<p>' . sprintf(__('<a href="%s">Documentation on Using Themes</a>'), 'http://codex.wordpress.org/Using_Themes#Adding_New_Themes') . '</p>'; 
    61 $help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'; 
     59$help .= '<p><strong>' . __('For more information:') . '</strong></p>'; 
     60$help .= '<p>' . __('<a href="http://codex.wordpress.org/Using_Themes#Adding_New_Themes">Documentation on Using Themes</a>') . '</p>'; 
     61$help .= '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>'; 
    6262add_contextual_help($current_screen, $help); 
    6363 
  • trunk/wp-admin/themes.php

    r14984 r14989  
    3939    $help .= '<p>' . sprintf(__('If you would like to see more themes to choose from, click on the "Install Themes" tab and you will be able to browse or search for additional themes from the <a href="%s">WordPress.org theme repository</a>. Themes in the WordPress.org theme repository are designed and developed by third parties, and are licensed under the GNU General Public License, version 2, just like WordPress. Oh, and they&#8217;re free!'), 'http://wordpress.org/extend/themes/') . '</p>'; 
    4040     
    41 $help .= '<p>' . __('<strong>For more information:</strong>') . '</p>';  
    42 $help .= '<p>' . sprintf(__('<a href="%s">Documentation on Using Themes</a>'), 'http://codex.wordpress.org/Using_Themes') . '</p>'; 
    43 $help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'; 
     41$help .= '<p><strong>' . __('For more information:') . '</strong></p>'; 
     42$help .= '<p>' . __('<a href="http://codex.wordpress.org/Using_Themes">Documentation on Using Themes</a>') . '</p>'; 
     43$help .= '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>'; 
    4444add_contextual_help($current_screen, $help); 
    4545 
  • trunk/wp-admin/tools.php

    r14982 r14989  
    1212$title = __('Tools'); 
    1313 
    14 add_contextual_help($current_screen, '<p>' . __('Press This is a bookmarklet that makes it easy to blog about something you come across on the web. You can use it to just grab a link, or to post an excerpt. Press This will even allow you to choose from images included on the page and use them in your post. Just drag the Press This link on this screen to your bookmarks bar in your browser, and you&#8217;ll be you&#8217;ll be on your way to easier content creation.') . '</p>' . 
     14add_contextual_help($current_screen, 
     15    '<p>' . __('Press This is a bookmarklet that makes it easy to blog about something you come across on the web. You can use it to just grab a link, or to post an excerpt. Press This will even allow you to choose from images included on the page and use them in your post. Just drag the Press This link on this screen to your bookmarks bar in your browser, and you&#8217;ll be you&#8217;ll be on your way to easier content creation.') . '</p>' . 
    1516    '<p>' . __('Note: Turbo/Gears is no longer promoted on this screen as it was in previous versions due to the fact that Google has discontinued support for it.') . '</p>' . 
    16     '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
    17     '<p>' . sprintf(__('<a href="%s">Tools Documentation</a>'), 'http://codex.wordpress.org/Tools_Tools_SubPanel') . '</p>' . 
    18     '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     17    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     18    '<p>' . __('<a href="http://codex.wordpress.org/Tools_Tools_SubPanel">Tools Documentation</a>') . '</p>' . 
     19    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    1920); 
    2021 
  • trunk/wp-admin/update-core.php

    r14837 r14989  
    375375$parent_file = 'tools.php'; 
    376376 
    377 add_contextual_help($current_screen, '<p>' . __('This screen lets you update to the latest version of WordPress as well as update your themes and plugins from the WordPress.org repository. When updates are available, the number of available updates will appear in a bubble on the left hand menu as a notification. It is very important to keep your WordPress installation up to date for security reasons, so when you see a number appear, make sure you take the time to update, which is an easy process.') . '</p>' . 
     377add_contextual_help($current_screen, 
     378    '<p>' . __('This screen lets you update to the latest version of WordPress as well as update your themes and plugins from the WordPress.org repository. When updates are available, the number of available updates will appear in a bubble on the left hand menu as a notification. It is very important to keep your WordPress installation up to date for security reasons, so when you see a number appear, make sure you take the time to update, which is an easy process.') . '</p>' . 
    378379    '<p>' . __('Updating your WordPress installation is a simple one-click procedure; just click on the Update button when it says a new version is available. ') . '</p>' . 
    379380    '<p>' . __('To upgrade themes or plugins from this screen, use the checkboxes to make your selection and click on the appropriate Update button. Check the box at the top of the Themes or Plugins section to select all and update them all at once.') . '</p>' 
  • trunk/wp-admin/upload.php

    r14924 r14989  
    169169    '<p>' . __('Hovering over a row reveals action links: <em>Edit</em>, <em>Delete Permanently</em>, and <em>View</em>. Clicking <em>Edit</em> or on the media file&#8217;s name displays a simple screen to edit that individual file&#8217;s metadata. Clicking <em>Delete Permanently</em> will delete the file from the media library (as well as from any posts to which it is currently attached). <em>View</em> will take you to the display page for that file. ') . '</p>' . 
    170170    '<p>' . __('If a media file has not been attached to any post, you will see that in the <em>Attached To</em> column, and can click on <em>Attach File</em> to launch a small popup that will allow you to search for a post and attach the file.') . '</p>' . 
    171     '<p>' . __('For more information:<br /> 
    172     <a href="http://codex.wordpress.org/Media_Library_SubPanel">Media Library Documentation</a> <br /> 
    173     <a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     171    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     172    '<p>' . __('<a href="http://codex.wordpress.org/Media_Library_SubPanel">Media Library Documentation</a>') . '</p>' . 
     173    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
    174174); 
    175175 
  • trunk/wp-admin/widgets.php

    r14951 r14989  
    4141    <p>' . __('Enabling Accessibility Mode, via Screen Options, allows you to use Add and Edit buttons instead of using drag and drop.') . '</p> 
    4242'; 
    43 $help .= '<p>' . __('<strong>For more information:</strong>') . '</p>'; 
    44 $help .= '<p>' . sprintf(__('<a href="%s">Widgets Documentation</a>'), 'http://codex.wordpress.org/Appearance_Widgets_SubPanel') . '</p>'; 
    45 $help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'; 
     43$help .= '<p><strong>' . __('For more information:') . '</strong></p>'; 
     44$help .= '<p>' . __('<a href="http://codex.wordpress.org/Appearance_Widgets_SubPanel">Widgets Documentation</a>') . '</p>'; 
     45$help .= '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>'; 
    4646add_contextual_help($current_screen, $help); 
    4747 
Note: See TracChangeset for help on using the changeset viewer.