Changeset 45932 for trunk/src/wp-admin/edit-comments.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-comments.php
r45926 r45932 154 154 if ( $comments_count->moderated > 0 ) { 155 155 $title = sprintf( 156 /* translators: 1: comments count, 2: post title*/156 /* translators: 1: Comments count, 2: Post title. */ 157 157 __( 'Comments (%1$s) on “%2$s”' ), 158 158 number_format_i18n( $comments_count->moderated ), … … 161 161 } else { 162 162 $title = sprintf( 163 /* translators: %s: post title*/163 /* translators: %s: Post title. */ 164 164 __( 'Comments on “%s”' ), 165 165 $draft_or_post_title … … 170 170 if ( $comments_count->moderated > 0 ) { 171 171 $title = sprintf( 172 /* translators: %s: comments count*/172 /* translators: %s: Comments count. */ 173 173 __( 'Comments (%s)' ), 174 174 number_format_i18n( $comments_count->moderated ) … … 227 227 if ( $post_id ) { 228 228 printf( 229 /* translators: %s: link to post*/229 /* translators: %s: Link to post. */ 230 230 __( 'Comments on “%s”' ), 231 231 sprintf( … … 245 245 echo '<span class="subtitle">'; 246 246 printf( 247 /* translators: %s: search keywords*/247 /* translators: %s: Search query. */ 248 248 __( 'Search results for “%s”' ), 249 249 wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '…' ) … … 283 283 if ( $approved > 0 || $deleted > 0 || $trashed > 0 || $untrashed > 0 || $spammed > 0 || $unspammed > 0 || $same > 0 ) { 284 284 if ( $approved > 0 ) { 285 /* translators: %s: number of comments*/285 /* translators: %s: Number of comments. */ 286 286 $messages[] = sprintf( _n( '%s comment approved', '%s comments approved', $approved ), $approved ); 287 287 } … … 289 289 if ( $spammed > 0 ) { 290 290 $ids = isset( $_REQUEST['ids'] ) ? $_REQUEST['ids'] : 0; 291 /* translators: %s: number of comments*/291 /* translators: %s: Number of comments. */ 292 292 $messages[] = sprintf( _n( '%s comment marked as spam.', '%s comments marked as spam.', $spammed ), $spammed ) . ' <a href="' . esc_url( wp_nonce_url( "edit-comments.php?doaction=undo&action=unspam&ids=$ids", 'bulk-comments' ) ) . '">' . __( 'Undo' ) . '</a><br />'; 293 293 } 294 294 295 295 if ( $unspammed > 0 ) { 296 /* translators: %s: number of comments*/296 /* translators: %s: Number of comments. */ 297 297 $messages[] = sprintf( _n( '%s comment restored from the spam', '%s comments restored from the spam', $unspammed ), $unspammed ); 298 298 } … … 300 300 if ( $trashed > 0 ) { 301 301 $ids = isset( $_REQUEST['ids'] ) ? $_REQUEST['ids'] : 0; 302 /* translators: %s: number of comments*/302 /* translators: %s: Number of comments. */ 303 303 $messages[] = sprintf( _n( '%s comment moved to the Trash.', '%s comments moved to the Trash.', $trashed ), $trashed ) . ' <a href="' . esc_url( wp_nonce_url( "edit-comments.php?doaction=undo&action=untrash&ids=$ids", 'bulk-comments' ) ) . '">' . __( 'Undo' ) . '</a><br />'; 304 304 } 305 305 306 306 if ( $untrashed > 0 ) { 307 /* translators: %s: number of comments*/307 /* translators: %s: Number of comments. */ 308 308 $messages[] = sprintf( _n( '%s comment restored from the Trash', '%s comments restored from the Trash', $untrashed ), $untrashed ); 309 309 } 310 310 311 311 if ( $deleted > 0 ) { 312 /* translators: %s: number of comments*/312 /* translators: %s: Number of comments. */ 313 313 $messages[] = sprintf( _n( '%s comment permanently deleted', '%s comments permanently deleted', $deleted ), $deleted ); 314 314 }
Note: See TracChangeset
for help on using the changeset viewer.