[wp-trac] [WordPress Trac] #41666: i18n: Use %s placeholders in wp-http

WordPress Trac noreply at wordpress.org
Thu Aug 17 23:36:47 UTC 2017


#41666: i18n: Use %s placeholders in wp-http
--------------------------+-----------------------------
 Reporter:  ramiy         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41666>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list