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

    r12082 r12104  
    1010
    1111<?php if ( ! bp_group_has_requested_membership() ) : ?>
    12     <p><?php printf( __( 'You are requesting to become a member of the group \'%s\'.', 'buddypress' ), bp_get_group_name( false ) ); ?></p>
     12    <p>
     13        <?php
     14        echo esc_html(
     15            sprintf(
     16                /* translators: %s = group name */
     17                __( 'You are requesting to become a member of the group "%s".', 'buddypress' ),
     18                bp_get_group_name()
     19            )
     20        );
     21        ?>
     22    </p>
    1323
    1424    <form action="<?php bp_group_form_action( 'request-membership' ); ?>" method="post" name="request-membership-form" id="request-membership-form" class="standard-form">
    15         <label for="group-request-membership-comments"><?php _e( 'Comments (optional)', 'buddypress' ); ?></label>
     25        <label for="group-request-membership-comments"><?php esc_html( 'Comments (optional)', 'buddypress' ); ?></label>
    1626        <textarea name="group-request-membership-comments" id="group-request-membership-comments"></textarea>
    1727
    1828        <?php bp_nouveau_group_hook( '', 'request_membership_content' ); ?>
    1929
    20         <p><input type="submit" name="group-request-send" id="group-request-send" value="<?php esc_attr_e( 'Send Request', 'buddypress' ); ?>" />
     30        <p><input type="submit" name="group-request-send" id="group-request-send" value="<?php echo esc_attr_x( 'Send Request', 'button', 'buddypress' ); ?>" />
    2131
    2232        <?php wp_nonce_field( 'groups_request_membership' ); ?>
Note: See TracChangeset for help on using the changeset viewer.