Changeset 45932 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r45926 r45932 65 65 '%1$s<span class="screen-reader-text"> %2$s</span>', 66 66 $preview_button_text, 67 /* translators: accessibility text*/67 /* translators: Accessibility text. */ 68 68 __( '(opens in a new tab)' ) 69 69 ); … … 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. %s: Date on which the post is currently scheduled to be published */201 /* translators: Post date information. %s: Date on which the post is currently scheduled to be published. */ 202 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. %s: Date on which the post was published */204 /* translators: Post date information. %s: Date on which the post was published. */ 205 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. %s: Date on which the post is to be published */209 /* translators: Post date information. %s: Date on which the post is to be published. */ 210 210 $stamp = __( 'Schedule for: <b>%s</b>' ); 211 211 } else { // draft, 1 or more saves, date specified 212 /* translators: Post date information. %s: Date on which the post is to be published */212 /* translators: Post date information. %s: Date on which the post is to be published. */ 213 213 $stamp = __( 'Publish on: <b>%s</b>' ); 214 214 } … … 223 223 <div class="misc-pub-section misc-pub-revisions"> 224 224 <?php 225 /* translators: Post revisions heading. %s: 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 ?> … … 249 249 <?php 250 250 echo sprintf( 251 /* translators: %s: URL to the Customizer */251 /* translators: %s: URL to the Customizer. */ 252 252 __( 'This draft comes from your <a href="%s">unpublished customization changes</a>. You can edit, but there’s no need to publish now. It will be published automatically with those changes.' ), 253 253 esc_url( … … 370 370 strtotime( $post->post_date ) 371 371 ); 372 373 /* translators: Attachment information. %s: Date the attachment was uploaded*/374 375 376 372 printf( 373 /* translators: Attachment information. %s: Date the attachment was uploaded. */ 374 __( 'Uploaded on: %s' ), 375 '<b>' . $date . '</b>' 376 ); 377 377 ?> 378 378 </span> … … 593 593 <a id="<?php echo $tax_name; ?>-add-toggle" href="#<?php echo $tax_name; ?>-add" class="hide-if-no-js taxonomy-add-new"> 594 594 <?php 595 /* translators: %s: add new taxonomy label*/595 /* translators: %s: Add New taxonomy label. */ 596 596 printf( __( '+ %s' ), $taxonomy->labels->add_new_item ); 597 597 ?> … … 664 664 <?php 665 665 printf( 666 /* translators: %s: Documentation URL */666 /* translators: %s: Documentation URL. */ 667 667 __( 'Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="%s">Learn more about manual excerpts</a>.' ), 668 668 __( 'https://wordpress.org/support/article/excerpt/' ) … … 701 701 <?php 702 702 printf( 703 /* translators: %s: Documentation URL */703 /* translators: %s: Documentation URL. */ 704 704 __( 'Trackbacks are a way to notify legacy blog systems that you’ve linked to them. If you link other WordPress sites, they’ll be notified automatically using <a href="%s">pingbacks</a>, no other action necessary.' ), 705 705 __( 'https://wordpress.org/support/article/introduction-to-blogging/#comments' ) … … 738 738 <?php 739 739 printf( 740 /* translators: %s: Documentation URL */740 /* translators: %s: Documentation URL. */ 741 741 __( 'Custom fields can be used to add extra metadata to a post that you can <a href="%s">use in your theme</a>.' ), 742 742 __( 'https://wordpress.org/support/article/custom-fields/' ) … … 762 762 <?php 763 763 printf( 764 /* translators: %s: Documentation URL */764 /* translators: %s: Documentation URL. */ 765 765 __( 'Allow <a href="%s">trackbacks and pingbacks</a> on this page' ), 766 766 __( 'https://wordpress.org/support/article/introduction-to-blogging/#managing-comments' ) … … 1030 1030 '<a class="submitdelete deletion" href="%s" onclick="return confirm( \'%s\' );">%s</a>', 1031 1031 wp_nonce_url( "link.php?action=delete&link_id=$link->link_id", 'delete-bookmark_' . $link->link_id ), 1032 /* translators: %s: link name*/1032 /* translators: %s: Link name. */ 1033 1033 esc_js( sprintf( __( "You are about to delete this link '%s'\n 'Cancel' to stop, 'OK' to delete." ), $link->link_name ) ), 1034 1034 __( 'Delete' )
Note: See TracChangeset
for help on using the changeset viewer.