Changeset 7544
- Timestamp:
- 11/09/2013 02:59:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-notifications/bp-notifications-loader.php
r7543 r7544 172 172 $count = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); 173 173 if ( ! empty( $count ) ) { 174 $unread = sprintf( __( 'Notifications <span class="count">%s</span>', 'buddypress' ), number_format_i18n( $count ) ); 174 $title = sprintf( __( 'Notifications <span class="count">%s</span>', 'buddypress' ), number_format_i18n( $count ) ); 175 $unread = sprintf( __( 'Unread <span class="count">%s</span>', 'buddypress' ), number_format_i18n( $count ) ); 175 176 } else { 176 $unread = __( 'Notifications', 'buddypress' ); 177 $title = __( 'Notifications', 'buddypress' ); 178 $unread = __( 'Unread', 'buddypress' ); 177 179 } 178 180 … … 181 183 'parent' => buddypress()->my_account_menu_id, 182 184 'id' => 'my-account-' . $this->id, 183 'title' => $ unread,185 'title' => $title, 184 186 'href' => trailingslashit( $notifications_link ), 185 187 ); … … 189 191 'parent' => 'my-account-' . $this->id, 190 192 'id' => 'my-account-' . $this->id . '-unread', 191 'title' => __( 'Unread', 'buddypress' ),193 'title' => $unread, 192 194 'href' => trailingslashit( $notifications_link ), 193 195 );
Note: See TracChangeset
for help on using the changeset viewer.