Changeset 5729 for trunk/bp-groups/bp-groups-activity.php
- Timestamp:
- 02/11/2012 09:32:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-activity.php
r5714 r5729 90 90 // Because different values are passed to the filters, we'll return the 91 91 // values inline 92 if ( (int) $total_items > 1 ) {93 $text = sprintf( __( '%1$d new membership requests for the group "%2$s"', 'buddypress' ), (int) $total_items, $group->name );92 if ( (int) $total_items > 1 ) { 93 $text = sprintf( __( '%1$d new membership requests for the group "%2$s"', 'buddypress' ), (int) $total_items, $group->name ); 94 94 $filter = 'bp_groups_multiple_new_membership_requests_notification'; 95 95 $notification_link = $group_link . 'admin/membership-requests/?n=1'; … … 127 127 $group_link = bp_get_group_permalink( $group ); 128 128 129 if ( (int) $total_items > 1 ) {130 $text = sprintf( __( '%d accepted group membership requests', 'buddypress' ), (int) $total_items, $group->name );129 if ( (int) $total_items > 1 ) { 130 $text = sprintf( __( '%d accepted group membership requests', 'buddypress' ), (int) $total_items, $group->name ); 131 131 $filter = 'bp_groups_multiple_membership_request_accepted_notification'; 132 132 $notification_link = trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() ) . '?n=1'; … … 163 163 $group_link = bp_get_group_permalink( $group ); 164 164 165 if ( (int) $total_items > 1 ) {166 $text = sprintf( __( '%d rejected group membership requests', 'buddypress' ), (int) $total_items, $group->name );165 if ( (int) $total_items > 1 ) { 166 $text = sprintf( __( '%d rejected group membership requests', 'buddypress' ), (int) $total_items, $group->name ); 167 167 $filter = 'bp_groups_multiple_membership_request_rejected_notification'; 168 168 $notification_link = trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() ) . '?n=1'; … … 199 199 $group_link = bp_get_group_permalink( $group ); 200 200 201 if ( (int) $total_items > 1 ) {202 $text = sprintf( __( 'You were promoted to an admin in %d groups', 'buddypress' ), (int) $total_items );201 if ( (int) $total_items > 1 ) { 202 $text = sprintf( __( 'You were promoted to an admin in %d groups', 'buddypress' ), (int) $total_items ); 203 203 $filter = 'bp_groups_multiple_member_promoted_to_admin_notification'; 204 204 $notification_link = trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() ) . '?n=1'; … … 235 235 $group_link = bp_get_group_permalink( $group ); 236 236 237 if ( (int) $total_items > 1 ) {238 $text = sprintf( __( 'You were promoted to a mod in %d groups', 'buddypress' ), (int) $total_items );237 if ( (int) $total_items > 1 ) { 238 $text = sprintf( __( 'You were promoted to a mod in %d groups', 'buddypress' ), (int) $total_items ); 239 239 $filter = 'bp_groups_multiple_member_promoted_to_mod_notification'; 240 240 $notification_link = trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() ) . '?n=1'; … … 272 272 $notification_link = bp_loggedin_user_domain() . bp_get_groups_slug() . '/invites/?n=1'; 273 273 274 if ( (int) $total_items > 1 ) {275 $text = sprintf( __( 'You have %d new group invitations', 'buddypress' ), (int) $total_items );274 if ( (int) $total_items > 1 ) { 275 $text = sprintf( __( 'You have %d new group invitations', 'buddypress' ), (int) $total_items ); 276 276 $filter = 'bp_groups_multiple_group_invite_notification'; 277 277
Note: See TracChangeset
for help on using the changeset viewer.