[wp-trac] [WordPress Trac] #45162: Comments for translators must be added in script-loader.php

WordPress Trac noreply at wordpress.org
Wed Oct 24 13:17:32 UTC 2018


#45162: Comments for translators must be added in script-loader.php
---------------------------+-----------------------------
 Reporter:  tobifjellner   |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Script Loader  |    Version:  5.0
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Location: https://core.trac.wordpress.org/browser/branches/5.0/src/wp-
 includes/script-loader.php
 Rows 410-414

 {{{#!php
 <?php
 'formats'  => array(
     'time'                => get_option( 'time_format', __( 'g:i a',
 'default' ) ),
     'date'                => get_option( 'date_format', __( 'F j, Y',
 'default' ) ),
     'datetime'            => __( 'F j, Y g:i a', 'default' ),
     'datetimeAbbreviated' => __( 'M j, Y g:i a', 'default' ),

 }}}
 It is very important to add translator comments for these strings with
 link to relevant documentation about time and date formats.

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


More information about the wp-trac mailing list