Changeset 9765 for trunk/src/bp-notifications/bp-notifications-template.php
- Timestamp:
- 04/17/2015 01:27:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-template.php
r9574 r9765 1185 1185 $to_num = bp_core_number_format( ( $start_num + ( $query_loop->pag_num - 1 ) > $query_loop->total_notification_count ) ? $query_loop->total_notification_count : $start_num + ( $query_loop->pag_num - 1 ) ); 1186 1186 $total = bp_core_number_format( $query_loop->total_notification_count ); 1187 $pag = sprintf( _n( 'Viewing 1 notification', 'Viewing %1$s - %2$s of %3$s notifications', $total, 'buddypress' ), $from_num, $to_num, $total ); 1187 1188 if ( 1 == $query_loop->total_notification_count ) { 1189 $pag = __( 'Viewing 1 notification', 'buddypress' ); 1190 } else { 1191 $pag = sprintf( _n( 'Viewing %1$s - %2$s of %3$s notification', 'Viewing %1$s - %2$s of %3$s notifications', $query_loop->total_notification_count, 'buddypress' ), $from_num, $to_num, $total ); 1192 } 1188 1193 1189 1194 /**
Note: See TracChangeset
for help on using the changeset viewer.