Skip to:
Content

BuddyPress.org

Changeset 10276


Ignore:
Timestamp:
10/14/2015 04:03:03 PM (9 years ago)
Author:
djpaul
Message:

Merge similar translation strings throughout BuddyPress.

Reduces the number of strings that are almost identical, apart from
minor typographic or punctuation differences. This reduces the amount
of strings that our translation volunteers need to work on.

Fixes #6662

Props ramiy

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-filters.php

    r10220 r10276  
    759759    // Activation page
    760760    } elseif ( bp_is_activation_page() ) {
    761         $title_parts = array( __( 'Activate your Account', 'buddypress' ) );
     761        $title_parts = array( __( 'Activate Your Account', 'buddypress' ) );
    762762
    763763    // Group creation page
  • trunk/src/bp-friends/bp-friends-widgets.php

    r10251 r10276  
    7171        $user_id = bp_displayed_user_id();
    7272        $link = trailingslashit( bp_displayed_user_domain() . bp_get_friends_slug() );
    73         $instance['title'] = sprintf( __( '%s’s Friends', 'buddypress' ), bp_get_displayed_user_fullname() );
     73        $instance['title'] = sprintf( __( "%s's Friends", 'buddypress' ), bp_get_displayed_user_fullname() );
    7474
    7575        if ( empty( $instance['friend_default'] ) ) {
  • trunk/src/bp-groups/bp-groups-actions.php

    r10160 r10276  
    341341                bp_core_add_message( __( 'There was an error saving the group profile photo, please try uploading again.', 'buddypress' ), 'error' );
    342342            else
    343                 bp_core_add_message( __( 'The group profile photo was uploaded successfully!', 'buddypress' ) );
     343                bp_core_add_message( __( 'The group profile photo was uploaded successfully.', 'buddypress' ) );
    344344        }
    345345    }
  • trunk/src/bp-groups/bp-groups-screens.php

    r10184 r10276  
    13331333            bp_core_add_message( __( 'There was an error deleting the group. Please try again.', 'buddypress' ), 'error' );
    13341334        } else {
    1335             bp_core_add_message( __( 'The group was deleted successfully', 'buddypress' ) );
     1335            bp_core_add_message( __( 'The group was deleted successfully.', 'buddypress' ) );
    13361336
    13371337            /**
  • trunk/src/bp-members/bp-members-functions.php

    r10253 r10276  
    19761976            // Change the user's status so they become active
    19771977            if ( ! $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET user_status = 0 WHERE ID = %d", $user_id ) ) ) {
    1978                 return new WP_Error( 'invalid_key', __( 'Invalid activation key', 'buddypress' ) );
     1978                return new WP_Error( 'invalid_key', __( 'Invalid activation key.', 'buddypress' ) );
    19791979            }
    19801980
  • trunk/src/bp-members/bp-members-screens.php

    r10232 r10276  
    680680        // Activation page
    681681        } else {
    682             $title = __( 'Activate your Account', 'buddypress' );
     682            $title = __( 'Activate Your Account', 'buddypress' );
    683683
    684684            if ( bp_account_was_activated() ) {
  • trunk/src/bp-members/bp-members-widgets.php

    r10149 r10276  
    372372        <p>
    373373            <label for="<?php echo $this->get_field_id( 'max_members' ); ?>">
    374                 <?php esc_html_e( 'Max Members to show:', 'buddypress' ); ?>
     374                <?php esc_html_e( 'Max members to show:', 'buddypress' ); ?>
    375375                <input class="widefat" id="<?php echo $this->get_field_id( 'max_members' ); ?>" name="<?php echo $this->get_field_name( 'max_members' ); ?>" type="text" value="<?php echo esc_attr( $max_members ); ?>" style="width: 30%" />
    376376            </label>
     
    522522        <p>
    523523            <label for="<?php echo $this->get_field_id( 'max_members' ); ?>">
    524                 <?php esc_html_e( 'Max Members to show:', 'buddypress' ); ?>
     524                <?php esc_html_e( 'Max members to show:', 'buddypress' ); ?>
    525525                <input class="widefat" id="<?php echo $this->get_field_id( 'max_members' ); ?>" name="<?php echo $this->get_field_name( 'max_members' ); ?>" type="text" value="<?php echo esc_attr( $max_members ); ?>" style="width: 30%" />
    526526            </label>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php

    r10181 r10276  
    4949            <h5><?php _e( 'Crop Your New Profile Photo', 'buddypress' ); ?></h5>
    5050
    51             <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile Photo to crop', 'buddypress' ); ?>" />
     51            <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile photo to crop', 'buddypress' ); ?>" />
    5252
    5353            <div id="avatar-crop-pane">
    54                 <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-crop-preview" class="avatar" alt="<?php esc_attr_e( 'Profile Photo preview', 'buddypress' ); ?>" />
     54                <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-crop-preview" class="avatar" alt="<?php esc_attr_e( 'Profile photo preview', 'buddypress' ); ?>" />
    5555            </div>
    5656
  • trunk/src/bp-xprofile/bp-xprofile-activity.php

    r10163 r10276  
    9797    // natural translation.
    9898    $profile_link = trailingslashit( bp_core_get_user_domain( $activity->user_id ) . bp_get_profile_slug() );
    99     $action       = sprintf( __( '%s&#8217;s profile was updated', 'buddypress' ), '<a href="' . $profile_link . '">' . bp_core_get_user_displayname( $activity->user_id ) . '</a>' );
     99    $action       = sprintf( __( "%s's profile was updated", 'buddypress' ), '<a href="' . $profile_link . '">' . bp_core_get_user_displayname( $activity->user_id ) . '</a>' );
    100100
    101101    /**
  • trunk/tests/phpunit/testcases/xprofile/activity.php

    r10004 r10276  
    304304        ) );
    305305
    306         $expected = sprintf( __( '%s&#8217;s profile was updated', 'buddypress' ), '<a href="' . bp_core_get_user_domain( $u ) . bp_get_profile_slug() . '/">' . bp_core_get_user_displayname( $u ) . '</a>' );
     306        $expected = sprintf( __( "%s's profile was updated", 'buddypress' ), '<a href="' . bp_core_get_user_domain( $u ) . bp_get_profile_slug() . '/">' . bp_core_get_user_displayname( $u ) . '</a>' );
    307307
    308308        $a_obj = new BP_Activity_Activity( $a );
Note: See TracChangeset for help on using the changeset viewer.