Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/07/2014 06:15:53 PM (12 years ago)
Author:
boonebgorges
Message:

Make the _get_profile_stats() output markup more consistent and translator-friendly

  • Apply <strong> tag in both plural and singular forms
  • Don't include <strong> tag in gettext string

Fixes #5383

Props danbp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-template.php

    r7764 r7828  
    32023202
    32033203            // If groups exist, show some formatted output
    3204             $r['output'] = $r['before'] . sprintf( _n( '1 group', '<strong>%s</strong> groups', $r['groups'], 'buddypress' ), $r['groups'] ) . $r['after'];
     3204            $r['output'] = $r['before'] . sprintf( _n( '%s group', '%s groups', $r['groups'], 'buddypress' ), '<strong>' . $r['groups'] . '</strong>' ) . $r['after'];
    32053205        }
    32063206    }
Note: See TracChangeset for help on using the changeset viewer.