Opened 9 years ago
Closed 9 years ago
#7285 closed enhancement (no action required)
Use _ex() and _x() comments for accessibility strings
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | I18N | Keywords: | |
| Cc: |
Description
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.
Change History (2)
Note: See
TracTickets for help on using
tickets.
_ex()and_x()are for different purpose, should not be used in this use case. Closing asinvalid. @mercime did everything right :)