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/activity/comment-form.php

    r12082 r12104  
    1616    <div class="ac-reply-content">
    1717        <div class="ac-textarea">
    18             <label for="ac-input-<?php bp_activity_id(); ?>" class="bp-screen-reader-text"><?php _e( 'Comment', 'buddypress' ); ?></label>
     18            <label for="ac-input-<?php bp_activity_id(); ?>" class="bp-screen-reader-text">
     19                <?php echo esc_html( _x( 'Comment', 'heading', 'buddypress' ) ); ?>
     20            </label>
    1921            <textarea id="ac-input-<?php bp_activity_id(); ?>" class="ac-input bp-suggestions" name="ac_input_<?php bp_activity_id(); ?>"></textarea>
    2022        </div>
    21         <input type="submit" name="ac_form_submit" value="<?php esc_attr_e( 'Post', 'buddypress' ); ?>" /> &nbsp; <button type="button" class="ac-reply-cancel"><?php _e( 'Cancel', 'buddypress' ); ?></button>
     23        <?php
     24        printf(
     25            '<input type="submit" name="ac_form_submit" value="%s" /> &nbsp; <button type="button" class="ac-reply-cancel">%s</button>',
     26            esc_attr( _x( 'Post', 'button', 'buddypress' ) ),
     27            esc_html( _x( 'Cancel', 'button', 'buddypress' ) )
     28        );
     29        ?>
    2230        <input type="hidden" name="comment_form_id" value="<?php bp_activity_id(); ?>" />
    2331    </div>
Note: See TracChangeset for help on using the changeset viewer.