[wp-trac] [WordPress Trac] #43523: Translator comment improvements for 5.0

WordPress Trac noreply at wordpress.org
Sun Mar 11 16:42:57 UTC 2018


#43523: Translator comment improvements for 5.0
----------------------------+-----------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  task (blessed)  |     Status:  new
 Priority:  normal          |  Milestone:  5.0
Component:  I18N            |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------
 Background: #41974

 Some translator comments have a number, but the corresponding string does
 not use numbered placeholders:
 {{{
 /* translators: 1: Site name */
 printf( __( 'Links for %s' ), esc_attr( get_bloginfo( 'name', 'display' )
 ) );
 }}}
 The comment should reference the actual placeholder instead:
 {{{
 /* translators: %s: site name */
 }}}

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


More information about the wp-trac mailing list