Changeset 1968
- Timestamp:
- 09/28/2009 12:43:08 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-templatetags.php
r1929 r1968 2130 2130 if ( (bool) $showtext ) { 2131 2131 if ( 1 == (int) $site_groups_template->group->forum_counts[0]->topics ) 2132 $total_topics = sprintf( __( '%d topic' ), (int) $site_groups_template->group->forum_counts[0]->topics );2132 $total_topics = sprintf( __( '%d topic', 'buddypress' ), (int) $site_groups_template->group->forum_counts[0]->topics ); 2133 2133 else 2134 $total_topics = sprintf( __( '%d topics' ), (int) $site_groups_template->group->forum_counts[0]->topics );2134 $total_topics = sprintf( __( '%d topics', 'buddypress' ), (int) $site_groups_template->group->forum_counts[0]->topics ); 2135 2135 } else { 2136 2136 $total_topics = (int) $site_groups_template->group->forum_counts[0]->topics; … … 2164 2164 if ( (bool) $showtext ) { 2165 2165 if ( 1 == (int) $site_groups_template->group->forum_counts[0]->posts ) 2166 $total_posts = sprintf( __( '%d post' ), (int) $site_groups_template->group->forum_counts[0]->posts );2166 $total_posts = sprintf( __( '%d post', 'buddypress' ), (int) $site_groups_template->group->forum_counts[0]->posts ); 2167 2167 else 2168 $total_posts = sprintf( __( '%d posts' ), (int) $site_groups_template->group->forum_counts[0]->posts );2168 $total_posts = sprintf( __( '%d posts', 'buddypress' ), (int) $site_groups_template->group->forum_counts[0]->posts ); 2169 2169 } else { 2170 2170 $total_posts = (int) $site_groups_template->group->forum_counts[0]->posts;
Note: See TracChangeset
for help on using the changeset viewer.