mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment.
See #38882 git-svn-id: https://develop.svn.wordpress.org/trunk@39326 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -639,8 +639,10 @@ if ( post_type_supports($post_type, 'editor') ) {
|
||||
if ( 'auto-draft' != $post->post_status ) {
|
||||
echo '<span id="last-edit">';
|
||||
if ( $last_user = get_userdata( get_post_meta( $post_ID, '_edit_last', true ) ) ) {
|
||||
/* translators: 1: Name of most recent post author, 2: Post edited date, 3: Post edited time */
|
||||
printf( __( 'Last edited by %1$s on %2$s at %3$s' ), esc_html( $last_user->display_name ), mysql2date( __( 'F j, Y' ), $post->post_modified ), mysql2date( __( 'g:i a' ), $post->post_modified ) );
|
||||
} else {
|
||||
/* translators: 1: Post edited date, 2: Post edited time */
|
||||
printf( __( 'Last edited on %1$s at %2$s' ), mysql2date( __( 'F j, Y' ), $post->post_modified ), mysql2date( __( 'g:i a' ), $post->post_modified ) );
|
||||
}
|
||||
echo '</span>';
|
||||
|
||||
Reference in New Issue
Block a user