[wp-trac] [WordPress Trac] #59563: Improve translation strings
WordPress Trac
noreply at wordpress.org
Sun Oct 8 14:59:13 UTC 2023
#59563: Improve translation strings
-------------------------+-----------------------------
Reporter: rabmalin | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
`/wp-includes/class-wp-duotone.php` L904
`__( 'The duotone id "%s" is not registered in theme.json settings' ),`
`theme.json` is never going to be translated in another languages. Would
it make more sense if we take that part out of the translation string and
use placeholder?
Another case:
`"%s" in theme.json settings.color.duotone is not a hex or rgb string.`
`settings.color.duotone` wont be translated I guess.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59563>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list