[wp-trac] [WordPress Trac] #40944: Translator comment has wrong	placeholder
    WordPress Trac 
    noreply at wordpress.org
       
    Thu Jun  8 06:44:20 UTC 2017
    
    
  
#40944: Translator comment has wrong placeholder
--------------------------+-----------------------------
 Reporter:  juhise        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In code it's `%d` but in translator comment `%d` is used.
 {{{#!php
 <?php
 /* translators: %s is a numeric HTTP status code; e.g., 400, 403, 500,
 504, etc. */
                                 sprintf( __( 'Invalid API response code
 (%d)' ), $response_code )
 }}}
 Created a small patch to fix this
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40944>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list