Ticket #23917: revision-i18n.diff
File revision-i18n.diff, 2.1 KB (added by , 12 years ago) |
---|
-
wp-admin/revision.php
114 114 <script id="tmpl-revision" type="text/html"> 115 115 <div id="diffsubheader" class="diff-left-hand-meta-row"> 116 116 <div id="diff_from_current_revision"> 117 <?php printf( '<b>%1$s</b> %2$s.' , _ _( 'From:' ), __( 'the current version' ) ); ?>117 <?php printf( '<b>%1$s</b> %2$s.' , _x( 'From:', 'Followed by older post revision info' ), __( 'the current version' ) ); ?> 118 118 </div> 119 119 <div id="difftitlefrom"> 120 <div class="diff-from-title"><?php _e ( 'From:' ); ?></div>{{{ data.revision_from_date_author }}}120 <div class="diff-from-title"><?php _ex( 'From:', 'Followed by older post revision info' ); ?></div>{{{ data.revision_from_date_author }}} 121 121 </div> 122 122 </div> 123 123 124 124 <div id="diffsubheader"> 125 125 <div id="difftitle"> 126 <div class="diff-to-title"><?php _e ( 'To:' ); ?></div>{{{ data.revision_date_author }}}126 <div class="diff-to-title"><?php _ex( 'To:', 'Followed by newer post revision info' ); ?></div>{{{ data.revision_date_author }}} 127 127 </div> 128 128 <div id="diffrestore"> 129 129 <input class="button button-primary restore-button" onClick="document.location='{{{ data.restoreaction }}}'" type="submit" id="restore" value="<?php esc_attr_e( 'Restore This Revision' )?>" /> … … 143 143 144 144 <script id="tmpl-revisionvinteract" type="text/html"> 145 145 <div id="diffheader"> 146 <div id="diffprevious"><input class="button" type="submit" id="previous" value="<?php e sc_attr_e( 'Previous' ); ?>" />146 <div id="diffprevious"><input class="button" type="submit" id="previous" value="<?php echo esc_attr_x( 'Previous', 'Button label for a previous revision' ); ?>" /> 147 147 </div> 148 <div id="diffnext"><input class="button" type="submit" id="next" value="<?php e sc_attr_e( 'Next' ); ?>" />148 <div id="diffnext"><input class="button" type="submit" id="next" value="<?php echo esc_attr_x( 'Next', 'Button label for a next revision' ); ?>" /> 149 149 </div> 150 150 <div id="diffslider"> 151 151 <div id="slider" class="wp-slider">