Changeset 5354 for branches/1.5/bp-core/bp-core-filters.php
- Timestamp:
- 11/24/2011 02:46:56 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/bp-core/bp-core-filters.php
r5153 r5354 282 282 if ( !empty( $bp->displayed_user->fullname ) && !is_404() ) { 283 283 // translators: "displayed user's name | canonicalised component name" 284 $title = strip_tags( sprintf( __( '%1$s | %2$s', 'buddypress' ), bp_get_displayed_user_fullname(), ucwords( bp_current_component()) ) );284 $title = strip_tags( sprintf( __( '%1$s | %2$s', 'buddypress' ), bp_get_displayed_user_fullname(), __( ucwords( bp_current_component() ), 'buddypress' ) ) ); 285 285 286 286 // A single group … … 298 298 } elseif ( bp_is_directory() ) { 299 299 if ( !bp_current_component() ) 300 $title = sprintf( __( '%s Directory', 'buddypress' ), bp_get_name_from_root_slug( bp_members_slug()) );300 $title = sprintf( __( '%s Directory', 'buddypress' ), __( bp_get_name_from_root_slug(), 'buddypress' ) ); 301 301 else 302 $title = sprintf( __( '%s Directory', 'buddypress' ), bp_get_name_from_root_slug( bp_get_root_slug()) );302 $title = sprintf( __( '%s Directory', 'buddypress' ), __( bp_get_name_from_root_slug(), 'buddypress' ) ); 303 303 304 304 // Sign up page
Note: See TracChangeset
for help on using the changeset viewer.