Skip to:
Content

BuddyPress.org

Changeset 9881


Ignore:
Timestamp:
05/20/2015 05:31:10 PM (6 years ago)
Author:
r-a-y
Message:

Message star: Fix usage of single form when using _n() function.

Props netweb.

See #6368, #6331.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/bp-messages-star.php

    r9846 r9881  
    421421            }
    422422
    423             bp_core_add_message( sprintf( _n( '1 message was successfully starred', '%s messages were successfully starred', $count, 'buddypress' ), $count ) );
     423            bp_core_add_message( sprintf( _n( '%s message was successfully starred', '%s messages were successfully starred', $count, 'buddypress' ), $count ) );
    424424            break;
    425425
     
    435435            }
    436436
    437             bp_core_add_message( sprintf( _n( '1 message was successfully unstarred', '%s messages were successfully unstarred', $count, 'buddypress' ), $count ) );
     437            bp_core_add_message( sprintf( _n( '%s message was successfully unstarred', '%s messages were successfully unstarred', $count, 'buddypress' ), $count ) );
    438438            break;
    439439    }
Note: See TracChangeset for help on using the changeset viewer.