Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/21/2018 01:00:36 AM (17 months ago)
Author:
djpaul
Message:

Templates, Nouveau: string improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/assets/_attachments/cover-images/index.php

    r12082 r12104  
    2222<script id="tmpl-bp-cover-image-delete" type="text/html">
    2323    <# if ( 'user' === data.object ) { #>
    24         <p><?php _e( "If you'd like to delete your current cover image but not upload a new one, please use the delete Cover Image button.", 'buddypress' ); ?></p>
    25         <button type="button" class="button edit" id="bp-delete-cover-image"><?php esc_html_e( 'Delete My Cover Image', 'buddypress' ); ?></button>
     24        <p><?php esc_html_e( "If you'd like to delete your current cover image, use the delete Cover Image button.", 'buddypress' ); ?></p>
     25        <button type="button" class="button edit" id="bp-delete-cover-image">
     26            <?php
     27            echo esc_html_x( 'Delete My Cover Image', 'button', 'buddypress' );
     28            ?>
     29        </button>
    2630    <# } else if ( 'group' === data.object ) { #>
    27         <p><?php _e( "If you'd like to remove the existing group cover image but not upload a new one, please use the delete group cover image button.", 'buddypress' ); ?></p>
    28         <button type="button" class="button edit" id="bp-delete-cover-image"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></button>
     31        <p><?php esc_html_e( "If you'd like to remove the existing group cover image but not upload a new one, please use the delete group cover image button.", 'buddypress' ); ?></p>
     32        <button type="button" class="button edit" id="bp-delete-cover-image">
     33            <?php
     34            echo esc_html_x( 'Delete Group Cover Image', 'button', 'buddypress' );
     35            ?>
     36        </button>
    2937    <# } else { #>
    3038        <?php
Note: See TracChangeset for help on using the changeset viewer.