Opened 12 months ago
Closed 11 months ago
#59563 closed enhancement (fixed)
Improve translation strings
Reported by: | rabmalin | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | 6.3 |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
Description
/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.
Change History (4)
Note: See
TracTickets for help on using
tickets.
there's one more:
Some of the theme.json settings.spacing.spacingScale values are invalid