- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r45930 r45932 306 306 307 307 $mine_inner_html = sprintf( 308 /* translators: %s: number of posts*/308 /* translators: %s: Number of posts. */ 309 309 _nx( 310 310 'Mine <span class="count">(%s)</span>', … … 327 327 328 328 $all_inner_html = sprintf( 329 /* translators: %s: number of posts*/329 /* translators: %s: Number of posts. */ 330 330 _nx( 331 331 'All <span class="count">(%s)</span>', … … 377 377 378 378 $sticky_inner_html = sprintf( 379 /* translators: %s: number of posts*/379 /* translators: %s: Number of posts. */ 380 380 _nx( 381 381 'Sticky <span class="count">(%s)</span>', … … 608 608 $posts_columns['cb'] = '<input type="checkbox" />'; 609 609 610 /* translators: manage posts column name*/610 /* translators: Posts screen column name. */ 611 611 $posts_columns['title'] = _x( 'Title', 'column name' ); 612 612 … … 922 922 <label class="screen-reader-text" for="cb-select-<?php the_ID(); ?>"> 923 923 <?php 924 /* translators: %s: post title*/924 /* translators: %s: Post title. */ 925 925 printf( __( 'Select %s' ), _draft_or_post_title() ); 926 926 ?> … … 932 932 <?php 933 933 printf( 934 /* translators: %s: post title*/934 /* translators: %s: Post title. */ 935 935 __( '“%s” is locked' ), 936 936 _draft_or_post_title() … … 1000 1000 $lock_holder = get_userdata( $lock_holder ); 1001 1001 $locked_avatar = get_avatar( $lock_holder->ID, 18 ); 1002 /* translators: %s: user's display name*/1002 /* translators: %s: User's display name. */ 1003 1003 $locked_text = esc_html( sprintf( __( '%s is currently editing' ), $lock_holder->display_name ) ); 1004 1004 } else { … … 1019 1019 '<a class="row-title" href="%s" aria-label="%s">%s%s</a>', 1020 1020 get_edit_post_link( $post->ID ), 1021 /* translators: %s: post title*/1021 /* translators: %s: Post title. */ 1022 1022 esc_attr( sprintf( __( '“%s” (Edit)' ), $title ) ), 1023 1023 $pad, … … 1074 1074 1075 1075 if ( $time_diff > 0 && $time_diff < DAY_IN_SECONDS ) { 1076 /* translators: %s: Human-readable time difference */1076 /* translators: %s: Human-readable time difference. */ 1077 1077 $h_time = sprintf( __( '%s ago' ), human_time_diff( $time ) ); 1078 1078 } else { … … 1217 1217 $term_links = apply_filters( 'post_column_taxonomy_links', $term_links, $taxonomy, $terms ); 1218 1218 1219 /* translators: used between list items, there is a space after the comma*/1219 /* translators: Used between list items, there is a space after the comma. */ 1220 1220 echo join( __( ', ' ), $term_links ); 1221 1221 } else { … … 1339 1339 '<a href="%s" aria-label="%s">%s</a>', 1340 1340 get_edit_post_link( $post->ID ), 1341 /* translators: %s: post title*/1341 /* translators: %s: Post title. */ 1342 1342 esc_attr( sprintf( __( 'Edit “%s”' ), $title ) ), 1343 1343 __( 'Edit' ) … … 1347 1347 $actions['inline hide-if-no-js'] = sprintf( 1348 1348 '<button type="button" class="button-link editinline" aria-label="%s" aria-expanded="false">%s</button>', 1349 /* translators: %s: post title*/1349 /* translators: %s: Post title. */ 1350 1350 esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $title ) ), 1351 1351 __( 'Quick Edit' ) … … 1359 1359 '<a href="%s" aria-label="%s">%s</a>', 1360 1360 wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&action=untrash', $post->ID ) ), 'untrash-post_' . $post->ID ), 1361 /* translators: %s: post title*/1361 /* translators: %s: Post title. */ 1362 1362 esc_attr( sprintf( __( 'Restore “%s” from the Trash' ), $title ) ), 1363 1363 __( 'Restore' ) … … 1367 1367 '<a href="%s" class="submitdelete" aria-label="%s">%s</a>', 1368 1368 get_delete_post_link( $post->ID ), 1369 /* translators: %s: post title*/1369 /* translators: %s: Post title. */ 1370 1370 esc_attr( sprintf( __( 'Move “%s” to the Trash' ), $title ) ), 1371 1371 _x( 'Trash', 'verb' ) … … 1376 1376 '<a href="%s" class="submitdelete" aria-label="%s">%s</a>', 1377 1377 get_delete_post_link( $post->ID, '', true ), 1378 /* translators: %s: post title*/1378 /* translators: %s: Post title. */ 1379 1379 esc_attr( sprintf( __( 'Delete “%s” permanently' ), $title ) ), 1380 1380 __( 'Delete Permanently' ) … … 1390 1390 '<a href="%s" rel="bookmark" aria-label="%s">%s</a>', 1391 1391 esc_url( $preview_link ), 1392 /* translators: %s: post title*/1392 /* translators: %s: Post title. */ 1393 1393 esc_attr( sprintf( __( 'Preview “%s”' ), $title ) ), 1394 1394 __( 'Preview' ) … … 1399 1399 '<a href="%s" rel="bookmark" aria-label="%s">%s</a>', 1400 1400 get_permalink( $post->ID ), 1401 /* translators: %s: post title*/1401 /* translators: %s: Post title. */ 1402 1402 esc_attr( sprintf( __( 'View “%s”' ), $title ) ), 1403 1403 __( 'View' ) … … 1410 1410 '<button type="button" class="wp-list-reusable-blocks__export button-link" data-id="%s" aria-label="%s">%s</button>', 1411 1411 $post->ID, 1412 /* translators: %s: post title*/1412 /* translators: %s: Post title. */ 1413 1413 esc_attr( sprintf( __( 'Export “%s” as JSON' ), $title ) ), 1414 1414 __( 'Export as JSON' ) … … 1611 1611 <em class="alignleft inline-edit-or"> 1612 1612 <?php 1613 /* translators: Between password field and private checkbox on post quick edit interface */1613 /* translators: Between password field and private checkbox on post quick edit interface. */ 1614 1614 _e( '–OR–' ); 1615 1615 ?>
Note: See TracChangeset
for help on using the changeset viewer.