Skip to:
Content

BuddyPress.org

Changeset 13434


Ignore:
Timestamp:
03/08/2023 11:01:32 AM (23 months ago)
Author:
imath
Message:

Make sure the friends count is right in WP-Admin Extended profile

Closes https://github.com/buddypress/buddypress/pull/71
Fixes #8848

File:
1 edited

Legend:

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

    r13433 r13434  
    779779            $r['output'] = $r['before'];
    780780
    781             /* translators: %d: total friend count */
    782             $r['output'] .= sprintf( _n( '%d friend', '%d friends', $r['friends'], 'buddypress' ), '<strong>' . number_format_i18n( $r['friends'] ) . '</strong>' );
     781            /* translators: %s: total friend count */
     782            $r['output'] .= sprintf( _n( '%s friend', '%s friends', $r['friends'], 'buddypress' ), '<strong>' . number_format_i18n( $r['friends'] ) . '</strong>' );
    783783            $r['output'] .= $r['after'];
    784784        }
Note: See TracChangeset for help on using the changeset viewer.