Skip to:
Content

BuddyPress.org

Changeset 1138


Ignore:
Timestamp:
02/25/2009 03:53:13 AM (16 years ago)
Author:
apeatling
Message:

Fixes #488 and a large number of localization issues.

Location:
trunk
Files:
1 deleted
36 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/feeds/bp-activity-friends-feed.php

    r1052 r1138  
    2323    <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
    2424    <link><?php $bp->displayed_user->domain . '/' . $bp->activity->slug . '/my-friends/feed' ?></link>
    25     <description><?php _e( sprintf( '%s - Friends Activity Feed', $bp->displayed_user->fullname ), 'buddypress' ) ?></description>
     25    <description><?php printf( __( '%s - Friends Activity Feed', 'buddypress' ), $bp->displayed_user->fullname ) ?></description>
    2626    <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_activity_get_last_updated(), false); ?></pubDate>
    2727    <generator>http://buddypress.org/?bp-activity-version=<?php echo BP_ACTIVITY_VERSION ?></generator>
  • trunk/bp-activity/feeds/bp-activity-personal-feed.php

    r1052 r1138  
    2222    <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
    2323    <link><?php echo $bp->displayed_user->domain . $bp->activity->slug . '/feed' ?></link>
    24     <description><?php _e( sprintf( '%s - Activity Feed', $bp->displayed_user->fullname ), 'buddypress' ) ?></description>
     24    <description><?php printf( __( '%s - Activity Feed', 'buddypress' ), $bp->displayed_user->fullname ) ?></description>
    2525    <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_activity_get_last_updated(), false); ?></pubDate>
    2626    <generator>http://buddypress.org/?bp-activity-version=<?php echo BP_ACTIVITY_VERSION ?></generator>
  • trunk/bp-blogs/bp-blogs-ajax.php

    r1052 r1138  
    4646            <li>
    4747                <div class="item-avatar">
    48                     <img src="<?php echo 'http://www.gravatar.com/avatar/' . md5( $blog->blog_id . '.blogs@' . $bp->root_domain ) . '?d=identicon&amp;s=50'; ?>" class="avatar" alt="Blog Identicon" />
     48                    <img src="<?php echo 'http://www.gravatar.com/avatar/' . md5( $blog->blog_id . '.blogs@' . $bp->root_domain ) . '?d=identicon&amp;s=50'; ?>" class="avatar" alt="<?php _e( 'Blog Identicon', 'buddypress' ) ?>" />
    4949                </div>
    5050
    5151                <div class="item">
    5252                    <div class="item-title"><a href="<?php echo get_blog_option( $blog->blog_id, 'siteurl' ) ?>" title="<?php echo get_blog_option( $blog->blog_id, 'blogname' ) ?>"><?php echo get_blog_option( $blog->blog_id, 'blogname' ) ?></a></div>
    53                     <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( bp_blogs_get_blogmeta( $blog->blog_id, 'last_activity' ), __('active %s ago') ) ?></span></div>
     53                    <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( bp_blogs_get_blogmeta( $blog->blog_id, 'last_activity' ), __( 'active %s ago', 'buddypress' ) ) ?></span></div>
    5454                </div>
    5555               
    5656                <div class="action">
    5757                    <div class="blog-button visit">
    58                         <a href="<?php echo get_blog_option( $blog->blog_id, 'siteurl' ) ?>" class="visit" title="Visit <?php echo get_blog_option( $blog->blog_id, 'blogname' ) ?>"><?php _e( 'Visit Blog', 'buddypress' ) ?></a>
     58                        <a href="<?php echo get_blog_option( $blog->blog_id, 'siteurl' ) ?>" class="visit" title="<?php printf( __( 'Visit %s', 'buddypress' ), get_blog_option( $blog->blog_id, 'blogname' ) ) ?>"><?php _e( 'Visit Blog', 'buddypress' ) ?></a>
    5959                    </div>
    6060                    <div class="meta">
    6161                        <?php
    6262                            if ( $post = bp_blogs_get_latest_posts( $blog->blog_id, 1 ) ) {
    63                                 _e( sprintf( 'Latest Post: %s', '<a href="' . bp_post_get_permalink( $post[0], $blog->blog_id ) . '">' . apply_filters( 'the_title', $post[0]->post_title ) . '</a>' ), 'buddypress' );
     63                                printf( __( 'Latest Post: %s', 'buddypress' ), '<a href="' . bp_post_get_permalink( $post[0], $blog->blog_id ) . '">' . apply_filters( 'the_title', $post[0]->post_title ) . '</a>' );
    6464                            }
    6565                        ?>
  • trunk/bp-blogs/directories/bp-blogs-directory-blogs.php

    r1136 r1138  
    104104                <li>
    105105                    <div class="item-avatar">
    106                         <img src="<?php echo 'http://www.gravatar.com/avatar/' . md5( $blog->blog_id . '.blogs@' . $bp->root_domain ) . '?d=identicon&amp;s=50'; ?>" class="avatar" alt="Blog Identicon" />
     106                        <img src="<?php echo 'http://www.gravatar.com/avatar/' . md5( $blog->blog_id . '.blogs@' . $bp->root_domain ) . '?d=identicon&amp;s=50'; ?>" class="avatar" alt="<?php _e( 'Blog Identicon', 'buddypress' ) ?>" />
    107107                    </div>
    108108
    109109                    <div class="item">
    110110                        <div class="item-title"><a href="<?php echo get_blog_option( $blog->blog_id, 'siteurl' ) ?>" title="<?php echo get_blog_option( $blog->blog_id, 'blogname' ) ?>"><?php echo get_blog_option( $blog->blog_id, 'blogname' ) ?></a></div>
    111                         <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( bp_blogs_get_blogmeta( $blog->blog_id, 'last_activity' ), __('active %s ago') ) ?></span></div>
     111                        <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( bp_blogs_get_blogmeta( $blog->blog_id, 'last_activity' ), __( 'active %s ago', 'buddypress' ) ) ?></span></div>
    112112                       
    113113                        <?php do_action( 'bp_blogs_directory_blogs_content', $blog ) ?>
     
    116116                    <div class="action">
    117117                        <div class="blog-button visit">
    118                             <a href="<?php echo get_blog_option( $blog->blog_id, 'siteurl' ) ?>" class="visit" title="Visit <?php echo get_blog_option( $blog->blog_id, 'blogname' ) ?>"><?php _e( 'Visit Blog', 'buddypress' ) ?></a>
     118                            <a href="<?php echo get_blog_option( $blog->blog_id, 'siteurl' ) ?>" class="visit" title="<?php printf( __( 'Visit %s', 'buddypress'), get_blog_option( $blog->blog_id, 'blogname' ) ) ?>"><?php _e( 'Visit Blog', 'buddypress' ) ?></a>
    119119                        </div>
    120120                        <div class="meta">
    121121                            <?php
    122122                                if ( $post = bp_blogs_get_latest_posts( $blog->blog_id, 1 ) ) {
    123                                     _e( sprintf( 'Latest Post: %s', '<a href="' . bp_post_get_permalink( $post[0], $blog->blog_id ) . '">' . apply_filters( 'the_title', $post[0]->post_title ) . '</a>' ), 'buddypress' );
     123                                    printf( __( 'Latest Post: %s', 'buddypress' ), '<a href="' . bp_post_get_permalink( $post[0], $blog->blog_id ) . '">' . apply_filters( 'the_title', $post[0]->post_title ) . '</a>' );
    124124                                }
    125125                            ?>
     
    182182                        <div class="item">
    183183                            <div class="item-title"><a href="<?php echo get_blog_option( $blog->blog_id, 'siteurl' ) ?>" title="<?php echo get_blog_option( $blog->blog_id, 'blogname' ) ?>"><?php echo get_blog_option( $blog->blog_id, 'blogname' ) ?></a></div>
    184                             <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( bp_blogs_get_blogmeta( $blog->blog_id, 'last_activity' ), __('active %s ago') ) ?></span></div>
     184                            <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( bp_blogs_get_blogmeta( $blog->blog_id, 'last_activity' ), __( 'active %s ago', 'buddypress' ) ) ?></span></div>
    185185                       
    186186                            <div class="item-title blog-data">
  • trunk/bp-core/bp-core-activation.php

    r1065 r1138  
    105105    $from_name = ( '' == get_site_option( "site_name" ) ) ? 'WordPress' : wp_specialchars( get_site_option( "site_name" ) );
    106106    $message_headers = "MIME-Version: 1.0\n" . "From: \"{$from_name}\" <{$admin_email}>\n" . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n";
    107     $message = sprintf(__("To activate your blog, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login.\n\nAfter you activate, you can visit your blog here:\n\n%s", 'buddypress' ), $activate_url, clean_url("http://{$domain}{$path}"));
     107    $message = sprintf(__("To activate your blog, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login.\n\nAfter you activate, you can visit your blog here:\n\n%s", 'buddypress' ), $activate_url, clean_url("http://{$domain}{$path}" ) );
    108108    $subject = '[' . $from_name . '] ' . sprintf(__('Activate %s', 'buddypress' ), clean_url('http://' . $domain . $path));
    109109   
     
    126126    $from_name = ( '' == get_site_option( "site_name" ) ) ? 'WordPress' : wp_specialchars( get_site_option( "site_name" ) );
    127127    $message_headers = "MIME-Version: 1.0\n" . "From: \"{$from_name}\" <{$admin_email}>\n" . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n";
    128     $message = sprintf(__( apply_filters( 'wpmu_signup_user_notification_email', "To activate your user, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login.\n\n" ) ), clean_url( bp_activation_page( false ) . "?key=$key") );
    129     $subject = sprintf(__( apply_filters( 'wpmu_signup_user_notification_subject', 'Activate %s' )), $user);
     128    $message = apply_filters( 'wpmu_signup_user_notification_email', sprintf( __( "To activate your user, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login.\n\n", 'buddypress' ), clean_url( bp_activation_page( false ) . "?key=$key" ) ) );
     129    $subject = apply_filters( 'wpmu_signup_user_notification_subject', sprintf( __(  'Activate %s', 'buddypress' ), $user ) );
    130130
    131     wp_mail($user_email, $subject, $message, $message_headers);
     131    wp_mail( $user_email, $subject, $message, $message_headers );
    132132   
    133133    // Return false to stop the original WPMU function from continuing
  • trunk/bp-core/bp-core-admin.php

    r1052 r1138  
    3838                <?php if ( function_exists( 'xprofile_install' ) ) :?>
    3939                <tr>
    40                     <th scope="row"><?php _e('Base profile group name', 'buddypress') ?>:</th>
     40                    <th scope="row"><?php _e( 'Base profile group name', 'buddypress' ) ?>:</th>
    4141                    <td>
    4242                        <input name="bp-admin[bp-xprofile-base-group-name]" id="bp-xprofile-base-group-name" value="<?php echo get_site_option('bp-xprofile-base-group-name') ?>" />
     
    4444                </tr>
    4545                <tr>
    46                     <th scope="row"><?php _e('Full Name field name', 'buddypress') ?>:</th>
     46                    <th scope="row"><?php _e( 'Full Name field name', 'buddypress' ) ?>:</th>
    4747                    <td>
    4848                        <input name="bp-admin[bp-xprofile-fullname-field-name]" id="bp-xprofile-fullname-field-name" value="<?php echo get_site_option('bp-xprofile-fullname-field-name') ?>" />
     
    5151                <?php endif; ?>
    5252                <tr>
    53                     <th scope="row"><?php _e('Show admin bar for logged out users', 'buddypress') ?>:</th>
     53                    <th scope="row"><?php _e( 'Show admin bar for logged out users', 'buddypress' ) ?>:</th>
    5454                    <td>
    55                         <input type="radio" name="bp-admin[show-loggedout-adminbar]"<?php if ( (int)get_site_option( 'show-loggedout-adminbar' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-show-loggedout-adminbar-yes" value="1" /> Yes &nbsp;
    56                         <input type="radio" name="bp-admin[show-loggedout-adminbar]"<?php if ( !(int)get_site_option( 'show-loggedout-adminbar' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-show-loggedout-adminbar-no" value="0" /> No
     55                        <input type="radio" name="bp-admin[show-loggedout-adminbar]"<?php if ( (int)get_site_option( 'show-loggedout-adminbar' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-show-loggedout-adminbar-yes" value="1" /> <?php _e( 'Yes', 'buddypress' ) ?> &nbsp;
     56                        <input type="radio" name="bp-admin[show-loggedout-adminbar]"<?php if ( !(int)get_site_option( 'show-loggedout-adminbar' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-show-loggedout-adminbar-no" value="0" /> <?php _e( 'No', 'buddypress' ) ?>
    5757                    </td>           
    5858                </tr>
    5959                <?php if ( function_exists('bp_wire_install') ) { ?>
    6060                <tr>
    61                     <th scope="row"><?php _e('Allow non-friends to post on profile wires', 'buddypress') ?>:</th>
     61                    <th scope="row"><?php _e( 'Allow non-friends to post on profile wires', 'buddypress' ) ?>:</th>
    6262                    <td>
    63                         <input type="radio" name="bp-admin[non-friend-wire-posting]"<?php if ( (int)get_site_option( 'non-friend-wire-posting' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-non-friend-wire-post" value="1" /> Yes &nbsp;
    64                         <input type="radio" name="bp-admin[non-friend-wire-posting]"<?php if ( !(int)get_site_option( 'non-friend-wire-posting' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-non-friend-wire-post" value="0" /> No
     63                        <input type="radio" name="bp-admin[non-friend-wire-posting]"<?php if ( (int)get_site_option( 'non-friend-wire-posting' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-non-friend-wire-post" value="1" /> <?php _e( 'Yes', 'buddypress' ) ?> &nbsp;
     64                        <input type="radio" name="bp-admin[non-friend-wire-posting]"<?php if ( !(int)get_site_option( 'non-friend-wire-posting' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-non-friend-wire-post" value="0" /> <?php _e( 'No', 'buddypress' ) ?>
    6565                    </td>           
    6666                </tr>
    6767                <?php } ?>
    6868                <tr>
    69                     <th scope="row"><?php _e('Select theme to use for member pages', 'buddypress') ?>:</th>
     69                    <th scope="row"><?php _e('Select theme to use for member pages', 'buddypress' ) ?>:</th>
    7070                    <td>
    7171                        <select name="bp-admin[active-member-theme]" id="active-member-theme">
  • trunk/bp-core/bp-core-ajax.php

    r1052 r1138  
    110110                <div class="item">
    111111                    <div class="item-title"><?php echo bp_core_get_userlink( $user->user_id ) ?></div>
    112                     <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( get_usermeta( $user->user_id, 'last_activity' ), __('active %s ago') ) ?></span></div>
     112                    <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( get_usermeta( $user->user_id, 'last_activity' ), __( 'active %s ago', 'buddypress' ) ) ?></span></div>
    113113                </div>
    114114               
  • trunk/bp-core/bp-core-avatars.php

    r1052 r1138  
    128128
    129129        if ( !bp_core_check_avatar_upload($_FILES) )
    130             bp_core_ap_die( 'Your upload failed, please try again. Error was: ' . $uploadErrors[$_FILES['file']['error']] );
     130            bp_core_ap_die( sprintf( __( 'Your upload failed, please try again. Error was: %s', 'buddypress' ), $uploadErrors[$_FILES['file']['error']] ) );
    131131       
    132132        if ( !bp_core_check_avatar_size($_FILES) )
    133             bp_core_ap_die( 'The file you uploaded is too big. Please upload a file under ' . size_format(CORE_MAX_FILE_SIZE) );
     133            bp_core_ap_die( sprintf( __( 'The file you uploaded is too big. Please upload a file under %s', 'buddypress'), size_format(CORE_MAX_FILE_SIZE) ) );
    134134
    135135        if ( !bp_core_check_avatar_type($_FILES) )
    136             bp_core_ap_die( 'Please upload only JPG, GIF or PNG photos.' );
     136            bp_core_ap_die( __( 'Please upload only JPG, GIF or PNG photos.', 'buddypress' ) );
    137137       
    138138        // "Handle" upload into temporary location
    139139        if ( !$original = bp_core_handle_avatar_upload($_FILES) )
    140             bp_core_ap_die( 'Upload Failed! Error was: ' . $wp_upload_error );
     140            bp_core_ap_die( sprintf( __( 'Upload Failed! Error was: %s', 'buddypress' ), $wp_upload_error ) );
    141141       
    142142        // Resize down to something we can display on the page or use original if its small enough already.
     
    152152        // Confirm that the nonce is valid
    153153        if ( !isset($_POST['nonce']) || !wp_verify_nonce($_POST['nonce'], 'slick_avatars') )
    154             bp_core_ap_die( 'Security error.' );
     154            bp_core_ap_die( __( 'Security error.', 'buddypress' ) );
    155155       
    156156        if ( !bp_core_check_crop( $_POST['orig'], $_POST['canvas'] ) )
    157             bp_core_ap_die('Error when cropping, please go back and try again');
     157            bp_core_ap_die( __( 'Error when cropping, please go back and try again', 'buddypress' ) );
    158158       
    159159        if ( !$result = bp_core_avatar_cropstore( stripslashes($_POST['orig']), $_POST['canvas'], $_POST['v1_x1'], $_POST['v1_y1'], $_POST['v1_w'], $_POST['v1_h'], $_POST['v2_x1'], $_POST['v2_y1'], $_POST['v2_w'], $_POST['v2_h'] ) )
    160             bp_core_ap_die('Error when saving avatars, please go back and try again.');
     160            bp_core_ap_die( __( 'Error when saving avatars, please go back and try again.', 'buddypress' ) );
    161161       
    162162        // Store details to the DB and we're done       
  • trunk/bp-core/bp-core-classes.php

    r1082 r1138  
    6565        $this->fullname = bp_core_get_userlink( $this->id, true );
    6666        $this->email = bp_core_get_user_email( $this->id );
    67         $this->last_active = bp_core_get_last_activity( get_usermeta( $this->id, 'last_activity' ), __('active %s ago') );
     67        $this->last_active = bp_core_get_last_activity( get_usermeta( $this->id, 'last_activity' ), __( 'active %s ago', 'buddypress' ) );
    6868       
    6969        if ( function_exists('xprofile_install') ) {
  • trunk/bp-core/bp-core-signup.php

    r1052 r1138  
    339339    <p>&nbsp;</p>
    340340   
    341     <h3><?php _e('Still waiting for your email?'); ?></h3>
     341    <h3><?php _e( 'Still waiting for your email?', 'buddypress' ); ?></h3>
    342342    <p>
    343         <?php _e("If you haven't received your email yet, there are a number of things you can do:") ?>
     343        <?php _e( "If you haven't received your email yet, there are a number of things you can do:", 'buddypress' ) ?>
    344344        <ul>
    345             <li><p><strong><?php _e('Wait a little longer.  Sometimes delivery of email can be delayed by processes outside of our control.', 'buddypress' ) ?></strong></p></li>
    346             <li><p><?php _e('Check the junk email or spam folder of your email client.  Sometime emails wind up there by mistake.', 'buddypress' ) ?></p></li>
    347             <li><?php printf(__("Have you entered your email correctly?  We think it's %s but if you've entered it incorrectly, you won't receive it.", 'buddypress' ), $user_email) ?></li>
     345            <li><p><strong><?php _e( 'Wait a little longer.  Sometimes delivery of email can be delayed by processes outside of our control.', 'buddypress' ) ?></strong></p></li>
     346            <li><p><?php _e( 'Check the junk email or spam folder of your email client.  Sometime emails wind up there by mistake.', 'buddypress' ) ?></p></li>
     347            <li><?php printf( __( "Have you entered your email correctly?  We think it's %s but if you've entered it incorrectly, you won't receive it.", 'buddypress' ), $user_email) ?></li>
    348348        </ul>
    349349    </p>
  • trunk/bp-core/bp-core-widgets.php

    r1057 r1138  
    9494    <?php if ( $users['users'] ) : ?>
    9595        <div class="item-options" id="members-list-options">
    96             <img id="ajax-loader-members" src="<?php echo $bp->core->image_base ?>/ajax-loader.gif" height="7" alt="Loading" style="display: none;" /> &nbsp;
    97             <a href="<?php echo site_url() . '/' . MEMBERS_SLUG ?>" id="newest-members" class="selected"><?php _e("Newest", 'buddypress') ?></a> |
    98             <a href="<?php echo site_url() . '/' . MEMBERS_SLUG ?>" id="recently-active-members"><?php _e("Active", 'buddypress') ?></a> |
    99             <a href="<?php echo site_url() . '/' . MEMBERS_SLUG ?>" id="popular-members"><?php _e("Popular", 'buddypress') ?></a>
     96            <img id="ajax-loader-members" src="<?php echo $bp->core->image_base ?>/ajax-loader.gif" height="7" alt="<?php _e( 'Loading', 'buddypress' ) ?>" style="display: none;" /> &nbsp;
     97            <a href="<?php echo site_url() . '/' . MEMBERS_SLUG ?>" id="newest-members" class="selected"><?php _e( 'Newest', 'buddypress' ) ?></a> |
     98            <a href="<?php echo site_url() . '/' . MEMBERS_SLUG ?>" id="recently-active-members"><?php _e( 'Active', 'buddypress' ) ?></a> |
     99            <a href="<?php echo site_url() . '/' . MEMBERS_SLUG ?>" id="popular-members"><?php _e( 'Popular', 'buddypress' ) ?></a>
    100100        </div>
    101101        <ul id="members-list" class="item-list">
     
    108108                    <div class="item">
    109109                        <div class="item-title fn"><?php echo bp_core_get_userlink( $user->user_id ) ?></div>
    110                         <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( $user->user_registered, __('registered %s ago', 'buddypress') ) ?></span></div>
     110                        <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( $user->user_registered, __( 'registered %s ago', 'buddypress' ) ) ?></span></div>
    111111                    </div>
    112112                </li>
  • trunk/bp-core/directories/bp-core-directory-members.php

    r1136 r1138  
    176176                    <div class="item">
    177177                        <div class="item-title"><?php echo bp_core_get_userlink( $user->user_id ) ?></div>
    178                         <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( get_usermeta( $user->user_id, 'last_activity' ), __('active %s ago') ) ?></span></div>
     178                        <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( get_usermeta( $user->user_id, 'last_activity' ), __( 'active %s ago', 'buddypress' ) ) ?></span></div>
    179179                   
    180180                        <?php if ( function_exists( 'xprofile_get_random_profile_data' ) ) { ?>
  • trunk/bp-forums/bp-forums-bbpress-live.php

    r1052 r1138  
    1818        $widget_options = array(
    1919            'classname' => 'bbpress_live_widget_forums',
    20             'description' => __('Forum lists from your bbPress forums')
     20            'description' => __( 'Forum lists from your bbPress forums', 'buddypress' )
    2121        );
    2222
     
    219219        $widget_options = array(
    220220            'classname' => 'bbpress_live_widget_topics',
    221             'description' => __('The latest topics from your bbPress forums')
     221            'description' => __( 'The latest topics from your bbPress forums', 'buddypress' )
    222222        );
    223223
  • trunk/bp-friends/bp-friends-templatetags.php

    r1090 r1138  
    270270    <form action="<?php echo $action ?>" id="friend-search-form" method="post">
    271271
    272         <label for="friend-search-box" id="friend-search-label"><?php echo $label ?> <img id="ajax-loader" src="<?php echo $bp->friends->image_base ?>/ajax-loader.gif" height="7" alt="Loading" style="display: none;" /></label>
     272        <label for="friend-search-box" id="friend-search-label"><?php echo $label ?> <img id="ajax-loader" src="<?php echo $bp->friends->image_base ?>/ajax-loader.gif" height="7" alt="<?php _e( 'Loading', 'buddypress' ) ?>" style="display: none;" /></label>
    273273        <input type="search" name="friend-search-box" id="friend-search-box" value="<?php echo $value ?>"<?php echo $disabled ?> />
    274274       
  • trunk/bp-groups.php

    r1128 r1138  
    15371537        $group_desc = $group_obj->description;
    15381538   
    1539     $forum = bp_forums_new_forum( apply_filters( 'groups_new_group_forum_name', $group_name . ' - Forum', $group_name ), apply_filters( 'groups_new_group_forum_desc', $group_desc ) );
     1539    $forum = bp_forums_new_forum( apply_filters( 'groups_new_group_forum_name', $group_name . ' - ' . __( 'Forum', 'buddypress' ), $group_name ), apply_filters( 'groups_new_group_forum_desc', $group_desc ) );
    15401540   
    15411541    groups_update_groupmeta( $group_id, 'forum_id', $forum['forum_id'] );
  • trunk/bp-groups/bp-groups-admin.php

    r1052 r1138  
    3535        <form id="wpmu-search" method="post" action="<?php $_SERVER['PHP_SELF'] ?>">
    3636            <input type="text" size="17" value="<?php echo $_REQUEST['s'] ?>" name="s" />
    37             <input id="post-query-submit" class="button" type="submit" value="Search Groups"/>
     37            <input id="post-query-submit" class="button" type="submit" value="<?php _e( 'Search Groups', 'buddypress' ) ?>" />
    3838        </form>
    3939       
     
    4545                    </div>
    4646                    <div class="alignleft">
    47                         <input class="button-secondary delete" type="submit" name="groups_admin_delete" value="Delete" onclick="if ( !confirm('<?php _e( 'Are you sure?', 'buddypress' ) ?>') ) return false"/>
     47                        <input class="button-secondary delete" type="submit" name="groups_admin_delete" value="<?php _e( 'Delete', 'buddypress' ) ?>" onclick="if ( !confirm('<?php _e( 'Are you sure?', 'buddypress' ) ?>') ) return false"/>
    4848                        <?php wp_nonce_field('bp-groups-admin') ?>
    4949                        <br class="clear"/>
  • trunk/bp-groups/bp-groups-ajax.php

    r1069 r1138  
    174174                    <?php bp_group_member_avatar_mini() ?>
    175175
    176                     <h5><?php bp_group_member_link() ?> (banned) <span class="small"> &mdash; <a href="<?php bp_group_member_unban_link() ?>" title="Kick and ban this member">Remove Ban</a> </h5>
     176                    <h5><?php bp_group_member_link() ?> <?php _e( '(banned)', 'buddypress' ) ?> <span class="small"> &mdash; <a href="<?php bp_group_member_unban_link() ?>" title="<?php _e( 'Kick and ban this member', 'buddypress' ) ?>"><?php _e( 'Remove Ban', 'buddypress' ) ?></a> </h5>
    177177            <?php else : ?>
    178178                <li>
    179179                    <?php bp_group_member_avatar_mini() ?>
    180                     <h5><?php bp_group_member_link() ?>  <span class="small"> &mdash; <a href="<?php bp_group_member_ban_link() ?>" title="Kick and ban this member">Kick &amp; Ban</a> | <a href="<?php bp_group_member_promote_link() ?>" title="Promote this member">Promote to Moderator</a></span></h5>
     180                    <h5><?php bp_group_member_link() ?>  <span class="small"> &mdash; <a href="<?php bp_group_member_ban_link() ?>" title="<?php _e( 'Kick and ban this member', 'buddypress' ) ?>"><?php _e( 'Kick &amp; Ban', 'buddypress' ) ?></a> | <a href="<?php bp_group_member_promote_link() ?>" title="<?php _e( 'Promote this member', 'buddypress' ) ?>"><?php _e( 'Promote to Moderator', 'buddypress' ) ?></a></span></h5>
    181181
    182182            <?php endif; ?>
     
    243243            <li>
    244244                <div class="item-avatar">
    245                     <img src="<?php echo $group->avatar_thumb ?>" class="avatar" alt="<?php echo $group->name ?> Avatar" />
     245                    <img src="<?php echo $group->avatar_thumb ?>" class="avatar" alt="<?php echo $group->name ?> <?php _e( 'Avatar', 'buddypress' ) ?>" />
    246246                </div>
    247247
    248248                <div class="item">
    249249                    <div class="item-title"><a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><?php echo $group->name ?></a></div>
    250                     <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, 'last_activity' ), __('active %s ago') ) ?></span></div>
     250                    <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, 'last_activity' ), __( 'active %s ago', 'buddypress' ) ) ?></span></div>
    251251                    <div class="item-meta desc"><?php echo bp_create_excerpt( $group->description ) ?></div>
    252252                </div>
     
    258258                        <?php echo ucwords($group->status) ?> <?php _e( 'Group', 'buddypress' ) ?> /
    259259                        <?php if ( 1 == $member_count ) : ?>
    260                             <?php _e( sprintf( '%d member', $member_count ), 'buddypress' ) ?>
     260                            <?php printf( __( '%d member', 'buddypress' ), $member_count ) ?>
    261261                        <?php else : ?>
    262                             <?php _e( sprintf( '%d members', $member_count ), 'buddypress' ) ?>
     262                            <?php _e( '%d members', 'buddypress' ) ?>
    263263                        <?php endif; ?>
    264264                    </div>
  • trunk/bp-groups/bp-groups-templatetags.php

    r1137 r1138  
    492492?>
    493493    <form action="<?php echo $action ?>" id="group-search-form" method="post">
    494         <label for="<?php echo $name ?>" id="<?php echo $name ?>-label"><?php echo $label ?> <img id="ajax-loader" src="<?php echo $bp->groups->image_base ?>/ajax-loader.gif" height="7" alt="Loading" style="display: none;" /></label>
     494        <label for="<?php echo $name ?>" id="<?php echo $name ?>-label"><?php echo $label ?> <img id="ajax-loader" src="<?php echo $bp->groups->image_base ?>/ajax-loader.gif" height="7" alt="<?php _e( 'Loading', 'buddypress' ) ?>" style="display: none;" /></label>
    495495        <input type="search" name="<?php echo $name ?>" id="<?php echo $name ?>" value="<?php echo $value ?>"<?php echo $disabled ?> />
    496496        <?php if ( function_exists('wp_nonce_field') )
     
    10901090?>
    10911091    <div class="left-menu">
    1092         <h4><?php _e( 'Select Friends', 'buddypress' ) ?> <img id="ajax-loader" src="<?php echo $bp->groups->image_base ?>/ajax-loader.gif" height="7" alt="Loading" style="display: none;" /></h4>
     1092        <h4><?php _e( 'Select Friends', 'buddypress' ) ?> <img id="ajax-loader" src="<?php echo $bp->groups->image_base ?>/ajax-loader.gif" height="7" alt="<?php _e( 'Loading', 'buddypress' ) ?>" style="display: none;" /></h4>
    10931093        <?php bp_group_list_invite_friends() ?>
    10941094        <?php wp_nonce_field( 'groups_invite_uninvite_user', '_wpnonce_invite_uninvite_user' ) ?>
     
    11281128   
    11291129    if ( $group_obj->avatar_full ) { ?>
    1130         <img src="<?php echo $group_obj->avatar_full ?>" alt="Group Avatar" class="avatar" />
     1130        <img src="<?php echo $group_obj->avatar_full ?>" alt="<?php _e( 'Group Avatar', 'buddypress' ) ?>" class="avatar" />
    11311131    <?php } else { ?>
    1132         <img src="<?php echo $bp->groups->image_base . '/none.gif' ?>" alt="No Group Avatar" class="avatar" />
     1132        <img src="<?php echo $bp->groups->image_base . '/none.gif' ?>" alt="<?php _e( 'No Group Avatar', 'buddypress' ) ?>" class="avatar" />
    11331133    <?php }
    11341134}
     
    12161216            <li>
    12171217                <div class="item-avatar">
    1218                     <a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><img src="<?php echo $group->avatar_thumb ?>" class="avatar" alt="<?php echo $group->name ?> Avatar" /></a>
     1218                    <a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><img src="<?php echo $group->avatar_thumb ?>" class="avatar" alt="<?php printf( __( '%s Avatar', 'buddypress' ), $group->name ) ?>" /></a>
    12191219                </div>
    12201220
    12211221                <div class="item">
    12221222                    <div class="item-title"><a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><?php echo $group->name ?></a></div>
    1223                     <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, 'last_activity' ), __('active %s ago') ) ?></span></div>
     1223                    <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, 'last_activity' ), __( 'active %s ago', 'buddypress' ) ) ?></span></div>
    12241224                    <div class="item-meta desc"><?php echo bp_create_excerpt( $group->description ) ?></div>
    12251225                </div>
     
    12311231                        <?php echo ucwords($group->status) ?> <?php _e( 'Group', 'buddypress' ) ?> /
    12321232                        <?php if ( 1 == $member_count ) : ?>
    1233                             <?php _e( sprintf( '%d member', $member_count ), 'buddypress' ) ?>
     1233                            <?php printf( __( '%d member', 'buddypress' ), $member_count ) ?>
    12341234                        <?php else : ?>
    1235                             <?php _e( sprintf( '%d members', $member_count ), 'buddypress' ) ?>
     1235                            <?php printf( __( '%d members', 'buddypress' ), $member_count ) ?>
    12361236                        <?php endif; ?>
    12371237                    </div>
     
    12621262                <?php $group = new BP_Groups_Group( $group_ids[$i], false, false ); ?>
    12631263                <li>
    1264                     <a href="<?php echo bp_group_permalink( $group, false ) ?>"><img src="<?php echo $group->avatar_thumb; ?>" class="avatar" alt="Group Avatar" /></a>
     1264                    <a href="<?php echo bp_group_permalink( $group, false ) ?>"><img src="<?php echo $group->avatar_thumb; ?>" class="avatar" alt="<?php _e( 'Group Avatar', 'buddypress' ) ?>" /></a>
    12651265                    <h5><a href="<?php echo bp_group_permalink( $group, false ) ?>"><?php echo $group->name ?></a></h5>
    12661266                </li>
  • trunk/bp-groups/bp-groups-widgets.php

    r1052 r1138  
    3333    <?php if ( $groups['groups'] ) : ?>
    3434        <div class="item-options" id="groups-list-options">
    35             <img id="ajax-loader-groups" src="<?php echo $bp->groups->image_base ?>/ajax-loader.gif" height="7" alt="Loading" style="display: none;" /> &nbsp;
     35            <img id="ajax-loader-groups" src="<?php echo $bp->groups->image_base ?>/ajax-loader.gif" height="7" alt="<?php _e( 'Loading', 'buddypress' ) ?>" style="display: none;" /> &nbsp;
    3636            <a href="<?php echo site_url() . '/groups' ?>" id="newest-groups"><?php _e("Newest", 'buddypress') ?></a> |
    3737            <a href="<?php echo site_url() . '/groups' ?>" id="recently-active-groups"><?php _e("Active", 'buddypress') ?></a> |
  • trunk/bp-groups/directories/bp-groups-directory-groups.php

    r1136 r1138  
    104104                <li>
    105105                    <div class="item-avatar">
    106                         <a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><img src="<?php echo $group->avatar_thumb ?>" class="avatar" alt="<?php echo $group->name ?> Avatar" /></a>
     106                        <a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><img src="<?php echo $group->avatar_thumb ?>" class="avatar" alt="<?php printf( __( '%s Avatar', 'buddypress' ), $group->name ) ?>" /></a>
    107107                    </div>
    108108
    109109                    <div class="item">
    110110                        <div class="item-title"><a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><?php echo $group->name ?></a></div>
    111                         <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, 'last_activity' ), __('active %s ago') ) ?></span></div>
     111                        <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, 'last_activity' ), __( 'active %s ago', 'buddypress' ) ) ?></span></div>
    112112                        <div class="item-meta desc"><?php echo bp_create_excerpt( $group->description ) ?></div>
    113113                       
     
    164164        <form action="<?php echo site_url() . '/' . $bp->groups->slug  . '/search/' ?>" method="post" id="search-groups-form">
    165165            <label><input type="text" name="groups_search" id="groups_search" value="<?php if ( isset( $_GET['s'] ) ) { echo $_GET['s']; } else { _e('Search anything...', 'buddypress' ); } ?>"  onfocus="if (this.value == '<?php _e('Search anything...', 'buddypress' ) ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Search anything...', 'buddypress' ) ?>';}" /></label>
    166             <input type="submit" id="groups_search_submit" name="groups_search_submit" value="Search" />
     166            <input type="submit" id="groups_search_submit" name="groups_search_submit" value="<?php _e( 'Search', 'buddypress' ) ?>" />
    167167        </form>
    168168    </div>
     
    179179                    <li>
    180180                        <div class="item-avatar">
    181                             <a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><img src="<?php echo $group->avatar_thumb ?>" class="avatar" alt="<?php echo $group->name ?> Avatar" /></a>
     181                            <a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><img src="<?php echo $group->avatar_thumb ?>" class="avatar" alt="<?php printf( __( '%s Avatar', 'buddypress' ), $group->name ) ?>" /></a>
    182182                        </div>
    183183
    184184                        <div class="item">
    185185                            <div class="item-title"><a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><?php echo $group->name ?></a></div>
    186                             <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, 'last_activity' ), __('active %s ago') ) ?></span></div>
     186                            <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, 'last_activity' ), __( 'active %s ago', 'buddypress' ) ) ?></span></div>
    187187                       
    188188                            <div class="item-title group-data">
  • trunk/bp-messages.php

    r1128 r1138  
    295295    } else {
    296296        $bp->bp_options_nav[$bp->messages->slug]['view'] = array(
    297             'name' => __('From: ' . BP_Messages_Thread::get_last_sender($thread_id), 'buddypress'),
     297            'name' => sprintf( __( 'From: %s', 'buddypress'), BP_Messages_Thread::get_last_sender($thread_id) ),
    298298            'link' => $bp->loggedin_user->domain . $bp->messages->slug . '/'           
    299299        );
  • trunk/bp-wire/bp-wire-ajax.php

    r1052 r1138  
    88        <div id="wire-count" class="pag-count">
    99            <?php bp_wire_pagination_count() ?> &nbsp;
    10             <img id="ajax-loader" src="<?php bp_wire_ajax_loader_src() ?>" height="7" alt="Loading" style="display: none;" />
     10            <img id="ajax-loader" src="<?php bp_wire_ajax_loader_src() ?>" height="7" alt="<?php _e( 'Loading', 'buddypress' ) ?>" style="display: none;" />
    1111        </div>
    1212           
  • trunk/bp-xprofile.php

    r1128 r1138  
    599599    if ( 'new_wire_post' == $action ) {
    600600        if ( (int)$total_items > 1 ) {
    601             return apply_filters( 'bp_xprofile_multiple_new_wire_post_notification', '<a href="' . $bp->loggedin_user->domain . $bp->wire->slug . '" title="Wire">' . sprintf( __('You have %d new posts on your wire'), (int)$total_items ) . '</a>', $total_items );     
     601            return apply_filters( 'bp_xprofile_multiple_new_wire_post_notification', '<a href="' . $bp->loggedin_user->domain . $bp->wire->slug . '" title="' . __( 'Wire', 'buddypres' ) . '">' . sprintf( __('You have %d new posts on your wire'), (int)$total_items ) . '</a>', $total_items );     
    602602        } else {
    603603            $user_fullname = bp_core_global_user_fullname( $item_id );
    604             return apply_filters( 'bp_xprofile_single_new_wire_post_notification', '<a href="' . $bp->loggedin_user->domain . $bp->wire->slug . '" title="Wire">' . sprintf( __('%s posted on your wire'), $user_fullname ) . '</a>', $user_fullname );
     604            return apply_filters( 'bp_xprofile_single_new_wire_post_notification', '<a href="' . $bp->loggedin_user->domain . $bp->wire->slug . '" title="' . __( 'Wire', 'buddypres' ) . '">' . sprintf( __('%s posted on your wire'), $user_fullname ) . '</a>', $user_fullname );
    605605        }
    606606    }
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r1083 r1138  
    470470               
    471471                if ( !$this->is_required ) {
    472                     $html .= '<a class="clear-value" style="text-decoration: none;" href="javascript:clear(\'field_' . $this->id . '\');"><img src="' . $bp->profile->image_base . '/cross.gif" alt="Clear" /> Clear</a>';
     472                    $html .= '<a class="clear-value" style="text-decoration: none;" href="javascript:clear(\'field_' . $this->id . '\');"><img src="' . $bp->profile->image_base . '/cross.gif" alt="' . __( 'Clear', 'buddypress' ) . '" /> ' . __( 'Clear', 'buddypress' ) . '</a>';
    473473                }
    474474               
  • trunk/buddypress-theme/buddypress-home/archive.php

    r1052 r1138  
    3030
    3131            <div class="navigation">
    32                 <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    33                 <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
     32                <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     33                <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    3434            </div>
    3535
    3636            <?php while (have_posts()) : the_post(); ?>
    3737            <div class="post">
    38                     <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
     38                    <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ) ?> <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    3939                    <small><?php the_time('l, F jS, Y') ?></small>
    4040
     
    4343                    </div>
    4444
    45                     <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     45                    <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link( __( 'Edit', 'buddypress' ), '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    4646
    4747                </div>
     
    5050
    5151            <div class="navigation">
    52                 <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    53                 <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
     52                <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     53                <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    5454            </div>
    5555
  • trunk/buddypress-theme/buddypress-home/attachment.php

    r1052 r1138  
    1414                        <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p>
    1515
    16                         <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
     16                        <?php the_content( __('<p class="serif">Read the rest of this entry &raquo;</p>', 'buddypress' ) ); ?>
    1717
    18                         <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
     18                        <?php wp_link_pages( array( 'before' => __( '<p><strong>Pages:</strong> ', 'buddypress' ), 'after' => '</p>', 'next_or_number' => 'number')); ?>
    1919
    2020                    </div>
  • trunk/buddypress-theme/buddypress-home/comments-popup.php

    r1052 r1138  
    5858<form action="<?php echo site_url(); ?>/wp-comments-post.php" method="post" id="commentform">
    5959<?php if ( $user_ID ) : ?>
    60     <p><?php _e( 'Logged in as', 'buddypress' ) ?> <a href="<?php echo site_url(); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo site_url(); ?>/wp-login.php?action=logout" title="Log out of this account"><?php _e( 'Logout', 'buddypress' ) ?> &raquo;</a></p>
     60    <p><?php _e( 'Logged in as', 'buddypress' ) ?> <a href="<?php echo site_url(); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo site_url(); ?>/wp-login.php?action=logout" title="<?php _e( 'Log out of this account', 'buddypress' ) ?>"><?php _e( 'Logout', 'buddypress' ) ?> &raquo;</a></p>
    6161<?php else : ?>
    6262    <p>
     
    8585
    8686    <p>
    87       <input name="submit" type="submit" tabindex="5" value="Say It!" />
     87      <input name="submit" type="submit" tabindex="5" value="<?php _e( 'Say It!', 'buddypress' ) ?>" />
    8888    </p>
    8989    <?php do_action('comment_form', $post->ID); ?>
  • trunk/buddypress-theme/buddypress-home/comments.php

    r1052 r1138  
    7979<?php if ( $user_ID ) : ?>
    8080
    81 <p>Logged in as <a href="<?php echo site_url(); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo site_url(); ?>/wp-login.php?action=logout" title="Log out of this account"><?php _e( 'Logout', 'buddypress' ) ?> &raquo;</a></p>
     81<p><?php _e( 'Logged in as', 'buddypress' ) ?> <a href="<?php echo site_url(); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo site_url(); ?>/wp-login.php?action=logout" title="Log out of this account"><?php _e( 'Logout', 'buddypress' ) ?> &raquo;</a></p>
    8282
    8383<?php else : ?>
    8484
    8585<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
    86 <label for="author"><?php _e( 'Name', 'buddypress' ) ?> <?php if ($req) echo "(required)"; ?></label></p>
     86<label for="author"><?php _e( 'Name', 'buddypress' ) ?> <?php if ($req) _e( '(required)', 'buddypress' ); ?></label></p>
    8787
    8888<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
     
    9393
    9494<?php endif; ?>
    95 
    96 <!--<p><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></p>-->
    9795
    9896<p><textarea name="comment" id="comment" cols="38" rows="10" tabindex="4"></textarea></p>
  • trunk/buddypress-theme/buddypress-home/index.php

    r1052 r1138  
    99            <?php while (have_posts()) : the_post(); ?>
    1010                <div class="post" id="post-<?php the_ID(); ?>">
    11                     <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
     11                    <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ) ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    1212                    <p class="date"><?php the_time('F jS, Y') ?> <em>in <?php the_category(', ') ?> by <?php echo bp_core_get_userlink($post->post_author) ?></em></p>
    1313
    1414                    <div class="entry">
    15                         <?php the_content('Read the rest of this entry &raquo;'); ?>
     15                        <?php the_content( __( 'Read the rest of this entry &raquo;', 'buddypress' ) ); ?>
    1616                    </div>
    1717
     
    2424
    2525            <div class="navigation">
    26                 <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    27                 <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
     26                <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     27                <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    2828            </div>
    2929
  • trunk/buddypress-theme/buddypress-home/page.php

    r1052 r1138  
    88                <div class="post" id="post-<?php the_ID(); ?>">
    99                    <div class="entry">
    10                         <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
     10                        <?php the_content( __( '<p class="serif">Read the rest of this page &raquo;</p>', 'buddypress' ) ); ?>
    1111
    12                         <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
     12                        <?php wp_link_pages(array('before' => __( '<p><strong>Pages:</strong> ', 'buddypress' ), 'after' => '</p>', 'next_or_number' => 'number')); ?>
    1313
    1414                    </div>
     
    1616            </div>
    1717        <?php endwhile; endif; ?>
    18     <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
     18    <?php edit_post_link( __( 'Edit this entry.', 'buddypress' ), '<p>', '</p>'); ?>
    1919    </div>
    2020
  • trunk/buddypress-theme/buddypress-home/search.php

    r1052 r1138  
    1111
    1212                <div class="navigation">
    13                     <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    14                     <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
     13                    <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     14                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    1515                </div>
    1616
     
    1818
    1919                    <div class="post">
    20                         <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
     20                        <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ) ?> <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    2121                        <small><?php the_time('l, F jS, Y') ?></small>
    2222
    23                         <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     23                        <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link( __( 'Edit', 'buddypress' ), '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    2424                    </div>
    2525
     
    2727
    2828                <div class="navigation">
    29                     <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    30                     <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
     29                    <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     30                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    3131                </div>
    3232
  • trunk/buddypress-theme/buddypress-home/searchform.php

    r1052 r1138  
    11<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
    22<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
    3 <input type="submit" id="searchsubmit" value="Search" />
     3<input type="submit" id="searchsubmit" value="<?php _e( 'Search', 'buddypress' ) ?>" />
    44</div>
    55</form>
  • trunk/buddypress-theme/buddypress-home/single.php

    r1052 r1138  
    99           
    1010            <div class="item-options">
    11                 <div class="alignleft"><?php previous_post_link('&laquo; %link') ?> </div>
    12                 <div class="alignright"> <?php next_post_link('%link &raquo;') ?></div>
     11                <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     12                <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    1313            </div>
    1414
    1515            <div class="post" id="post-<?php the_ID(); ?>">
    16                 <h3><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h3>
     16                <h3><a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent link to', 'buddypress' ) ?> <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    1717
    1818                <div class="entry">
    19                     <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
     19                    <?php the_content( __( '<p class="serif">Read the rest of this entry &raquo;</p>', 'buddypress' ) ); ?>
    2020
    21                     <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
     21                    <?php wp_link_pages(array('before' => __( '<p><strong>Pages:</strong> ', 'buddypress' ), 'after' => '</p>', 'next_or_number' => 'number')); ?>
    2222
    2323
  • trunk/buddypress-theme/member-themes/buddypress-member/404.php

    r1052 r1138  
    22
    33<div class="content-header">
    4     Permission Denied
     4    <?php _e( 'Permission Denied', 'buddypress' ) ?>
    55</div>
    66
    77<div id="content">
    8     <h2>Not Found / No Access</h2>
    9     <p>The page you are looking for either does not exist, or you do not have the permissions to access it.</p>
     8    <h2><?php _e( 'Not Found / No Access', 'buddypress' ) ?></h2>
     9    <p><?php _e( 'The page you are looking for either does not exist, or you do not have the permissions to access it.', 'buddypress' ) ?></p>
    1010</div>
    1111
    12 
    1312<?php get_footer() ?>
  • trunk/buddypress-theme/member-themes/buddypress-member/blogs/create.php

    r1052 r1138  
    66
    77<div id="content">
    8     <h2>Create a Blog</h2>
     8    <h2><?php _e( 'Create a Blog', 'buddypress' ) ?></h2>
    99    <?php do_action( 'template_notices' ) // (error/success feedback) ?>
    1010
  • trunk/buddypress-theme/member-themes/buddypress-member/wire/post-form.php

    r1052 r1138  
    1818            <?php do_action( 'bp_wire_custom_wire_boxes_after' ) ?>
    1919           
    20             <input type="submit" name="wire-post-submit" id="wire-post-submit" value="Post &raquo;" />
     20            <input type="submit" name="wire-post-submit" id="wire-post-submit" value="<?php _e( 'Post &raquo;', 'buddypress' ) ?>" />
    2121           
    2222            <?php wp_nonce_field( 'bp_wire_post' ) ?>
Note: See TracChangeset for help on using the changeset viewer.