Make WordPress Core

Ticket #13467: 13467-users_contextual_help.3.diff

File 13467-users_contextual_help.3.diff, 5.4 KB (added by dragoonis, 8 years ago)

Changes to make I18n more compatible

  • user-edit.php

    3333        $submenu_file = 'profile.php';
    3434$parent_file = 'users.php';
     36// contextual help - choose Help on the top right of admin panel to preview this.
     38    '<p>' . __('Your profile contains information about you (your <em>"account"</em>) as well as some personal options related to using WordPress.') . '</p>' .
     39    '<p>' . __('You can change your password, turn on keyboard shortcuts, change the color scheme of your WordPress administration screens, and turn off the WYSIWYG (Visual) editor, among other things.') . '</p>' .
     40    '<p>' . __('Your username cannot be changed, but you can use other fields to enter your real name or a nickname, and change which name to display on your posts.') . '</p>' .
     41    '<p>' . __('Required fields are indicated; the rest are optional. Profile information will only be displayed if your theme is set up to do so.') . '</p>' .
     42    '<p>' . __('Remember to click the Update Profile button when you are finished.') . '</p>' .
     43    '<p><strong>' . __('For more information:') . '</strong></p>' .
     44    '<p>' .sprintf(__('<a target="_blank" href="%s">User Profile</a>'), 'http://codex.wordpress.org/Users_Your_Profile_SubPanel') . '</p>' .
     45    '<p>' .sprintf(__('<a target="_blank" href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'
    3649$wp_http_referer = remove_query_arg(array('update', 'delete_count'), stripslashes($wp_http_referer));
    3851$all_post_caps = array('posts', 'pages');
  • user-new.php

    108108$title = __('Add New User');
    109109$parent_file = 'users.php';
     112    '<p>' . __('To add a new user to your site, fill in the form on this screen. If you&#8217;re not sure which role to assign, you can use the link below to review the different roles and their capabilities. Here is a basic overview of roles:') . '</p>' .
     113    '<ul style="list-style: inside;">' .
     114        '<li>' . __('Administrators have access to all the administration features') . '</li>' .
     115        '<li>' . __('Editors can publish posts, manage posts as well as manage other people&#8217;s posts, etc.')  . '</li>' .
     116        '<li>' . __('Authors can publish and manage their own posts') . '</li>' .
     117        '<li>' . __('Contributors can write and manage their posts but not publish posts or upload media files') . '</li>' .
     118        '<li>' . __('Subscribers can read comments/comment/receive newsletters, etc.') . '</li>' . 
     119    '</ul>' .
     120    '<p>' . __('You must assign a password to the new user, but don&#8217;t worry; when they log in for the first time they will be prompted to change it. The username, however, cannot be changed.') . '</p>' .
     121    '<p>' . __('New users will receive an email letting them know they&#8217;ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you do not the password to be included in the welcome email.') . '</p>' .
     122    '<p>' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '</p>' .
     123    '<p><strong>' . __('For more information:') . '</strong></p>' .
     124    '<p>' . sprintf(__('<a target="_blank" href="%s">Add New Users</a>'), 'http://codex.wordpress.org/Users_Add_New_SubPanel') . '</p>' .
     125    '<p>' . sprintf(__('<a target="_blank" href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'
  • users.php

    1818$title = __('Users');
    1919$parent_file = 'users.php';
     21// contextual help - choose Help on the top right of admin panel to preview this.
     23    '<p>' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than <em>"admin"</em> will see fewer options when they are logged in, based on their role.') . '</p>' .
     24    '<p>' . __('You can customize the display of information on this screen as you can on other screens, by using the Screen Options tab and the on-screen filters.') . '</p>' .
     25    '<p>' . __('To add a new user for your site, click the <em>"Add New"</em> button at the top of the screen or <em>"Add New"</em> in the Appearance menu section.') . '</p>' .
     26    '<p><strong>' . __('For more information:') . '</strong></p>' .
     27    '<p>' . sprintf(__('<a target="_blank" href="%s">Documentation on Authors and Users</a>'), 'http://codex.wordpress.org/Users_Authors_and_Users_SubPanel') . '</p>' .
     28    '<p>' . sprintf(__('<a target="_blank" href="%s">Roles and Capabilities Descriptions</a>'), 'http://codex.wordpress.org/Roles_and_Capabilities') . '</p>' .
     29    '<p>' . sprintf(__('<a target="_blank" href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'
    2132$update = $doaction = '';
    2233if ( isset($_REQUEST['action']) )
    2334        $doaction = $_REQUEST['action'] ? $_REQUEST['action'] : $_REQUEST['action2'];