WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/26/2015 08:55:34 PM (6 years ago)
Author:
ocean90
Message:

Improve newly added strings for i18n:

  • Use a placeholder for the theme name to be able to reorder words.
  • Uppercase D for "Theme Details" to match existing strings.
  • Merge two revision date formats.
  • Add translator comment to strings with placeholders.

props obenland.
see #31776.

File:
1 edited

Legend:

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

    r31862 r31905  
    17011701
    17021702    /* translators: revision date format, see http://php.net/date */
    1703     $datef = _x( 'F j, Y @ H:i', 'revision date format');
     1703    $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
    17041704    /* translators: 1: date */
    17051705    $autosavef = _x( '%1$s [Autosave]', 'post revision title extra' );
     
    17371737    $author = get_the_author_meta( 'display_name', $revision->post_author );
    17381738    /* translators: revision date format, see http://php.net/date */
    1739     $datef = _x( 'F j, Y @ H:i:s', 'revision date format');
     1739    $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
    17401740
    17411741    $gravatar = get_avatar( $revision->post_author, 24 );
Note: See TracChangeset for help on using the changeset viewer.