Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/27/2012 09:28:59 PM (12 years ago)
Author:
djpaul
Message:

Use "Activity Item" in messages in activity admin rather than just "Activity" for single items. Fixes #4492, props fanquake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-admin.php

    r6342 r6350  
    796796
    797797        if ( $deleted > 0 )
    798             $messages[] = sprintf( _n( '%s activity has been permanently deleted.', '%s activity items have been permanently deleted.', $deleted, 'buddypress' ), number_format_i18n( $deleted ) );
     798            $messages[] = sprintf( _n( '%s activity item has been permanently deleted.', '%s activity items have been permanently deleted.', $deleted, 'buddypress' ), number_format_i18n( $deleted ) );
    799799
    800800        if ( ! empty( $errors ) ) {
     
    818818
    819819        if ( $spammed > 0 )
    820             $messages[] = sprintf( _n( '%s activity has been successfully spammed.', '%s activity items have been successfully spammed.', $spammed, 'buddypress' ), number_format_i18n( $spammed ) );
     820            $messages[] = sprintf( _n( '%s activity item has been successfully spammed.', '%s activity items have been successfully spammed.', $spammed, 'buddypress' ), number_format_i18n( $spammed ) );
    821821
    822822        if ( $unspammed > 0 )
    823             $messages[] = sprintf( _n( '%s activity has been successfully unspammed.', '%s activity items have been successfully unspammed.', $unspammed, 'buddypress' ), number_format_i18n( $unspammed ) );
     823            $messages[] = sprintf( _n( '%s activity item has been successfully unspammed.', '%s activity items have been successfully unspammed.', $unspammed, 'buddypress' ), number_format_i18n( $unspammed ) );
    824824
    825825        if ( $updated > 0 )
    826             $messages[] = __( 'The activity has been updated succesfully.', 'buddypress' );
     826            $messages[] = __( 'The activity item has been updated succesfully.', 'buddypress' );
    827827    }
    828828
Note: See TracChangeset for help on using the changeset viewer.