Opened 7 years ago
Closed 7 years ago
#41666 closed defect (bug) (fixed)
i18n: Use %s placeholders in wp-http
Reported by: | ramiy | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | has-patch |
Focuses: | Cc: |
Description
Old translation string:
Could not open handle for fopen() to %s
New translation string:
Could not open handle for %1$s to %2$s.
The function can be mistakenly changes by the translator. The best practice is to replace the fopen()
function with a %s
placeholder.
The patch also adds a period at the end of the sentence and adds translators comments.
Attachments (3)
Change History (6)
Note: See
TracTickets for help on using
tickets.
add
<code>
tags around the function name