[wp-trac] [WordPress Trac] #47254: i18n: Use %s placeholders in WP_Debug_Data class

WordPress Trac noreply at wordpress.org
Mon May 13 15:11:48 UTC 2019


#47254: i18n: Use %s placeholders in WP_Debug_Data class
----------------------------+-----------------------------
 Reporter:  ramiy           |      Owner:  SergeyBiryukov
     Type:  defect (bug)    |     Status:  assigned
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Old translation string:

 * `Unable to determine some settings, as the ini_get() function has been
 disabled.`

 New translation string:

 * `Unable to determine some settings, as the %s function has been
 disabled.`

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

 The patch also adds translators comments.

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


More information about the wp-trac mailing list