Ticket #3661: i18n-date-formats.diff
| File i18n-date-formats.diff, 2.7 kB (added by nbachiyski, 2 years ago) |
|---|
-
wp-admin/admin-functions.php
old new 830 830 <?php echo $pad; ?><?php the_title() ?> 831 831 </td> 832 832 <td><?php the_author() ?></td> 833 <td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else echo mysql2date( 'Y-m-d g:i a', $post->post_modified ); ?></td>833 <td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else echo mysql2date( __('Y-m-d g:i a'), $post->post_modified ); ?></td> 834 834 <td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit"><?php _e( 'View' ); ?></a></td> 835 835 <td><?php if ( current_user_can( 'edit_page', $id ) ) { echo "<a href='page.php?action=edit&post=$id' class='edit'>" . __( 'Edit' ) . "</a>"; } ?></td> 836 836 <td><?php if ( current_user_can( 'delete_page', $id ) ) { echo "<a href='" . wp_nonce_url( "page.php?action=delete&post=$id", 'delete-page_' . $id ) . "' class='delete' onclick=\"return deleteSomething( 'page', " . $id . ", '" . js_escape(sprintf( __("You are about to delete the '%s' page.\n'OK' to delete, 'Cancel' to stop." ), get_the_title() ) ) . "' );\">" . __( 'Delete' ) . "</a>"; } ?></td> -
wp-admin/options-general.php
old new 60 60 <table class="optiontable"> 61 61 <tr> 62 62 <th scope="row"><?php _e('<abbr title="Coordinated Universal Time">UTC</abbr> time is:') ?> </th> 63 <td><code><?php echo gmdate( 'Y-m-d g:i:s a'); ?></code></td>63 <td><code><?php echo gmdate(__('Y-m-d g:i:s a')); ?></code></td> 64 64 </tr> 65 65 <tr> 66 66 <th scope="row"><?php _e('Times in the weblog should differ by:') ?> </th> -
wp-admin/edit.php
old new 177 177 178 178 case 'date': 179 179 ?> 180 <td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else the_time( 'Y-m-d \<\b\r \/\> g:i:s a'); ?></td>180 <td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else the_time(_('Y-m-d \<\b\r \/\> g:i:s a')); ?></td> 181 181 <?php 182 182 break; 183 183 case 'title': … … 279 279 280 280 <?php comment_text() ?> 281 281 282 <p><?php comment_date( 'M j, g:i A'); ?> — [282 <p><?php comment_date(__('M j, g:i A')); ?> — [ 283 283 <?php 284 284 if ( current_user_can('edit_post', $comment->comment_post_ID) ) { 285 285 echo " <a href='comment.php?action=editcomment&c=".$comment->comment_ID."'>" . __('Edit') . '</a>';
