[wp-trac] [WordPress Trac] #11226: Month name declension case

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 23 08:31:41 UTC 2009


#11226: Month name declension case
-------------------------+--------------------------------------------------
 Reporter:  waclawjacek  |       Owner:  nbachiyski
     Type:  enhancement  |      Status:  new       
 Priority:  low          |   Milestone:  3.0       
Component:  i18n         |     Version:  2.9       
 Severity:  minor        |    Keywords:  early     
-------------------------+--------------------------------------------------

Comment(by nacin):

 It's 20 references spanning 11 files. It'll get stale, but it won't be a
 huge patch.

 {{{
 wp-admin/admin-ajax.php:        $message = sprintf( __('Draft Saved at
 %s.'), date_i18n( $draft_saved_date_format ) );
 wp-admin/edit-form-advanced.php:                        $message =
 sprintf( __('Post scheduled for: <b>%1$s</b>. <a target="_blank"
 href="%2$s">Preview post</a>'), date_i18n( __( 'M j, Y @ G:i' ),
 strtotime( $post->post_date ) ), get_permalink($post_ID) );
 wp-admin/edit-form-comment.php:$date = date_i18n( $datef, strtotime(
 $comment->comment_date ) );
 wp-admin/edit-page-form.php:                    $message = sprintf(
 __('Page scheduled for: <b>%1$s</b>. <a target="_blank"
 href="%2$s">Preview page</a>'), date_i18n( __( 'M j, Y @ G:i' ),
 strtotime( $post->post_date ) ), get_permalink($post_ID) );
 wp-admin/includes/meta-boxes.php:       $date = date_i18n( $datef,
 strtotime( $post->post_date ) );
 wp-admin/includes/meta-boxes.php:       $date = date_i18n( $datef,
 strtotime( current_time('mysql') ) );
 wp-admin/options-general.php:<span id="utc-time"><?php printf(__('<abbr
 title="Coordinated Universal Time">UTC</abbr> time is <code>%s</code>'),
 date_i18n( $time_format, false, 'gmt')); ?></span>
 wp-admin/options-general.php:   <span id="local-time"><?php printf(__('UTC
 %1$s is <code>%2$s</code>'), $current_offset_name,
 date_i18n($time_format)); ?></span>
 wp-admin/options-general.php:    <span id="utc-time"><?php
 printf(__('<abbr title="Coordinated Universal Time">UTC</abbr> time is
 <code>%s</code>'), date_i18n($timezone_format, false, 'gmt')); ?></span>
 wp-admin/options-general.php:   <span id="local-time"><?php
 printf(__('Local time is <code>%1$s</code>'),
 date_i18n($timezone_format)); ?></span>
 wp-admin/options-general.php:                   printf( $message,
 date_i18n(get_option('date_format').' '.get_option('time_format'),
 $tr['ts'] ) );
 wp-admin/options-general.php:           echo ' /> ' . date_i18n( $format )
 . "</label><br />\n";
 wp-admin/options-general.php:   echo '/> ' . __('Custom:') . '
 </label><input type="text" name="date_format_custom" value="' . esc_attr(
 get_option('date_format') ) . '" class="small-text" /> ' . date_i18n(
 get_option('date_format') ) . "\n";
 wp-admin/options-general.php:           echo ' /> ' . date_i18n( $format )
 . "</label><br />\n";
 wp-admin/options-general.php:   echo '/> ' . __('Custom:') . '
 </label><input type="text" name="time_format_custom" value="' . esc_attr(
 get_option('time_format') ) . '" class="small-text" /> ' . date_i18n(
 get_option('time_format') ) . "\n";
 wp-includes/default-widgets.php:
 $date = ' <span class="rss-date">' . date_i18n( get_option( 'date_format'
 ), $date_stamp ) . '</span>';
 wp-includes/functions.php:          return date_i18n( $dateformatstring,
 $i );
 wp-includes/general-template.php:
 $arc_week_start = date_i18n($archive_week_start_date_format,
 $arc_week['start']);
 wp-includes/general-template.php:
 $arc_week_end = date_i18n($archive_week_end_date_format,
 $arc_week['end']);
 wp-includes/post-template.php:  $date = date_i18n( $datef, strtotime(
 $revision->post_modified_gmt . ' +0000' ) );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11226#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list