I18N: Remove `<b>` tag from a translatable string in `post_submit_meta_box()`.

Props ramiy.
Fixes #41681.

git-svn-id: https://develop.svn.wordpress.org/trunk@41910 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-10-18 17:30:35 +00:00
parent c7e02480bb
commit aa3e40c32c
1 changed files with 12 additions and 8 deletions

View File

@ -333,15 +333,19 @@ function attachment_submit_meta_box( $post ) {
<div id="misc-publishing-actions">
<?php
/* translators: Publish box date format, see https://secure.php.net/date */
$datef = __( 'M j, Y @ H:i' );
/* translators: Attachment information. 1: Date the attachment was uploaded */
$stamp = __('Uploaded on: <b>%1$s</b>');
$date = date_i18n( $datef, strtotime( $post->post_date ) );
?>
<div class="misc-pub-section curtime misc-pub-curtime">
<span id="timestamp"><?php printf($stamp, $date); ?></span>
<span id="timestamp"><?php
$date = date_i18n(
/* translators: Publish box date format, see https://secure.php.net/date */
__( 'M j, Y @ H:i' ),
strtotime( $post->post_date )
);
printf(
/* translators: Attachment information. %s: Date the attachment was uploaded */
__( 'Uploaded on: %s' ),
'<b>' . $date . '</b>'
);
?></span>
</div><!-- .misc-pub-section -->
<?php