From ecbe4f0909c5893975aeffd8bcc29543f0f47f76 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 28 Feb 2014 08:08:50 +0000 Subject: [PATCH] Use a consistent format for translator comments. props GaryJ. fixes #27228. git-svn-id: https://develop.svn.wordpress.org/trunk@27325 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-form-advanced.php | 2 +- src/wp-admin/edit-form-comment.php | 2 +- src/wp-admin/includes/meta-boxes.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php index 2035107c28..40afa7b78c 100644 --- a/src/wp-admin/edit-form-advanced.php +++ b/src/wp-admin/edit-form-advanced.php @@ -54,7 +54,7 @@ $messages['post'] = array( 7 => __('Post saved.'), 8 => sprintf( __('Post submitted. Preview post'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ), 9 => sprintf( __('Post scheduled for: %1$s. Preview post'), - // translators: Publish box date format, see http://php.net/date + /* translators: Publish box date format, see http://php.net/date */ date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post_ID) ) ), 10 => sprintf( __('Post draft updated. Preview post'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ), ); diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php index 18a0a74ca8..3d0ebf5104 100644 --- a/src/wp-admin/edit-form-comment.php +++ b/src/wp-admin/edit-form-comment.php @@ -99,7 +99,7 @@ if ( !defined('ABSPATH') )
%1$s'); $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php index 5900755c4c..18970fdd5a 100644 --- a/src/wp-admin/includes/meta-boxes.php +++ b/src/wp-admin/includes/meta-boxes.php @@ -158,7 +158,7 @@ echo esc_html( $visibility_trans ); ?>
ID ) { if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date @@ -294,7 +294,7 @@ function attachment_submit_meta_box( $post ) {
%1$s'); $date = date_i18n( $datef, strtotime( $post->post_date ) );