[wp-trac] [WordPress Trac] #47255: i18n: Use %s placeholders in instead of `mail()`

WordPress Trac noreply at wordpress.org
Mon May 13 15:22:10 UTC 2019


#47255: i18n: Use %s placeholders in instead of `mail()`
----------------------------+-----------------------------
 Reporter:  ramiy           |      Owner:  SergeyBiryukov
     Type:  defect (bug)    |     Status:  assigned
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Mail            |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Old translation string:

 * `The email could not be sent. Possible reason: your host may have
 disabled the mail() function.`

 New translation string:

 * `The email could not be sent. Possible reason: your host may have
 disabled the %s function.`

 Translators cam change the function name by mistake while translating the
 string. The best practice is to replace the `mail()` function with a `%s`
 placeholder.

 The patch also adds translators comments.

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


More information about the wp-trac mailing list