From 06e98867772280209b76127481b6cf08f658c466 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 25 Jan 2007 02:08:54 +0000 Subject: [PATCH] Make some date/time formats translateable. Props teknoseyir and nbachiyski. fixes #3661 git-svn-id: http://svn.automattic.com/wordpress/trunk@4802 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-functions.php | 2 +- wp-admin/edit.php | 4 ++-- wp-admin/options-general.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 9d87d557e..9b94ca002 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -830,7 +830,7 @@ function page_rows( $parent = 0, $level = 0, $pages = 0, $hierarchy = true ) { - post_modified ) _e('Unpublished'); else echo mysql2date( 'Y-m-d g:i a', $post->post_modified ); ?> + post_modified ) _e('Unpublished'); else echo mysql2date( __('Y-m-d g:i a'), $post->post_modified ); ?> " . __( 'Edit' ) . ""; } ?> " . __( 'Delete' ) . ""; } ?> diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 205f52839..1f870568a 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -177,7 +177,7 @@ foreach($posts_columns as $column_name=>$column_display_name) { case 'date': ?> - post_modified ) _e('Unpublished'); else the_time('Y-m-d \<\b\r \/\> g:i:s a'); ?> + post_modified ) _e('Unpublished'); else the_time(_('Y-m-d \<\b\r \/\> g:i:s a')); ?> -

— [ +

— [ comment_post_ID) ) { echo " " . __('Edit') . ''; diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 61386c831..a4dab0306 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -60,7 +60,7 @@ include('./admin-header.php'); - +
UTC time is:') ?>