gettext comments. Props nbachiyski. see #9112

git-svn-id: https://develop.svn.wordpress.org/trunk@10774 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-03-13 03:53:39 +00:00
parent 6882d8299f
commit 5d8651d6f3
18 changed files with 125 additions and 82 deletions
+4 -1
View File
@@ -869,7 +869,9 @@ case 'autosave' : // The name of this action is hardcoded in edit_post()
$do_lock = true;
$data = '';
$message = sprintf( __('Draft Saved at %s.'), date_i18n( __('g:i:s a') ) );
/* translators: draft saved date format, see http://php.net/date */
$draft_saved_date_format = __('g:i:s a');
$message = sprintf( __('Draft Saved at %s.'), date_i18n( $draft_saved_date_format ) );
$supplemental = array();
@@ -1200,6 +1202,7 @@ case 'find_posts':
if ( '0000-00-00 00:00:00' == $post->post_date ) {
$time = '';
} else {
/* translators: date format in table columns, see http://php.net/date */
$time = mysql2date(__('Y/m/d'), $post->post_date);
}