From 5f0f676199c259bffad7baee098b28c32dd55f5c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 28 Feb 2014 08:09:13 +0000 Subject: [PATCH] Use a consistent format for translator comments. props GaryJ. fixes #27228. Built from https://develop.svn.wordpress.org/trunk@27325 git-svn-id: http://core.svn.wordpress.org/trunk@27177 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-advanced.php | 2 +- wp-admin/edit-form-comment.php | 2 +- wp-admin/includes/meta-boxes.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 2035107c28..40afa7b78c 100644 --- a/wp-admin/edit-form-advanced.php +++ b/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/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 18a0a74ca8..3d0ebf5104 100644 --- a/wp-admin/edit-form-comment.php +++ b/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/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index 5900755c4c..18970fdd5a 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/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 ) );