Make WordPress Core


Ignore:
Timestamp:
07/10/2013 04:15:18 PM (12 years ago)
Author:
nacin
Message:

Proper translation of '<time> ago' in revisions. props johnbillion, fixes #24721.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/revision.php

    r24629 r24643  
    131131    <# if ( 'undefined' !== typeof data && 'undefined' !== typeof data.author ) { #>
    132132            {{{ data.author.avatar }}} {{{ data.author.name }}},
    133             {{{ data.timeAgo }}} <?php _e( 'ago' ); ?>
     133            {{{ data.timeAgo }}}
    134134            ({{{ data.dateShort }}})
    135135    <# } #>
     
    160160                <# if ( 'undefined' !== typeof data.from ) { #>
    161161                    {{{ data.from.attributes.author.avatar }}} {{{ data.from.attributes.author.name }}},
    162                     {{{ data.from.attributes.timeAgo }}} <?php _e( 'ago' ); ?>
     162                    {{{ data.from.attributes.timeAgo }}}
    163163                    ({{{ data.from.attributes.dateShort }}})
    164164                <# } #>
     
    172172                <# if ( 'undefined' !== typeof data.to ) { #>
    173173                    {{{ data.to.attributes.author.avatar }}} {{{ data.to.attributes.author.name }}},
    174                     {{{ data.to.attributes.timeAgo }}} <?php _e( 'ago' ); ?>
     174                    {{{ data.to.attributes.timeAgo }}}
    175175                    ({{{ data.to.attributes.dateShort }}})
    176176                <# } #>
Note: See TracChangeset for help on using the changeset viewer.