[wp-trac] [WordPress Trac] #37496: Replace _x() with __() with translators comments in wp-admin/network/settings.php

WordPress Trac noreply at wordpress.org
Thu Jul 28 10:38:47 UTC 2016


#37496: Replace _x() with __() with translators comments in wp-
admin/network/settings.php
--------------------------+-----------------------------
 Reporter:  ramiy         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Context function `_x()` is used to differ two similar strings with
 different meanings. Translators comments are used to describe `%s`
 placeholders.

 The attached patch is replacing:

 {{{
 _x( '%s KB', 'File size in kilobytes' )
 }}}

 with:

 {{{
 /* translators: %s: File size in kilobytes */
 __( '%s KB' ),
 }}}

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


More information about the wp-trac mailing list