#36496 closed defect (bug) (fixed)
Replace function name in translatable strings with a placeholder
| Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.6 |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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)
@
10 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.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Do "script" and "style" need to be translated either? If not, perhaps these strings could be combined.