Fix strings in revisions UI. see #24804, [24761].

git-svn-id: http://core.svn.wordpress.org/trunk@24763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-07-22 05:32:14 +00:00
parent c2a543566c
commit 9f58cc923c
1 changed files with 4 additions and 2 deletions

View File

@ -135,7 +135,9 @@ require_once( './admin-header.php' );
<# if ( 'undefined' !== typeof data && 'undefined' !== typeof data.author ) { #>
{{{ data.author.avatar }}}
<div class="author-info">
<span class="byline">Edit by <span class="author-name">{{ data.author.name }}</span></span>
<span class="byline"><?php printf( __( 'Revision by %s' ),
'<span class="author-name">{{ data.author.name }}</span>' ); ?></span>
<span class="time-ago">{{ data.timeAgo }}</span>
<span class="date">({{ data.dateShort }})</span>
</div>
@ -168,7 +170,7 @@ require_once( './admin-header.php' );
{{{ data.from.attributes.author.avatar }}}
<div class="author-info">
<span class="byline"><?php printf( __( 'Revision by %s' ),
'<span class="author-name">{{ data.to.attributes.author.name }}</span>' ); ?></span>
'<span class="author-name">{{ data.from.attributes.author.name }}</span>' ); ?></span>
<span class="time-ago">{{ data.from.attributes.timeAgo }}</span>
<span class="date">({{ data.from.attributes.dateShort }})</span>
</div>