Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

#1 @apeatling
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1419]) Fixes #689

#2 @(none)
10 years ago

  • Milestone Groups 1.0 deleted

Milestone Groups 1.0 deleted

Note: See TracTickets for help on using tickets.