Revisions UI: Add translation contexts and remove unneeded lines.

props nao. fixes #23917.

git-svn-id: https://develop.svn.wordpress.org/trunk@24157 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90)
2013-05-02 10:12:19 +00:00
parent bd5099a40a
commit 67d2cfeb89
5 changed files with 12 additions and 31 deletions

View File

@@ -1312,9 +1312,9 @@ function wp_post_revision_title( $revision, $link = true ) {
/* translators: revision date format, see http://php.net/date */
$datef = _x( 'j F, Y @ G:i', 'revision date format');
/* translators: 1: date */
$autosavef = __( '%1$s [Autosave]' );
$autosavef = _x( '%1$s [Autosave]', 'post revision title extra' );
/* translators: 1: date */
$currentf = __( '%1$s [Current Revision]' );
$currentf = _x( '%1$s [Current Revision]', 'post revision title extra' );
$date = date_i18n( $datef, strtotime( $revision->post_modified ) );
if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) )