Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/30/2016 06:30:16 AM (8 years ago)
Author:
mercime
Message:

Add translator comments for screen reader text in component files.

See #6951.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type.php

    r10592 r10828  
    366366                        <div id="<?php echo esc_attr( "{$type}_div{$j}" ); ?>" class="bp-option sortable">
    367367                            <span class="bp-option-icon grabber"></span>
    368                             <label for="<?php echo esc_attr( "{$type}_option{$j}" ); ?>" class="screen-reader-text"><?php esc_html_e( 'Add an option', 'buddypress' ); ?></label>
     368                            <label for="<?php echo esc_attr( "{$type}_option{$j}" ); ?>" class="screen-reader-text"><?php
     369                                /* translators: accessibility text */
     370                                esc_html_e( 'Add an option', 'buddypress' );
     371                            ?></label>
    369372                            <input type="text" name="<?php echo esc_attr( "{$type}_option[{$j}]" ); ?>" id="<?php echo esc_attr( "{$type}_option{$j}" ); ?>" value="<?php echo esc_attr( stripslashes( $options[$i]->name ) ); ?>" />
    370373                            <label for="<?php echo esc_attr( "{$type}_option{$default_name}" ); ?>">
Note: See TracChangeset for help on using the changeset viewer.