Changeset 7857
- Timestamp:
- 02/12/2014 01:15:51 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-admin.php
r7784 r7857 322 322 'content' => 323 323 '<p>' . __( 'This is the admin view of a user'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's extended profile.', 'buddypress' ) . '</p>' . 325 '<p>' . __( 'In the right-hand column, you can update the user's status, delete the user's avatar, and view recent statistics.', 'buddypress' ) . '</p>' 326 326 ) ); 327 327 … … 555 555 public function user_admin_status_metabox( $user = null ) { 556 556 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 558 558 if ( empty( $user->ID ) ) { 559 559 return; … … 561 561 562 562 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/>'; 564 564 return; 565 565 } … … 617 617 public function user_admin_spammer_metabox( $user = null ) { 618 618 ?> 619 <p><?php printf( __( '%s has been marked as a spammer , this user's BuddyPress datas wereremoved', '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> 620 620 <?php 621 621 } … … 623 623 /** 624 624 * Render the Stats metabox to moderate inappropriate images. 625 * 625 * 626 626 * @access public 627 627 * @since BuddyPress (2.0.0) … … 651 651 652 652 <?php 653 // Loading other stats only if user has activated hisaccount653 // Loading other stats only if user has activated their account 654 654 if ( empty( $user->user_status ) ) { 655 655 do_action( 'bp_members_admin_user_stats', array( 'user_id' => $user->ID ), $user ); -
trunk/bp-xprofile/bp-xprofile-admin.php
r7764 r7857 558 558 endwhile; 559 559 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 561 561 } else { 562 562 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' ); … … 877 877 public function user_admin_spammer_metabox( $user = null ) { 878 878 ?> 879 <p><?php printf( __( '%s has been marked as a spammer , this user's BuddyPress datas wereremoved', '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> 880 880 <?php 881 881 }
Note: See TracChangeset
for help on using the changeset viewer.