Ticket #4492: activity-item.patch
File activity-item.patch, 1.8 KB (added by , 12 years ago) |
---|
-
bp-activity/bp-activity-admin.php
788 788 $errors = array_values( $errors ); 789 789 790 790 if ( $deleted > 0 ) 791 $messages[] = sprintf( _n( '%s activity has been permanently deleted.', '%s activity items have been permanently deleted.', $deleted, 'buddypress' ), number_format_i18n( $deleted ) );791 $messages[] = sprintf( _n( '%s activity item has been permanently deleted.', '%s activity items have been permanently deleted.', $deleted, 'buddypress' ), number_format_i18n( $deleted ) ); 792 792 793 793 if ( ! empty( $errors ) ) { 794 794 if ( 1 == count( $errors ) ) { … … 810 810 } 811 811 812 812 if ( $spammed > 0 ) 813 $messages[] = sprintf( _n( '%s activity has been successfully spammed.', '%s activity items have been successfully spammed.', $spammed, 'buddypress' ), number_format_i18n( $spammed ) );813 $messages[] = sprintf( _n( '%s activity item has been successfully spammed.', '%s activity items have been successfully spammed.', $spammed, 'buddypress' ), number_format_i18n( $spammed ) ); 814 814 815 815 if ( $unspammed > 0 ) 816 $messages[] = sprintf( _n( '%s activity has been successfully unspammed.', '%s activity items have been successfully unspammed.', $unspammed, 'buddypress' ), number_format_i18n( $unspammed ) );816 $messages[] = sprintf( _n( '%s activity item has been successfully unspammed.', '%s activity items have been successfully unspammed.', $unspammed, 'buddypress' ), number_format_i18n( $unspammed ) ); 817 817 818 818 if ( $updated > 0 ) 819 $messages[] = __( 'The activity has been updated succesfully.', 'buddypress' );819 $messages[] = __( 'The activity item has been updated succesfully.', 'buddypress' ); 820 820 } 821 821 822 822 // Prepare the activity items for display