Changeset 1138
- Timestamp:
- 02/25/2009 03:53:13 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/feeds/bp-activity-friends-feed.php
r1052 r1138 23 23 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 24 24 <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> 26 26 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_activity_get_last_updated(), false); ?></pubDate> 27 27 <generator>http://buddypress.org/?bp-activity-version=<?php echo BP_ACTIVITY_VERSION ?></generator> -
trunk/bp-activity/feeds/bp-activity-personal-feed.php
r1052 r1138 22 22 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 23 23 <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> 25 25 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_activity_get_last_updated(), false); ?></pubDate> 26 26 <generator>http://buddypress.org/?bp-activity-version=<?php echo BP_ACTIVITY_VERSION ?></generator> -
trunk/bp-blogs/bp-blogs-ajax.php
r1052 r1138 46 46 <li> 47 47 <div class="item-avatar"> 48 <img src="<?php echo 'http://www.gravatar.com/avatar/' . md5( $blog->blog_id . '.blogs@' . $bp->root_domain ) . '?d=identicon&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&s=50'; ?>" class="avatar" alt="<?php _e( 'Blog Identicon', 'buddypress' ) ?>" /> 49 49 </div> 50 50 51 51 <div class="item"> 52 52 <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> 54 54 </div> 55 55 56 56 <div class="action"> 57 57 <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> 59 59 </div> 60 60 <div class="meta"> 61 61 <?php 62 62 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>' ); 64 64 } 65 65 ?> -
trunk/bp-blogs/directories/bp-blogs-directory-blogs.php
r1136 r1138 104 104 <li> 105 105 <div class="item-avatar"> 106 <img src="<?php echo 'http://www.gravatar.com/avatar/' . md5( $blog->blog_id . '.blogs@' . $bp->root_domain ) . '?d=identicon&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&s=50'; ?>" class="avatar" alt="<?php _e( 'Blog Identicon', 'buddypress' ) ?>" /> 107 107 </div> 108 108 109 109 <div class="item"> 110 110 <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> 112 112 113 113 <?php do_action( 'bp_blogs_directory_blogs_content', $blog ) ?> … … 116 116 <div class="action"> 117 117 <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> 119 119 </div> 120 120 <div class="meta"> 121 121 <?php 122 122 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>' ); 124 124 } 125 125 ?> … … 182 182 <div class="item"> 183 183 <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> 185 185 186 186 <div class="item-title blog-data"> -
trunk/bp-core/bp-core-activation.php
r1065 r1138 105 105 $from_name = ( '' == get_site_option( "site_name" ) ) ? 'WordPress' : wp_specialchars( get_site_option( "site_name" ) ); 106 106 $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}" ) ); 108 108 $subject = '[' . $from_name . '] ' . sprintf(__('Activate %s', 'buddypress' ), clean_url('http://' . $domain . $path)); 109 109 … … 126 126 $from_name = ( '' == get_site_option( "site_name" ) ) ? 'WordPress' : wp_specialchars( get_site_option( "site_name" ) ); 127 127 $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 ) ); 130 130 131 wp_mail( $user_email, $subject, $message, $message_headers);131 wp_mail( $user_email, $subject, $message, $message_headers ); 132 132 133 133 // Return false to stop the original WPMU function from continuing -
trunk/bp-core/bp-core-admin.php
r1052 r1138 38 38 <?php if ( function_exists( 'xprofile_install' ) ) :?> 39 39 <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> 41 41 <td> 42 42 <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') ?>" /> … … 44 44 </tr> 45 45 <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> 47 47 <td> 48 48 <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') ?>" /> … … 51 51 <?php endif; ?> 52 52 <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> 54 54 <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 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" /> No55 <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' ) ?> 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' ) ?> 57 57 </td> 58 58 </tr> 59 59 <?php if ( function_exists('bp_wire_install') ) { ?> 60 60 <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> 62 62 <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 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" /> No63 <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' ) ?> 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' ) ?> 65 65 </td> 66 66 </tr> 67 67 <?php } ?> 68 68 <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> 70 70 <td> 71 71 <select name="bp-admin[active-member-theme]" id="active-member-theme"> -
trunk/bp-core/bp-core-ajax.php
r1052 r1138 110 110 <div class="item"> 111 111 <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> 113 113 </div> 114 114 -
trunk/bp-core/bp-core-avatars.php
r1052 r1138 128 128 129 129 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']] ) ); 131 131 132 132 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) ) ); 134 134 135 135 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' ) ); 137 137 138 138 // "Handle" upload into temporary location 139 139 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 ) ); 141 141 142 142 // Resize down to something we can display on the page or use original if its small enough already. … … 152 152 // Confirm that the nonce is valid 153 153 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' ) ); 155 155 156 156 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' ) ); 158 158 159 159 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' ) ); 161 161 162 162 // Store details to the DB and we're done -
trunk/bp-core/bp-core-classes.php
r1082 r1138 65 65 $this->fullname = bp_core_get_userlink( $this->id, true ); 66 66 $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' ) ); 68 68 69 69 if ( function_exists('xprofile_install') ) { -
trunk/bp-core/bp-core-signup.php
r1052 r1138 339 339 <p> </p> 340 340 341 <h3><?php _e( 'Still waiting for your email?'); ?></h3>341 <h3><?php _e( 'Still waiting for your email?', 'buddypress' ); ?></h3> 342 342 <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' ) ?> 344 344 <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> 348 348 </ul> 349 349 </p> -
trunk/bp-core/bp-core-widgets.php
r1057 r1138 94 94 <?php if ( $users['users'] ) : ?> 95 95 <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;" /> 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;" /> 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> 100 100 </div> 101 101 <ul id="members-list" class="item-list"> … … 108 108 <div class="item"> 109 109 <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> 111 111 </div> 112 112 </li> -
trunk/bp-core/directories/bp-core-directory-members.php
r1136 r1138 176 176 <div class="item"> 177 177 <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> 179 179 180 180 <?php if ( function_exists( 'xprofile_get_random_profile_data' ) ) { ?> -
trunk/bp-forums/bp-forums-bbpress-live.php
r1052 r1138 18 18 $widget_options = array( 19 19 'classname' => 'bbpress_live_widget_forums', 20 'description' => __( 'Forum lists from your bbPress forums')20 'description' => __( 'Forum lists from your bbPress forums', 'buddypress' ) 21 21 ); 22 22 … … 219 219 $widget_options = array( 220 220 'classname' => 'bbpress_live_widget_topics', 221 'description' => __( 'The latest topics from your bbPress forums')221 'description' => __( 'The latest topics from your bbPress forums', 'buddypress' ) 222 222 ); 223 223 -
trunk/bp-friends/bp-friends-templatetags.php
r1090 r1138 270 270 <form action="<?php echo $action ?>" id="friend-search-form" method="post"> 271 271 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> 273 273 <input type="search" name="friend-search-box" id="friend-search-box" value="<?php echo $value ?>"<?php echo $disabled ?> /> 274 274 -
trunk/bp-groups.php
r1128 r1138 1537 1537 $group_desc = $group_obj->description; 1538 1538 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 ) ); 1540 1540 1541 1541 groups_update_groupmeta( $group_id, 'forum_id', $forum['forum_id'] ); -
trunk/bp-groups/bp-groups-admin.php
r1052 r1138 35 35 <form id="wpmu-search" method="post" action="<?php $_SERVER['PHP_SELF'] ?>"> 36 36 <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' ) ?>" /> 38 38 </form> 39 39 … … 45 45 </div> 46 46 <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"/> 48 48 <?php wp_nonce_field('bp-groups-admin') ?> 49 49 <br class="clear"/> -
trunk/bp-groups/bp-groups-ajax.php
r1069 r1138 174 174 <?php bp_group_member_avatar_mini() ?> 175 175 176 <h5><?php bp_group_member_link() ?> (banned) <span class="small"> — <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"> — <a href="<?php bp_group_member_unban_link() ?>" title="<?php _e( 'Kick and ban this member', 'buddypress' ) ?>"><?php _e( 'Remove Ban', 'buddypress' ) ?></a> </h5> 177 177 <?php else : ?> 178 178 <li> 179 179 <?php bp_group_member_avatar_mini() ?> 180 <h5><?php bp_group_member_link() ?> <span class="small"> — <a href="<?php bp_group_member_ban_link() ?>" title=" Kick and ban this member">Kick & 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"> — <a href="<?php bp_group_member_ban_link() ?>" title="<?php _e( 'Kick and ban this member', 'buddypress' ) ?>"><?php _e( 'Kick & 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> 181 181 182 182 <?php endif; ?> … … 243 243 <li> 244 244 <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' ) ?>" /> 246 246 </div> 247 247 248 248 <div class="item"> 249 249 <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> 251 251 <div class="item-meta desc"><?php echo bp_create_excerpt( $group->description ) ?></div> 252 252 </div> … … 258 258 <?php echo ucwords($group->status) ?> <?php _e( 'Group', 'buddypress' ) ?> / 259 259 <?php if ( 1 == $member_count ) : ?> 260 <?php _e( sprintf( '%d member', $member_count ), 'buddypress') ?>260 <?php printf( __( '%d member', 'buddypress' ), $member_count ) ?> 261 261 <?php else : ?> 262 <?php _e( sprintf( '%d members', $member_count ), 'buddypress' ) ?>262 <?php _e( '%d members', 'buddypress' ) ?> 263 263 <?php endif; ?> 264 264 </div> -
trunk/bp-groups/bp-groups-templatetags.php
r1137 r1138 492 492 ?> 493 493 <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> 495 495 <input type="search" name="<?php echo $name ?>" id="<?php echo $name ?>" value="<?php echo $value ?>"<?php echo $disabled ?> /> 496 496 <?php if ( function_exists('wp_nonce_field') ) … … 1090 1090 ?> 1091 1091 <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> 1093 1093 <?php bp_group_list_invite_friends() ?> 1094 1094 <?php wp_nonce_field( 'groups_invite_uninvite_user', '_wpnonce_invite_uninvite_user' ) ?> … … 1128 1128 1129 1129 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" /> 1131 1131 <?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" /> 1133 1133 <?php } 1134 1134 } … … 1216 1216 <li> 1217 1217 <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> 1219 1219 </div> 1220 1220 1221 1221 <div class="item"> 1222 1222 <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> 1224 1224 <div class="item-meta desc"><?php echo bp_create_excerpt( $group->description ) ?></div> 1225 1225 </div> … … 1231 1231 <?php echo ucwords($group->status) ?> <?php _e( 'Group', 'buddypress' ) ?> / 1232 1232 <?php if ( 1 == $member_count ) : ?> 1233 <?php _e( sprintf( '%d member', $member_count ), 'buddypress') ?>1233 <?php printf( __( '%d member', 'buddypress' ), $member_count ) ?> 1234 1234 <?php else : ?> 1235 <?php _e( sprintf( '%d members', $member_count ), 'buddypress') ?>1235 <?php printf( __( '%d members', 'buddypress' ), $member_count ) ?> 1236 1236 <?php endif; ?> 1237 1237 </div> … … 1262 1262 <?php $group = new BP_Groups_Group( $group_ids[$i], false, false ); ?> 1263 1263 <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> 1265 1265 <h5><a href="<?php echo bp_group_permalink( $group, false ) ?>"><?php echo $group->name ?></a></h5> 1266 1266 </li> -
trunk/bp-groups/bp-groups-widgets.php
r1052 r1138 33 33 <?php if ( $groups['groups'] ) : ?> 34 34 <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;" /> 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;" /> 36 36 <a href="<?php echo site_url() . '/groups' ?>" id="newest-groups"><?php _e("Newest", 'buddypress') ?></a> | 37 37 <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 104 104 <li> 105 105 <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> 107 107 </div> 108 108 109 109 <div class="item"> 110 110 <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> 112 112 <div class="item-meta desc"><?php echo bp_create_excerpt( $group->description ) ?></div> 113 113 … … 164 164 <form action="<?php echo site_url() . '/' . $bp->groups->slug . '/search/' ?>" method="post" id="search-groups-form"> 165 165 <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' ) ?>" /> 167 167 </form> 168 168 </div> … … 179 179 <li> 180 180 <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> 182 182 </div> 183 183 184 184 <div class="item"> 185 185 <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> 187 187 188 188 <div class="item-title group-data"> -
trunk/bp-messages.php
r1128 r1138 295 295 } else { 296 296 $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) ), 298 298 'link' => $bp->loggedin_user->domain . $bp->messages->slug . '/' 299 299 ); -
trunk/bp-wire/bp-wire-ajax.php
r1052 r1138 8 8 <div id="wire-count" class="pag-count"> 9 9 <?php bp_wire_pagination_count() ?> 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;" /> 11 11 </div> 12 12 -
trunk/bp-xprofile.php
r1128 r1138 599 599 if ( 'new_wire_post' == $action ) { 600 600 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 ); 602 602 } else { 603 603 $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 ); 605 605 } 606 606 } -
trunk/bp-xprofile/bp-xprofile-classes.php
r1083 r1138 470 470 471 471 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>'; 473 473 } 474 474 -
trunk/buddypress-theme/buddypress-home/archive.php
r1052 r1138 30 30 31 31 <div class="navigation"> 32 <div class="alignleft"><?php next_posts_link( '« Previous Entries') ?></div>33 <div class="alignright"><?php previous_posts_link( 'Next Entries »') ?></div>32 <div class="alignleft"><?php next_posts_link( __( '« Previous Entries', 'buddypress' ) ) ?></div> 33 <div class="alignright"><?php previous_posts_link( __( 'Next Entries »', 'buddypress' ) ) ?></div> 34 34 </div> 35 35 36 36 <?php while (have_posts()) : the_post(); ?> 37 37 <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> 39 39 <small><?php the_time('l, F jS, Y') ?></small> 40 40 … … 43 43 </div> 44 44 45 <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link( 'Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></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 »', '1 Comment »', '% Comments »'); ?></p> 46 46 47 47 </div> … … 50 50 51 51 <div class="navigation"> 52 <div class="alignleft"><?php next_posts_link( '« Previous Entries') ?></div>53 <div class="alignright"><?php previous_posts_link( 'Next Entries »') ?></div>52 <div class="alignleft"><?php next_posts_link( __( '« Previous Entries', 'buddypress' ) ) ?></div> 53 <div class="alignright"><?php previous_posts_link( __( 'Next Entries »', 'buddypress' ) ) ?></div> 54 54 </div> 55 55 -
trunk/buddypress-theme/buddypress-home/attachment.php
r1052 r1138 14 14 <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p> 15 15 16 <?php the_content( '<p class="serif">Read the rest of this entry »</p>'); ?>16 <?php the_content( __('<p class="serif">Read the rest of this entry »</p>', 'buddypress' ) ); ?> 17 17 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')); ?> 19 19 20 20 </div> -
trunk/buddypress-theme/buddypress-home/comments-popup.php
r1052 r1138 58 58 <form action="<?php echo site_url(); ?>/wp-comments-post.php" method="post" id="commentform"> 59 59 <?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' ) ?> »</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' ) ?> »</a></p> 61 61 <?php else : ?> 62 62 <p> … … 85 85 86 86 <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' ) ?>" /> 88 88 </p> 89 89 <?php do_action('comment_form', $post->ID); ?> -
trunk/buddypress-theme/buddypress-home/comments.php
r1052 r1138 79 79 <?php if ( $user_ID ) : ?> 80 80 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' ) ?> »</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' ) ?> »</a></p> 82 82 83 83 <?php else : ?> 84 84 85 85 <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> 87 87 88 88 <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> … … 93 93 94 94 <?php endif; ?> 95 96 <!--<p><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></p>-->97 95 98 96 <p><textarea name="comment" id="comment" cols="38" rows="10" tabindex="4"></textarea></p> -
trunk/buddypress-theme/buddypress-home/index.php
r1052 r1138 9 9 <?php while (have_posts()) : the_post(); ?> 10 10 <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> 12 12 <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> 13 13 14 14 <div class="entry"> 15 <?php the_content( 'Read the rest of this entry »'); ?>15 <?php the_content( __( 'Read the rest of this entry »', 'buddypress' ) ); ?> 16 16 </div> 17 17 … … 24 24 25 25 <div class="navigation"> 26 <div class="alignleft"><?php next_posts_link( '« Older Entries') ?></div>27 <div class="alignright"><?php previous_posts_link( 'Newer Entries »') ?></div>26 <div class="alignleft"><?php next_posts_link( __( '« Previous Entries', 'buddypress' ) ) ?></div> 27 <div class="alignright"><?php previous_posts_link( __( 'Next Entries »', 'buddypress' ) ) ?></div> 28 28 </div> 29 29 -
trunk/buddypress-theme/buddypress-home/page.php
r1052 r1138 8 8 <div class="post" id="post-<?php the_ID(); ?>"> 9 9 <div class="entry"> 10 <?php the_content( '<p class="serif">Read the rest of this page »</p>'); ?>10 <?php the_content( __( '<p class="serif">Read the rest of this page »</p>', 'buddypress' ) ); ?> 11 11 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')); ?> 13 13 14 14 </div> … … 16 16 </div> 17 17 <?php endwhile; endif; ?> 18 <?php edit_post_link( 'Edit this entry.', '<p>', '</p>'); ?>18 <?php edit_post_link( __( 'Edit this entry.', 'buddypress' ), '<p>', '</p>'); ?> 19 19 </div> 20 20 -
trunk/buddypress-theme/buddypress-home/search.php
r1052 r1138 11 11 12 12 <div class="navigation"> 13 <div class="alignleft"><?php next_posts_link( '« Previous Entries') ?></div>14 <div class="alignright"><?php previous_posts_link( 'Next Entries »') ?></div>13 <div class="alignleft"><?php next_posts_link( __( '« Previous Entries', 'buddypress' ) ) ?></div> 14 <div class="alignright"><?php previous_posts_link( __( 'Next Entries »', 'buddypress' ) ) ?></div> 15 15 </div> 16 16 … … 18 18 19 19 <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> 21 21 <small><?php the_time('l, F jS, Y') ?></small> 22 22 23 <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link( 'Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></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 »', '1 Comment »', '% Comments »'); ?></p> 24 24 </div> 25 25 … … 27 27 28 28 <div class="navigation"> 29 <div class="alignleft"><?php next_posts_link( '« Previous Entries') ?></div>30 <div class="alignright"><?php previous_posts_link( 'Next Entries »') ?></div>29 <div class="alignleft"><?php next_posts_link( __( '« Previous Entries', 'buddypress' ) ) ?></div> 30 <div class="alignright"><?php previous_posts_link( __( 'Next Entries »', 'buddypress' ) ) ?></div> 31 31 </div> 32 32 -
trunk/buddypress-theme/buddypress-home/searchform.php
r1052 r1138 1 1 <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> 2 2 <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' ) ?>" /> 4 4 </div> 5 5 </form> -
trunk/buddypress-theme/buddypress-home/single.php
r1052 r1138 9 9 10 10 <div class="item-options"> 11 <div class="alignleft"><?php previous_post_link('« %link') ?></div>12 <div class="alignright"> <?php next_post_link('%link »') ?></div>11 <div class="alignleft"><?php next_posts_link( __( '« Previous Entries', 'buddypress' ) ) ?></div> 12 <div class="alignright"><?php previous_posts_link( __( 'Next Entries »', 'buddypress' ) ) ?></div> 13 13 </div> 14 14 15 15 <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> 17 17 18 18 <div class="entry"> 19 <?php the_content( '<p class="serif">Read the rest of this entry »</p>'); ?>19 <?php the_content( __( '<p class="serif">Read the rest of this entry »</p>', 'buddypress' ) ); ?> 20 20 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')); ?> 22 22 23 23 -
trunk/buddypress-theme/member-themes/buddypress-member/404.php
r1052 r1138 2 2 3 3 <div class="content-header"> 4 Permission Denied4 <?php _e( 'Permission Denied', 'buddypress' ) ?> 5 5 </div> 6 6 7 7 <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> 10 10 </div> 11 11 12 13 12 <?php get_footer() ?> -
trunk/buddypress-theme/member-themes/buddypress-member/blogs/create.php
r1052 r1138 6 6 7 7 <div id="content"> 8 <h2> Create a Blog</h2>8 <h2><?php _e( 'Create a Blog', 'buddypress' ) ?></h2> 9 9 <?php do_action( 'template_notices' ) // (error/success feedback) ?> 10 10 -
trunk/buddypress-theme/member-themes/buddypress-member/wire/post-form.php
r1052 r1138 18 18 <?php do_action( 'bp_wire_custom_wire_boxes_after' ) ?> 19 19 20 <input type="submit" name="wire-post-submit" id="wire-post-submit" value=" Post »" />20 <input type="submit" name="wire-post-submit" id="wire-post-submit" value="<?php _e( 'Post »', 'buddypress' ) ?>" /> 21 21 22 22 <?php wp_nonce_field( 'bp_wire_post' ) ?>
Note: See TracChangeset
for help on using the changeset viewer.