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-legacy/buddypress/groups/single/request-membership.php

    r12082 r12104  
    1616
    1717<?php if ( !bp_group_has_requested_membership() ) : ?>
    18     <h2 class="bp-screen-reader-text"><?php
    19         /* translators: accessibility text */
    20         _e( 'Request form', 'buddypress' );
    21     ?></h2>
     18    <h2 class="bp-screen-reader-text"><?php esc_html_e( 'Group membership request form', 'buddypress' ); ?></h2>
    2219
    23     <p><?php printf( __( "You are requesting to become a member of the group '%s'.", 'buddypress' ), bp_get_group_name( false ) ); ?></p>
     20    <p>
     21        <?php
     22        echo esc_html(
     23            sprintf(
     24                /* translators:  %s =group name */
     25                __( 'You are requesting to become a member of the group "%s".', 'buddypress' ),
     26                bp_get_group_name()
     27            )
     28        );
     29        ?>
     30    </p>
    2431
    2532    <form action="<?php bp_group_form_action('request-membership' ); ?>" method="post" name="request-membership-form" id="request-membership-form" class="standard-form">
    26         <label for="group-request-membership-comments"><?php _e( 'Comments (optional)', 'buddypress' ); ?></label>
     33        <label for="group-request-membership-comments"><?php esc_html_e( 'Comments (optional)', 'buddypress' ); ?></label>
    2734        <textarea name="group-request-membership-comments" id="group-request-membership-comments"></textarea>
    2835
     
    3643        do_action( 'bp_group_request_membership_content' ); ?>
    3744
    38         <p><input type="submit" name="group-request-send" id="group-request-send" value="<?php esc_attr_e( 'Send Request', 'buddypress' ); ?>" />
     45        <p><input type="submit" name="group-request-send" id="group-request-send" value="<?php echo esc_attr_x( 'Send Request', 'button', 'buddypress' ); ?>" />
    3946
    4047        <?php wp_nonce_field( 'groups_request_membership' ); ?>
Note: See TracChangeset for help on using the changeset viewer.