Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2012 05:58:58 AM (13 years ago)
Author:
djpaul
Message:

Improve i18n string concatenation to show the message component's count in correct localised format. See r6053.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-classes.php

    r6054 r6057  
    259259    function get_recipient_links( $recipients ) {
    260260        if ( count( $recipients ) >= 5 )
    261             return sprintf( __( '%d Recipients', 'buddypress' ), count( $recipients ) );
     261            return sprintf( __( '%s Recipients', 'buddypress' ), number_format_i18n( count( $recipients ) ) );
    262262
    263263        $recipient_links = array();
Note: See TracChangeset for help on using the changeset viewer.