#689 closed defect (bug) (fixed)
Omitted i18n function for strings for '%s members'
Reported by: | lilyfan | Owned by: | |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | 1.0 | |
Component: | Keywords: | i18n, has-patch | |
Cc: |
Description
Line 197, 1973 of bp-groups/bp-groups-templatetags.php, the string '%d member', 's%d members' are omitted with i18n functions.
if ( 1 == (int) $site_groups_template->group->total_member_count ) printf( '%d member', (int) $site_groups_template->group->total_member_count ); else printf( '%d members', (int) $site_groups_template->group->total_member_count );
this is sould be:
if ( 1 == (int) $site_groups_template->group->total_member_count ) printf( __( '%d member', 'buddypress' ), (int) $site_groups_template->group->total_member_count ); else printf( __( '%d members', 'buddypress' ), (int) $site_groups_template->group->total_member_count );
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [1419]) Fixes #689