Changeset 9765 for trunk/src/bp-activity/bp-activity-template.php
- Timestamp:
- 04/17/2015 01:27:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r9751 r9765 848 848 $total = bp_core_number_format( $activities_template->total_activity_count ); 849 849 850 return sprintf( _n( 'Viewing 1 item', 'Viewing %1$s - %2$s of %3$s items', $total, 'buddypress' ), $from_num, $to_num, $total ); 850 if ( 1 == $activities_template->total_activity_count ) { 851 $message = __( 'Viewing 1 item', 'buddypress' ); 852 } else { 853 $message = sprintf( _n( 'Viewing %1$s - %2$s of %3$s item', 'Viewing %1$s - %2$s of %3$s items', $activities_template->total_activity_count, 'buddypress' ), $from_num, $to_num, $total ); 854 } 855 856 return $message; 851 857 } 852 858
Note: See TracChangeset
for help on using the changeset viewer.