[wp-trac] [WordPress Trac] #51429: Translation not work in get_the_archive_title after changes with translation in context (_x())

WordPress Trac noreply at wordpress.org
Thu Oct 1 10:37:26 UTC 2020


#51429: Translation not work in get_the_archive_title after changes with
translation in context (_x())
--------------------------+-------------------------
 Reporter:  tomaskavalek  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Themes        |     Version:  5.5
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:  template
--------------------------+-------------------------
Changes (by ocean90):

 * status:  new => closed
 * focuses:   => template
 * component:  General => Themes
 * version:  5.5.1 => 5.5
 * milestone:  Awaiting Review =>
 * resolution:   => worksforme


Comment:

 Hi @tomaskavalek, welcome to WordPress Trac!

 Thanks for the report. This was introduced in [48294]. The line is only
 intended to allow translators changing the order and/or adding something
 between the prefix and title.
 The prefix itself is also available for translation just a few lines
 above, e.g. `$prefix = _x( 'Category:', 'category archive title prefix'
 );`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51429#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list