Changeset 8272
- Timestamp:
- 04/14/2014 01:23:47 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-functions.php
r8174 r8272 843 843 844 844 if ( bp_is_user_spammer( $user_object->ID ) ) { 845 $actions['ham'] = "<a href='" . wp_nonce_url( $url . "?action=ham&user=$user_object->ID", 'bp-spam-user' ) . "'>" . __( 'Not Spam' ) . "</a>";845 $actions['ham'] = "<a href='" . wp_nonce_url( $url . "?action=ham&user=$user_object->ID", 'bp-spam-user' ) . "'>" . __( 'Not Spam', 'buddypress' ) . "</a>"; 846 846 } else { 847 $actions['spam'] = "<a class='submitdelete' href='" . wp_nonce_url( $url . "?action=spam&user=$user_object->ID", 'bp-spam-user' ) . "'>" . __( 'Mark as Spam' ) . "</a>";847 $actions['spam'] = "<a class='submitdelete' href='" . wp_nonce_url( $url . "?action=spam&user=$user_object->ID", 'bp-spam-user' ) . "'>" . __( 'Mark as Spam', 'buddypress' ) . "</a>"; 848 848 } 849 849 } -
trunk/bp-members/admin/bp-members-classes.php
r8217 r8272 146 146 147 147 if ( current_user_can( 'delete_users' ) ) { 148 $actions['delete'] = __( 'Delete' );148 $actions['delete'] = __( 'Delete', 'buddypress' ); 149 149 } 150 150 … … 224 224 public function column_cb( $signup_object = null ) { 225 225 ?> 226 <label class="screen-reader-text" for="signup_<?php echo intval( $signup_object->id ); ?>"><?php echo esc_html( sprintf( __( 'Select %s' ), $signup_object->user_login ) ); ?></label>226 <label class="screen-reader-text" for="signup_<?php echo intval( $signup_object->id ); ?>"><?php echo esc_html( sprintf( __( 'Select %s', 'buddypress' ), $signup_object->user_login ) ); ?></label> 227 227 <input type="checkbox" id="signup_<?php echo intval( $signup_object->id ) ?>" name="allsignups[]" value="<?php echo esc_attr( $signup_object->id ) ?>" /> 228 228 <?php … … 464 464 465 465 if ( current_user_can( 'delete_users' ) ) { 466 $actions['delete'] = __( 'Delete' );466 $actions['delete'] = __( 'Delete', 'buddypress' ); 467 467 } 468 468 … … 537 537 public function column_cb( $signup_object = null ) { 538 538 ?> 539 <label class="screen-reader-text" for="signup_<?php echo intval( $signup_object->id ); ?>"><?php echo esc_html( sprintf( __( 'Select %s' ), $signup_object->user_login ) ); ?></label>539 <label class="screen-reader-text" for="signup_<?php echo intval( $signup_object->id ); ?>"><?php echo esc_html( sprintf( __( 'Select %s', 'buddypress' ), $signup_object->user_login ) ); ?></label> 540 540 <input type="checkbox" id="signup_<?php echo intval( $signup_object->id ) ?>" name="allsignups[]" value="<?php echo esc_attr( $signup_object->id ) ?>" /> 541 541 <?php -
trunk/bp-members/bp-members-admin.php
r8242 r8272 1292 1292 _e( 'Users', 'buddypress' ); 1293 1293 if ( current_user_can( 'create_users' ) ) { ?> 1294 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>1294 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user', 'buddypress' ); ?></a> 1295 1295 <?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?> 1296 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a>1296 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add Existing', 'user', 'buddypress' ); ?></a> 1297 1297 <?php } 1298 1298 1299 1299 if ( $usersearch ) { 1300 printf( '<span class="subtitle">' . __( 'Search results for “%s”') . '</span>', esc_html( $usersearch ) );1300 printf( '<span class="subtitle">' . __( 'Search results for “%s”', 'buddypress' ) . '</span>', esc_html( $usersearch ) ); 1301 1301 } 1302 1302 -
trunk/bp-members/bp-members-functions.php
r8186 r8272 1585 1585 1586 1586 if ( isset( $user_already_exists ) ) { 1587 return new WP_Error( 'user_already_exists', __( 'That username is already activated.' ), $signup );1587 return new WP_Error( 'user_already_exists', __( 'That username is already activated.', 'buddypress' ), $signup ); 1588 1588 } 1589 1589
Note: See TracChangeset
for help on using the changeset viewer.