Changeset 42827 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 03/11/2018 04:43:59 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r42674 r42827 199 199 if ( 0 != $post->ID ) { 200 200 if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date 201 /* translators: Post date information. 1: Date on which the post is currently scheduled to be published */202 $stamp = __( 'Scheduled for: <b>% 1$s</b>' );201 /* translators: Post date information. %s: Date on which the post is currently scheduled to be published */ 202 $stamp = __( 'Scheduled for: <b>%s</b>' ); 203 203 } elseif ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published 204 /* translators: Post date information. 1: Date on which the post was published */205 $stamp = __( 'Published on: <b>% 1$s</b>' );204 /* translators: Post date information. %s: Date on which the post was published */ 205 $stamp = __( 'Published on: <b>%s</b>' ); 206 206 } elseif ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified 207 207 $stamp = __( 'Publish <b>immediately</b>' ); 208 208 } elseif ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified 209 /* translators: Post date information. 1: Date on which the post is to be published */210 $stamp = __( 'Schedule for: <b>% 1$s</b>' );209 /* translators: Post date information. %s: Date on which the post is to be published */ 210 $stamp = __( 'Schedule for: <b>%s</b>' ); 211 211 } else { // draft, 1 or more saves, date specified 212 /* translators: Post date information. 1: Date on which the post is to be published */213 $stamp = __( 'Publish on: <b>% 1$s</b>' );212 /* translators: Post date information. %s: Date on which the post is to be published */ 213 $stamp = __( 'Publish on: <b>%s</b>' ); 214 214 } 215 215 $date = date_i18n( $datef, strtotime( $post->post_date ) ); … … 223 223 <div class="misc-pub-section misc-pub-revisions"> 224 224 <?php 225 /* translators: Post revisions heading. 1: The number of available revisions */225 /* translators: Post revisions heading. %s: The number of available revisions */ 226 226 printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); 227 227 ?>
Note: See TracChangeset
for help on using the changeset viewer.