[wp-trac] [WordPress Trac] #35729: Avoid using HTML tags in translation strings (wp-includes/comment-template.php)
WordPress Trac
noreply at wordpress.org
Fri Feb 5 21:03:07 UTC 2016
#35729: Avoid using HTML tags in translation strings (wp-includes/comment-
template.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):
Ok, It's done!
----
Old string:
* `<a href="%1$s" aria-label="Logged in as %2$s. Edit your
profile.">Logged in as %2$s</a>. <a href="%3$s">Log out?</a>`
New strings:
* `Logged in as %s. Edit your profile.`
* `Logged in as %s`
* `Log out?`
----
No HTML tags, much easier to translate.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35729#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list