Make WordPress Core


Ignore:
Timestamp:
01/25/2007 02:08:54 AM (18 years ago)
Author:
ryan
Message:

Make some date/time formats translateable. Props teknoseyir and nbachiyski. fixes #3661

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r4796 r4802  
    831831    </td>
    832832    <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>
    834834    <td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit"><?php _e( 'View' ); ?></a></td>
    835835    <td><?php if ( current_user_can( 'edit_page', $id ) ) { echo "<a href='page.php?action=edit&amp;post=$id' class='edit'>" . __( 'Edit' ) . "</a>"; } ?></td>
Note: See TracChangeset for help on using the changeset viewer.