Skip to:
Content

BuddyPress.org


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

Templates, Nouveau: string improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/src/bp-templates/bp-nouveau/includes/notifications/template-tags.php

    r12082 r12105  
    8484    <span class="notifications-order-actions">
    8585        <a href="<?php echo esc_url( $desc ); ?>" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Newest First', 'buddypress' ); ?>" aria-label="<?php esc_attr_e( 'Newest First', 'buddypress' ); ?>" data-bp-notifications-order="DESC"><span class="dashicons dashicons-arrow-down" aria-hidden="true"></span></a>
    86         <a href="<?php echo esc_url( $asc ); ?>" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Older First', 'buddypress' ); ?>" aria-label="<?php esc_attr_e( 'Older First', 'buddypress' ); ?>" data-bp-notifications-order="ASC"><span class="dashicons dashicons-arrow-up" aria-hidden="true"></span></a>
     86        <a href="<?php echo esc_url( $asc ); ?>" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Oldest First', 'buddypress' ); ?>" aria-label="<?php esc_attr_e( 'Oldest First', 'buddypress' ); ?>" data-bp-notifications-order="ASC"><span class="dashicons dashicons-arrow-up" aria-hidden="true"></span></a>
    8787    </span>
    8888
     
    101101
    102102        <label class="bp-screen-reader-text" for="notification-select"><?php
    103             /* translators: accessibility text */
    104             _e( 'Select Bulk Action', 'buddypress' );
     103            esc_html_e( 'Select Bulk Action', 'buddypress' );
    105104        ?></label>
    106105
    107106        <select name="notification_bulk_action" id="notification-select">
    108             <option value="" selected="selected"><?php _e( 'Bulk Actions', 'buddypress' ); ?></option>
     107            <option value="" selected="selected"><?php echo esc_html( 'Bulk Actions', 'buddypress' ); ?></option>
    109108
    110109            <?php if ( bp_is_current_action( 'unread' ) ) : ?>
    111                 <option value="read"><?php _e( 'Mark read', 'buddypress' ); ?></option>
     110                <option value="read"><?php echo esc_html_x( 'Mark read', 'button', 'buddypress' ); ?></option>
    112111            <?php elseif ( bp_is_current_action( 'read' ) ) : ?>
    113                 <option value="unread"><?php _e( 'Mark unread', 'buddypress' ); ?></option>
     112                <option value="unread"><?php echo esc_html_x( 'Mark unread', 'button', 'buddypress' ); ?></option>
    114113            <?php endif; ?>
    115             <option value="delete"><?php _e( 'Delete', 'buddypress' ); ?></option>
     114            <option value="delete"><?php echo esc_html_x( 'Delete', 'button', 'buddypress' ); ?></option>
    116115        </select>
    117116
     
    120119    </div><!-- // .select-wrap -->
    121120
    122     <input type="submit" id="notification-bulk-manage" class="button action" value="<?php esc_attr_e( 'Apply', 'buddypress' ); ?>">
     121    <input type="submit" id="notification-bulk-manage" class="button action" value="<?php echo esc_attr_x( 'Apply', 'button', 'buddypress' ); ?>">
    123122    <?php
    124123}
Note: See TracChangeset for help on using the changeset viewer.