Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/06/2011 08:44:17 PM (15 years ago)
Author:
djpaul
Message:

s/blogs/sites. Fixes #2164

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-loader.php

    r4381 r4466  
    2424                parent::start(
    2525                        'blogs',
    26                         __( 'Blogs Streams', 'buddypress' ),
     26                        __( 'Site Streams', 'buddypress' ),
    2727                        BP_PLUGIN_DIR
    2828                );
    … …  
    5757                        'root_slug'             => isset( $bp->pages->blogs->slug ) ? $bp->pages->blogs->slug : BP_BLOGS_SLUG,
    5858                        'notification_callback' => 'bp_blogs_format_notifications',
    59                         'search_string'         => __( 'Search Blogs...', 'buddypress' ),
     59                        'search_string'         => __( 'Search sites...', 'buddypress' ),
    6060                        'autocomplete_all'      => defined( 'BP_MESSAGES_AUTOCOMPLETE_ALL' ),
    6161                        'global_tables'         => $global_tables,
    … …  
    104104                        return false;
    105105
    106                 // Add 'Blogs' to the main navigation
     106                // Add 'Sites' to the main navigation
    107107                $main_nav =  array(
    108                         'name'                => sprintf( __( 'Blogs <span>(%d)</span>', 'buddypress' ), bp_blogs_total_blogs_for_user() ),
     108                        'name'                => sprintf( __( 'Sites <span>(%d)</span>', 'buddypress' ), bp_blogs_total_blogs_for_user() ),
    109109                        'slug'                => $this->slug,
    110110                        'position'            => 30,
    … …  
    138138                                'parent' => $bp->my_account_menu_id,
    139139                                'id'     => 'my-account-' . $this->id,
    140                                 'title'  => __( 'Blogs', 'buddypress' ),
     140                                'title'  => __( 'Sites', 'buddypress' ),
    141141                                'href'   => trailingslashit( $blogs_link )
    142142                        );
    … …  
    145145                        $wp_admin_nav[] = array(
    146146                                'parent' => 'my-account-' . $this->id,
    147                                 'title'  => __( 'My Blogs', 'buddypress' ),
     147                                'title'  => __( 'My Sites', 'buddypress' ),
    148148                                'href'   => trailingslashit( $blogs_link . 'my-blogs' )
    149149                        );
    … …  
    166166                        if ( bp_is_my_profile() ) {
    167167                                if ( bp_is_active( 'xprofile' ) ) {
    168                                         $bp->bp_options_title = __( 'My Blogs', 'buddypress' );
     168                                        $bp->bp_options_title = __( 'My Sites', 'buddypress' );
    169169                                }
    170170
Note: See TracChangeset for help on using the changeset viewer.