[wp-trac] [WordPress Trac] #35675: Avoid using HTML tags in translation strings (wp-admin/custom-header.php)
WordPress Trac
noreply at wordpress.org
Fri Feb 5 19:54:16 UTC 2016
#35675: Avoid using HTML tags in translation strings (wp-admin/custom-header.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 strings:
* `Images should be at least <strong>%1$d pixels</strong> wide.`
* `Images should be at least <strong>%1$d pixels</strong> tall.`
* `Suggested width is <strong>%1$d pixels</strong>.`
* `Suggested height is <strong>%1$d pixels</strong>.`
New strings:
* `Images should be at least %s wide.`
* `Images should be at least %s tall.`
* `Suggested width is %s.`
* `Suggested height is %s.`
* `%d pixels`
As you can see the new string has no HTML tags, and they are easier to
translate.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35675#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list