Changeset 12586 for trunk/src/bp-activity/bp-activity-functions.php
- Timestamp:
- 03/28/2020 01:31:24 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-functions.php
r12542 r12586 1524 1524 */ 1525 1525 function bp_activity_format_activity_action_activity_update( $action, $activity ) { 1526 $action = sprintf( esc_html__( '%s posted an update', 'buddypress' ), bp_core_get_userlink( $activity->user_id ) ); 1526 $action = sprintf( 1527 /* translators: %s: the activity author user link */ 1528 esc_html__( '%s posted an update', 'buddypress' ), 1529 bp_core_get_userlink( $activity->user_id ) 1530 ); 1527 1531 1528 1532 /** … … 1547 1551 */ 1548 1552 function bp_activity_format_activity_action_activity_comment( $action, $activity ) { 1549 $action = sprintf( esc_html__( '%s posted a new activity comment', 'buddypress' ), bp_core_get_userlink( $activity->user_id ) ); 1553 $action = sprintf( 1554 /* translators: %s: the activity author user link */ 1555 esc_html__( '%s posted a new activity comment', 'buddypress' ), 1556 bp_core_get_userlink( $activity->user_id ) 1557 ); 1550 1558 1551 1559 /** … … 1598 1606 $action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_action_ms, $user_link, esc_url( $post_url ), $blog_link ); 1599 1607 } else { 1600 1608 /* translators: 1: the activity author user link. 2: the post link. 3: the blog link. */ 1601 1609 $action = sprintf( esc_html_x( '%1$s wrote a new %2$s, on the site %3$s', 'Activity Custom Post Type post action', 'buddypress' ), $user_link, $post_link, $blog_link ); 1602 1610 } … … 1605 1613 $action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_action, $user_link, $post_url ); 1606 1614 } else { 1615 /* translators: 1: the activity author user link. 2: the post link. */ 1607 1616 $action = sprintf( esc_html_x( '%1$s wrote a new %2$s', 'Activity Custom Post Type post action', 'buddypress' ), $user_link, $post_link ); 1608 1617 } … … 1651 1660 $action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_comment_action_ms, $user_link, $activity->primary_link, $blog_link ); 1652 1661 } else { 1662 /* translators: 1: the activity author user link. 2: the post link. 3: the blog link. */ 1653 1663 $action = sprintf( esc_html_x( '%1$s commented on the %2$s, on the site %3$s', 'Activity Custom Post Type comment action', 'buddypress' ), $user_link, $post_link, $blog_link ); 1654 1664 } … … 1657 1667 $action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_comment_action, $user_link, $activity->primary_link ); 1658 1668 } else { 1669 /* translators: 1: the activity author user link. 2: the post link. */ 1659 1670 $action = sprintf( esc_html_x( '%1$s commented on the %2$s', 'Activity Custom Post Type post comment action', 'buddypress' ), $user_link, $post_link ); 1660 1671 }
Note: See TracChangeset
for help on using the changeset viewer.