Skip to:
Content

BuddyPress.org

Changeset 10677


Ignore:
Timestamp:
03/23/2016 02:51:26 PM (8 years ago)
Author:
boonebgorges
Message:

Remove markup from translatable string when building Activity nav item.

Props ramiy.
Fixes #6903.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/classes/class-bp-activity-component.php

    r10652 r10677  
    264264                $count = bp_get_total_mention_count_for_user( bp_loggedin_user_id() );
    265265                if ( !empty( $count ) ) {
    266                     $title = sprintf( _x( 'Mentions <span class="count">%s</span>', 'Toolbar Mention logged in user', 'buddypress' ), bp_core_number_format( $count ) );
     266                    $title = sprintf(
     267                        /* translators: %s: Unread mention count for the current user */
     268                        _x( 'Mentions %s', 'Toolbar Mention logged in user', 'buddypress' ),
     269                        '<span class="count">' . bp_core_number_format( $count ) . '</span>'
     270                    );
    267271                } else {
    268272                    $title = _x( 'Mentions', 'Toolbar Mention logged in user', 'buddypress' );
Note: See TracChangeset for help on using the changeset viewer.