Changeset 39326 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 11/21/2016 02:45:53 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r39247 r39326 176 176 if ( 0 != $post->ID ) { 177 177 if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date 178 /* translators: Post date information. 1: Date on which the post is currently scheduled to be published */ 178 179 $stamp = __('Scheduled for: <b>%1$s</b>'); 179 180 } elseif ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published 181 /* translators: Post date information. 1: Date on which the post was published */ 180 182 $stamp = __('Published on: <b>%1$s</b>'); 181 183 } elseif ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified 182 184 $stamp = __('Publish <b>immediately</b>'); 183 185 } elseif ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified 186 /* translators: Post date information. 1: Date on which the post is to be published */ 184 187 $stamp = __('Schedule for: <b>%1$s</b>'); 185 188 } else { // draft, 1 or more saves, date specified 189 /* translators: Post date information. 1: Date on which the post is to be published */ 186 190 $stamp = __('Publish on: <b>%1$s</b>'); 187 191 } … … 194 198 if ( ! empty( $args['args']['revisions_count'] ) ) : ?> 195 199 <div class="misc-pub-section misc-pub-revisions"> 196 <?php printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); ?> 200 <?php 201 /* translators: Post revisions heading. 1: The number of available revisions */ 202 printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); 203 ?> 197 204 <a class="hide-if-no-js" href="<?php echo esc_url( get_edit_post_link( $args['args']['revision_id'] ) ); ?>"><span aria-hidden="true"><?php _ex( 'Browse', 'revisions' ); ?></span> <span class="screen-reader-text"><?php _e( 'Browse revisions' ); ?></span></a> 198 205 </div> … … 300 307 /* translators: Publish box date format, see https://secure.php.net/date */ 301 308 $datef = __( 'M j, Y @ H:i' ); 309 /* translators: Attachment information. 1: Date the attachment was uploaded */ 302 310 $stamp = __('Uploaded on: <b>%1$s</b>'); 303 311 $date = date_i18n( $datef, strtotime( $post->post_date ) );
Note: See TracChangeset
for help on using the changeset viewer.