[wp-trac] [WordPress Trac] #37778: Replace _x() with __() to merge similar translation strings wp-includes/post-template.php

WordPress Trac noreply at wordpress.org
Tue Aug 23 00:26:05 UTC 2016


#37778: Replace _x() with __() to merge similar translation strings 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.

 This patch is replacing the context `_x()` function with regular `__()`
 function to merge those strings. And avoid wrong usage of context
 functions.

 Those are similar translation strings. They should be merged. The only
 difference is the `%s` placeholder. We document this difference in
 translators comments, not as a context.

 See the attached screenshot from `translate.wordpress.org` and the
 attached patch.

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


More information about the wp-trac mailing list