#36496 closed defect (bug) (fixed)
Replace function name in translatable strings with a placeholder
Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
Description
In these two strings, the function name does not need to be translated and should be replaced with a placeholder and a translator comment:
Do not pass script tags to wp_add_inline_script().
Do not pass style tags to wp_add_inline_style().
Attachments (1)
Change History (7)
@
8 years ago
"Script" and "style" should probably be wrapped in a code
tag themselves, and a comment in the string should remind translators not to translate them.
#2
@
8 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 37188:
Note: See
TracTickets for help on using
tickets.
Do "script" and "style" need to be translated either? If not, perhaps these strings could be combined.