[wp-trac] [WordPress Trac] #37781: Replace _x() with __() and translators comments in wp-includes/post-template.php
WordPress Trac
noreply at wordpress.org
Tue Aug 23 01:32:40 UTC 2016
#37781: Replace _x() with __() and translators comments in wp-includes/post-
template.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:
{{{
/* translators: post revision title: 1: author avatar, 2: author name, 3:
time ago, 4: date */
_x( '%1$s %2$s, %3$s ago (%4$s)', 'post revision title' )
}}}
With:
{{{
/* translators: post revision title: 1: author avatar, 2: author name, 3:
time ago, 4: date */
__( '%1$s %2$s, %3$s ago (%4$s)' )
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37781>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list