Ticket #50773: 50773.2.patch
File 50773.2.patch, 36.2 KB (added by , 4 years ago) |
---|
-
src/wp-admin/includes/class-plugin-installer-skin.php
121 121 $install_actions['network_activate'] = sprintf( 122 122 '<a class="button button-primary" href="%s" target="_parent">%s</a>', 123 123 wp_nonce_url( 'plugins.php?action=activate&networkwide=1&plugin=' . urlencode( $plugin_file ), 'activate-plugin_' . $plugin_file ), 124 __( 'Network Activate' )124 __( 'Network activate' ) 125 125 ); 126 126 unset( $install_actions['activate_plugin'] ); 127 127 } -
src/wp-admin/includes/class-theme-installer-skin.php
147 147 $install_actions['network_enable'] = sprintf( 148 148 '<a href="%s" target="_parent">%s</a>', 149 149 esc_url( wp_nonce_url( 'themes.php?action=enable&theme=' . urlencode( $stylesheet ), 'enable-theme_' . $stylesheet ) ), 150 __( 'Network Enable' )150 __( 'Network enable' ) 151 151 ); 152 152 } 153 153 -
src/wp-admin/includes/class-wp-comments-list-table.php
737 737 $unspam_url, 738 738 "delete:the-comment-list:comment-{$comment->comment_ID}:66cc66:unspam=1", 739 739 esc_attr__( 'Restore this comment from the spam' ), 740 _x( 'Not Spam', 'comment' )740 _x( 'Not spam', 'comment' ) 741 741 ); 742 742 } 743 743 … … 757 757 $delete_url, 758 758 "delete:the-comment-list:comment-{$comment->comment_ID}::delete=1", 759 759 esc_attr__( 'Delete this comment permanently' ), 760 __( 'Delete Permanently' )760 __( 'Delete permanently' ) 761 761 ); 762 762 } else { 763 763 $actions['trash'] = sprintf( … … 786 786 'edit', 787 787 'vim-q comment-inline', 788 788 esc_attr__( 'Quick edit this comment inline' ), 789 __( 'Quick Edit' )789 __( 'Quick edit' ) 790 790 ); 791 791 792 792 $actions['reply'] = sprintf( -
src/wp-admin/includes/class-wp-list-table.php
904 904 905 905 if ( 'bottom' === $which ) { 906 906 $html_current_page = $current; 907 $total_pages_before = '<span class="screen-reader-text">' . __( 'Current Page' ) . '</span><span id="table-paging" class="paging-input"><span class="tablenav-paging-text">';907 $total_pages_before = '<span class="screen-reader-text">' . __( 'Current page' ) . '</span><span id="table-paging" class="paging-input"><span class="tablenav-paging-text">'; 908 908 } else { 909 909 $html_current_page = sprintf( 910 910 "%s<input class='current-page' id='current-page-selector' type='text' name='paged' value='%s' size='%d' aria-describedby='table-paging' /><span class='tablenav-paging-text'>", 911 '<label for="current-page-selector" class="screen-reader-text">' . __( 'Current Page' ) . '</label>',911 '<label for="current-page-selector" class="screen-reader-text">' . __( 'Current page' ) . '</label>', 912 912 $current, 913 913 strlen( $total_pages ) 914 914 ); … … 1160 1160 1161 1161 if ( ! empty( $columns['cb'] ) ) { 1162 1162 static $cb_counter = 1; 1163 $columns['cb'] = '<label class="screen-reader-text" for="cb-select-all-' . $cb_counter . '">' . __( 'Select All' ) . '</label>'1163 $columns['cb'] = '<label class="screen-reader-text" for="cb-select-all-' . $cb_counter . '">' . __( 'Select all' ) . '</label>' 1164 1164 . '<input id="cb-select-all-' . $cb_counter . '" type="checkbox" />'; 1165 1165 $cb_counter++; 1166 1166 } -
src/wp-admin/includes/class-wp-media-list-table.php
411 411 '<a href="%s" aria-label="%s">', 412 412 get_edit_post_link( $post->ID ), 413 413 /* translators: %s: Attachment title. */ 414 esc_attr( sprintf( __( '“%s” ( Edit)' ), $title ) )414 esc_attr( sprintf( __( '“%s” (edit)' ), $title ) ) 415 415 ); 416 416 $link_end = '</a>'; 417 417 } … … 711 711 $delete_ays, 712 712 /* translators: %s: Attachment title. */ 713 713 esc_attr( sprintf( __( 'Delete “%s” permanently' ), $att_title ) ), 714 __( 'Delete Permanently' )714 __( 'Delete permanently' ) 715 715 ); 716 716 } 717 717 } … … 768 768 $delete_ays, 769 769 /* translators: %s: Attachment title. */ 770 770 esc_attr( sprintf( __( 'Delete “%s” permanently' ), $att_title ) ), 771 __( 'Delete Permanently' )771 __( 'Delete permanently' ) 772 772 ); 773 773 } 774 774 } -
src/wp-admin/includes/class-wp-ms-sites-list-table.php
361 361 $sites_columns = array( 362 362 'cb' => '<input type="checkbox" />', 363 363 'blogname' => __( 'URL' ), 364 'lastupdated' => __( 'Last Updated' ),364 'lastupdated' => __( 'Last updated' ), 365 365 'registered' => _x( 'Registered', 'site' ), 366 366 'users' => __( 'Users' ), 367 367 ); … … 707 707 } 708 708 709 709 if ( '1' == $blog['spam'] ) { 710 $actions['unspam'] = '<a href="' . esc_url( wp_nonce_url( network_admin_url( 'sites.php?action=confirm&action2=unspamblog&id=' . $blog['blog_id'] ), 'unspamblog_' . $blog['blog_id'] ) ) . '">' . _x( 'Not Spam', 'site' ) . '</a>';710 $actions['unspam'] = '<a href="' . esc_url( wp_nonce_url( network_admin_url( 'sites.php?action=confirm&action2=unspamblog&id=' . $blog['blog_id'] ), 'unspamblog_' . $blog['blog_id'] ) ) . '">' . _x( 'Not spam', 'site' ) . '</a>'; 711 711 } else { 712 712 $actions['spam'] = '<a href="' . esc_url( wp_nonce_url( network_admin_url( 'sites.php?action=confirm&action2=spamblog&id=' . $blog['blog_id'] ), 'spamblog_' . $blog['blog_id'] ) ) . '">' . _x( 'Spam', 'site' ) . '</a>'; 713 713 } -
src/wp-admin/includes/class-wp-ms-themes-list-table.php
333 333 ); 334 334 335 335 if ( $this->show_autoupdates ) { 336 $columns['auto-updates'] = __( 'Automatic Updates' );336 $columns['auto-updates'] = __( 'Automatic updates' ); 337 337 } 338 338 339 339 return $columns; … … 422 422 case 'auto-update-enabled': 423 423 /* translators: %s: Number of themes. */ 424 424 $text = _n( 425 'Auto-updates Enabled <span class="count">(%s)</span>',426 'Auto-updates Enabled <span class="count">(%s)</span>',425 'Auto-updates enabled <span class="count">(%s)</span>', 426 'Auto-updates enabled <span class="count">(%s)</span>', 427 427 $count 428 428 ); 429 429 break; … … 430 430 case 'auto-update-disabled': 431 431 /* translators: %s: Number of themes. */ 432 432 $text = _n( 433 'Auto-updates Disabled <span class="count">(%s)</span>',434 'Auto-updates Disabled <span class="count">(%s)</span>',433 'Auto-updates disabled <span class="count">(%s)</span>', 434 'Auto-updates disabled <span class="count">(%s)</span>', 435 435 $count 436 436 ); 437 437 break; … … 466 466 467 467 $actions = array(); 468 468 if ( 'enabled' !== $status ) { 469 $actions['enable-selected'] = $this->is_site_themes ? __( 'Enable' ) : __( 'Network Enable' );469 $actions['enable-selected'] = $this->is_site_themes ? __( 'Enable' ) : __( 'Network enable' ); 470 470 } 471 471 if ( 'disabled' !== $status ) { 472 $actions['disable-selected'] = $this->is_site_themes ? __( 'Disable' ) : __( 'Network Disable' );472 $actions['disable-selected'] = $this->is_site_themes ? __( 'Disable' ) : __( 'Network disable' ); 473 473 } 474 474 if ( ! $this->is_site_themes ) { 475 475 if ( current_user_can( 'update_themes' ) ) { … … 482 482 483 483 if ( $this->show_autoupdates ) { 484 484 if ( 'auto-update-enabled' !== $status ) { 485 $actions['enable-auto-update-selected'] = __( 'Enable Auto-updates' );485 $actions['enable-auto-update-selected'] = __( 'Enable auto-updates' ); 486 486 } 487 487 488 488 if ( 'auto-update-disabled' !== $status ) { 489 $actions['disable-auto-update-selected'] = __( 'Disable Auto-updates' );489 $actions['disable-auto-update-selected'] = __( 'Disable auto-updates' ); 490 490 } 491 491 } 492 492 … … 567 567 $aria_label = sprintf( __( 'Enable %s' ), $theme->display( 'Name' ) ); 568 568 } else { 569 569 /* translators: %s: Theme name. */ 570 $aria_label = sprintf( __( 'Network Enable %s' ), $theme->display( 'Name' ) );570 $aria_label = sprintf( __( 'Network enable %s' ), $theme->display( 'Name' ) ); 571 571 } 572 572 573 573 $actions['enable'] = sprintf( … … 574 574 '<a href="%s" class="edit" aria-label="%s">%s</a>', 575 575 esc_url( wp_nonce_url( $url, 'enable-theme_' . $stylesheet ) ), 576 576 esc_attr( $aria_label ), 577 ( $this->is_site_themes ? __( 'Enable' ) : __( 'Network Enable' ) )577 ( $this->is_site_themes ? __( 'Enable' ) : __( 'Network enable' ) ) 578 578 ); 579 579 } 580 580 } else { … … 593 593 $aria_label = sprintf( __( 'Disable %s' ), $theme->display( 'Name' ) ); 594 594 } else { 595 595 /* translators: %s: Theme name. */ 596 $aria_label = sprintf( __( 'Network Disable %s' ), $theme->display( 'Name' ) );596 $aria_label = sprintf( __( 'Network disable %s' ), $theme->display( 'Name' ) ); 597 597 } 598 598 599 599 $actions['disable'] = sprintf( … … 600 600 '<a href="%s" aria-label="%s">%s</a>', 601 601 esc_url( wp_nonce_url( $url, 'disable-theme_' . $stylesheet ) ), 602 602 esc_attr( $aria_label ), 603 ( $this->is_site_themes ? __( 'Disable' ) : __( 'Network Disable' ) )603 ( $this->is_site_themes ? __( 'Disable' ) : __( 'Network disable' ) ) 604 604 ); 605 605 } 606 606 … … 687 687 global $status, $totals; 688 688 689 689 if ( $theme->errors() ) { 690 $pre = 'broken' === $status ? __( 'Broken Theme:' ) . ' ' : '';690 $pre = 'broken' === $status ? __( 'Broken theme:' ) . ' ' : ''; 691 691 echo '<p><strong class="error-message">' . $pre . $theme->errors()->get_error_message() . '</strong></p>'; 692 692 } 693 693 … … 724 724 '<a href="%s" aria-label="%s">%s</a>', 725 725 $theme->display( 'ThemeURI' ), 726 726 esc_attr( $aria_label ), 727 __( 'Visit Theme Site' )727 __( 'Visit theme site' ) 728 728 ); 729 729 } 730 730 … … 901 901 902 902 /* Add a label for the active template */ 903 903 if ( $item->get_template() === $template ) { 904 $active_theme_label = ' — ' . __( 'Active Theme' );904 $active_theme_label = ' — ' . __( 'Active theme' ); 905 905 } 906 906 907 907 /* In case this is a child theme, label it properly */ 908 908 if ( $stylesheet !== $template && $item->get_stylesheet() === $stylesheet ) { 909 $active_theme_label = ' — ' . __( 'Active Child Theme' );909 $active_theme_label = ' — ' . __( 'Active child theme' ); 910 910 } 911 911 } 912 912 -
src/wp-admin/includes/class-wp-plugin-install-list-table.php
99 99 $tabs = array(); 100 100 101 101 if ( 'search' === $tab ) { 102 $tabs['search'] = __( 'Search Results' );102 $tabs['search'] = __( 'Search results' ); 103 103 } 104 104 105 105 if ( 'beta' === $tab || false !== strpos( get_bloginfo( 'version' ), '-' ) ) { … … 114 114 if ( current_user_can( 'upload_plugins' ) ) { 115 115 // No longer a real tab. Here for filter compatibility. 116 116 // Gets skipped in get_views(). 117 $tabs['upload'] = __( 'Upload Plugin' );117 $tabs['upload'] = __( 'Upload plugin' ); 118 118 } 119 119 120 120 $nonmenu_tabs = array( 'plugin-information' ); // Valid actions to perform which do not have a Menu item. … … 278 278 public function no_items() { 279 279 if ( isset( $this->error ) ) { ?> 280 280 <div class="inline error"><p><?php echo $this->error->get_error_message(); ?></p> 281 <p class="hide-if-no-js"><button class="button try-again"><?php _e( 'Try Again' ); ?></button></p>281 <p class="hide-if-no-js"><button class="button try-again"><?php _e( 'Try again' ); ?></button></p> 282 282 </div> 283 283 <?php } else { ?> 284 284 <div class="no-plugin-results"><?php _e( 'No plugins found. Try a different search.' ); ?></div> … … 534 534 /* translators: %s: Plugin name and version. */ 535 535 esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $name ) ), 536 536 esc_attr( $name ), 537 __( 'Install Now' )537 __( 'Install now' ) 538 538 ); 539 539 } else { 540 540 $action_links[] = sprintf( 541 541 '<button type="button" class="button button-disabled" disabled="disabled">%s</button>', 542 _x( 'Cannot Install', 'plugin' )542 _x( 'Cannot install', 'plugin' ) 543 543 ); 544 544 } 545 545 } … … 556 556 /* translators: %s: Plugin name and version. */ 557 557 esc_attr( sprintf( _x( 'Update %s now', 'plugin' ), $name ) ), 558 558 esc_attr( $name ), 559 __( 'Update Now' )559 __( 'Update now' ) 560 560 ); 561 561 } else { 562 562 $action_links[] = sprintf( 563 563 '<button type="button" class="button button-disabled" disabled="disabled">%s</button>', 564 _x( 'Cannot Update', 'plugin' )564 _x( 'Cannot update', 'plugin' ) 565 565 ); 566 566 } 567 567 } … … 588 588 ); 589 589 590 590 if ( is_network_admin() ) { 591 $button_text = __( 'Network Activate' );591 $button_text = __( 'Network activate' ); 592 592 /* translators: %s: Plugin name. */ 593 $button_label = _x( 'Network Activate %s', 'plugin' );593 $button_label = _x( 'Network activate %s', 'plugin' ); 594 594 $activate_url = add_query_arg( array( 'networkwide' => 1 ), $activate_url ); 595 595 } 596 596 … … 621 621 /* translators: %s: Plugin name and version. */ 622 622 esc_attr( sprintf( __( 'More information about %s' ), $name ) ), 623 623 esc_attr( $name ), 624 __( 'More Details' )624 __( 'More details' ) 625 625 ); 626 626 627 627 if ( ! empty( $plugin['icons']['svg'] ) ) { … … 732 732 <span class="num-ratings" aria-hidden="true">(<?php echo number_format_i18n( $plugin['num_ratings'] ); ?>)</span> 733 733 </div> 734 734 <div class="column-updated"> 735 <strong><?php _e( 'Last Updated:' ); ?></strong>735 <strong><?php _e( 'Last updated:' ); ?></strong> 736 736 <?php 737 737 /* translators: %s: Human-readable time difference. */ 738 738 printf( __( '%s ago' ), human_time_diff( $last_updated_timestamp ) ); -
src/wp-admin/includes/class-wp-plugins-list-table.php
465 465 ); 466 466 467 467 if ( $this->show_autoupdates ) { 468 $columns['auto-updates'] = __( 'Automatic Updates' );468 $columns['auto-updates'] = __( 'Automatic updates' ); 469 469 } 470 470 471 471 return $columns; … … 513 513 case 'recently_activated': 514 514 /* translators: %s: Number of plugins. */ 515 515 $text = _n( 516 'Recently Active <span class="count">(%s)</span>',517 'Recently Active <span class="count">(%s)</span>',516 'Recently active <span class="count">(%s)</span>', 517 'Recently active <span class="count">(%s)</span>', 518 518 $count 519 519 ); 520 520 break; … … 529 529 case 'mustuse': 530 530 /* translators: %s: Number of plugins. */ 531 531 $text = _n( 532 'Must- Use <span class="count">(%s)</span>',533 'Must- Use <span class="count">(%s)</span>',532 'Must-use <span class="count">(%s)</span>', 533 'Must-use <span class="count">(%s)</span>', 534 534 $count 535 535 ); 536 536 break; … … 553 553 case 'upgrade': 554 554 /* translators: %s: Number of plugins. */ 555 555 $text = _n( 556 'Update Available <span class="count">(%s)</span>',557 'Update Available <span class="count">(%s)</span>',556 'Update available <span class="count">(%s)</span>', 557 'Update available <span class="count">(%s)</span>', 558 558 $count 559 559 ); 560 560 break; … … 561 561 case 'auto-update-enabled': 562 562 /* translators: %s: Number of plugins. */ 563 563 $text = _n( 564 'Auto-updates Enabled <span class="count">(%s)</span>',565 'Auto-updates Enabled <span class="count">(%s)</span>',564 'Auto-updates enabled <span class="count">(%s)</span>', 565 'Auto-updates enabled <span class="count">(%s)</span>', 566 566 $count 567 567 ); 568 568 break; … … 569 569 case 'auto-update-disabled': 570 570 /* translators: %s: Number of plugins. */ 571 571 $text = _n( 572 'Auto-updates Disabled <span class="count">(%s)</span>',573 'Auto-updates Disabled <span class="count">(%s)</span>',572 'Auto-updates disabled <span class="count">(%s)</span>', 573 'Auto-updates disabled <span class="count">(%s)</span>', 574 574 $count 575 575 ); 576 576 break; … … 599 599 $actions = array(); 600 600 601 601 if ( 'active' !== $status ) { 602 $actions['activate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network Activate' ) : __( 'Activate' );602 $actions['activate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network activate' ) : __( 'Activate' ); 603 603 } 604 604 605 605 if ( 'inactive' !== $status && 'recent' !== $status ) { 606 $actions['deactivate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network Deactivate' ) : __( 'Deactivate' );606 $actions['deactivate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network deactivate' ) : __( 'Deactivate' ); 607 607 } 608 608 609 609 if ( ! is_multisite() || $this->screen->in_admin( 'network' ) ) { … … 617 617 618 618 if ( $this->show_autoupdates ) { 619 619 if ( 'auto-update-enabled' !== $status ) { 620 $actions['enable-auto-update-selected'] = __( 'Enable Auto-updates' );620 $actions['enable-auto-update-selected'] = __( 'Enable auto-updates' ); 621 621 } 622 622 if ( 'auto-update-disabled' !== $status ) { 623 $actions['disable-auto-update-selected'] = __( 'Disable Auto-updates' );623 $actions['disable-auto-update-selected'] = __( 'Disable auto-updates' ); 624 624 } 625 625 } 626 626 } … … 656 656 echo '<div class="alignleft actions">'; 657 657 658 658 if ( 'recently_activated' === $status ) { 659 submit_button( __( 'Clear List' ), '', 'clear-recent-list', false );659 submit_button( __( 'Clear list' ), '', 'clear-recent-list', false ); 660 660 } elseif ( 'top' === $which && 'mustuse' === $status ) { 661 661 echo '<p>' . sprintf( 662 662 /* translators: %s: mu-plugins directory name. */ … … 787 787 wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . urlencode( $plugin_file ) . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'deactivate-plugin_' . $plugin_file ), 788 788 esc_attr( $plugin_id_attr ), 789 789 /* translators: %s: Plugin name. */ 790 esc_attr( sprintf( _x( 'Network Deactivate %s', 'plugin' ), $plugin_data['Name'] ) ),791 __( 'Network Deactivate' )790 esc_attr( sprintf( _x( 'Network deactivate %s', 'plugin' ), $plugin_data['Name'] ) ), 791 __( 'Network deactivate' ) 792 792 ); 793 793 } 794 794 } else { … … 798 798 wp_nonce_url( 'plugins.php?action=activate&plugin=' . urlencode( $plugin_file ) . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'activate-plugin_' . $plugin_file ), 799 799 esc_attr( $plugin_id_attr ), 800 800 /* translators: %s: Plugin name. */ 801 esc_attr( sprintf( _x( 'Network Activate %s', 'plugin' ), $plugin_data['Name'] ) ),802 __( 'Network Activate' )801 esc_attr( sprintf( _x( 'Network activate %s', 'plugin' ), $plugin_data['Name'] ) ), 802 __( 'Network activate' ) 803 803 ); 804 804 } 805 805 … … 817 817 } else { 818 818 if ( $restrict_network_active ) { 819 819 $actions = array( 820 'network_active' => __( 'Network Active' ),820 'network_active' => __( 'Network active' ), 821 821 ); 822 822 } elseif ( $restrict_network_only ) { 823 823 $actions = array( 824 'network_only' => __( 'Network Only' ),824 'network_only' => __( 'Network only' ), 825 825 ); 826 826 } elseif ( $is_active ) { 827 827 if ( current_user_can( 'deactivate_plugin', $plugin_file ) ) { -
src/wp-admin/includes/class-wp-posts-list-table.php
1029 1029 '<a class="row-title" href="%s" aria-label="%s">%s%s</a>', 1030 1030 get_edit_post_link( $post->ID ), 1031 1031 /* translators: %s: Post title. */ 1032 esc_attr( sprintf( __( '“%s” ( Edit)' ), $title ) ),1032 esc_attr( sprintf( __( '“%s” (edit)' ), $title ) ), 1033 1033 $pad, 1034 1034 $title 1035 1035 ); … … 1100 1100 $status = __( 'Scheduled' ); 1101 1101 } 1102 1102 } else { 1103 $status = __( 'Last Modified' );1103 $status = __( 'Last modified' ); 1104 1104 } 1105 1105 1106 1106 /** … … 1353 1353 '<button type="button" class="button-link editinline" aria-label="%s" aria-expanded="false">%s</button>', 1354 1354 /* translators: %s: Post title. */ 1355 1355 esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $title ) ), 1356 __( 'Quick Edit' )1356 __( 'Quick edit' ) 1357 1357 ); 1358 1358 } 1359 1359 } … … 1382 1382 get_delete_post_link( $post->ID, '', true ), 1383 1383 /* translators: %s: Post title. */ 1384 1384 esc_attr( sprintf( __( 'Delete “%s” permanently' ), $title ) ), 1385 __( 'Delete Permanently' )1385 __( 'Delete permanently' ) 1386 1386 ); 1387 1387 } 1388 1388 } … … 1531 1531 <td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange"> 1532 1532 1533 1533 <fieldset class="inline-edit-col-left"> 1534 <legend class="inline-edit-legend"><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></legend>1534 <legend class="inline-edit-legend"><?php echo $bulk ? __( 'Bulk edit' ) : __( 'Quick edit' ); ?></legend> 1535 1535 <div class="inline-edit-col"> 1536 1536 1537 1537 <?php if ( post_type_supports( $screen->post_type, 'title' ) ) : ?> … … 1586 1586 ); 1587 1587 1588 1588 if ( $bulk ) { 1589 $users_opt['show_option_none'] = __( '— No Change —' );1589 $users_opt['show_option_none'] = __( '— No change —' ); 1590 1590 } 1591 1591 1592 1592 $authors = wp_dropdown_users( $users_opt ); … … 1671 1671 'post_type' => $post_type_object->name, 1672 1672 'selected' => $post->post_parent, 1673 1673 'name' => 'post_parent', 1674 'show_option_none' => __( 'Main Page (no parent)' ),1674 'show_option_none' => __( 'Main page (no parent)' ), 1675 1675 'option_none_value' => 0, 1676 1676 'sort_column' => 'menu_order, post_title', 1677 1677 ); 1678 1678 1679 1679 if ( $bulk ) { 1680 $dropdown_args['show_option_no_change'] = __( '— No Change —' );1680 $dropdown_args['show_option_no_change'] = __( '— No change —' ); 1681 1681 } 1682 1682 1683 1683 /** … … 1714 1714 <span class="title"><?php _e( 'Template' ); ?></span> 1715 1715 <select name="page_template"> 1716 1716 <?php if ( $bulk ) : ?> 1717 <option value="-1"><?php _e( '— No Change —' ); ?></option>1717 <option value="-1"><?php _e( '— No change —' ); ?></option> 1718 1718 <?php endif; // $bulk ?> 1719 1719 <?php 1720 1720 /** This filter is documented in wp-admin/includes/meta-boxes.php */ … … 1756 1756 <label class="alignleft"> 1757 1757 <span class="title"><?php _e( 'Comments' ); ?></span> 1758 1758 <select name="comment_status"> 1759 <option value=""><?php _e( '— No Change —' ); ?></option>1759 <option value=""><?php _e( '— No change —' ); ?></option> 1760 1760 <option value="open"><?php _e( 'Allow' ); ?></option> 1761 1761 <option value="closed"><?php _e( 'Do not allow' ); ?></option> 1762 1762 </select> … … 1769 1769 <label class="alignright"> 1770 1770 <span class="title"><?php _e( 'Pings' ); ?></span> 1771 1771 <select name="ping_status"> 1772 <option value=""><?php _e( '— No Change —' ); ?></option>1772 <option value=""><?php _e( '— No change —' ); ?></option> 1773 1773 <option value="open"><?php _e( 'Allow' ); ?></option> 1774 1774 <option value="closed"><?php _e( 'Do not allow' ); ?></option> 1775 1775 </select> … … 1787 1787 1788 1788 <label class="alignleft"> 1789 1789 <input type="checkbox" name="comment_status" value="open" /> 1790 <span class="checkbox-title"><?php _e( 'Allow Comments' ); ?></span>1790 <span class="checkbox-title"><?php _e( 'Allow comments' ); ?></span> 1791 1791 </label> 1792 1792 1793 1793 <?php endif; ?> … … 1796 1796 1797 1797 <label class="alignleft"> 1798 1798 <input type="checkbox" name="ping_status" value="open" /> 1799 <span class="checkbox-title"><?php _e( 'Allow Pings' ); ?></span>1799 <span class="checkbox-title"><?php _e( 'Allow pings' ); ?></span> 1800 1800 </label> 1801 1801 1802 1802 <?php endif; ?> … … 1813 1813 <span class="title"><?php _e( 'Status' ); ?></span> 1814 1814 <select name="_status"> 1815 1815 <?php if ( $bulk ) : ?> 1816 <option value="-1"><?php _e( '— No Change —' ); ?></option>1816 <option value="-1"><?php _e( '— No change —' ); ?></option> 1817 1817 <?php endif; // $bulk ?> 1818 1818 1819 1819 <?php if ( $can_publish ) : // Contributors only get "Unpublished" and "Pending Review". ?> … … 1824 1824 <?php endif; // $bulk ?> 1825 1825 <?php endif; ?> 1826 1826 1827 <option value="pending"><?php _e( 'Pending Review' ); ?></option>1827 <option value="pending"><?php _e( 'Pending review' ); ?></option> 1828 1828 <option value="draft"><?php _e( 'Draft' ); ?></option> 1829 1829 </select> 1830 1830 </label> … … 1836 1836 <label class="alignright"> 1837 1837 <span class="title"><?php _e( 'Sticky' ); ?></span> 1838 1838 <select name="sticky"> 1839 <option value="-1"><?php _e( '— No Change —' ); ?></option>1839 <option value="-1"><?php _e( '— No change —' ); ?></option> 1840 1840 <option value="sticky"><?php _e( 'Sticky' ); ?></option> 1841 <option value="unsticky"><?php _e( 'Not Sticky' ); ?></option>1841 <option value="unsticky"><?php _e( 'Not sticky' ); ?></option> 1842 1842 </select> 1843 1843 </label> 1844 1844 … … 1861 1861 <label class="alignleft"> 1862 1862 <span class="title"><?php _ex( 'Format', 'post format' ); ?></span> 1863 1863 <select name="post_format"> 1864 <option value="-1"><?php _e( '— No Change —' ); ?></option>1864 <option value="-1"><?php _e( '— No change —' ); ?></option> 1865 1865 <option value="0"><?php echo get_post_format_string( 'standard' ); ?></option> 1866 1866 <?php if ( is_array( $post_formats[0] ) ) : ?> 1867 1867 <?php foreach ( $post_formats[0] as $format ) : ?> -
src/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php
56 56 'data-nonce="' . esc_attr( $nonce ) . 57 57 '">'; 58 58 59 $download_data_markup .= '<span class="export-personal-data-idle"><button type="button" class="button-link export-personal-data-handle">' . __( 'Download Personal Data' ) . '</button></span>' .60 '<span class="export-personal-data-processing hidden">' . __( 'Downloading Data...' ) . ' <span class="export-progress"></span></span>' .61 '<span class="export-personal-data-success hidden"><button type="button" class="button-link export-personal-data-handle">' . __( 'Download Personal Data Again' ) . '</button></span>' .59 $download_data_markup .= '<span class="export-personal-data-idle"><button type="button" class="button-link export-personal-data-handle">' . __( 'Download personal data' ) . '</button></span>' . 60 '<span class="export-personal-data-processing hidden">' . __( 'Downloading data...' ) . ' <span class="export-progress"></span></span>' . 61 '<span class="export-personal-data-success hidden"><button type="button" class="button-link export-personal-data-handle">' . __( 'Download personal data again' ) . '</button></span>' . 62 62 '<span class="export-personal-data-failed hidden">' . __( 'Download failed.' ) . ' <button type="button" class="button-link">' . __( 'Retry' ) . '</button></span>'; 63 63 64 64 $download_data_markup .= '</div>'; … … 99 99 '">'; 100 100 101 101 ?> 102 <span class="export-personal-data-idle"><button type="button" class="button-link export-personal-data-handle"><?php _e( 'Send Export Link' ); ?></button></span>103 <span class="export-personal-data-processing hidden"><?php _e( 'Sending Email...' ); ?> <span class="export-progress"></span></span>102 <span class="export-personal-data-idle"><button type="button" class="button-link export-personal-data-handle"><?php _e( 'Send export link' ); ?></button></span> 103 <span class="export-personal-data-processing hidden"><?php _e( 'Sending email...' ); ?> <span class="export-progress"></span></span> 104 104 <span class="export-personal-data-success success-message hidden"><?php _e( 'Email sent.' ); ?></span> 105 105 <span class="export-personal-data-failed hidden"><?php _e( 'Email could not be sent.' ); ?> <button type="button" class="button-link export-personal-data-handle"><?php _e( 'Retry' ); ?></button></span> 106 106 <?php -
src/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php
61 61 'data-nonce="' . esc_attr( $nonce ) . 62 62 '">'; 63 63 64 $remove_data_markup .= '<span class="remove-personal-data-idle"><button type="button" class="button-link remove-personal-data-handle">' . __( 'Force Erase Personal Data' ) . '</button></span>' .65 '<span class="remove-personal-data-processing hidden">' . __( 'Erasing Data...' ) . ' <span class="erasure-progress"></span></span>' .64 $remove_data_markup .= '<span class="remove-personal-data-idle"><button type="button" class="button-link remove-personal-data-handle">' . __( 'Force erase personal data' ) . '</button></span>' . 65 '<span class="remove-personal-data-processing hidden">' . __( 'Erasing data...' ) . ' <span class="erasure-progress"></span></span>' . 66 66 '<span class="remove-personal-data-success hidden">' . __( 'Erasure completed.' ) . '</span>' . 67 '<span class="remove-personal-data-failed hidden">' . __( 'Force Erasure has failed.' ) . ' <button type="button" class="button-link remove-personal-data-handle">' . __( 'Retry' ) . '</button></span>';67 '<span class="remove-personal-data-failed hidden">' . __( 'Force erasure has failed.' ) . ' <button type="button" class="button-link remove-personal-data-handle">' . __( 'Retry' ) . '</button></span>'; 68 68 69 69 $remove_data_markup .= '</div>'; 70 70 … … 105 105 '">'; 106 106 107 107 ?> 108 <span class="remove-personal-data-idle"><button type="button" class="button-link remove-personal-data-handle"><?php _e( 'Erase Personal Data' ); ?></button></span>109 <span class="remove-personal-data-processing hidden"><?php _e( 'Erasing Data...' ); ?> <span class="erasure-progress"></span></span>108 <span class="remove-personal-data-idle"><button type="button" class="button-link remove-personal-data-handle"><?php _e( 'Erase personal data' ); ?></button></span> 109 <span class="remove-personal-data-processing hidden"><?php _e( 'Erasing data...' ); ?> <span class="erasure-progress"></span></span> 110 110 <span class="remove-personal-data-success success-message hidden" ><?php _e( 'Erasure completed.' ); ?></span> 111 <span class="remove-personal-data-failed hidden"><?php _e( 'Data Erasure has failed.' ); ?> <button type="button" class="button-link remove-personal-data-handle"><?php _e( 'Retry' ); ?></button></span>111 <span class="remove-personal-data-failed hidden"><?php _e( 'Data erasure has failed.' ); ?> <button type="button" class="button-link remove-personal-data-handle"><?php _e( 'Retry' ); ?></button></span> 112 112 <?php 113 113 114 114 echo '</div>'; -
src/wp-admin/includes/class-wp-terms-list-table.php
416 416 '<a class="row-title" href="%s" aria-label="%s">%s</a>', 417 417 esc_url( $edit_link ), 418 418 /* translators: %s: Taxonomy term name. */ 419 esc_attr( sprintf( __( '“%s” ( Edit)' ), $tag->name ) ),419 esc_attr( sprintf( __( '“%s” (edit)' ), $tag->name ) ), 420 420 $name 421 421 ); 422 422 } … … 486 486 '<button type="button" class="button-link editinline" aria-label="%s" aria-expanded="false">%s</button>', 487 487 /* translators: %s: Taxonomy term name. */ 488 488 esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $tag->name ) ), 489 __( 'Quick Edit' )489 __( 'Quick edit' ) 490 490 ); 491 491 } 492 492 if ( current_user_can( 'delete_term', $tag->term_id ) ) { … … 645 645 <td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange"> 646 646 647 647 <fieldset> 648 <legend class="inline-edit-legend"><?php _e( 'Quick Edit' ); ?></legend>648 <legend class="inline-edit-legend"><?php _e( 'Quick edit' ); ?></legend> 649 649 <div class="inline-edit-col"> 650 650 <label> 651 651 <span class="title"><?php _ex( 'Name', 'term name' ); ?></span> -
src/wp-admin/includes/class-wp-theme-install-list-table.php
58 58 $tabs = array(); 59 59 $tabs['dashboard'] = __( 'Search' ); 60 60 if ( 'search' === $tab ) { 61 $tabs['search'] = __( 'Search Results' );61 $tabs['search'] = __( 'Search results' ); 62 62 } 63 63 $tabs['upload'] = __( 'Upload' ); 64 64 $tabs['featured'] = _x( 'Featured', 'themes' ); 65 65 //$tabs['popular'] = _x( 'Popular', 'themes' ); 66 66 $tabs['new'] = _x( 'Latest', 'themes' ); 67 $tabs['updated'] = _x( 'Recently Updated', 'themes' );67 $tabs['updated'] = _x( 'Recently updated', 'themes' ); 68 68 69 69 $nonmenu_tabs = array( 'theme-information' ); // Valid actions to perform which do not have a Menu item. 70 70 … … 148 148 $api = themes_api( 'query_themes', $args ); 149 149 150 150 if ( is_wp_error( $api ) ) { 151 wp_die( $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try Again' ) . '</a>' );151 wp_die( $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try again' ) . '</a>' ); 152 152 } 153 153 154 154 $this->items = $api->themes; … … 324 324 esc_url( wp_nonce_url( $install_url, 'install-theme_' . $theme->slug ) ), 325 325 /* translators: %s: Theme name. */ 326 326 esc_attr( sprintf( _x( 'Install %s', 'theme' ), $name ) ), 327 __( 'Install Now' )327 __( 'Install now' ) 328 328 ); 329 329 break; 330 330 } … … 389 389 <div class="install-theme-info"></div> 390 390 </div> 391 391 <div class="wp-full-overlay-footer"> 392 <button type="button" class="collapse-sidebar button" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>">392 <button type="button" class="collapse-sidebar button" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse sidebar' ); ?>"> 393 393 <span class="collapse-sidebar-arrow"></span> 394 394 <span class="collapse-sidebar-label"><?php _e( 'Collapse' ); ?></span> 395 395 </button> -
src/wp-admin/includes/class-wp-themes-list-table.php
220 220 $actions['preview'] .= sprintf( 221 221 '<a href="%s" class="load-customize hide-if-no-customize">%s</a>', 222 222 wp_customize_url( $stylesheet ), 223 __( 'Live Preview' )223 __( 'Live preview' ) 224 224 ); 225 225 } 226 226