[wp-trac] [WordPress Trac] #45473: Twenty Nineteen: edit translatable strings with HTML code (was: Twenty Nineteen: Avoid html code in translatable strings)
WordPress Trac
noreply at wordpress.org
Mon Jul 29 20:20:06 UTC 2024
#45473: Twenty Nineteen: edit translatable strings with HTML code
-----------------------------------+-----------------------------
Reporter: Presskopp | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+-----------------------------
Comment (by sabernhardt):
I think it is still worth making Twenty Nineteen's "Published in" links
consistent for any attachment page (but probably no other changes this
late). The patch only replaces one string with another that already
exists.
The `%s` might have been a better placeholder than `%title` if it had been
used in both templates, yet more languages have translations for the
`%title` string. Also, the theme's design added a line break in those
links, and the `%title` string has that.
I edited the ticket summary because the patch does not follow the original
direction. 45473.1.patch applied for me, but I refreshed it anyway.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45473#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list