Changeset 7439
- Timestamp:
- 10/17/2013 04:24:33 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-template.php
r7405 r7439 692 692 $total = bp_core_number_format( $activities_template->total_activity_count ); 693 693 694 return sprintf( _ _( 'Viewing item %1$s to %2$s (of %3$s items)', 'buddypress' ), $from_num, $to_num, $total);694 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, number_format_i18n( $total ) ); 695 695 } 696 696 -
trunk/bp-blogs/bp-blogs-template.php
r7429 r7439 421 421 $total = bp_core_number_format( $blogs_template->total_blog_count ); 422 422 423 echo sprintf( _ _( 'Viewing site %1$s to %2$s (of %3$s sites)', 'buddypress' ), $from_num, $to_num, $total);423 echo sprintf( _n( 'Viewing site %1$s to %2$s (of %3$s site)', 'Viewing site %1$s to %2$s (of %3$s sites)', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) ); 424 424 } 425 425 -
trunk/bp-forums/bp-forums-template.php
r7345 r7439 966 966 $pag_filter = sprintf( __( ' matching tag "%s"', 'buddypress' ), $forum_template->search_terms ); 967 967 968 return apply_filters( 'bp_get_forum_pagination_count', sprintf( _ _( 'Viewing topic %s to %s (of %s total topics%s)', 'buddypress' ), $from_num, $to_num, $total, $pag_filter ));968 return apply_filters( 'bp_get_forum_pagination_count', sprintf( _n( 'Viewing topic %s to %s (of %d topic%s)', 'Viewing topic %s to %s (of %d total topics%s)', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ), $pag_filter ), $from_num, $to_num, $total ); 969 969 } 970 970 … … 1306 1306 $total = bp_core_number_format( $topic_template->total_post_count ); 1307 1307 1308 echo apply_filters( 'bp_the_topic_pagination_count', sprintf( _ _( 'Viewing post %1$s to %2$s (%3$s total posts)', 'buddypress' ), $from_num, $to_num, $total ));1308 echo apply_filters( 'bp_the_topic_pagination_count', sprintf( _n( 'Viewing post %1$s to %2$s (%3$s post)', 'Viewing post %1$s to %2$s (%3$s total posts)', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) ), $from_num, $to_num, $total ); 1309 1309 } 1310 1310 -
trunk/bp-groups/bp-groups-template.php
r7350 r7439 930 930 $total = bp_core_number_format( $groups_template->total_group_count ); 931 931 932 return apply_filters( 'bp_get_groups_pagination_count', sprintf( _ _( 'Viewing group %1$s to %2$s (of %3$s groups)', 'buddypress' ), $from_num, $to_num, $total ));932 return apply_filters( 'bp_get_groups_pagination_count', sprintf( _n( 'Viewing group %1$s to %2$s (of %3$s group)', 'Viewing group %1$s to %2$s (of %3$s groups)', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) ), $from_num, $to_num, $total ); 933 933 } 934 934 … … 2151 2151 $total = bp_core_number_format( $members_template->total_member_count ); 2152 2152 2153 return apply_filters( 'bp_get_group_member_pagination_count', sprintf( _ _( 'Viewing members %1$s to %2$s (of %3$s members)', 'buddypress' ), $from_num, $to_num, $total ));2153 return apply_filters( 'bp_get_group_member_pagination_count', sprintf( _n( 'Viewing member %1$s to %2$s (of %3$s member)', 'Viewing members %1$s to %2$s (of %3$s members)', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) ), $from_num, $to_num, $total ); 2154 2154 } 2155 2155 -
trunk/bp-members/bp-members-template.php
r7339 r7439 345 345 346 346 if ( 'active' == $members_template->type ) 347 $pag = sprintf( _ _( 'Viewing member %1$s to %2$s (of %3$s active members)', 'buddypress' ), $from_num, $to_num, $total);347 $pag = sprintf( _n( 'Viewing member %1$s to %2$s (of %3$s active member)', 'Viewing member %1$s to %2$s (of %3$s active members)', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) ); 348 348 else if ( 'popular' == $members_template->type ) 349 $pag = sprintf( _ _( 'Viewing member %1$s to %2$s (of %3$s members with friends)', 'buddypress' ), $from_num, $to_num, $total);349 $pag = sprintf( _n( 'Viewing member %1$s to %2$s (of %3$s member with friends)', 'Viewing member %1$s to %2$s (of %3$s members with friends)', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) ); 350 350 else if ( 'online' == $members_template->type ) 351 $pag = sprintf( _ _( 'Viewing member %1$s to %2$s (of %3$s members online)', 'buddypress' ), $from_num, $to_num, $total);351 $pag = sprintf( _n( 'Viewing member %1$s to %2$s (of %3$s member online)', 'Viewing member %1$s to %2$s (of %3$s members online)', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) ); 352 352 else 353 $pag = sprintf( _ _( 'Viewing member %1$s to %2$s (of %3$s members)', 'buddypress' ), $from_num, $to_num, $total);353 $pag = sprintf( _n( 'Viewing member %1$s to %2$s (of %3$s member)', 'Viewing member %1$s to %2$s (of %3$s members)', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) ); 354 354 355 355 return apply_filters( 'bp_members_pagination_count', $pag ); -
trunk/bp-messages/bp-messages-template.php
r7436 r7439 397 397 $total = bp_core_number_format( $messages_template->total_thread_count ); 398 398 399 echo sprintf( _ _( 'Viewing message %1$s to %2$s (of %3$s messages)', 'buddypress' ), $from_num, $to_num, $total); ?><?php399 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 ) ); ?><?php 400 400 } 401 401 -
trunk/bp-templates/bp-legacy/buddypress/members/single/groups/invites.php
r6284 r7439 12 12 </div> 13 13 14 <h4><a href="<?php bp_group_permalink(); ?>"><?php bp_group_name(); ?></a><span class="small"> - <?php printf( _ _( '%s members', 'buddypress' ), bp_group_total_members( false )); ?></span></h4>14 <h4><a href="<?php bp_group_permalink(); ?>"><?php bp_group_name(); ?></a><span class="small"> - <?php printf( _n( '1 member', '%d members', bp_get_group_total_members( false ), 'buddypress' ) ); ?></span></h4> 15 15 16 16 <p class="desc"> -
trunk/bp-themes/bp-default/members/single/groups/invites.php
r5737 r7439 12 12 </div> 13 13 14 <h4><a href="<?php bp_group_permalink(); ?>"><?php bp_group_name(); ?></a><span class="small"> - <?php printf( _ _( '%s members', 'buddypress' ), bp_group_total_members( false )); ?></span></h4>14 <h4><a href="<?php bp_group_permalink(); ?>"><?php bp_group_name(); ?></a><span class="small"> - <?php printf( _n( '1 member', '%d members', bp_get_group_total_members( false ), 'buddypress' ) ); ?></span></h4> 15 15 16 16 <p class="desc">
Note: See TracChangeset
for help on using the changeset viewer.