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
This commit is contained in:
parent
e7467f9b44
commit
5f0f676199
|
@ -54,7 +54,7 @@ $messages['post'] = array(
|
||||||
7 => __('Post saved.'),
|
7 => __('Post saved.'),
|
||||||
8 => sprintf( __('Post submitted. <a target="_blank" href="%s">Preview post</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ),
|
8 => sprintf( __('Post submitted. <a target="_blank" href="%s">Preview post</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ),
|
||||||
9 => sprintf( __('Post scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview post</a>'),
|
9 => sprintf( __('Post scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview post</a>'),
|
||||||
// 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) ) ),
|
date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post_ID) ) ),
|
||||||
10 => sprintf( __('Post draft updated. <a target="_blank" href="%s">Preview post</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ),
|
10 => sprintf( __('Post draft updated. <a target="_blank" href="%s">Preview post</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ),
|
||||||
);
|
);
|
||||||
|
|
|
@ -99,7 +99,7 @@ if ( !defined('ABSPATH') )
|
||||||
|
|
||||||
<div class="misc-pub-section curtime misc-pub-curtime">
|
<div class="misc-pub-section curtime misc-pub-curtime">
|
||||||
<?php
|
<?php
|
||||||
// translators: Publish box date format, see http://php.net/date
|
/* translators: Publish box date format, see http://php.net/date */
|
||||||
$datef = __( 'M j, Y @ G:i' );
|
$datef = __( 'M j, Y @ G:i' );
|
||||||
$stamp = __('Submitted on: <b>%1$s</b>');
|
$stamp = __('Submitted on: <b>%1$s</b>');
|
||||||
$date = date_i18n( $datef, strtotime( $comment->comment_date ) );
|
$date = date_i18n( $datef, strtotime( $comment->comment_date ) );
|
||||||
|
|
|
@ -158,7 +158,7 @@ echo esc_html( $visibility_trans ); ?></span>
|
||||||
</div><!-- .misc-pub-section -->
|
</div><!-- .misc-pub-section -->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// translators: Publish box date format, see http://php.net/date
|
/* translators: Publish box date format, see http://php.net/date */
|
||||||
$datef = __( 'M j, Y @ G:i' );
|
$datef = __( 'M j, Y @ G:i' );
|
||||||
if ( 0 != $post->ID ) {
|
if ( 0 != $post->ID ) {
|
||||||
if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
|
if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
|
||||||
|
@ -294,7 +294,7 @@ function attachment_submit_meta_box( $post ) {
|
||||||
|
|
||||||
<div id="misc-publishing-actions">
|
<div id="misc-publishing-actions">
|
||||||
<?php
|
<?php
|
||||||
// translators: Publish box date format, see http://php.net/date
|
/* translators: Publish box date format, see http://php.net/date */
|
||||||
$datef = __( 'M j, Y @ G:i' );
|
$datef = __( 'M j, Y @ G:i' );
|
||||||
$stamp = __('Uploaded on: <b>%1$s</b>');
|
$stamp = __('Uploaded on: <b>%1$s</b>');
|
||||||
$date = date_i18n( $datef, strtotime( $post->post_date ) );
|
$date = date_i18n( $datef, strtotime( $post->post_date ) );
|
||||||
|
|
Loading…
Reference in New Issue