Skip to:
Content

BuddyPress.org

Ticket #3512: 3512.01.patch

File 3512.01.patch, 969 bytes (added by r-a-y, 13 years ago)
  • bp-core/bp-core-filters.php

    function bp_modify_page_title( $title, $sep, $seplocation ) { 
    286286
    287287        // A single item from a component other than groups
    288288        } elseif ( bp_is_single_item() ) {
    289                 // translators: "root component name | component item name | component nav section name"
    290                 $title = sprintf( __( '%1$s | %2$s | %3$s', 'buddypress' ), bp_get_name_from_root_slug(), $bp->bp_options_title, $bp->bp_options_nav[$bp->current_component][$bp->current_action]['name'] );
     289                // translators: "component item name | component nav section name | root component name"
     290                $title = sprintf( __( '%1$s | %2$s | %3$s', 'buddypress' ), $bp->bp_options_title, $bp->bp_options_nav[$bp->current_item][$bp->current_action]['name'], bp_get_name_from_root_slug() );
    291291
    292292        // An index or directory
    293293        } elseif ( bp_is_directory() ) {