Skip to:
Content

BuddyPress.org


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

Templates, Nouveau: string improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/parts/profile-visibility.php

    r12082 r12104  
    1818        <?php
    1919        printf(
     20            /* translators: field visibility level, e.g. "...seen by: everyone". */
    2021            __( 'This field may be seen by: %s', 'buddypress' ),
    2122            '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
    2223        );
    2324        ?>
    24         <button class="visibility-toggle-link text-button" type="button"><?php _e( 'Change', 'buddypress' ); ?></button>
     25        <button class="visibility-toggle-link text-button" type="button"><?php echo esc_html_x( 'Change', 'button', 'buddypress' ); ?></button>
    2526
    2627    </p>
     
    2829    <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id(); ?>">
    2930        <fieldset>
    30             <legend><?php _e( 'Who is allowed to see this field?', 'buddypress' ); ?></legend>
     31            <legend><?php esc_html_e( 'Who is allowed to see this field?', 'buddypress' ); ?></legend>
    3132
    3233            <?php bp_profile_visibility_radio_buttons(); ?>
    3334
    3435        </fieldset>
    35         <button class="field-visibility-settings-close button" type="button"><?php _e( 'Close', 'buddypress' ); ?></button>
     36        <button class="field-visibility-settings-close button" type="button"><?php echo esc_html_x( 'Close', 'button', 'buddypress' ); ?></button>
    3637    </div>
    3738
     
    4142        <?php
    4243        printf(
    43             __( 'This field may be seen by: %s', 'buddypress' ),
     44            esc_html__( 'This field may be seen by: %s', 'buddypress' ),
    4445            '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
    4546        );
Note: See TracChangeset for help on using the changeset viewer.