Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/26/2014 02:47:34 PM (6 years ago)
Author:
boonebgorges
Message:

Remove some run-on sentences, also some comma splices, they were kind of annoying, they made BuddyPress more annoying to use, this is much better, thanks for using BuddyPress.

Props tharsheblows.
Fixes #5878.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-screens.php

    r9157 r9190  
    525525            bp_core_add_message( __( 'Group invite accepted', 'buddypress' ) );
    526526        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' );
    528528        bp_core_redirect( bp_get_group_permalink( $bp->groups->current_group ) );
    529529    }
     
    537537
    538538        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' );
    540540        } else {
    541541            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' ) );
     
    597597
    598598            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' );
    600600            } else {
    601601                bp_core_add_message( __( 'Group details were successfully updated.', 'buddypress' ) );
     
    644644
    645645        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' );
    647647        } else {
    648648            bp_core_add_message( __( 'Group settings were successfully updated.', 'buddypress' ) );
     
    683683            bp_core_add_message( __( 'The group profile photo was deleted successfully!', 'buddypress' ) );
    684684        } 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' );
    686686        }
    687687    }
     
    762762            // Promote a user.
    763763            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' );
    765765            else
    766766                bp_core_add_message( __( 'User promoted successfully', 'buddypress' ) );
     
    787787            // Demote a user.
    788788            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' );
    790790            else
    791791                bp_core_add_message( __( 'User demoted successfully', 'buddypress' ) );
     
    805805            // Ban a user.
    806806            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' );
    808808            else
    809809                bp_core_add_message( __( 'User banned successfully', 'buddypress' ) );
     
    823823            // Remove a ban for user.
    824824            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' );
    826826            else
    827827                bp_core_add_message( __( 'User ban removed successfully', 'buddypress' ) );
     
    841841            // Remove a user.
    842842            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' );
    844844            else
    845845                bp_core_add_message( __( 'User removed successfully', 'buddypress' ) );
     
    883883            // Accept the membership request
    884884            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' );
    886886            else
    887887                bp_core_add_message( __( 'Group membership request accepted', 'buddypress' ) );
     
    894894            // Reject the membership request
    895895            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' );
    897897            else
    898898                bp_core_add_message( __( 'Group membership request rejected', 'buddypress' ) );
     
    931931        // Group admin has deleted the group, now do it.
    932932        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' );
    934934        } else {
    935935            bp_core_add_message( __( 'The group was deleted successfully', 'buddypress' ) );
Note: See TracChangeset for help on using the changeset viewer.