Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/12/2014 05:25:28 PM (11 years ago)
Author:
djpaul
Message:

Fix i18n errors introduced in r9210 and r9226.

grunt build-commit has also updated the RTL file for the BP-Legacy template pack.

File:
1 edited

Legend:

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

    r9210 r9227  
    10311031        $types = bp_get_member_types( array(), 'objects' );
    10321032        $current_type = bp_get_member_type( $user->ID );
    1033 
    1034         /* translators: no option picked in select box */
    1035         $null_option = __( '----', 'buddypress' );
    1036 
    10371033        ?>
     1034
    10381035        <select name="bp-members-profile-member-type">
    1039             <option value="" <?php selected( '', $current_type ); ?>><?php esc_attr_e( $null_option ) ?></option>
     1036            <option value="" <?php selected( '', $current_type ); ?>><?php /* translators: no option picked in select box */ esc_attr_e( '----', 'buddypress' ) ?></option>
    10401037            <?php foreach ( $types as $type ) : ?>
    10411038                <option value="<?php echo esc_attr( $type->name ) ?>" <?php selected( $type->name, $current_type ) ?>><?php echo esc_html( $type->labels['singular_name'] ) ?></option>
Note: See TracChangeset for help on using the changeset viewer.