[buddypress-trac] [BuddyPress Trac] #7285: Use _ex() and _x() comments for accessibility strings

buddypress-trac noreply at wordpress.org
Wed Oct 12 20:51:13 UTC 2016

#7285: Use _ex() and _x() comments for accessibility strings
 Reporter:  slaFFik      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  2.8
Component:  I18N         |    Version:
 Severity:  normal       |   Keywords:
 Second parameter will give ability to identify, that this text is for
 accessibility purpose, so can be a bit lengthy.

 So this:

 <h2 class="bp-screen-reader-text"><?php _e( 'Manage Members', 'buddypress'
 ); ?></h2>

 will become:

 <h2 class="bp-screen-reader-text"><?php _ex( 'Manage Members',
 'Accessibility text', 'buddypress' ); ?></h2>

 That's a help for translators.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7285>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list