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-template.php

    r4438 r4466  
    227227        $total     = bp_core_number_format( $blogs_template->total_blog_count );
    228228
    229         echo sprintf( __( 'Viewing blog %1$s to %2$s (of %3$s blogs)', 'buddypress' ), $from_num, $to_num, $total ); ?>  
     229        echo sprintf( __( 'Viewing site %1$s to %2$s (of %3$s sites)', 'buddypress' ), $from_num, $to_num, $total ); ?>  
    230230        <span class="ajax-loader"></span><?php
    231231}
     
    252252                        'class'   => 'avatar',
    253253                        'id'      => false,
    254                         'alt'     => __( 'Blog authored by %s', 'buddypress' ),
     254                        'alt'     => __( 'Site authored by %s', 'buddypress' ),
    255255                        'no_grav' => true
    256256                );
     
    397397                }
    398398                ?>
    399                 <p><?php printf(__("By filling out the form below, you can <strong>add a blog to your account</strong>. There is no limit to the number of blogs you can have, so create to your heart's content, but blog responsibly.", 'buddypress'), $current_user->display_name) ?></p>
    400 
    401                 <p><?php _e("If you&#8217;re not going to use a great blog domain, leave it for a new user. Now have at it!", 'buddypress') ?></p>
     399                <p><?php printf(__("By filling out the form below, you can <strong>add a site to your account</strong>. There is no limit to the number of sites that you can have, so create to your heart's content, but blog responsibly!", 'buddypress'), $current_user->display_name) ?></p>
     400
     401                <p><?php _e("If you&#8217;re not going to use a great domain, leave it for a new user. Now have at it!", 'buddypress') ?></p>
    402402
    403403                <form class="standard-form" id="setupform" method="post" action="">
     
    408408                        <?php bp_blogs_signup_blog($blogname, $blog_title, $errors); ?>
    409409                        <p>
    410                                 <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Create Blog &rarr;', 'buddypress') ?>" />
     410                                <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Create Site', 'buddypress') ?>" />
    411411                        </p>
    412412
     
    422422        // Blog name
    423423        if( !is_subdomain_install() )
    424                 echo '<label for="blogname">' . __('Blog Name:', 'buddypress') . '</label>';
     424                echo '<label for="blogname">' . __('Site Name:', 'buddypress') . '</label>';
    425425        else
    426                 echo '<label for="blogname">' . __('Blog Domain:', 'buddypress') . '</label>';
     426                echo '<label for="blogname">' . __('Site Domain:', 'buddypress') . '</label>';
    427427
    428428        if ( $errmsg = $errors->get_error_message('blogname') ) { ?>
     
    452452        ?>
    453453
    454         <label for="blog_title"><?php _e('Blog Title:', 'buddypress') ?></label>
     454        <label for="blog_title"><?php _e('Site Title:', 'buddypress') ?></label>
    455455
    456456        <?php if ( $errmsg = $errors->get_error_message('blog_title') ) { ?>
     
    464464        <p>
    465465                <label for="blog_public_on"><?php _e('Privacy:', 'buddypress') ?></label>
    466                 <?php _e('I would like my blog to appear in search engines like Google and Technorati, and in public listings around this site.', 'buddypress'); ?>
    467 
     466                <?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?>
    468467
    469468                <label class="checkbox" for="blog_public_on">
     
    527526        $blog_url = $protocol . $domain . $path; ?>
    528527
    529         <p><?php _e( 'Congratulations! You have successfully registered a new blog.', 'buddypress' ) ?></p>
     528        <p><?php _e( 'Congratulations! You have successfully registered a new site.', 'buddypress' ) ?></p>
    530529        <p>
    531                 <?php printf(__( '<a href="%1$s">%2$s</a> is your new blog.  <a href="%3$s">Login</a> as "%4$s" using your existing password.', 'buddypress' ), $blog_url, $blog_url, $blog_url . "wp-login.php", $user_name ); ?>
     530                <?php printf(__( '<a href="%1$s">%2$s</a> is your new site.  <a href="%3$s">Login</a> as "%4$s" using your existing password.', 'buddypress' ), $blog_url, $blog_url, $blog_url . "wp-login.php", $user_name ); ?>
    532531        </p>
    533532
     
    540539
    541540        if ( bp_is_my_profile() )
    542                 echo apply_filters( 'bp_create_blog_link', '<a href="' . bp_get_root_domain() . '/' . $bp->blogs->root_slug . '/create/">' . __( 'Create a Blog', 'buddypress' ) . '</a>' );
     541                echo apply_filters( 'bp_create_blog_link', '<a href="' . bp_get_root_domain() . '/' . $bp->blogs->root_slug . '/create/">' . __( 'Create a Site', 'buddypress' ) . '</a>' );
    543542}
    544543
     
    553552
    554553        <ul class="content-header-nav">
    555                 <li<?php if ( 'my-blogs' == $current_tab || empty( $current_tab ) ) : ?> class="current"<?php endif; ?>><a href="<?php echo trailingslashit( $bp->displayed_user->domain . $bp->blogs->slug . '/my-blogs' ); ?>"><?php printf( __( "%s's Blogs", 'buddypress' ), $bp->displayed_user->fullname ); ?></a></li>
     554                <li<?php if ( 'my-blogs' == $current_tab || empty( $current_tab ) ) : ?> class="current"<?php endif; ?>><a href="<?php echo trailingslashit( $bp->displayed_user->domain . $bp->blogs->slug . '/my-blogs' ); ?>"><?php printf( __( "%s's Sites", 'buddypress' ), $bp->displayed_user->fullname ); ?></a></li>
    556555                <li<?php if ( 'recent-posts' == $current_tab ) : ?> class="current"<?php endif; ?>><a href="<?php echo trailingslashit( $bp->displayed_user->domain . $bp->blogs->slug . '/recent-posts' ); ?>"><?php printf( __( "%s's Recent Posts", 'buddypress' ), $bp->displayed_user->fullname ); ?></a></li>
    557556                <li<?php if ( 'recent-comments' == $current_tab ) : ?> class="current"<?php endif; ?>><a href="<?php echo trailingslashit( $bp->displayed_user->domain . $bp->blogs->slug . '/recent-comments' );?>"><?php printf( __( "%s's Recent Comments", 'buddypress' ), $bp->displayed_user->fullname ); ?></a></li>
     
    603602                        'link_href'         => bp_get_blog_permalink(),
    604603                        'link_class'        => 'blog-button visit',
    605                         'link_text'         => __( 'Visit Blog', 'buddypress' ),
    606                         'link_title'        => __( 'Visit Blog', 'buddypress' ),
     604                        'link_text'         => __( 'Visit Site', 'buddypress' ),
     605                        'link_title'        => __( 'Visit Site', 'buddypress' ),
    607606                );
    608607
Note: See TracChangeset for help on using the changeset viewer.