Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/28/2020 01:52:20 PM (6 years ago)
Author:
imath
Message:

BP xProfile: add missing /* translators */ comments

Fixes #8260

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-activity.php

    r12393 r12596  
    6161function bp_xprofile_format_activity_action_new_avatar( $action, $activity ) {
    6262    $userlink = bp_core_get_userlink( $activity->user_id );
    63     $action   = sprintf( esc_html__( '%s changed their profile picture', 'buddypress' ), $userlink );
     63
     64    /* translators: %s: user link */
     65    $action = sprintf( esc_html__( '%s changed their profile picture', 'buddypress' ), $userlink );
    6466
    6567    // Legacy filter - pass $user_id instead of $activity.
     
    9597    // natural translation.
    9698    $profile_link = trailingslashit( bp_core_get_user_domain( $activity->user_id ) . bp_get_profile_slug() );
    97     $action       = sprintf( esc_html__( "%s's profile was updated", 'buddypress' ), '<a href="' . esc_url( $profile_link ) . '">' . bp_core_get_user_displayname( $activity->user_id ) . '</a>' );
     99
     100    /* translators: %s: user profile link */
     101    $action = sprintf( esc_html__( "%s's profile was updated", 'buddypress' ), '<a href="' . esc_url( $profile_link ) . '">' . bp_core_get_user_displayname( $activity->user_id ) . '</a>' );
    98102
    99103    /**
Note: See TracChangeset for help on using the changeset viewer.