Changeset 12588 for trunk/src/bp-core/bp-core-template.php
- Timestamp:
- 03/28/2020 01:35:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template.php
r12561 r12588 144 144 // If none is found, concatenate. 145 145 } elseif ( isset( buddypress()->{$component}->name ) ) { 146 /* translators: %s: Name of the BuddyPress component */ 146 147 $title = sprintf( __( '%s Directory', 'buddypress' ), buddypress()->{$component}->name ); 147 148 } … … 196 197 'item_id' => $comment->user_id, 197 198 'type' => 'thumb', 198 'alt' => sprintf( __( 'Profile photo of %s', 'buddypress' ), bp_core_get_user_displayname( $comment->user_id ) ) 199 'alt' => sprintf( 200 /* translators: %s: member name */ 201 __( 'Profile photo of %s', 'buddypress' ), 202 bp_core_get_user_displayname( $comment->user_id ) 203 ), 199 204 ) ) ); 200 205 } … … 211 216 'item_id' => $post->post_author, 212 217 'type' => 'thumb', 213 'alt' => sprintf( __( 'Profile photo of %s', 'buddypress' ), bp_core_get_user_displayname( $post->post_author ) ) 218 'alt' => sprintf( 219 /* translators: %s: member name */ 220 __( 'Profile photo of %s', 'buddypress' ), 221 bp_core_get_user_displayname( $post->post_author ) 222 ), 214 223 ) ) ); 215 224 } … … 3758 3767 * @param string $token The Recipient token. 3759 3768 */ 3760 return apply_filters( 'bp_email_get_salutation', sprintf( _x( 'Hi %s,', 'recipient salutation', 'buddypress' ), $token ), $settings, $token ); 3761 } 3769 return apply_filters( 3770 'bp_email_get_salutation', 3771 sprintf( 3772 /* translators: %s: the email token for the recipient name */ 3773 _x( 'Hi %s,', 'recipient salutation', 'buddypress' ), 3774 $token 3775 ), 3776 $settings, 3777 $token 3778 ); 3779 }
Note: See TracChangeset
for help on using the changeset viewer.