Changeset 45932 for trunk/src/wp-admin/edit-form-advanced.php
- Timestamp:
- 09/03/2019 12:39:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r45926 r45932 176 176 3 => __( 'Custom field deleted.' ), 177 177 4 => __( 'Post updated.' ), 178 /* translators: %s: date and time of the revision*/178 /* translators: %s: Date and time of the revision. */ 179 179 5 => isset( $_GET['revision'] ) ? sprintf( __( 'Post restored to revision from %s.' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, 180 180 6 => __( 'Post published.' ) . $view_post_link_html, 181 181 7 => __( 'Post saved.' ), 182 182 8 => __( 'Post submitted.' ) . $preview_post_link_html, 183 /* translators: %s: scheduled date for the post*/183 /* translators: %s: Scheduled date for the post. */ 184 184 9 => sprintf( __( 'Post scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html, 185 185 10 => __( 'Post draft updated.' ) . $preview_post_link_html, … … 191 191 3 => __( 'Custom field deleted.' ), 192 192 4 => __( 'Page updated.' ), 193 /* translators: %s: date and time of the revision*/193 /* translators: %s: Date and time of the revision. */ 194 194 5 => isset( $_GET['revision'] ) ? sprintf( __( 'Page restored to revision from %s.' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, 195 195 6 => __( 'Page published.' ) . $view_page_link_html, 196 196 7 => __( 'Page saved.' ), 197 197 8 => __( 'Page submitted.' ) . $preview_page_link_html, 198 /* translators: %s: scheduled date for the page*/198 /* translators: %s: Scheduled date for the page. */ 199 199 9 => sprintf( __( 'Page scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_page_link_html, 200 200 10 => __( 'Page draft updated.' ) . $preview_page_link_html, … … 242 242 if ( normalize_whitespace( $autosave->$autosave_field ) != normalize_whitespace( $post->$autosave_field ) ) { 243 243 $notice = sprintf( 244 /* translators: %s: URL to view the autosave */244 /* translators: %s: URL to view the autosave. */ 245 245 __( 'There is an autosave of this post that is more recent than the version below. <a href="%s">View the autosave</a>' ), 246 246 get_edit_post_link( $autosave->ID ) … … 300 300 get_current_screen()->set_help_sidebar( 301 301 '<p>' . sprintf( 302 /* translators: %s: URL to Press This bookmarklet */302 /* translators: %s: URL to Press This bookmarklet. */ 303 303 __( 'You can also create posts with the <a href="%s">Press This bookmarklet</a>.' ), 304 304 'tools.php' … … 371 371 if ( current_theme_supports( 'post-thumbnails' ) && post_type_supports( 'post', 'thumbnail' ) ) { 372 372 $publish_box .= '<li>' . sprintf( 373 /* translators: %s: Featured Image */373 /* translators: %s: Featured Image. */ 374 374 __( '<strong>%s</strong> — This allows you to associate an image with your post without inserting it. This is usually useful only if your theme makes use of the image as a post thumbnail on the home page, a custom header, etc.' ), 375 375 esc_html( $post_type_object->labels->featured_image ) … … 594 594 <?php 595 595 printf( 596 /* translators: %s: Number of words */596 /* translators: %s: Number of words. */ 597 597 __( 'Word count: %s' ), 598 598 '<span class="word-count">0</span>' … … 607 607 $last_user = get_userdata( get_post_meta( $post_ID, '_edit_last', true ) ); 608 608 if ( $last_user ) { 609 /* translators: 1: Name of most recent post author, 2: Post edited date, 3: Post edited time */609 /* translators: 1: Name of most recent post author, 2: Post edited date, 3: Post edited time. */ 610 610 printf( __( 'Last edited by %1$s on %2$s at %3$s' ), esc_html( $last_user->display_name ), mysql2date( __( 'F j, Y' ), $post->post_modified ), mysql2date( __( 'g:i a' ), $post->post_modified ) ); 611 611 } else { 612 /* translators: 1: Post edited date, 2: Post edited time */612 /* translators: 1: Post edited date, 2: Post edited time. */ 613 613 printf( __( 'Last edited on %1$s at %2$s' ), mysql2date( __( 'F j, Y' ), $post->post_modified ), mysql2date( __( 'g:i a' ), $post->post_modified ) ); 614 614 }
Note: See TracChangeset
for help on using the changeset viewer.