Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/22/2014 06:13:12 PM (10 years ago)
Author:
djpaul
Message:

i18n: improvements to strings across the majority of components.

Fixes #5760, props jreeve

File:
1 edited

Legend:

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

    r8164 r8662  
    506506            bp_core_add_message( __( 'Group invite accepted', 'buddypress' ) );
    507507        else
    508             bp_core_add_message( __( 'There was an error accepting the group invitation, please try again.', 'buddypress' ), 'error' );
     508            bp_core_add_message( __( 'There was an error accepting the group invitation; please try again.', 'buddypress' ), 'error' );
    509509        bp_core_redirect( bp_get_group_permalink( $bp->groups->current_group ) );
    510510    }
     
    518518
    519519        if ( !groups_send_membership_request( bp_loggedin_user_id(), $bp->groups->current_group->id ) ) {
    520             bp_core_add_message( __( 'There was an error sending your group membership request, please try again.', 'buddypress' ), 'error' );
     520            bp_core_add_message( __( 'There was an error sending your group membership request; please try again.', 'buddypress' ), 'error' );
    521521        } else {
    522522            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' ) );
     
    569569
    570570            if ( !groups_edit_base_group_details( $_POST['group-id'], $_POST['group-name'], $_POST['group-desc'], $group_notify_members ) ) {
    571                 bp_core_add_message( __( 'There was an error updating group details, please try again.', 'buddypress' ), 'error' );
     571                bp_core_add_message( __( 'There was an error updating group details; please try again.', 'buddypress' ), 'error' );
    572572            } else {
    573573                bp_core_add_message( __( 'Group details were successfully updated.', 'buddypress' ) );
     
    613613
    614614        if ( !groups_edit_group_settings( $_POST['group-id'], $enable_forum, $status, $invite_status ) ) {
    615             bp_core_add_message( __( 'There was an error updating group settings, please try again.', 'buddypress' ), 'error' );
     615            bp_core_add_message( __( 'There was an error updating group settings; please try again.', 'buddypress' ), 'error' );
    616616        } else {
    617617            bp_core_add_message( __( 'Group settings were successfully updated.', 'buddypress' ) );
     
    649649            bp_core_add_message( __( 'Your avatar was deleted successfully!', 'buddypress' ) );
    650650        } else {
    651             bp_core_add_message( __( 'There was a problem deleting that avatar, please try again.', 'buddypress' ), 'error' );
     651            bp_core_add_message( __( 'There was a problem deleting that avatar; please try again.', 'buddypress' ), 'error' );
    652652        }
    653653    }
     
    755755            // Demote a user.
    756756            elseif ( !groups_demote_member( $user_id, $bp->groups->current_group->id ) )
    757                 bp_core_add_message( __( 'There was an error when demoting that user, please try again', 'buddypress' ), 'error' );
     757                bp_core_add_message( __( 'There was an error when demoting that user; please try again', 'buddypress' ), 'error' );
    758758            else
    759759                bp_core_add_message( __( 'User demoted successfully', 'buddypress' ) );
     
    773773            // Ban a user.
    774774            if ( !groups_ban_member( $user_id, $bp->groups->current_group->id ) )
    775                 bp_core_add_message( __( 'There was an error when banning that user, please try again', 'buddypress' ), 'error' );
     775                bp_core_add_message( __( 'There was an error when banning that user; please try again', 'buddypress' ), 'error' );
    776776            else
    777777                bp_core_add_message( __( 'User banned successfully', 'buddypress' ) );
     
    809809            // Remove a user.
    810810            if ( !groups_remove_member( $user_id, $bp->groups->current_group->id ) )
    811                 bp_core_add_message( __( 'There was an error removing that user from the group, please try again', 'buddypress' ), 'error' );
     811                bp_core_add_message( __( 'There was an error removing that user from the group; please try again', 'buddypress' ), 'error' );
    812812            else
    813813                bp_core_add_message( __( 'User removed successfully', 'buddypress' ) );
     
    848848            // Accept the membership request
    849849            if ( !groups_accept_membership_request( $membership_id ) )
    850                 bp_core_add_message( __( 'There was an error accepting the membership request, please try again.', 'buddypress' ), 'error' );
     850                bp_core_add_message( __( 'There was an error accepting the membership request; please try again.', 'buddypress' ), 'error' );
    851851            else
    852852                bp_core_add_message( __( 'Group membership request accepted', 'buddypress' ) );
     
    859859            // Reject the membership request
    860860            if ( !groups_reject_membership_request( $membership_id ) )
    861                 bp_core_add_message( __( 'There was an error rejecting the membership request, please try again.', 'buddypress' ), 'error' );
     861                bp_core_add_message( __( 'There was an error rejecting the membership request; please try again.', 'buddypress' ), 'error' );
    862862            else
    863863                bp_core_add_message( __( 'Group membership request rejected', 'buddypress' ) );
     
    893893        // Group admin has deleted the group, now do it.
    894894        if ( !groups_delete_group( $bp->groups->current_group->id ) ) {
    895             bp_core_add_message( __( 'There was an error deleting the group, please try again.', 'buddypress' ), 'error' );
     895            bp_core_add_message( __( 'There was an error deleting the group; please try again.', 'buddypress' ), 'error' );
    896896        } else {
    897897            bp_core_add_message( __( 'The group was deleted successfully', 'buddypress' ) );
Note: See TracChangeset for help on using the changeset viewer.