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-activity/bp-activity-template.php

    r8735 r8781  
    769769        $total     = bp_core_number_format( $activities_template->total_activity_count );
    770770
    771         return sprintf( _n( 'Viewing item %1$s to %2$s (of %3$s item)', 'Viewing item %1$s to %2$s (of %3$s items)', $total, 'buddypress' ), $from_num, $to_num, $total );
     771        return sprintf( _n( 'Viewing 1 item', 'Viewing %1$s - %2$s of %3$s items', $total, 'buddypress' ), $from_num, $to_num, $total );
    772772    }
    773773
Note: See TracChangeset for help on using the changeset viewer.