Ticket #5878: try-again.2.diff
| File try-again.2.diff, 29.8 KB (added by , 12 years ago) |
|---|
-
buddypress.pot
34 34 msgstr "" 35 35 36 36 #: src/bp-activity/bp-activity-actions.php:292 37 msgid "There was an error when posting your update , please try again."37 msgid "There was an error when posting your update. Please try again." 38 38 msgstr "" 39 39 40 40 #: src/bp-activity/bp-activity-actions.php:329 … … 49 49 #: src/bp-activity/bp-activity-actions.php:342 50 50 #: src/bp-templates/bp-legacy/buddypress-functions.php:772 51 51 #: src/bp-templates/bp-legacy/buddypress-functions.php:781 52 msgid "There was an error posting that reply , please try again."52 msgid "There was an error posting that reply. Please try again." 53 53 msgstr "" 54 54 55 55 #: src/bp-activity/bp-activity-actions.php:374 … … 57 57 msgstr "" 58 58 59 59 #: src/bp-activity/bp-activity-actions.php:376 60 msgid "There was an error marking that activity as a favorite , please try again."60 msgid "There was an error marking that activity as a favorite. Please try again." 61 61 msgstr "" 62 62 63 63 #: src/bp-activity/bp-activity-actions.php:408 … … 65 65 msgstr "" 66 66 67 67 #: src/bp-activity/bp-activity-actions.php:410 68 msgid "There was an error removing that activity as a favorite , please try again."68 msgid "There was an error removing that activity as a favorite. Please try again." 69 69 msgstr "" 70 70 71 71 #. translators: Sitewide activity RSS title - "[Site Name] | Site Wide … … 2104 2104 msgstr "" 2105 2105 2106 2106 #: src/bp-core/bp-core-avatars.php:587 2107 msgid "Your upload failed , please try again. Error was: %s"2107 msgid "Your upload failed. Please try again. Error was: %s" 2108 2108 msgstr "" 2109 2109 2110 2110 #: src/bp-core/bp-core-avatars.php:592 … … 2956 2956 msgstr "" 2957 2957 2958 2958 #: src/bp-forums/deprecated/1.6.php:143 2959 msgid "The bb-config.php file was not found at that location , please try again."2959 msgid "The bb-config.php file was not found at that location. Please try again." 2960 2960 msgstr "" 2961 2961 2962 2962 #: src/bp-forums/deprecated/1.6.php:146 … … 3315 3315 3316 3316 #: src/bp-groups/bp-groups-actions.php:166 3317 3317 #: src/bp-groups/bp-groups-actions.php:190 3318 msgid "There was an error saving group details , please try again."3318 msgid "There was an error saving group details. Please try again." 3319 3319 msgstr "" 3320 3320 3321 3321 #: src/bp-groups/bp-groups-actions.php:274 … … 4203 4203 msgstr "" 4204 4204 4205 4205 #: src/bp-groups/bp-groups-screens.php:508 4206 msgid "There was an error accepting the group invitation ; please try again."4206 msgid "There was an error accepting the group invitation. Please try again." 4207 4207 msgstr "" 4208 4208 4209 4209 #: src/bp-groups/bp-groups-screens.php:520 4210 msgid "There was an error sending your group membership request ; please try again."4210 msgid "There was an error sending your group membership request. Please try again." 4211 4211 msgstr "" 4212 4212 4213 4213 #: src/bp-groups/bp-groups-screens.php:522 … … 4215 4215 msgstr "" 4216 4216 4217 4217 #: src/bp-groups/bp-groups-screens.php:571 4218 msgid "There was an error updating group details ; please try again."4218 msgid "There was an error updating group details. Please try again." 4219 4219 msgstr "" 4220 4220 4221 4221 #: src/bp-groups/bp-groups-screens.php:573 … … 4223 4223 msgstr "" 4224 4224 4225 4225 #: src/bp-groups/bp-groups-screens.php:615 4226 msgid "There was an error updating group settings ; please try again."4226 msgid "There was an error updating group settings. Please try again." 4227 4227 msgstr "" 4228 4228 4229 4229 #: src/bp-groups/bp-groups-screens.php:617 … … 4235 4235 msgstr "" 4236 4236 4237 4237 #: src/bp-groups/bp-groups-screens.php:651 4238 msgid "There was a problem deleting the group profile photo ; please try again."4238 msgid "There was a problem deleting the group profile photo. Please try again." 4239 4239 msgstr "" 4240 4240 4241 4241 #: src/bp-groups/bp-groups-screens.php:694 … … 4247 4247 msgstr "" 4248 4248 4249 4249 #: src/bp-groups/bp-groups-screens.php:732 4250 msgid "There was an error when promoting that user , please try again"4250 msgid "There was an error when promoting that user. Please try again." 4251 4251 msgstr "" 4252 4252 4253 4253 #: src/bp-groups/bp-groups-screens.php:734 … … 4255 4255 msgstr "" 4256 4256 4257 4257 #: src/bp-groups/bp-groups-screens.php:757 4258 msgid "There was an error when demoting that user ; please try again"4258 msgid "There was an error when demoting that user. Please try again." 4259 4259 msgstr "" 4260 4260 4261 4261 #: src/bp-groups/bp-groups-screens.php:759 … … 4263 4263 msgstr "" 4264 4264 4265 4265 #: src/bp-groups/bp-groups-screens.php:775 4266 msgid "There was an error when banning that user ; please try again"4266 msgid "There was an error when banning that user. Please try again." 4267 4267 msgstr "" 4268 4268 4269 4269 #: src/bp-groups/bp-groups-screens.php:777 … … 4271 4271 msgstr "" 4272 4272 4273 4273 #: src/bp-groups/bp-groups-screens.php:793 4274 msgid "There was an error when unbanning that user , please try again"4274 msgid "There was an error when unbanning that user. Please try again." 4275 4275 msgstr "" 4276 4276 4277 4277 #: src/bp-groups/bp-groups-screens.php:795 … … 4279 4279 msgstr "" 4280 4280 4281 4281 #: src/bp-groups/bp-groups-screens.php:811 4282 msgid "There was an error removing that user from the group ; please try again"4282 msgid "There was an error removing that user from the group. Please try again." 4283 4283 msgstr "" 4284 4284 4285 4285 #: src/bp-groups/bp-groups-screens.php:813 … … 4287 4287 msgstr "" 4288 4288 4289 4289 #: src/bp-groups/bp-groups-screens.php:850 4290 msgid "There was an error accepting the membership request ; please try again."4290 msgid "There was an error accepting the membership request. Please try again." 4291 4291 msgstr "" 4292 4292 4293 4293 #: src/bp-groups/bp-groups-screens.php:852 … … 4295 4295 msgstr "" 4296 4296 4297 4297 #: src/bp-groups/bp-groups-screens.php:861 4298 msgid "There was an error rejecting the membership request ; please try again."4298 msgid "There was an error rejecting the membership request. Please try again." 4299 4299 msgstr "" 4300 4300 4301 4301 #: src/bp-groups/bp-groups-screens.php:863 … … 4303 4303 msgstr "" 4304 4304 4305 4305 #: src/bp-groups/bp-groups-screens.php:895 4306 msgid "There was an error deleting the group ; please try again."4306 msgid "There was an error deleting the group. Please try again." 4307 4307 msgstr "" 4308 4308 4309 4309 #: src/bp-groups/bp-groups-screens.php:897 … … 4702 4702 msgstr "" 4703 4703 4704 4704 #: src/bp-members/bp-members-admin.php:311 4705 msgid "There was a problem deleting that avatar , please try again."4705 msgid "There was a problem deleting that avatar. Please try again." 4706 4706 msgstr "" 4707 4707 4708 4708 #: src/bp-members/bp-members-admin.php:317 … … 4723 4723 msgstr "" 4724 4724 4725 4725 #: src/bp-members/bp-members-admin.php:341 4726 msgid "There was a problem updating some of your profile information , please try again."4726 msgid "There was a problem updating some of your profile information. Please try again." 4727 4727 msgstr "" 4728 4728 4729 4729 #: src/bp-members/bp-members-admin.php:366 … … 4921 4921 msgstr[1] "" 4922 4922 4923 4923 #: src/bp-members/bp-members-admin.php:1527 4924 msgid "There was a problem sending the activation emails , please try again."4924 msgid "There was a problem sending the activation emails. Please try again." 4925 4925 msgstr "" 4926 4926 4927 4927 #: src/bp-members/bp-members-admin.php:1534 4928 msgid "There was a problem activating accounts , please try again."4928 msgid "There was a problem activating accounts. Please try again." 4929 4929 msgstr "" 4930 4930 4931 4931 #: src/bp-members/bp-members-admin.php:1541 4932 msgid "There was a problem deleting sign-ups , please try again."4932 msgid "There was a problem deleting sign-ups. Please try again." 4933 4933 msgstr "" 4934 4934 4935 4935 #: src/bp-members/bp-members-admin.php:1658 … … 5203 5203 msgstr "" 5204 5204 5205 5205 #: src/bp-messages/bp-messages-actions.php:50 5206 msgid "There was a problem sending your reply , please try again"5206 msgid "There was a problem sending your reply. Please try again." 5207 5207 msgstr "" 5208 5208 5209 5209 #: src/bp-messages/bp-messages-actions.php:85 … … 5326 5326 5327 5327 #: src/bp-messages/bp-messages-screens.php:64 5328 5328 #: src/bp-messages/bp-messages-screens.php:91 5329 msgid "There was an error sending that message , please try again"5329 msgid "There was an error sending that message. Please try again." 5330 5330 msgstr "" 5331 5331 5332 5332 #: src/bp-messages/bp-messages-screens.php:69 … … 5334 5334 msgstr "" 5335 5335 5336 5336 #: src/bp-messages/bp-messages-screens.php:72 5337 msgid "There was an error sending that notice , please try again"5337 msgid "There was an error sending that notice. Please try again." 5338 5338 msgstr "" 5339 5339 5340 5340 #: src/bp-messages/bp-messages-screens.php:88 … … 6617 6617 msgstr "" 6618 6618 6619 6619 #: src/bp-templates/bp-legacy/buddypress-functions.php:723 6620 msgid "There was a problem posting your update ; please try again."6620 msgid "There was a problem posting your update. Please try again." 6621 6621 msgstr "" 6622 6622 6623 6623 #: src/bp-templates/bp-legacy/buddypress-functions.php:841 … … 6691 6691 msgstr "" 6692 6692 6693 6693 #: src/bp-xprofile/bp-xprofile-actions.php:41 6694 msgid "There was a problem deleting your profile photo ; please try again."6694 msgid "There was a problem deleting your profile photo. Please try again." 6695 6695 msgstr "" 6696 6696 6697 6697 #: src/bp-xprofile/bp-xprofile-activity.php:31 … … 6781 6781 msgstr "" 6782 6782 6783 6783 #: src/bp-xprofile/bp-xprofile-admin.php:189 6784 msgid "There was an error saving the group. Please try again "6784 msgid "There was an error saving the group. Please try again." 6785 6785 msgstr "" 6786 6786 6787 6787 #: src/bp-xprofile/bp-xprofile-admin.php:192 … … 6789 6789 msgstr "" 6790 6790 6791 6791 #: src/bp-xprofile/bp-xprofile-admin.php:221 6792 msgid "There was an error deleting the group. Please try again "6792 msgid "There was an error deleting the group. Please try again." 6793 6793 msgstr "" 6794 6794 6795 6795 #: src/bp-xprofile/bp-xprofile-admin.php:224 … … 6797 6797 msgstr "" 6798 6798 6799 6799 #: src/bp-xprofile/bp-xprofile-admin.php:265 6800 msgid "There was an error saving the field. Please try again "6800 msgid "There was an error saving the field. Please try again." 6801 6801 msgstr "" 6802 6802 6803 6803 #: src/bp-xprofile/bp-xprofile-admin.php:272 … … 6813 6813 msgstr "" 6814 6814 6815 6815 #: src/bp-xprofile/bp-xprofile-admin.php:320 6816 msgid "There was an error deleting the %s. Please try again "6816 msgid "There was an error deleting the %s. Please try again." 6817 6817 msgstr "" 6818 6818 6819 6819 #: src/bp-xprofile/bp-xprofile-admin.php:323 … … 7159 7159 msgstr "" 7160 7160 7161 7161 #: src/bp-xprofile/bp-xprofile-screens.php:142 7162 msgid "There was a problem updating some of your profile information ; please try again."7162 msgid "There was a problem updating some of your profile information. Please try again." 7163 7163 msgstr "" 7164 7164 7165 7165 #: src/bp-xprofile/bp-xprofile-screens.php:144 -
src/bp-activity/bp-activity-actions.php
362 362 if ( !empty( $activity_id ) ) 363 363 bp_core_add_message( __( 'Update Posted!', 'buddypress' ) ); 364 364 else 365 bp_core_add_message( __( 'There was an error when posting your update , please try again.', 'buddypress' ), 'error' );365 bp_core_add_message( __( 'There was an error when posting your update. Please try again.', 'buddypress' ), 'error' ); 366 366 367 367 // Redirect 368 368 bp_core_redirect( wp_get_referer() ); … … 427 427 if ( !empty( $comment_id ) ) 428 428 bp_core_add_message( __( 'Reply Posted!', 'buddypress' ) ); 429 429 else 430 bp_core_add_message( __( 'There was an error posting that reply , please try again.', 'buddypress' ), 'error' );430 bp_core_add_message( __( 'There was an error posting that reply. Please try again.', 'buddypress' ), 'error' ); 431 431 432 432 bp_core_redirect( wp_get_referer() . '#ac-form-' . $activity_id ); 433 433 } … … 461 461 if ( bp_activity_add_user_favorite( bp_action_variable( 0 ) ) ) 462 462 bp_core_add_message( __( 'Activity marked as favorite.', 'buddypress' ) ); 463 463 else 464 bp_core_add_message( __( 'There was an error marking that activity as a favorite , please try again.', 'buddypress' ), 'error' );464 bp_core_add_message( __( 'There was an error marking that activity as a favorite. Please try again.', 'buddypress' ), 'error' ); 465 465 466 466 bp_core_redirect( wp_get_referer() . '#activity-' . bp_action_variable( 0 ) ); 467 467 } … … 495 495 if ( bp_activity_remove_user_favorite( bp_action_variable( 0 ) ) ) 496 496 bp_core_add_message( __( 'Activity removed as favorite.', 'buddypress' ) ); 497 497 else 498 bp_core_add_message( __( 'There was an error removing that activity as a favorite , please try again.', 'buddypress' ), 'error' );498 bp_core_add_message( __( 'There was an error removing that activity as a favorite. Please try again.', 'buddypress' ), 'error' ); 499 499 500 500 bp_core_redirect( wp_get_referer() . '#activity-' . bp_action_variable( 0 ) ); 501 501 } -
src/bp-core/bp-core-avatars.php
576 576 ); 577 577 578 578 if ( ! bp_core_check_avatar_upload( $file ) ) { 579 bp_core_add_message( sprintf( __( 'Your upload failed , please try again. Error was: %s', 'buddypress' ), $uploadErrors[$file['file']['error']] ), 'error' );579 bp_core_add_message( sprintf( __( 'Your upload failed. Please try again. Error was: %s', 'buddypress' ), $uploadErrors[$file['file']['error']] ), 'error' ); 580 580 return false; 581 581 } 582 582 -
src/bp-forums/deprecated/1.6.php
140 140 case 'existing': 141 141 if ( isset( $_REQUEST['doinstall'] ) && ( 1 == (int) $_REQUEST['doinstall'] ) ) { 142 142 if ( !bp_forums_configure_existing_install() ) { 143 _e( 'The bb-config.php file was not found at that location , please try again.', 'buddypress' );143 _e( 'The bb-config.php file was not found at that location. Please try again.', 'buddypress' ); 144 144 } else { 145 145 ?> 146 146 <h3><?php _e( 'Forums were set up correctly using your existing bbPress install!', 'buddypress' ) ?></h3> -
src/bp-groups/bp-groups-actions.php
163 163 $new_group_id = isset( $bp->groups->new_group_id ) ? $bp->groups->new_group_id : 0; 164 164 165 165 if ( !$bp->groups->new_group_id = groups_create_group( array( 'group_id' => $new_group_id, 'name' => $_POST['group-name'], 'description' => $_POST['group-desc'], 'slug' => groups_check_slug( sanitize_title( esc_attr( $_POST['group-name'] ) ) ), 'date_created' => bp_core_current_time(), 'status' => 'public' ) ) ) { 166 bp_core_add_message( __( 'There was an error saving group details , please try again.', 'buddypress' ), 'error' );166 bp_core_add_message( __( 'There was an error saving group details. Please try again.', 'buddypress' ), 'error' ); 167 167 bp_core_redirect( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create/step/' . bp_get_groups_current_create_step() . '/' ); 168 168 } 169 169 } … … 187 187 $group_status = 'hidden'; 188 188 189 189 if ( !$bp->groups->new_group_id = groups_create_group( array( 'group_id' => $bp->groups->new_group_id, 'status' => $group_status, 'enable_forum' => $group_enable_forum ) ) ) { 190 bp_core_add_message( __( 'There was an error saving group details , please try again.', 'buddypress' ), 'error' );190 bp_core_add_message( __( 'There was an error saving group details. Please try again.', 'buddypress' ), 'error' ); 191 191 bp_core_redirect( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create/step/' . bp_get_groups_current_create_step() . '/' ); 192 192 } 193 193 -
src/bp-groups/bp-groups-screens.php
524 524 if ( groups_accept_invite( bp_loggedin_user_id(), $bp->groups->current_group->id ) ) 525 525 bp_core_add_message( __( 'Group invite accepted', 'buddypress' ) ); 526 526 else 527 bp_core_add_message( __( 'There was an error accepting the group invitation ; please try again.', 'buddypress' ), 'error' );527 bp_core_add_message( __( 'There was an error accepting the group invitation. Please try again.', 'buddypress' ), 'error' ); 528 528 bp_core_redirect( bp_get_group_permalink( $bp->groups->current_group ) ); 529 529 } 530 530 … … 536 536 return false; 537 537 538 538 if ( !groups_send_membership_request( bp_loggedin_user_id(), $bp->groups->current_group->id ) ) { 539 bp_core_add_message( __( 'There was an error sending your group membership request ; please try again.', 'buddypress' ), 'error' );539 bp_core_add_message( __( 'There was an error sending your group membership request. Please try again.', 'buddypress' ), 'error' ); 540 540 } else { 541 541 bp_core_add_message( __( 'Your membership request was sent to the group administrator successfully. You will be notified when the group administrator responds to your request.', 'buddypress' ) ); 542 542 } … … 596 596 $group_notify_members = isset( $_POST['group-notify-members'] ) ? (int) $_POST['group-notify-members'] : 0; 597 597 598 598 if ( !groups_edit_base_group_details( $_POST['group-id'], $_POST['group-name'], $_POST['group-desc'], $group_notify_members ) ) { 599 bp_core_add_message( __( 'There was an error updating group details ; please try again.', 'buddypress' ), 'error' );599 bp_core_add_message( __( 'There was an error updating group details. Please try again.', 'buddypress' ), 'error' ); 600 600 } else { 601 601 bp_core_add_message( __( 'Group details were successfully updated.', 'buddypress' ) ); 602 602 } … … 643 643 return false; 644 644 645 645 if ( !groups_edit_group_settings( $_POST['group-id'], $enable_forum, $status, $invite_status ) ) { 646 bp_core_add_message( __( 'There was an error updating group settings ; please try again.', 'buddypress' ), 'error' );646 bp_core_add_message( __( 'There was an error updating group settings. Please try again.', 'buddypress' ), 'error' ); 647 647 } else { 648 648 bp_core_add_message( __( 'Group settings were successfully updated.', 'buddypress' ) ); 649 649 } … … 682 682 if ( bp_core_delete_existing_avatar( array( 'item_id' => $bp->groups->current_group->id, 'object' => 'group' ) ) ) { 683 683 bp_core_add_message( __( 'The group profile photo was deleted successfully!', 'buddypress' ) ); 684 684 } else { 685 bp_core_add_message( __( 'There was a problem deleting the group profile photo ; please try again.', 'buddypress' ), 'error' );685 bp_core_add_message( __( 'There was a problem deleting the group profile photo. Please try again.', 'buddypress' ), 'error' ); 686 686 } 687 687 } 688 688 … … 761 761 762 762 // Promote a user. 763 763 if ( !groups_promote_member( $user_id, $bp->groups->current_group->id, $status ) ) 764 bp_core_add_message( __( 'There was an error when promoting that user , please try again', 'buddypress' ), 'error' );764 bp_core_add_message( __( 'There was an error when promoting that user. Please try again.', 'buddypress' ), 'error' ); 765 765 else 766 766 bp_core_add_message( __( 'User promoted successfully', 'buddypress' ) ); 767 767 … … 786 786 787 787 // Demote a user. 788 788 elseif ( !groups_demote_member( $user_id, $bp->groups->current_group->id ) ) 789 bp_core_add_message( __( 'There was an error when demoting that user ; please try again', 'buddypress' ), 'error' );789 bp_core_add_message( __( 'There was an error when demoting that user. Please try again.', 'buddypress' ), 'error' ); 790 790 else 791 791 bp_core_add_message( __( 'User demoted successfully', 'buddypress' ) ); 792 792 … … 804 804 805 805 // Ban a user. 806 806 if ( !groups_ban_member( $user_id, $bp->groups->current_group->id ) ) 807 bp_core_add_message( __( 'There was an error when banning that user ; please try again', 'buddypress' ), 'error' );807 bp_core_add_message( __( 'There was an error when banning that user. Please try again.', 'buddypress' ), 'error' ); 808 808 else 809 809 bp_core_add_message( __( 'User banned successfully', 'buddypress' ) ); 810 810 … … 822 822 823 823 // Remove a ban for user. 824 824 if ( !groups_unban_member( $user_id, $bp->groups->current_group->id ) ) 825 bp_core_add_message( __( 'There was an error when unbanning that user , please try again', 'buddypress' ), 'error' );825 bp_core_add_message( __( 'There was an error when unbanning that user. Please try again.', 'buddypress' ), 'error' ); 826 826 else 827 827 bp_core_add_message( __( 'User ban removed successfully', 'buddypress' ) ); 828 828 … … 840 840 841 841 // Remove a user. 842 842 if ( !groups_remove_member( $user_id, $bp->groups->current_group->id ) ) 843 bp_core_add_message( __( 'There was an error removing that user from the group ; please try again', 'buddypress' ), 'error' );843 bp_core_add_message( __( 'There was an error removing that user from the group. Please try again.', 'buddypress' ), 'error' ); 844 844 else 845 845 bp_core_add_message( __( 'User removed successfully', 'buddypress' ) ); 846 846 … … 882 882 883 883 // Accept the membership request 884 884 if ( !groups_accept_membership_request( $membership_id ) ) 885 bp_core_add_message( __( 'There was an error accepting the membership request ; please try again.', 'buddypress' ), 'error' );885 bp_core_add_message( __( 'There was an error accepting the membership request. Please try again.', 'buddypress' ), 'error' ); 886 886 else 887 887 bp_core_add_message( __( 'Group membership request accepted', 'buddypress' ) ); 888 888 … … 893 893 894 894 // Reject the membership request 895 895 if ( !groups_reject_membership_request( $membership_id ) ) 896 bp_core_add_message( __( 'There was an error rejecting the membership request ; please try again.', 'buddypress' ), 'error' );896 bp_core_add_message( __( 'There was an error rejecting the membership request. Please try again.', 'buddypress' ), 'error' ); 897 897 else 898 898 bp_core_add_message( __( 'Group membership request rejected', 'buddypress' ) ); 899 899 } … … 930 930 931 931 // Group admin has deleted the group, now do it. 932 932 if ( !groups_delete_group( $bp->groups->current_group->id ) ) { 933 bp_core_add_message( __( 'There was an error deleting the group ; please try again.', 'buddypress' ), 'error' );933 bp_core_add_message( __( 'There was an error deleting the group. Please try again.', 'buddypress' ), 'error' ); 934 934 } else { 935 935 bp_core_add_message( __( 'The group was deleted successfully', 'buddypress' ) ); 936 936 -
src/bp-members/bp-members-admin.php
308 308 case 'avatar': 309 309 $notice = array( 310 310 'class' => 'error', 311 'message' => __( 'There was a problem deleting that avatar , please try again.', 'buddypress' )311 'message' => __( 'There was a problem deleting that avatar. Please try again.', 'buddypress' ) 312 312 ); 313 313 break; 314 314 case 'ham' : … … 338 338 case 3: 339 339 $notice = array( 340 340 'class' => 'error', 341 'message' => __( 'There was a problem updating some of your profile information , please try again.', 'buddypress' )341 'message' => __( 'There was a problem updating some of your profile information. Please try again.', 'buddypress' ) 342 342 ); 343 343 break; 344 344 } … … 1522 1522 case 'do_resend': 1523 1523 $notice = array( 1524 1524 'class' => 'error', 1525 'message' => esc_html__( 'There was a problem sending the activation emails , please try again.', 'buddypress' ),1525 'message' => esc_html__( 'There was a problem sending the activation emails. Please try again.', 'buddypress' ), 1526 1526 ); 1527 1527 break; 1528 1528 … … 1529 1529 case 'do_activate': 1530 1530 $notice = array( 1531 1531 'class' => 'error', 1532 'message' => esc_html__( 'There was a problem activating accounts , please try again.', 'buddypress' ),1532 'message' => esc_html__( 'There was a problem activating accounts. Please try again.', 'buddypress' ), 1533 1533 ); 1534 1534 break; 1535 1535 … … 1536 1536 case 'do_delete': 1537 1537 $notice = array( 1538 1538 'class' => 'error', 1539 'message' => esc_html__( 'There was a problem deleting sign-ups , please try again.', 'buddypress' ),1539 'message' => esc_html__( 'There was a problem deleting sign-ups. Please try again.', 'buddypress' ), 1540 1540 ); 1541 1541 break; 1542 1542 } -
src/bp-messages/bp-messages-actions.php
47 47 if ( ! empty( $new_reply ) ) { 48 48 bp_core_add_message( __( 'Your reply was sent successfully', 'buddypress' ) ); 49 49 } else { 50 bp_core_add_message( __( 'There was a problem sending your reply , please try again', 'buddypress' ), 'error' );50 bp_core_add_message( __( 'There was a problem sending your reply. Please try again.', 'buddypress' ), 'error' ); 51 51 } 52 52 53 53 bp_core_redirect( bp_displayed_user_domain() . bp_get_messages_slug() . '/view/' . $thread_id . '/' ); -
src/bp-messages/bp-messages-screens.php
61 61 62 62 // Check we have what we need 63 63 if ( empty( $_POST['subject'] ) || empty( $_POST['content'] ) ) { 64 bp_core_add_message( __( 'There was an error sending that message , please try again', 'buddypress' ), 'error' );64 bp_core_add_message( __( 'There was an error sending that message. Please try again.', 'buddypress' ), 'error' ); 65 65 } else { 66 66 // If this is a notice, send it 67 67 if ( isset( $_POST['send-notice'] ) ) { … … 69 69 bp_core_add_message( __( 'Notice sent successfully!', 'buddypress' ) ); 70 70 bp_core_redirect( bp_loggedin_user_domain() . bp_get_messages_slug() . '/inbox/' ); 71 71 } else { 72 bp_core_add_message( __( 'There was an error sending that notice , please try again', 'buddypress' ), 'error' );72 bp_core_add_message( __( 'There was an error sending that notice. Please try again.', 'buddypress' ), 'error' ); 73 73 } 74 74 } else { 75 75 // Filter recipients into the format we need - array( 'username/userid', 'username/userid' ) … … 88 88 bp_core_add_message( __( 'Message sent successfully!', 'buddypress' ) ); 89 89 bp_core_redirect( bp_loggedin_user_domain() . bp_get_messages_slug() . '/view/' . $thread_id . '/' ); 90 90 } else { 91 bp_core_add_message( __( 'There was an error sending that message , please try again', 'buddypress' ), 'error' );91 bp_core_add_message( __( 'There was an error sending that message. Please try again.', 'buddypress' ), 'error' ); 92 92 } 93 93 } 94 94 } -
src/bp-templates/bp-legacy/buddypress-functions.php
723 723 } 724 724 725 725 if ( empty( $activity_id ) ) 726 exit( '-1<div id="message" class="error bp-ajax-message"><p>' . __( 'There was a problem posting your update ; please try again.', 'buddypress' ) . '</p></div>' );726 exit( '-1<div id="message" class="error bp-ajax-message"><p>' . __( 'There was a problem posting your update. Please try again.', 'buddypress' ) . '</p></div>' ); 727 727 728 728 $last_recorded = ! empty( $_POST['since'] ) ? date( 'Y-m-d H:i:s', intval( $_POST['since'] ) ) : 0; 729 729 if ( $last_recorded ) { -
src/bp-xprofile/bp-xprofile-actions.php
38 38 if ( bp_core_delete_existing_avatar( array( 'item_id' => bp_displayed_user_id() ) ) ) 39 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 your profile photo ; 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() ); 44 44 } -
src/bp-xprofile/bp-xprofile-admin.php
186 186 $group->description = !empty( $_POST['group_description'] ) ? wp_filter_kses( $_POST['group_description'] ) : ''; 187 187 188 188 if ( !$group->save() ) { 189 $message = __( 'There was an error saving the group. Please try again ', 'buddypress' );189 $message = __( 'There was an error saving the group. Please try again.', 'buddypress' ); 190 190 $type = 'error'; 191 191 } else { 192 192 $message = __( 'The group was saved successfully.', 'buddypress' ); … … 218 218 $group = new BP_XProfile_Group( $group_id ); 219 219 220 220 if ( !$group->delete() ) { 221 $message = __( 'There was an error deleting the group. Please try again ', 'buddypress' );221 $message = __( 'There was an error deleting the group. Please try again.', 'buddypress' ); 222 222 $type = 'error'; 223 223 } else { 224 224 $message = __( 'The group was deleted successfully.', 'buddypress' ); … … 262 262 $field_id = $field->save(); 263 263 264 264 if ( !$field_id ) { 265 $message = __( 'There was an error saving the field. Please try again ', 'buddypress' );265 $message = __( 'There was an error saving the field. Please try again.', 'buddypress' ); 266 266 $type = 'error'; 267 267 268 268 unset( $_GET['mode'] ); … … 317 317 $field = new BP_XProfile_Field( $field_id ); 318 318 319 319 if ( !$field->delete( (bool) $delete_data ) ) { 320 $message = sprintf( __( 'There was an error deleting the %s. Please try again ', 'buddypress' ), $field_type );320 $message = sprintf( __( 'There was an error deleting the %s. Please try again.', 'buddypress' ), $field_type ); 321 321 $type = 'error'; 322 322 } else { 323 323 $message = sprintf( __( 'The %s was deleted successfully!', 'buddypress' ), $field_type ); -
src/bp-xprofile/bp-xprofile-screens.php
139 139 140 140 // Set the feedback messages 141 141 if ( !empty( $errors ) ) { 142 bp_core_add_message( __( 'There was a problem updating some of your profile information ; please try again.', 'buddypress' ), 'error' );142 bp_core_add_message( __( 'There was a problem updating some of your profile information. Please try again.', 'buddypress' ), 'error' ); 143 143 } else { 144 144 bp_core_add_message( __( 'Changes saved.', 'buddypress' ) ); 145 145 }