[wp-trac] [WordPress Trac] #35746: Avoid using HTML tags in translation strings (wp-admin/users.php)

WordPress Trac noreply at wordpress.org
Wed Feb 24 00:26:40 UTC 2016


#35746: Avoid using HTML tags in translation strings (wp-admin/users.php)
--------------------------+------------------------------
 Reporter:  ramiy         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:7 ocean90]:
 > Ok, because "Edit User" is only used once for the title of user-edit.php
 and it has some references in the help tabs.
 > "Edit user" is only used in this string. So theoretically your still
 could omit the "user" part here.

 Yep, as long as those strings are not merged in #18218.

 "Edit User" is a heading and "Edit user" here is a call to action, so they
 do need to be translated differently. A separate context would be fine :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35746#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list