Skip to:
Content

BuddyPress.org

Changeset 9036


Ignore:
Timestamp:
09/19/2014 07:41:37 PM (6 years ago)
Author:
boonebgorges
Message:

Pagination text for a groups loop with a single group should read "Viewing 1 group"

Fixes typo in r8781

Fixes #5767

Props SGr33n

File:
1 edited

Legend:

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

    r9028 r9036  
    15431543        $total     = bp_core_number_format( $groups_template->total_group_count );
    15441544
    1545         return apply_filters( 'bp_get_groups_pagination_count', sprintf( _n( 'Viewing 1', 'Viewing %1$s - %2$s of %3$s groups', $total, 'buddypress' ), $from_num, $to_num, $total ), $from_num, $to_num, $total );
     1545        return apply_filters( 'bp_get_groups_pagination_count', sprintf( _n( 'Viewing 1 group', 'Viewing %1$s - %2$s of %3$s groups', $total, 'buddypress' ), $from_num, $to_num, $total ), $from_num, $to_num, $total );
    15461546    }
    15471547
Note: See TracChangeset for help on using the changeset viewer.