WordPress.org

Make WordPress Core

Changeset 38324


Ignore:
Timestamp:
08/23/2016 12:34:31 AM (3 years ago)
Author:
SergeyBiryukov
Message:

I18N: Replace unnecessary context with translator comments in wp_post_revision_title() and wp_post_revision_title_expanded().

Props ramiy.
Fixes #37778.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-template.php

    r38295 r38324  
    16401640    /* translators: revision date format, see https://secure.php.net/date */
    16411641    $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
    1642     /* translators: 1: date */
    1643     $autosavef = _x( '%1$s [Autosave]', 'post revision title extra' );
    1644     /* translators: 1: date */
    1645     $currentf  = _x( '%1$s [Current Revision]', 'post revision title extra' );
     1642    /* translators: %s: revision date */
     1643    $autosavef = __( '%s [Autosave]' );
     1644    /* translators: %s: revision date */
     1645    $currentf  = __( '%s [Current Revision]' );
    16461646
    16471647    $date = date_i18n( $datef, strtotime( $revision->post_modified ) );
     
    16921692    );
    16931693
    1694     $autosavef = __( '%1$s [Autosave]' );
    1695     $currentf  = __( '%1$s [Current Revision]' );
     1694    /* translators: %s: revision date with author's Gravatar */
     1695    $autosavef = __( '%s [Autosave]' );
     1696    /* translators: %s: revision date with author's Gravatar */
     1697    $currentf  = __( '%s [Current Revision]' );
    16961698
    16971699    if ( !wp_is_post_revision( $revision ) )
Note: See TracChangeset for help on using the changeset viewer.