[buddypress-trac] [BuddyPress Trac] #6900: Avoid using HTML tags in translation strings (bp-settings/bp-settings-template.php)

buddypress-trac noreply at wordpress.org
Wed Mar 23 14:38:30 UTC 2016

#6900: Avoid using HTML tags in translation strings (bp-settings/bp-settings-
 Reporter:  ramiy                  |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  2.6
Component:  Locale - i18n          |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
Changes (by boonebgorges):

 * keywords:  has-patch => has-patch 2nd-opinion
 * milestone:  Under Consideration => 2.6


 'Cancel' as a standalone string here probably won't work. 'Cancel' is
 generally used as button text, which it is not in this case, so it's
 possible that some locales will want to translate it differently. So we
 need either (a) to combine it with more of the string, (b) turn it into a
 button, (c) change it to `_x()` and add context, or (d) change the wording
 altogether so that the context is more obvious. For accessibility reasons,
 I think that (d) is probably the best option.

 See [attachment:6900.diff].

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6900#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list