[wp-trac] [WordPress Trac] #35679: Avoid using HTML tags in translation strings (wp-admin/plugins.php)
WordPress Trac
noreply at wordpress.org
Tue Feb 23 22:38:49 UTC 2016
#35679: Avoid using HTML tags in translation strings (wp-admin/plugins.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):
`(will also <strong>delete its data</strong>)` is confusing by itself
(what would delete its data)?
I would suggest just moving the tags into placeholders:
* `%1$s by %2$s (will also <strong>delete its data</strong>)`
* `%1$s by %2$s`
The latter string also probably needs a context, to avoid clashing with
[source:tags/4.4.2/src/wp-admin/includes/media.php?marks=319#L315 the one
in media_handle_upload()] if we remove the trailing dot there at some
point.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35679#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list