Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/24/2024 05:52:06 PM (23 months ago)
Author:
imath
Message:

Adds missing /* translators */ inline comments

Fixes #9198
Closes https://github.com/buddypress/buddypress/pull/321

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/general.php

    r13860 r13938  
    3535    <input type="email" name="email" id="email" value="<?php echo esc_attr( bp_get_displayed_user_email() ); ?>" class="settings-input" <?php bp_form_field_attributes( 'email' ); ?>/>
    3636
    37     <label for="pass1"><?php printf( esc_html__( 'Change Password %s', 'buddypress' ), '<span>' . esc_html__( '(leave blank for no change)', 'buddypress' ) . '</span>' ); ?></label>
     37    <label for="pass1">
     38        <?php
     39        /* translators: %s: Information about how to keep password unchanged. */
     40        printf( esc_html__( 'Change Password %s', 'buddypress' ), '<span>' . esc_html__( '(leave blank for no change)', 'buddypress' ) . '</span>' );
     41        ?>
     42    </label>
    3843    <input type="password" name="pass1" id="pass1" size="16" value="" class="settings-input small password-entry" <?php bp_form_field_attributes( 'password' ); ?>/>
    3944    <div id="pass-strength-result"></div>
Note: See TracChangeset for help on using the changeset viewer.