Changeset 9765 for trunk/src/bp-messages/bp-messages-template.php
- Timestamp:
- 04/17/2015 01:27:06 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-template.php
r9415 r9765 1087 1087 $total = bp_core_number_format( $messages_template->total_thread_count ); 1088 1088 1089 echo sprintf( _n( 'Viewing 1 message', 'Viewing %1$s - %2$s of %3$s messages', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) ); 1089 if ( 1 == $messages_template->total_thread_count ) { 1090 $message = __( 'Viewing 1 message', 'buddypress' ); 1091 } else { 1092 $message = sprintf( _n( 'Viewing %1$s - %2$s of %3$s message', 'Viewing %1$s - %2$s of %3$s messages', $messages_template->total_thread_count, 'buddypress' ), $from_num, $to_num, $total ); 1093 } 1094 1095 echo $message; 1090 1096 } 1091 1097
Note: See TracChangeset
for help on using the changeset viewer.