WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/21/2016 02:45:53 AM (5 years ago)
Author:
johnbillion
Message:

I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment.

See #38882

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-advanced.php

    r39168 r39326  
    640640        echo '<span id="last-edit">';
    641641        if ( $last_user = get_userdata( get_post_meta( $post_ID, '_edit_last', true ) ) ) {
     642            /* translators: 1: Name of most recent post author, 2: Post edited date, 3: Post edited time */
    642643            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 ) );
    643644        } else {
     645            /* translators: 1: Post edited date, 2: Post edited time */
    644646            printf( __( 'Last edited on %1$s at %2$s' ), mysql2date( __( 'F j, Y' ), $post->post_modified ), mysql2date( __( 'g:i a' ), $post->post_modified ) );
    645647        }
Note: See TracChangeset for help on using the changeset viewer.