mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
I18N: Capitalize translator comments consistently, add trailing punctuation.
Includes minor code layout fixes. See #44360. git-svn-id: https://develop.svn.wordpress.org/trunk@45932 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -241,7 +241,7 @@ function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null
|
||||
'author' => $authors[ $revision->post_author ],
|
||||
'date' => date_i18n( __( 'M j, Y @ H:i' ), $modified ),
|
||||
'dateShort' => date_i18n( _x( 'j M @ H:i', 'revision date short format' ), $modified ),
|
||||
/* translators: %s: Human-readable time difference */
|
||||
/* translators: %s: Human-readable time difference. */
|
||||
'timeAgo' => sprintf( __( '%s ago' ), human_time_diff( $modified_gmt, $now_gmt ) ),
|
||||
'autosave' => $autosave,
|
||||
'current' => $current,
|
||||
@@ -284,7 +284,7 @@ function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null
|
||||
'author' => $authors[ $post->post_author ],
|
||||
'date' => date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_modified ) ),
|
||||
'dateShort' => date_i18n( _x( 'j M @ H:i', 'revision date short format' ), strtotime( $post->post_modified ) ),
|
||||
/* translators: %s: Human-readable time difference */
|
||||
/* translators: %s: Human-readable time difference. */
|
||||
'timeAgo' => sprintf( __( '%s ago' ), human_time_diff( strtotime( $post->post_modified_gmt ), $now_gmt ) ),
|
||||
'autosave' => false,
|
||||
'current' => true,
|
||||
@@ -399,7 +399,7 @@ function wp_print_revision_templates() {
|
||||
<span class="byline">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: user's display name */
|
||||
/* translators: %s: User's display name. */
|
||||
__( 'Autosave by %s' ),
|
||||
'<span class="author-name">{{ data.attributes.author.name }}</span>'
|
||||
);
|
||||
@@ -409,7 +409,7 @@ function wp_print_revision_templates() {
|
||||
<span class="byline">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: user's display name */
|
||||
/* translators: %s: User's display name. */
|
||||
__( 'Current Revision by %s' ),
|
||||
'<span class="author-name">{{ data.attributes.author.name }}</span>'
|
||||
);
|
||||
@@ -419,7 +419,7 @@ function wp_print_revision_templates() {
|
||||
<span class="byline">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: user's display name */
|
||||
/* translators: %s: User's display name. */
|
||||
__( 'Revision by %s' ),
|
||||
'<span class="author-name">{{ data.attributes.author.name }}</span>'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user