Skip to:
Content

BuddyPress.org

Changeset 12594


Ignore:
Timestamp:
03/28/2020 01:46:56 PM (4 years ago)
Author:
imath
Message:

BP Settings: add missing /* translators */ comments

See #8260

Location:
trunk/src/bp-settings
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-settings/actions/delete-account.php

    r11926 r12594  
    4949
    5050        // Add feedback after deleting a user.
    51         bp_core_add_message( sprintf( __( '%s was successfully deleted.', 'buddypress' ), $username ), 'success' );
     51        bp_core_add_message(
     52            sprintf(
     53                /* translators: %s: user username */
     54                __( '%s was successfully deleted.', 'buddypress' ),
     55                $username
     56            ),
     57            'success'
     58        );
    5259
    5360        // Redirect to the root domain.
  • trunk/src/bp-settings/bp-settings-template.php

    r11459 r12594  
    8686
    8787    <div id="message" class="bp-template-notice error">
    88         <p><?php printf(
    89             __( 'There is a pending change of your email address to %s.', 'buddypress' ),
    90             '<code>' . esc_html( $pending_email['newemail'] ) . '</code>'
    91         ); ?>
    92         <br />
    93         <?php printf(
    94             __( 'Check your email (%1$s) for the verification link, or <a href="%2$s">cancel the pending change</a>.', 'buddypress' ),
    95             '<code>' . esc_html( bp_get_displayed_user_email() ) . '</code>',
    96             esc_url( wp_nonce_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1', 'bp_dismiss_email_change' ) )
    97         ); ?></p>
     88        <p>
     89            <?php
     90            printf(
     91                /* translators: %s: new email address */
     92                __( 'There is a pending change of your email address to %s.', 'buddypress' ),
     93                '<code>' . esc_html( $pending_email['newemail'] ) . '</code>'
     94            );
     95            ?>
     96            <br />
     97            <?php
     98            printf(
     99                /* translators: 1: email address. 2: cancel email change url. */
     100                __( 'Check your email (%1$s) for the verification link, or <a href="%2$s">cancel the pending change</a>.', 'buddypress' ),
     101                '<code>' . esc_html( bp_get_displayed_user_email() ) . '</code>',
     102                esc_url( wp_nonce_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1', 'bp_dismiss_email_change' ) )
     103            );
     104            ?>
     105        </p>
    98106    </div>
    99107
Note: See TracChangeset for help on using the changeset viewer.