Changeset 8678
- Timestamp:
- 07/23/2014 06:40:28 PM (11 years ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-actions.php
r8605 r8678 307 307 308 308 if ( !bp_core_avatar_handle_crop( array( 'object' => 'group', 'avatar_dir' => 'group-avatars', 'item_id' => $bp->groups->current_group->id, 'original_file' => $_POST['image_src'], 'crop_x' => $_POST['x'], 'crop_y' => $_POST['y'], 'crop_w' => $_POST['w'], 'crop_h' => $_POST['h'] ) ) ) 309 bp_core_add_message( __( 'There was an error saving the group avatar, please try uploading again.', 'buddypress' ), 'error' );309 bp_core_add_message( __( 'There was an error saving the group profile photo, please try uploading again.', 'buddypress' ), 'error' ); 310 310 else 311 bp_core_add_message( __( 'The group avatarwas uploaded successfully!', 'buddypress' ) );311 bp_core_add_message( __( 'The group profile photo was uploaded successfully!', 'buddypress' ) ); 312 312 } 313 313 } -
trunk/src/bp-groups/bp-groups-screens.php
r8662 r8678 647 647 648 648 if ( bp_core_delete_existing_avatar( array( 'item_id' => $bp->groups->current_group->id, 'object' => 'group' ) ) ) { 649 bp_core_add_message( __( ' Your avatarwas deleted successfully!', 'buddypress' ) );649 bp_core_add_message( __( 'The group profile photo was deleted successfully!', 'buddypress' ) ); 650 650 } else { 651 bp_core_add_message( __( 'There was a problem deleting th at avatar; please try again.', 'buddypress' ), 'error' );651 bp_core_add_message( __( 'There was a problem deleting the group profile photo; please try again.', 'buddypress' ), 'error' ); 652 652 } 653 653 } … … 692 692 693 693 if ( !bp_core_avatar_handle_crop( $args ) ) { 694 bp_core_add_message( __( 'There was a problem cropping the avatar.', 'buddypress' ), 'error' );694 bp_core_add_message( __( 'There was a problem cropping the group profile photo.', 'buddypress' ), 'error' ); 695 695 } else { 696 bp_core_add_message( __( 'The new group avatarwas uploaded successfully.', 'buddypress' ) );696 bp_core_add_message( __( 'The new group profile photo was uploaded successfully.', 'buddypress' ) ); 697 697 } 698 698 } -
trunk/src/bp-groups/bp-groups-template.php
r8677 r8678 800 800 'class' => 'avatar', 801 801 'id' => false, 802 'alt' => sprintf( __( 'Group creator avatarof %s', 'buddypress' ), bp_core_get_user_displayname( $group->creator_id ) )802 'alt' => sprintf( __( 'Group creator profile photo of %s', 'buddypress' ), bp_core_get_user_displayname( $group->creator_id ) ) 803 803 ); 804 804 -
trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php
r8677 r8678 140 140 141 141 <div class="main-column"> 142 <p><?php _e( "Upload an image to use as a n avatarfor this group. The image will be shown on the main group page, and in search results.", 'buddypress' ); ?></p>142 <p><?php _e( "Upload an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.", 'buddypress' ); ?></p> 143 143 144 144 <p> … … 148 148 </p> 149 149 150 <p><?php _e( 'To skip the avatarupload process, hit the "Next Step" button.', 'buddypress' ); ?></p>150 <p><?php _e( 'To skip the group profile photo upload process, hit the "Next Step" button.', 'buddypress' ); ?></p> 151 151 </div><!-- .main-column --> 152 152 -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin.php
r8677 r8678 125 125 <?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?> 126 126 127 <p><?php _e("Upload an image to use as a n avatarfor this group. The image will be shown on the main group page, and in search results.", 'buddypress' ); ?></p>127 <p><?php _e("Upload an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.", 'buddypress' ); ?></p> 128 128 129 129 <p> … … 135 135 <?php if ( bp_get_group_has_avatar() ) : ?> 136 136 137 <p><?php _e( "If you'd like to remove the existing avatar but not upload a new one, please use the delete avatarbutton.", 'buddypress' ); ?></p>138 139 <?php bp_button( array( 'id' => 'delete_group_avatar', 'component' => 'groups', 'wrapper_id' => 'delete-group-avatar-button', 'link_class' => 'edit', 'link_href' => bp_get_group_avatar_delete_link(), 'link_title' => __( 'Delete Profile Photo', 'buddypress' ), 'link_text' => __( 'DeleteProfile Photo', 'buddypress' ) ) ); ?>137 <p><?php _e( "If you'd like to remove the existing group profile photo but not upload a new one, please use the delete group profile photo button.", 'buddypress' ); ?></p> 138 139 <?php bp_button( array( 'id' => 'delete_group_avatar', 'component' => 'groups', 'wrapper_id' => 'delete-group-avatar-button', 'link_class' => 'edit', 'link_href' => bp_get_group_avatar_delete_link(), 'link_title' => __( 'Delete Group Profile Photo', 'buddypress' ), 'link_text' => __( 'Delete Group Profile Photo', 'buddypress' ) ) ); ?> 140 140 141 141 <?php endif; ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php
r8677 r8678 5 5 <?php if ( !(int)bp_get_option( 'bp-disable-avatar-uploads' ) ) : ?> 6 6 7 <p><?php _e( 'Your avatarwill be used on your profile and throughout the site. If there is a <a href="http://gravatar.com">Gravatar</a> associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress' ); ?></p>7 <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. If there is a <a href="http://gravatar.com">Gravatar</a> associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress' ); ?></p> 8 8 9 9 <form action="" method="post" id="avatar-upload-form" class="standard-form" enctype="multipart/form-data"> … … 21 21 22 22 <?php if ( bp_get_user_has_avatar() ) : ?> 23 <p><?php _e( "If you'd like to delete your current avatar but not upload a new one, please use the delete avatarbutton.", 'buddypress' ); ?></p>23 <p><?php _e( "If you'd like to delete your current profile phot but not upload a new one, please use the delete profile photo button.", 'buddypress' ); ?></p> 24 24 <p><a class="button edit" href="<?php bp_avatar_delete_link(); ?>" title="<?php esc_attr_e( 'Delete Profile Photo', 'buddypress' ); ?>"><?php _e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p> 25 25 <?php endif; ?> … … 53 53 <?php else : ?> 54 54 55 <p><?php _e( 'Your avatar will be used on your profile and throughout the site. To change your avatar, please create an account with <a href="http://gravatar.com">Gravatar</a> using the same email address as you used to register with this site.', 'buddypress' ); ?></p>55 <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. To change your profile photo, please create an account with <a href="http://gravatar.com">Gravatar</a> using the same email address as you used to register with this site.', 'buddypress' ); ?></p> 56 56 57 57 <?php endif; ?> -
trunk/src/bp-xprofile/bp-xprofile-actions.php
r8662 r8678 37 37 38 38 if ( bp_core_delete_existing_avatar( array( 'item_id' => bp_displayed_user_id() ) ) ) 39 bp_core_add_message( __( 'Your avatarwas deleted successfully!', 'buddypress' ) );39 bp_core_add_message( __( 'Your profile photo was deleted successfully!', 'buddypress' ) ); 40 40 else 41 bp_core_add_message( __( 'There was a problem deleting that avatar; please try again.', 'buddypress' ), 'error' );41 bp_core_add_message( __( 'There was a problem deleting your profile photo; please try again.', 'buddypress' ), 'error' ); 42 42 43 43 bp_core_redirect( wp_get_referer() ); -
trunk/src/bp-xprofile/bp-xprofile-screens.php
r8662 r8678 210 210 211 211 if ( ! bp_core_avatar_handle_crop( $args ) ) { 212 bp_core_add_message( __( 'There was a problem cropping your avatar.', 'buddypress' ), 'error' );212 bp_core_add_message( __( 'There was a problem cropping your profile photo.', 'buddypress' ), 'error' ); 213 213 } else { 214 214 do_action( 'xprofile_avatar_uploaded' ); 215 bp_core_add_message( __( 'Your new avatarwas uploaded successfully.', 'buddypress' ) );215 bp_core_add_message( __( 'Your new profile photo was uploaded successfully.', 'buddypress' ) ); 216 216 bp_core_redirect( bp_displayed_user_domain() ); 217 217 }
Note: See TracChangeset
for help on using the changeset viewer.