Skip to:
Content

BuddyPress.org

Changeset 8272


Ignore:
Timestamp:
04/14/2014 01:23:47 PM (11 years ago)
Author:
boonebgorges
Message:

Add 'buddypress' textdomain to strings in bp-members

Fixes #5534

Props netweb

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-functions.php

    r8174 r8272  
    843843
    844844        if ( bp_is_user_spammer( $user_object->ID ) ) {
    845             $actions['ham'] = "<a href='" . wp_nonce_url( $url . "?action=ham&amp;user=$user_object->ID", 'bp-spam-user' ) . "'>" . __( 'Not Spam' ) . "</a>";
     845            $actions['ham'] = "<a href='" . wp_nonce_url( $url . "?action=ham&amp;user=$user_object->ID", 'bp-spam-user' ) . "'>" . __( 'Not Spam', 'buddypress' ) . "</a>";
    846846        } else {
    847             $actions['spam'] = "<a class='submitdelete' href='" . wp_nonce_url( $url . "?action=spam&amp;user=$user_object->ID", 'bp-spam-user' ) . "'>" . __( 'Mark as Spam' ) . "</a>";
     847            $actions['spam'] = "<a class='submitdelete' href='" . wp_nonce_url( $url . "?action=spam&amp;user=$user_object->ID", 'bp-spam-user' ) . "'>" . __( 'Mark as Spam', 'buddypress' ) . "</a>";
    848848        }
    849849    }
  • trunk/bp-members/admin/bp-members-classes.php

    r8217 r8272  
    146146
    147147        if ( current_user_can( 'delete_users' ) ) {
    148             $actions['delete'] = __( 'Delete' );
     148            $actions['delete'] = __( 'Delete', 'buddypress' );
    149149        }
    150150
     
    224224    public function column_cb( $signup_object = null ) {
    225225        ?>
    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>
    227227        <input type="checkbox" id="signup_<?php echo intval( $signup_object->id ) ?>" name="allsignups[]" value="<?php echo esc_attr( $signup_object->id ) ?>" />
    228228        <?php
     
    464464
    465465        if ( current_user_can( 'delete_users' ) ) {
    466             $actions['delete'] = __( 'Delete' );
     466            $actions['delete'] = __( 'Delete', 'buddypress' );
    467467        }
    468468
     
    537537    public function column_cb( $signup_object = null ) {
    538538        ?>
    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>
    540540        <input type="checkbox" id="signup_<?php echo intval( $signup_object->id ) ?>" name="allsignups[]" value="<?php echo esc_attr( $signup_object->id ) ?>" />
    541541        <?php
  • trunk/bp-members/bp-members-admin.php

    r8242 r8272  
    12921292                _e( 'Users', 'buddypress' );
    12931293                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>
    12951295                <?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>
    12971297                <?php }
    12981298
    12991299                if ( $usersearch ) {
    1300                     printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( $usersearch ) );
     1300                    printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;', 'buddypress' ) . '</span>', esc_html( $usersearch ) );
    13011301                }
    13021302
  • trunk/bp-members/bp-members-functions.php

    r8186 r8272  
    15851585
    15861586        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 );
    15881588        }
    15891589
Note: See TracChangeset for help on using the changeset viewer.