Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/10/2014 05:27:52 PM (12 years ago)
Author:
djpaul
Message:

Improve pagination label strings for all components

“Viewing 1 site” reads better than “Viewing site 1 to 1 (of 1 site)”,
regardless of the language you’re using.

Fixes #5767

File:
1 edited

Legend:

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

    r8742 r8781  
    718718    $total = bp_core_number_format( $messages_template->total_thread_count );
    719719
    720     echo sprintf( _n( 'Viewing message %1$s to %2$s (of %3$s message)', 'Viewing message %1$s to %2$s (of %3$s messages)', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) );
     720    echo sprintf( _n( 'Viewing 1 message', 'Viewing %1$s - %2$s of %3$s messages', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) );
    721721}
    722722
Note: See TracChangeset for help on using the changeset viewer.