Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/21/2018 01:01:35 AM (8 years ago)
Author:
djpaul
Message:

Templates, Nouveau: string improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-avatar.php

    r12082 r12105  
    2424<?php if ( ! bp_is_group_create() ) : ?>
    2525        <?php if ( ! bp_get_group_has_avatar() ) : ?>
    26                 <p class="bp-help-text"><?php _e( 'Add an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.', 'buddypress' ); ?></p>
     26                <p class="bp-help-text"><?php esc_html_e( 'Add an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.', 'buddypress' ); ?></p>
    2727        <?php else : ?>
    28                 <p class="bp-help-text"><?php _e( 'Edit or update your avatar image for this group.', 'buddypress' ); ?></p>
     28                <p class="bp-help-text"><?php esc_html_e( 'Edit or update your avatar image for this group.', 'buddypress' ); ?></p>
    2929        <?php endif; ?>
    3030<?php endif; ?>
     
    4444        <?php endif; ?>
    4545
    46                         <p class="bp-help-text"><?php _e( 'Upload an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.', 'buddypress' ); ?></p>
     46                        <p class="bp-help-text"><?php esc_html_e( 'Upload an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.', 'buddypress' ); ?></p>
    4747
    4848                        <p>
    49                                 <label for="file" class="bp-screen-reader-text"><?php _e( 'Select an image', 'buddypress' ); ?></label>
     49                                <label for="file" class="bp-screen-reader-text"><?php esc_html_e( 'Select an image', 'buddypress' ); ?></label>
    5050                                <input type="file" name="file" id="file" />
    5151                                <input type="submit" name="upload" id="upload" value="<?php esc_attr_e( 'Upload Image', 'buddypress' ); ?>" />
     
    5454
    5555        <?php if ( bp_is_group_create() ) : ?>
    56                         <p class="bp-help-text"><?php _e( 'To skip the group profile photo upload process, hit the "Next Step" button.', 'buddypress' ); ?></p>
     56                        <p class="bp-help-text"><?php esc_html_e( 'To skip the group profile photo upload process, hit the "Next Step" button.', 'buddypress' ); ?></p>
    5757                </div><!-- .main-column -->
    5858
    5959        <?php elseif ( bp_get_group_has_avatar() ) : ?>
    6060
    61                 <p><?php _e( "If you'd like to remove the existing group profile photo but not upload a new one, please use the delete group profile photo button.", 'buddypress' ); ?></p>
     61                <p><?php esc_html_e( "If you'd like to remove the existing group profile photo but not upload a new one, please use the delete group profile photo button.", 'buddypress' ); ?></p>
    6262
    6363                <?php
     
    9696?>
    9797
    98         <h2><?php _e( 'Crop Group Profile Photo', 'buddypress' ); ?></h2>
     98        <h2><?php esc_html_e( 'Crop Group Profile Photo', 'buddypress' ); ?></h2>
    9999
    100100        <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile photo to crop', 'buddypress' ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.