Changeset 3614
- Timestamp:
- 12/30/2010 03:57:44 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-filters.php
r3592 r3614 231 231 $from_name = ( '' == get_site_option( "site_name" ) ) ? 'WordPress' : esc_html( get_site_option( "site_name" ) ); 232 232 $message_headers = "MIME-Version: 1.0\n" . "From: \"{$from_name}\" <{$admin_email}>\n" . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n"; 233 $message = sprintf( __( "Thanks for registering! To complete the activation of your account please click the following link:\n\n%s\n\n", 'buddypress' ), $activate_url . $email, esc_url( "http://{$domain}{$path}" ) );233 $message = sprintf( __( 'Thanks for registering! To complete the activation of your account please click the following link:\n\n%s\n\n', 'buddypress' ), $activate_url . $email, esc_url( "http://{$domain}{$path}" ) ); 234 234 $subject = '[' . $from_name . '] ' . __( 'Activate Your Account', 'buddypress' ); 235 235 -
trunk/bp-core/bp-core-signup.php
r3592 r3614 626 626 $from_name = ( '' == get_option( 'blogname' ) ) ? 'BuddyPress' : esc_html( get_option( 'blogname' ) ); 627 627 $message_headers = "MIME-Version: 1.0\n" . "From: \"{$from_name}\" <{$admin_email}>\n" . "Content-Type: text/plain; charset=\"" . get_option( 'blog_charset' ) . "\"\n"; 628 $message = sprintf( __( "Thanks for registering! To complete the activation of your account please click the following link:\n\n%s\n\n", 'buddypress' ), $activate_url );628 $message = sprintf( __( 'Thanks for registering! To complete the activation of your account please click the following link:\n\n%s\n\n', 'buddypress' ), $activate_url ); 629 629 $subject = '[' . $from_name . '] ' . __( 'Activate Your Account', 'buddypress' ); 630 630 -
trunk/bp-friends/bp-friends-notifications.php
r3592 r3614 23 23 24 24 $message = sprintf( __( 25 "%1$s wants to add you as a friend.25 '%1$s wants to add you as a friend. 26 26 27 27 To view all of your pending friendship requests: %2$s 28 28 29 To view %3$s 's profile: %4$s29 To view %3$s\'s profile: %4$s 30 30 31 31 --------------------- 32 ", 'buddypress' ), $initiator_name, $all_requests_link, $initiator_name, $initiator_link );32 ', 'buddypress' ), $initiator_name, $all_requests_link, $initiator_name, $initiator_link ); 33 33 34 34 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 35 35 36 36 /* Send the message */ 37 37 $to = apply_filters( 'friends_notification_new_request_to', $to ); -
trunk/bp-themes/bp-default/functions.php
r3605 r3614 132 132 133 133 if ( !empty( $bp->displayed_user->id ) ) 134 $params['mention_explain'] = sprintf( __( "%s is a unique identifier for %s that you can type into any message on this site. %s will be sent a notification and a link to your message any time you use it.", 'buddypress' ), '@' . bp_get_displayed_user_username(), bp_get_user_firstname( bp_get_displayed_user_fullname() ), bp_get_user_firstname( bp_get_displayed_user_fullname() ) );134 $params['mention_explain'] = sprintf( __( '%s is a unique identifier for %s that you can type into any message on this site. %s will be sent a notification and a link to your message any time you use it.', 'buddypress' ), '@' . bp_get_displayed_user_username(), bp_get_user_firstname( bp_get_displayed_user_fullname() ), bp_get_user_firstname( bp_get_displayed_user_fullname() ) ); 135 135 136 136 wp_localize_script( 'dtheme-ajax-js', 'BP_DTheme', $params );
Note: See TracChangeset
for help on using the changeset viewer.