Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/06/2017 05:46:09 PM (8 years ago)
Author:
dcavins
Message:

Improve message recipient list string handling.

WordPress 2.5 introduced wp_sprintf_l() which is built to concatenate
arrays into natural language lists (and is meant to be translation
friendly). This commit uses that function to build the recipient list
text for single messages, like “Conversation between Three, Four, Two,
and you.”

Props Offereins.

See #7096.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/single.php

    r11003 r11576  
    3636                <?php else : ?>
    3737
    38                     <?php printf( __( 'Conversation between %s and you.', 'buddypress' ), bp_get_thread_recipients_list() ); ?>
     38                    <?php printf( __( 'Conversation between %s.', 'buddypress' ), bp_get_thread_recipients_list() ); ?>
    3939
    4040                <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.