Skip to:
Content

BuddyPress.org

Changeset 13482


Ignore:
Timestamp:
05/18/2023 10:55:35 AM (3 years ago)
Author:
imath
Message:

Improve group viewing action labelling consistency

Use "view" instead of "visit" to label the group viewing action.

Props lenasterg

Fixes #8887
Closes ​https://github.com/buddypress/buddypress/pull/100

Location:
trunk/src
Files:
6 edited

Legend:

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

    r13449 r13482  
    235235                        'title'   => __( 'Group Actions', 'buddypress' ),
    236236                        'content' =>
    237                                 '<p>' . __( 'Clicking "Visit" will take you to the group&#8217;s public page. Use this link to see what the group looks like on the front end of your site.', 'buddypress' ) . '</p>' .
     237                                '<p>' . __( 'Clicking "View" will take you to the group&#8217;s public page. Use this link to see what the group looks like on the front end of your site.', 'buddypress' ) . '</p>' .
    238238                                '<p>' . __( 'Clicking "Edit" will take you to a Dashboard panel where you can manage various details about the group, such as its name and description, its members, and other settings.', 'buddypress' ) . '</p>' .
    239239                                '<p>' . __( 'If you click "Delete" under a specific group, or select a number of groups and then choose Delete from the Bulk Actions menu, you will be led to a page where you&#8217;ll be asked to confirm the permanent deletion of the group(s).', 'buddypress' ) . '</p>',
    … …  
    687687                                                                                                <?php bp_groups_directory_url(); ?> <input type="text" id="bp-groups-slug" name="bp-groups-slug" value="<?php bp_group_slug( $group ); ?>" autocomplete="off"> /
    688688                                                                                        </span>
    689                                                                                         <a href="<?php bp_group_url( $group ) ?>" class="button button-small" id="bp-groups-visit-group"><?php esc_html_e( 'Visit Group', 'buddypress' ) ?></a>
     689                                                                                        <a href="<?php bp_group_url( $group ) ?>" class="button button-small" id="bp-groups-visit-group"><?php esc_html_e( 'View Group', 'buddypress' ) ?></a>
    690690                                                                                </div>
    691691
  • trunk/src/bp-groups/bp-groups-blocks.php

    r13437 r13482  
    140140                        </div>',
    141141                        esc_url( $group_link ),
    142                         esc_html__( 'Visit Group', 'buddypress' )
     142                        esc_html__( 'View Group', 'buddypress' )
    143143                );
    144144        }
  • trunk/src/bp-groups/classes/class-bp-groups-list-table.php

    r13437 r13482  
    608608                $actions['delete'] = sprintf( '<a href="%s">%s</a>', esc_url( $delete_url ), __( 'Delete', 'buddypress' ) );
    609609
    610                 // Visit.
     610                // View.
    611611                $actions['view']   = sprintf( '<a href="%s">%s</a>', esc_url( $view_url   ), __( 'View',   'buddypress' ) );
    612612
  • trunk/src/bp-groups/screens/user/invites.php

    r13443 r13482  
    2929
    3030                        /* translators: %s: group link */
    31                         bp_core_add_message( sprintf( __( 'Group invite accepted. Visit %s.', 'buddypress' ), bp_get_group_link( $group ) ) );
     31                        bp_core_add_message( sprintf( __( 'Group invite accepted. View %s.', 'buddypress' ), bp_get_group_link( $group ) ) );
    3232
    3333                        if ( bp_is_active( 'activity' ) ) {
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/type-parts/content-created-group.php

    r13183 r13482  
    66 *
    77 * @since 10.0.0
    8  * @version 10.0.0
     8 * @version 12.0.0
    99 */
    1010?>
    … …  
    3333
    3434                <div class="bp-profile-button">
    35                         <a href="<?php bp_activity_generated_content_part( 'group_url' ); ?>" class="button large primary button-primary" role="button"><?php esc_html_e( 'Visit group', 'buddypress'); ?></a>
     35                        <a href="<?php bp_activity_generated_content_part( 'group_url' ); ?>" class="button large primary button-primary" role="button"><?php esc_html_e( 'View group', 'buddypress'); ?></a>
    3636                </div>
    3737        </div>
  • trunk/src/bp-templates/bp-nouveau/buddypress/activity/type-parts/content-created-group.php

    r13182 r13482  
    66 *
    77 * @since 10.0.0
    8  * @version 10.0.0
     8 * @version 12.0.0
    99 */
    1010?>
    … …  
    3333
    3434                <div class="bp-profile-button">
    35                         <a href="<?php bp_activity_generated_content_part( 'group_url' ); ?>" class="button large primary button-primary" role="button"><?php esc_html_e( 'Visit group', 'buddypress'); ?></a>
     35                        <a href="<?php bp_activity_generated_content_part( 'group_url' ); ?>" class="button large primary button-primary" role="button"><?php esc_html_e( 'View group', 'buddypress'); ?></a>
    3636                </div>
    3737        </div>
Note: See TracChangeset for help on using the changeset viewer.