[wp-trac] [WordPress Trac] #37777: Replace _x() with __() and translators comments in wp-admin/includes/network.php
WordPress Trac
noreply at wordpress.org
Mon Aug 22 23:56:10 UTC 2016
#37777: Replace _x() with __() and translators comments in wp-
admin/includes/network.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 Sites', 'Default network name' )
}}}
with:
{{{
/* translators: %s: Default network name */
__( '%s Sites' )
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37777>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list