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/deprecated/1.5.php

    r12547 r12588  
    356356            $ud = bp_core_get_core_userdata( $receiver_user_id );
    357357            $to = $ud->user_email;
    358             $subject = bp_get_email_subject( array( 'text' => sprintf( __( '%1$s mentioned you in the group "%2$s"', 'buddypress' ), $poster_name, $group->name ) ) );
    359 
    360 $message = sprintf( __(
     358            $subject = bp_get_email_subject(
     359                array(
     360                    'text' => sprintf(
     361                        /* translators: 1: the poster name. 2: the group name. */
     362                        _x( '%1$s mentioned you in the group "%2$s"', 'deprecated string', 'buddypress' ),
     363                        $poster_name,
     364                        $group->name
     365                    )
     366                )
     367            );
     368
     369/* translators: 1: the poster name. 2: the group name. 3: the content of the activity. 4: the activity permalink. */
     370$message = sprintf( _x(
    361371'%1$s mentioned you in the group "%2$s":
    362372
     
    366376
    367377---------------------
    368 ', 'buddypress' ), $poster_name, $group->name, $content, $message_link );
     378', 'deprecated string', 'buddypress' ), $poster_name, $group->name, $content, $message_link );
    369379
    370380            /* Send the message */
Note: See TracChangeset for help on using the changeset viewer.