Skip to:
Content

BuddyPress.org


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

BP Core: add missing /* translators */ comments

See #8260

File:
1 edited

Legend:

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

    r12391 r12588  
    174174    }
    175175
     176    /* translators: %s: the result of the action performed by the repair tool */
    176177    $statement = __( 'Counting the number of friends for each user… %s', 'buddypress' );
    177178    $result    = __( 'Failed!', 'buddypress' );
     
    232233    }
    233234
     235    /* translators: %s: the result of the action performed by the repair tool */
    234236    $statement = __( 'Counting the number of groups for each user… %s', 'buddypress' );
    235237    $result    = __( 'Failed!', 'buddypress' );
     
    274276function bp_admin_repair_blog_records() {
    275277
    276     // Description of this tool, displayed to the user.
     278    /* translators: %s: the result of the action performed by the repair tool */
    277279    $statement = __( 'Repopulating Blogs records… %s', 'buddypress' );
    278280
     
    303305 */
    304306function bp_admin_repair_count_members() {
     307    /* translators: %s: the result of the action performed by the repair tool */
    305308    $statement = __( 'Counting the number of active members on the site… %s', 'buddypress' );
    306309    delete_transient( 'bp_active_member_count' );
     
    317320 */
    318321function bp_admin_repair_last_activity() {
     322    /* translators: %s: the result of the action performed by the repair tool */
    319323    $statement = __( 'Determining last activity dates for each user… %s', 'buddypress' );
    320324    bp_last_activity_migrate();
     
    408412        <p>
    409413            <?php esc_html_e( 'BuddyPress keeps track of various relationships between users, groups, and activity items. Occasionally these relationships become out of sync, most often after an import, update, or migration.', 'buddypress' ); ?>
    410             <?php printf( esc_html_x( 'Use the %s to repair these relationships.', 'buddypress tools intro', 'buddypress' ), '<a href="' . esc_url( $url ) . '">' . esc_html__( 'BuddyPress Tools', 'buddypress' ) . '</a>' ); ?>
     414            <?php
     415            printf(
     416                /* translators: %s: the link to the BuddyPress repair tools */
     417                esc_html_x( 'Use the %s to repair these relationships.', 'buddypress tools intro', 'buddypress' ),
     418                '<a href="' . esc_url( $url ) . '">' . esc_html__( 'BuddyPress Tools', 'buddypress' ) . '</a>'
     419            );
     420            ?>
    411421        </p>
    412422    </div>
Note: See TracChangeset for help on using the changeset viewer.