Skip to:
Content

BuddyPress.org

Changeset 7857


Ignore:
Timestamp:
02/12/2014 01:15:51 AM (11 years ago)
Author:
boonebgorges
Message:

Modify profile administration verbiage to be more natural and more gender-neutral

Fixes #5391

Props netweb

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-admin.php

    r7784 r7857  
    322322                'content' =>
    323323                '<p>' . __( 'This is the admin view of a user&#39;s profile.', 'buddypress' ) . '</p>' .
    324                 '<p>' . __( 'You can edit the different fields of his extended profile from the main metabox', 'buddypress' ) . '</p>' .
    325                 '<p>' . __( 'You can get some interesting informations about him on right side metaboxes', 'buddypress' ) . '</p>'
     324                '<p>' . __( 'In the main column, you can edit the fields of the user&#39;s extended profile.', 'buddypress' ) . '</p>' .
     325                '<p>' . __( 'In the right-hand column, you can update the user&#39;s status, delete the user&#39;s avatar, and view recent statistics.', 'buddypress' ) . '</p>'
    326326            ) );
    327327
     
    555555    public function user_admin_status_metabox( $user = null ) {
    556556
    557         // bail if no user id or if the user has not activated his account yet..
     557        // Bail if no user id or if the user has not activated their account yet
    558558        if ( empty( $user->ID ) ) {
    559559            return;
     
    561561
    562562        if ( ( isset( $user->user_status ) && 2 == $user->user_status ) ) {
    563             echo '<p class="not-activated">' . esc_html__( 'User has not activated his account yet', 'buddypress' ) . '</p><br/>';
     563            echo '<p class="not-activated">' . esc_html__( 'User account has not yet been activated', 'buddypress' ) . '</p><br/>';
    564564            return;
    565565        }
     
    617617    public function user_admin_spammer_metabox( $user = null ) {
    618618        ?>
    619         <p><?php printf( __( '%s has been marked as a spammer, this user&#39;s BuddyPress datas were removed', 'buddypress' ), esc_html( bp_core_get_user_displayname( $user->ID ) ) ) ;?></p>
     619        <p><?php printf( __( '%s has been marked as a spammer. All BuddyPress data associated with the user has been removed', 'buddypress' ), esc_html( bp_core_get_user_displayname( $user->ID ) ) ) ;?></p>
    620620        <?php
    621621    }
     
    623623    /**
    624624     * Render the Stats metabox to moderate inappropriate images.
    625      * 
     625     *
    626626     * @access public
    627627     * @since BuddyPress (2.0.0)
     
    651651
    652652            <?php
    653             // Loading other stats only if user has activated his account
     653            // Loading other stats only if user has activated their account
    654654            if ( empty( $user->user_status ) ) {
    655655                do_action( 'bp_members_admin_user_stats', array( 'user_id' => $user->ID ), $user );
  • trunk/bp-xprofile/bp-xprofile-admin.php

    r7764 r7857  
    558558            endwhile;
    559559
    560         // if a user has been mark as a spammer, his BuddyPress datas are removed !
     560        // if a user has been mark as a spammer, remove BP data
    561561        } else {
    562562            add_meta_box( 'bp_xprofile_user_admin_empty_profile', _x( 'User marked as a spammer', 'xprofile user-admin edit screen', 'buddypress' ), array( &$this, 'user_admin_spammer_metabox' ), $screen_id, 'normal', 'core' );
     
    877877    public function user_admin_spammer_metabox( $user = null ) {
    878878        ?>
    879         <p><?php printf( __( '%s has been marked as a spammer, this user&#39;s BuddyPress datas were removed', 'buddypress' ), esc_html( bp_core_get_user_displayname( $user->ID ) ) ) ;?></p>
     879        <p><?php printf( __( '%s has been marked as a spammer. All BuddyPress data associated with the user has been removed', 'buddypress' ), esc_html( bp_core_get_user_displayname( $user->ID ) ) ) ;?></p>
    880880        <?php
    881881    }
Note: See TracChangeset for help on using the changeset viewer.