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

WordPress Trac noreply at wordpress.org
Fri Feb 5 20:14:06 UTC 2016


#35748: Avoid using HTML tags in translation strings (wp-
admin/includes/dashboard.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 ramiy):

 Old string:

 * `Manage <a href="%1$s">widgets</a> or <a href="%2$s">menus</a>`

 New strings:

 * `Manage %1$s or %2$s`
 * `widgets`
 * `menus`

 No HTML tags, much easier to translate.

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


More information about the wp-trac mailing list