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/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}
Note: See TracChangeset for help on using the changeset viewer.