Ticket #50773: 50773.2.diff
File 50773.2.diff, 95.2 KB (added by , 4 years ago) |
---|
-
src/js/_enqueues/admin/edit-comments.js
613 613 approvedDiff = -1; 614 614 pendingDiff = 1; 615 615 616 // User clicked "Delete Permanently".616 // User clicked "Delete permanently". 617 617 } else if ( targetParent.is( 'span.delete' ) ) { 618 618 if ( spammed ) { 619 619 spamDiff = -1; -
src/js/_enqueues/admin/plugin-install.js
207 207 }); 208 208 209 209 /* 210 * When a user presses the "Upload Plugin" button, show the upload form in place210 * When a user presses the "Upload plugin" button, show the upload form in place 211 211 * rather than sending them to the devoted upload plugin page. 212 212 * The `?tab=upload` page still exists for no-js support and for plugins that 213 213 * might access it directly. When we're in this page, let the link behave -
src/js/_enqueues/vendor/tinymce/langs/wp-langs-en.js
147 147 paste: { 148 148 paste_text_desc: "Paste as Plain Text", 149 149 paste_word_desc: "Paste from Word", 150 selectall_desc: "Select All",150 selectall_desc: "Select all", 151 151 plaintext_mode_sticky: "Paste is now in plain text mode. Click again to toggle back to regular paste mode. After you paste something you will be returned to regular paste mode.", 152 152 plaintext_mode: "Paste is now in plain text mode. Click again to toggle back to regular paste mode." 153 153 }, -
src/js/_enqueues/wp/customize/loader.js
119 119 return window.location = src; 120 120 } 121 121 122 // Store the document title prior to opening the Live Preview.122 // Store the document title prior to opening the Live preview. 123 123 this.originalDocumentTitle = document.title; 124 124 125 125 this.active = true; … … 223 223 self.active = false; 224 224 self.trigger( 'close' ); 225 225 226 // Restore document title prior to opening the Live Preview.226 // Restore document title prior to opening the Live preview. 227 227 if ( self.originalDocumentTitle ) { 228 228 document.title = self.originalDocumentTitle; 229 229 } -
src/js/_enqueues/wp/editor/base.js
732 732 733 733 /** 734 734 * Marking the start and end element with `data-mce-object-selection` helps 735 * discern when the selected object is a Live Preview selection.735 * discern when the selected object is a Live preview selection. 736 736 * 737 737 * This way we can adjust the selection to properly select only the content, ignoring 738 738 * whitespace inserted around the selected object by the Editor. … … 792 792 793 793 if (endMatch) { 794 794 /** 795 * Adjust the selection index, if the selection contains a Live Preview object or not.795 * Adjust the selection index, if the selection contains a Live preview object or not. 796 796 * 797 797 * Check where the `data-mce-object-selection` attribute is set above for more context. 798 798 */ -
src/js/_enqueues/wp/updates.js
622 622 623 623 $card.find( '.update-now' ) 624 624 .attr( 'aria-label', false ) 625 .text( __( 'Update Now' ) );625 .text( __( 'Update now' ) ); 626 626 }, 200 ); 627 627 } ); 628 628 } … … 727 727 'aria-label', 728 728 sprintf( 729 729 /* translators: %s: Plugin name. */ 730 _x( 'Network Activate %s', 'plugin' ),730 _x( 'Network activate %s', 'plugin' ), 731 731 response.pluginName 732 732 ) 733 733 ) 734 .text( __( 'Network Activate' ) );734 .text( __( 'Network activate' ) ); 735 735 } else { 736 736 $message 737 737 .attr( … … 892 892 pluginName 893 893 ) 894 894 ) 895 .text( __( 'Install Now' ) );895 .text( __( 'Install now' ) ); 896 896 897 897 wp.a11y.speak( errorMessage, 'assertive' ); 898 898 … … 1348 1348 'aria-label', 1349 1349 sprintf( 1350 1350 /* translators: %s: Theme name. */ 1351 _x( 'Network Activate %s', 'theme' ),1351 _x( 'Network activate %s', 'theme' ), 1352 1352 response.themeName 1353 1353 ) 1354 1354 ) 1355 .text( __( 'Network Enable' ) );1355 .text( __( 'Network enable' ) ); 1356 1356 } else { 1357 1357 $message 1358 1358 .attr( … … 1369 1369 1370 1370 if ( response.customizeUrl ) { 1371 1371 1372 // Transform the 'Preview' button into a 'Live Preview' button.1372 // Transform the 'Preview' button into a 'Live preview' button. 1373 1373 $message.siblings( '.preview' ).replaceWith( function () { 1374 1374 return $( '<a>' ) 1375 1375 .attr( 'href', response.customizeUrl ) 1376 1376 .addClass( 'button load-customize' ) 1377 .text( __( 'Live Preview' ) );1377 .text( __( 'Live preview' ) ); 1378 1378 } ); 1379 1379 } 1380 1380 }, 1000 ); … … 2147 2147 2148 2148 $message 2149 2149 .removeClass( 'updating-message' ) 2150 .text( __( 'Install Now' ) );2150 .text( __( 'Install now' ) ); 2151 2151 2152 2152 wp.a11y.speak( __( 'Update canceled.' ) ); 2153 2153 } ); … … 2190 2190 pluginName 2191 2191 ) 2192 2192 ) 2193 .text( __( 'Install Now' ) );2193 .text( __( 'Install now' ) ); 2194 2194 2195 2195 wp.a11y.speak( __( 'Update canceled.' ) ); 2196 2196 } ); … … 2490 2490 .append( $( '<a />', { 2491 2491 'class': 'current', 2492 2492 'href': searchLocation, 2493 'text': __( 'Search Results' )2493 'text': __( 'Search results' ) 2494 2494 } ) ); 2495 2495 2496 2496 $( '.wp-filter .filter-links .current' ) … … 2624 2624 } ); 2625 2625 2626 2626 /** 2627 * Trigger a search event when the "Try Again" button is clicked.2627 * Trigger a search event when the "Try again" button is clicked. 2628 2628 * 2629 2629 * @since 4.9.0 2630 2630 */ -
src/js/media/views/button/delete-selected-permanently.js
5 5 /** 6 6 * wp.media.view.DeleteSelectedPermanentlyButton 7 7 * 8 * When MEDIA_TRASH is true, a button that handles bulk Delete Permanently logic8 * When MEDIA_TRASH is true, a button that handles bulk Delete permanently logic 9 9 * 10 10 * @memberOf wp.media.view 11 11 * -
src/wp-admin/about.php
98 98 <source src="https://s.w.org/images/core/5.5/auto-updates.mp4" type="video/mp4" /> 99 99 <source src="https://s.w.org/images/core/5.5/auto-updates.webm" type="video/webm" /> 100 100 </video> 101 <figcaption id="about-security" class="screen-reader-text"><?php _e( 'Video: Installed plugin screen, which shows a new column, Automatic Updates. In this column are buttons that say "Enable auto-updates". When clicked, the auto-updates feature is turned on for that plugin, and the button switches to say "Disable auto-updates".' ); ?></figcaption>101 <figcaption id="about-security" class="screen-reader-text"><?php _e( 'Video: Installed plugin screen, which shows a new column, Automatic updates. In this column are buttons that say "Enable auto-updates". When clicked, the auto-updates feature is turned on for that plugin, and the button switches to say "Disable auto-updates".' ); ?></figcaption> 102 102 </figure> 103 103 </div> 104 104 </div> -
src/wp-admin/edit-form-comment.php
202 202 203 203 <div id="major-publishing-actions"> 204 204 <div id="delete-action"> 205 <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url( 'comment.php?action=' . ( ! EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode( wp_get_referer() ), 'delete-comment_' . $comment->comment_ID ) . "'>" . ( ! EMPTY_TRASH_DAYS ? __( 'Delete Permanently' ) : __( 'Move to Trash' ) ) . "</a>\n"; ?>205 <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url( 'comment.php?action=' . ( ! EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode( wp_get_referer() ), 'delete-comment_' . $comment->comment_ID ) . "'>" . ( ! EMPTY_TRASH_DAYS ? __( 'Delete permanently' ) : __( 'Move to Trash' ) ) . "</a>\n"; ?> 206 206 </div> 207 207 <div id="publishing-action"> 208 208 <?php submit_button( __( 'Update' ), 'primary large', 'save', false ); ?> -
src/wp-admin/erase-personal-data.php
1 1 <?php 2 2 /** 3 * Privacy tools, Erase Personal Data screen.3 * Privacy tools, Erase personal data screen. 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Administration … … 51 51 ?> 52 52 53 53 <div class="wrap nosubsub"> 54 <h1><?php esc_html_e( 'Erase Personal Data' ); ?></h1>54 <h1><?php esc_html_e( 'Erase personal data' ); ?></h1> 55 55 <hr class="wp-header-end" /> 56 56 57 57 <?php settings_errors(); ?> 58 58 59 59 <form action="<?php echo esc_url( admin_url( 'erase-personal-data.php' ) ); ?>" method="post" class="wp-privacy-request-form"> 60 <h2><?php esc_html_e( 'Add Data Erasure Request' ); ?></h2>60 <h2><?php esc_html_e( 'Add Data erasure Request' ); ?></h2> 61 61 <p><?php esc_html_e( 'An email will be sent to the user at this email address asking them to verify the request.' ); ?></p> 62 62 63 63 <div class="wp-privacy-request-form-field"> -
src/wp-admin/import.php
21 21 array( 22 22 'id' => 'overview', 23 23 'title' => __( 'Overview' ), 24 'content' => '<p>' . __( 'This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.' ) . '</p>' .24 'content' => '<p>' . __( 'This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.' ) . '</p>' . 25 25 '<p>' . __( 'In previous versions of WordPress, all importers were built-in. They have been turned into plugins since most people only use them once or infrequently.' ) . '</p>', 26 26 ) 27 27 ); … … 157 157 esc_attr( $data[0] ), 158 158 /* translators: %s: Importer name. */ 159 159 esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $data[0] ) ), 160 __( 'Install Now' )160 __( 'Install now' ) 161 161 ); 162 162 } else { 163 163 $action = sprintf( -
src/wp-admin/includes/ajax-actions.php
2195 2195 $stat = __( 'Scheduled' ); 2196 2196 break; 2197 2197 case 'pending': 2198 $stat = __( 'Pending Review' );2198 $stat = __( 'Pending review' ); 2199 2199 break; 2200 2200 case 'draft': 2201 2201 $stat = __( 'Draft' ); -
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
128 128 '<a href="%s" class="hide-if-no-customize load-customize">' . 129 129 '<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>', 130 130 esc_url( $customize_url ), 131 __( 'Live Preview' ),131 __( 'Live preview' ), 132 132 /* translators: %s: Theme name. */ 133 sprintf( __( 'Live Preview “%s”' ), $name )133 sprintf( __( 'Live preview “%s”' ), $name ) 134 134 ); 135 135 } 136 136 … … 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-theme-upgrader-skin.php
100 100 '<a href="%s" class="hide-if-no-customize load-customize">' . 101 101 '<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>', 102 102 esc_url( $customize_url ), 103 __( 'Live Preview' ),103 __( 'Live preview' ), 104 104 /* translators: %s: Theme name. */ 105 sprintf( __( 'Live Preview “%s”' ), $name )105 sprintf( __( 'Live preview “%s”' ), $name ) 106 106 ); 107 107 } 108 108 -
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-debug-data.php
147 147 ); 148 148 149 149 $info['wp-active-theme'] = array( 150 'label' => __( 'Active Theme' ),150 'label' => __( 'Active theme' ), 151 151 'fields' => array(), 152 152 ); 153 153 -
src/wp-admin/includes/class-wp-list-table.php
933 933 934 934 if ( 'bottom' === $which ) { 935 935 $html_current_page = $current; 936 $total_pages_before = '<span class="screen-reader-text">' . __( 'Current Page' ) . '</span><span id="table-paging" class="paging-input"><span class="tablenav-paging-text">';936 $total_pages_before = '<span class="screen-reader-text">' . __( 'Current page' ) . '</span><span id="table-paging" class="paging-input"><span class="tablenav-paging-text">'; 937 937 } else { 938 938 $html_current_page = sprintf( 939 939 "%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'>", 940 '<label for="current-page-selector" class="screen-reader-text">' . __( 'Current Page' ) . '</label>',940 '<label for="current-page-selector" class="screen-reader-text">' . __( 'Current page' ) . '</label>', 941 941 $current, 942 942 strlen( $total_pages ) 943 943 ); … … 1189 1189 1190 1190 if ( ! empty( $columns['cb'] ) ) { 1191 1191 static $cb_counter = 1; 1192 $columns['cb'] = '<label class="screen-reader-text" for="cb-select-all-' . $cb_counter . '">' . __( 'Select All' ) . '</label>'1192 $columns['cb'] = '<label class="screen-reader-text" for="cb-select-all-' . $cb_counter . '">' . __( 'Select all' ) . '</label>' 1193 1193 . '<input id="cb-select-all-' . $cb_counter . '" type="checkbox" />'; 1194 1194 $cb_counter++; 1195 1195 } -
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 } … … 789 789 * @since 2.8.0 790 790 * 791 791 * @param string[] $actions An array of action links for each attachment. 792 * Default 'Edit', 'Delete Permanently', 'View'.792 * Default 'Edit', 'Delete permanently', 'View'. 793 793 * @param WP_Post $post WP_Post object for the current attachment. 794 794 * @param bool $detached Whether the list table contains media not attached 795 795 * to any posts. Default true. -
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 } … … 725 725 * The 'Edit', 'Dashboard', 'Delete', and 'Visit' links are displayed by 726 726 * default for each site. The site's status determines whether to show the 727 727 * 'Activate' or 'Deactivate' link, 'Unarchive' or 'Archive' links, and 728 * 'Not Spam' or 'Spam' link for each site.728 * 'Not spam' or 'Spam' link for each site. 729 729 * 730 730 * @since 3.1.0 731 731 * -
src/wp-admin/includes/class-wp-ms-themes-list-table.php
331 331 ); 332 332 333 333 if ( $this->show_autoupdates ) { 334 $columns['auto-updates'] = __( 'Automatic Updates' );334 $columns['auto-updates'] = __( 'Automatic updates' ); 335 335 } 336 336 337 337 return $columns; … … 402 402 case 'upgrade': 403 403 /* translators: %s: Number of themes. */ 404 404 $text = _nx( 405 'Update Available <span class="count">(%s)</span>',406 'Update Available <span class="count">(%s)</span>',405 'Update available <span class="count">(%s)</span>', 406 'Update available <span class="count">(%s)</span>', 407 407 $count, 408 408 'themes' 409 409 ); … … 420 420 case 'auto-update-enabled': 421 421 /* translators: %s: Number of themes. */ 422 422 $text = _n( 423 'Auto-updates Enabled <span class="count">(%s)</span>',424 'Auto-updates Enabled <span class="count">(%s)</span>',423 'Auto-updates enabled <span class="count">(%s)</span>', 424 'Auto-updates enabled <span class="count">(%s)</span>', 425 425 $count 426 426 ); 427 427 break; 428 428 case 'auto-update-disabled': 429 429 /* translators: %s: Number of themes. */ 430 430 $text = _n( 431 'Auto-updates Disabled <span class="count">(%s)</span>',432 'Auto-updates Disabled <span class="count">(%s)</span>',431 'Auto-updates disabled <span class="count">(%s)</span>', 432 'Auto-updates disabled <span class="count">(%s)</span>', 433 433 $count 434 434 ); 435 435 break; … … 464 464 465 465 $actions = array(); 466 466 if ( 'enabled' !== $status ) { 467 $actions['enable-selected'] = $this->is_site_themes ? __( 'Enable' ) : __( 'Network Enable' );467 $actions['enable-selected'] = $this->is_site_themes ? __( 'Enable' ) : __( 'Network enable' ); 468 468 } 469 469 if ( 'disabled' !== $status ) { 470 $actions['disable-selected'] = $this->is_site_themes ? __( 'Disable' ) : __( 'Network Disable' );470 $actions['disable-selected'] = $this->is_site_themes ? __( 'Disable' ) : __( 'Network disable' ); 471 471 } 472 472 if ( ! $this->is_site_themes ) { 473 473 if ( current_user_can( 'update_themes' ) ) { … … 480 480 481 481 if ( $this->show_autoupdates ) { 482 482 if ( 'auto-update-enabled' !== $status ) { 483 $actions['enable-auto-update-selected'] = __( 'Enable Auto-updates' );483 $actions['enable-auto-update-selected'] = __( 'Enable auto-updates' ); 484 484 } 485 485 486 486 if ( 'auto-update-disabled' !== $status ) { 487 $actions['disable-auto-update-selected'] = __( 'Disable Auto-updates' );487 $actions['disable-auto-update-selected'] = __( 'Disable auto-updates' ); 488 488 } 489 489 } 490 490 … … 565 565 $aria_label = sprintf( __( 'Enable %s' ), $theme->display( 'Name' ) ); 566 566 } else { 567 567 /* translators: %s: Theme name. */ 568 $aria_label = sprintf( __( 'Network Enable %s' ), $theme->display( 'Name' ) );568 $aria_label = sprintf( __( 'Network enable %s' ), $theme->display( 'Name' ) ); 569 569 } 570 570 571 571 $actions['enable'] = sprintf( 572 572 '<a href="%s" class="edit" aria-label="%s">%s</a>', 573 573 esc_url( wp_nonce_url( $url, 'enable-theme_' . $stylesheet ) ), 574 574 esc_attr( $aria_label ), 575 ( $this->is_site_themes ? __( 'Enable' ) : __( 'Network Enable' ) )575 ( $this->is_site_themes ? __( 'Enable' ) : __( 'Network enable' ) ) 576 576 ); 577 577 } 578 578 } else { … … 591 591 $aria_label = sprintf( __( 'Disable %s' ), $theme->display( 'Name' ) ); 592 592 } else { 593 593 /* translators: %s: Theme name. */ 594 $aria_label = sprintf( __( 'Network Disable %s' ), $theme->display( 'Name' ) );594 $aria_label = sprintf( __( 'Network disable %s' ), $theme->display( 'Name' ) ); 595 595 } 596 596 597 597 $actions['disable'] = sprintf( 598 598 '<a href="%s" aria-label="%s">%s</a>', 599 599 esc_url( wp_nonce_url( $url, 'disable-theme_' . $stylesheet ) ), 600 600 esc_attr( $aria_label ), 601 ( $this->is_site_themes ? __( 'Disable' ) : __( 'Network Disable' ) )601 ( $this->is_site_themes ? __( 'Disable' ) : __( 'Network disable' ) ) 602 602 ); 603 603 } 604 604 … … 639 639 * non-network enabled themes when editing a site in the Network admin. 640 640 * 641 641 * The default action links for the Network themes list table include 642 * 'Network Enable', 'Network Disable', and 'Delete'.642 * 'Network enable', 'Network disable', and 'Delete'. 643 643 * 644 644 * The default action links for the Site themes list table include 645 645 * 'Enable', and 'Disable'. … … 685 685 global $status, $totals; 686 686 687 687 if ( $theme->errors() ) { 688 $pre = 'broken' === $status ? __( 'Broken Theme:' ) . ' ' : '';688 $pre = 'broken' === $status ? __( 'Broken theme:' ) . ' ' : ''; 689 689 echo '<p><strong class="error-message">' . $pre . $theme->errors()->get_error_message() . '</strong></p>'; 690 690 } 691 691 … … 722 722 '<a href="%s" aria-label="%s">%s</a>', 723 723 $theme->display( 'ThemeURI' ), 724 724 esc_attr( $aria_label ), 725 __( 'Visit Theme Site' )725 __( 'Visit theme site' ) 726 726 ); 727 727 } 728 728 … … 899 899 900 900 /* Add a label for the active template */ 901 901 if ( $item->get_template() === $template ) { 902 $active_theme_label = ' — ' . __( 'Active Theme' );902 $active_theme_label = ' — ' . __( 'Active theme' ); 903 903 } 904 904 905 905 /* In case this is a child theme, label it properly */ 906 906 if ( $stylesheet !== $template && $item->get_stylesheet() === $stylesheet ) { 907 $active_theme_label = ' — ' . __( 'Active Child Theme' );907 $active_theme_label = ' — ' . __( 'Active child theme' ); 908 908 } 909 909 } 910 910 -
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 … … 639 639 * 640 640 * @since 2.7.0 641 641 * 642 * @param string[] $action_links An array of plugin action links. Defaults are links to Details and Install Now.642 * @param string[] $action_links An array of plugin action links. Defaults are links to Details and Install now. 643 643 * @param array $plugin The plugin currently being listed. 644 644 */ 645 645 $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin ); … … 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
464 464 ); 465 465 466 466 if ( $this->show_autoupdates ) { 467 $columns['auto-updates'] = __( 'Automatic Updates' );467 $columns['auto-updates'] = __( 'Automatic updates' ); 468 468 } 469 469 470 470 return $columns; … … 512 512 case 'recently_activated': 513 513 /* translators: %s: Number of plugins. */ 514 514 $text = _n( 515 'Recently Active <span class="count">(%s)</span>',516 'Recently Active <span class="count">(%s)</span>',515 'Recently active <span class="count">(%s)</span>', 516 'Recently active <span class="count">(%s)</span>', 517 517 $count 518 518 ); 519 519 break; … … 528 528 case 'mustuse': 529 529 /* translators: %s: Number of plugins. */ 530 530 $text = _n( 531 'Must- Use <span class="count">(%s)</span>',532 'Must- Use <span class="count">(%s)</span>',531 'Must-use <span class="count">(%s)</span>', 532 'Must-use <span class="count">(%s)</span>', 533 533 $count 534 534 ); 535 535 break; … … 552 552 case 'upgrade': 553 553 /* translators: %s: Number of plugins. */ 554 554 $text = _n( 555 'Update Available <span class="count">(%s)</span>',556 'Update Available <span class="count">(%s)</span>',555 'Update available <span class="count">(%s)</span>', 556 'Update available <span class="count">(%s)</span>', 557 557 $count 558 558 ); 559 559 break; 560 560 case 'auto-update-enabled': 561 561 /* translators: %s: Number of plugins. */ 562 562 $text = _n( 563 'Auto-updates Enabled <span class="count">(%s)</span>',564 'Auto-updates Enabled <span class="count">(%s)</span>',563 'Auto-updates enabled <span class="count">(%s)</span>', 564 'Auto-updates enabled <span class="count">(%s)</span>', 565 565 $count 566 566 ); 567 567 break; 568 568 case 'auto-update-disabled': 569 569 /* translators: %s: Number of plugins. */ 570 570 $text = _n( 571 'Auto-updates Disabled <span class="count">(%s)</span>',572 'Auto-updates Disabled <span class="count">(%s)</span>',571 'Auto-updates disabled <span class="count">(%s)</span>', 572 'Auto-updates disabled <span class="count">(%s)</span>', 573 573 $count 574 574 ); 575 575 break; … … 598 598 $actions = array(); 599 599 600 600 if ( 'active' !== $status ) { 601 $actions['activate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network Activate' ) : __( 'Activate' );601 $actions['activate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network activate' ) : __( 'Activate' ); 602 602 } 603 603 604 604 if ( 'inactive' !== $status && 'recent' !== $status ) { 605 $actions['deactivate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network Deactivate' ) : __( 'Deactivate' );605 $actions['deactivate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network deactivate' ) : __( 'Deactivate' ); 606 606 } 607 607 608 608 if ( ! is_multisite() || $this->screen->in_admin( 'network' ) ) { … … 616 616 617 617 if ( $this->show_autoupdates ) { 618 618 if ( 'auto-update-enabled' !== $status ) { 619 $actions['enable-auto-update-selected'] = __( 'Enable Auto-updates' );619 $actions['enable-auto-update-selected'] = __( 'Enable auto-updates' ); 620 620 } 621 621 if ( 'auto-update-disabled' !== $status ) { 622 $actions['disable-auto-update-selected'] = __( 'Disable Auto-updates' );622 $actions['disable-auto-update-selected'] = __( 'Disable auto-updates' ); 623 623 } 624 624 } 625 625 } … … 655 655 echo '<div class="alignleft actions">'; 656 656 657 657 if ( 'recently_activated' === $status ) { 658 submit_button( __( 'Clear List' ), '', 'clear-recent-list', false );658 submit_button( __( 'Clear list' ), '', 'clear-recent-list', false ); 659 659 } elseif ( 'top' === $which && 'mustuse' === $status ) { 660 660 echo '<p>' . sprintf( 661 661 /* translators: %s: mu-plugins directory name. */ … … 786 786 wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . urlencode( $plugin_file ) . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'deactivate-plugin_' . $plugin_file ), 787 787 esc_attr( $plugin_id_attr ), 788 788 /* translators: %s: Plugin name. */ 789 esc_attr( sprintf( _x( 'Network Deactivate %s', 'plugin' ), $plugin_data['Name'] ) ),790 __( 'Network Deactivate' )789 esc_attr( sprintf( _x( 'Network deactivate %s', 'plugin' ), $plugin_data['Name'] ) ), 790 __( 'Network deactivate' ) 791 791 ); 792 792 } 793 793 } else { … … 797 797 wp_nonce_url( 'plugins.php?action=activate&plugin=' . urlencode( $plugin_file ) . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'activate-plugin_' . $plugin_file ), 798 798 esc_attr( $plugin_id_attr ), 799 799 /* translators: %s: Plugin name. */ 800 esc_attr( sprintf( _x( 'Network Activate %s', 'plugin' ), $plugin_data['Name'] ) ),801 __( 'Network Activate' )800 esc_attr( sprintf( _x( 'Network activate %s', 'plugin' ), $plugin_data['Name'] ) ), 801 __( 'Network activate' ) 802 802 ); 803 803 } 804 804 … … 816 816 } else { 817 817 if ( $restrict_network_active ) { 818 818 $actions = array( 819 'network_active' => __( 'Network Active' ),819 'network_active' => __( 'Network active' ), 820 820 ); 821 821 } elseif ( $restrict_network_only ) { 822 822 $actions = array( 823 'network_only' => __( 'Network Only' ),823 'network_only' => __( 'Network only' ), 824 824 ); 825 825 } elseif ( $is_active ) { 826 826 if ( current_user_can( 'deactivate_plugin', $plugin_file ) ) { -
src/wp-admin/includes/class-wp-posts-list-table.php
1027 1027 '<a class="row-title" href="%s" aria-label="%s">%s%s</a>', 1028 1028 get_edit_post_link( $post->ID ), 1029 1029 /* translators: %s: Post title. */ 1030 esc_attr( sprintf( __( '“%s” ( Edit)' ), $title ) ),1030 esc_attr( sprintf( __( '“%s” (edit)' ), $title ) ), 1031 1031 $pad, 1032 1032 $title 1033 1033 ); … … 1098 1098 $status = __( 'Scheduled' ); 1099 1099 } 1100 1100 } else { 1101 $status = __( 'Last Modified' );1101 $status = __( 'Last modified' ); 1102 1102 } 1103 1103 1104 1104 /** … … 1351 1351 '<button type="button" class="button-link editinline" aria-label="%s" aria-expanded="false">%s</button>', 1352 1352 /* translators: %s: Post title. */ 1353 1353 esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $title ) ), 1354 __( 'Quick Edit' )1354 __( 'Quick edit' ) 1355 1355 ); 1356 1356 } 1357 1357 } … … 1380 1380 get_delete_post_link( $post->ID, '', true ), 1381 1381 /* translators: %s: Post title. */ 1382 1382 esc_attr( sprintf( __( 'Delete “%s” permanently' ), $title ) ), 1383 __( 'Delete Permanently' )1383 __( 'Delete permanently' ) 1384 1384 ); 1385 1385 } 1386 1386 } … … 1429 1429 * 1430 1430 * @param string[] $actions An array of row action links. Defaults are 1431 1431 * 'Edit', 'Quick Edit', 'Restore', 'Trash', 1432 * 'Delete Permanently', 'Preview', and 'View'.1432 * 'Delete permanently', 'Preview', and 'View'. 1433 1433 * @param WP_Post $post The post object. 1434 1434 */ 1435 1435 $actions = apply_filters( 'page_row_actions', $actions, $post ); … … 1444 1444 * 1445 1445 * @param string[] $actions An array of row action links. Defaults are 1446 1446 * 'Edit', 'Quick Edit', 'Restore', 'Trash', 1447 * 'Delete Permanently', 'Preview', and 'View'.1447 * 'Delete permanently', 'Preview', and 'View'. 1448 1448 * @param WP_Post $post The post object. 1449 1449 */ 1450 1450 $actions = apply_filters( 'post_row_actions', $actions, $post ); … … 1529 1529 <td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange"> 1530 1530 1531 1531 <fieldset class="inline-edit-col-left"> 1532 <legend class="inline-edit-legend"><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></legend>1532 <legend class="inline-edit-legend"><?php echo $bulk ? __( 'Bulk edit' ) : __( 'Quick edit' ); ?></legend> 1533 1533 <div class="inline-edit-col"> 1534 1534 1535 1535 <?php if ( post_type_supports( $screen->post_type, 'title' ) ) : ?> … … 1584 1584 ); 1585 1585 1586 1586 if ( $bulk ) { 1587 $users_opt['show_option_none'] = __( '— No Change —' );1587 $users_opt['show_option_none'] = __( '— No change —' ); 1588 1588 } 1589 1589 1590 1590 /** … … 1681 1681 'post_type' => $post_type_object->name, 1682 1682 'selected' => $post->post_parent, 1683 1683 'name' => 'post_parent', 1684 'show_option_none' => __( 'Main Page (no parent)' ),1684 'show_option_none' => __( 'Main page (no parent)' ), 1685 1685 'option_none_value' => 0, 1686 1686 'sort_column' => 'menu_order, post_title', 1687 1687 ); 1688 1688 1689 1689 if ( $bulk ) { 1690 $dropdown_args['show_option_no_change'] = __( '— No Change —' );1690 $dropdown_args['show_option_no_change'] = __( '— No change —' ); 1691 1691 } 1692 1692 1693 1693 /** … … 1726 1726 <span class="title"><?php _e( 'Template' ); ?></span> 1727 1727 <select name="page_template"> 1728 1728 <?php if ( $bulk ) : ?> 1729 <option value="-1"><?php _e( '— No Change —' ); ?></option>1729 <option value="-1"><?php _e( '— No change —' ); ?></option> 1730 1730 <?php endif; // $bulk ?> 1731 1731 <?php 1732 1732 /** This filter is documented in wp-admin/includes/meta-boxes.php */ … … 1768 1768 <label class="alignleft"> 1769 1769 <span class="title"><?php _e( 'Comments' ); ?></span> 1770 1770 <select name="comment_status"> 1771 <option value=""><?php _e( '— No Change —' ); ?></option>1771 <option value=""><?php _e( '— No change —' ); ?></option> 1772 1772 <option value="open"><?php _e( 'Allow' ); ?></option> 1773 1773 <option value="closed"><?php _e( 'Do not allow' ); ?></option> 1774 1774 </select> … … 1781 1781 <label class="alignright"> 1782 1782 <span class="title"><?php _e( 'Pings' ); ?></span> 1783 1783 <select name="ping_status"> 1784 <option value=""><?php _e( '— No Change —' ); ?></option>1784 <option value=""><?php _e( '— No change —' ); ?></option> 1785 1785 <option value="open"><?php _e( 'Allow' ); ?></option> 1786 1786 <option value="closed"><?php _e( 'Do not allow' ); ?></option> 1787 1787 </select> … … 1799 1799 1800 1800 <label class="alignleft"> 1801 1801 <input type="checkbox" name="comment_status" value="open" /> 1802 <span class="checkbox-title"><?php _e( 'Allow Comments' ); ?></span>1802 <span class="checkbox-title"><?php _e( 'Allow comments' ); ?></span> 1803 1803 </label> 1804 1804 1805 1805 <?php endif; ?> … … 1808 1808 1809 1809 <label class="alignleft"> 1810 1810 <input type="checkbox" name="ping_status" value="open" /> 1811 <span class="checkbox-title"><?php _e( 'Allow Pings' ); ?></span>1811 <span class="checkbox-title"><?php _e( 'Allow pings' ); ?></span> 1812 1812 </label> 1813 1813 1814 1814 <?php endif; ?> … … 1825 1825 <span class="title"><?php _e( 'Status' ); ?></span> 1826 1826 <select name="_status"> 1827 1827 <?php if ( $bulk ) : ?> 1828 <option value="-1"><?php _e( '— No Change —' ); ?></option>1828 <option value="-1"><?php _e( '— No change —' ); ?></option> 1829 1829 <?php endif; // $bulk ?> 1830 1830 1831 <?php if ( $can_publish ) : // Contributors only get "Unpublished" and "Pending Review". ?>1831 <?php if ( $can_publish ) : // Contributors only get "Unpublished" and "Pending review". ?> 1832 1832 <option value="publish"><?php _e( 'Published' ); ?></option> 1833 1833 <option value="future"><?php _e( 'Scheduled' ); ?></option> 1834 1834 <?php if ( $bulk ) : ?> … … 1836 1836 <?php endif; // $bulk ?> 1837 1837 <?php endif; ?> 1838 1838 1839 <option value="pending"><?php _e( 'Pending Review' ); ?></option>1839 <option value="pending"><?php _e( 'Pending review' ); ?></option> 1840 1840 <option value="draft"><?php _e( 'Draft' ); ?></option> 1841 1841 </select> 1842 1842 </label> … … 1848 1848 <label class="alignright"> 1849 1849 <span class="title"><?php _e( 'Sticky' ); ?></span> 1850 1850 <select name="sticky"> 1851 <option value="-1"><?php _e( '— No Change —' ); ?></option>1851 <option value="-1"><?php _e( '— No change —' ); ?></option> 1852 1852 <option value="sticky"><?php _e( 'Sticky' ); ?></option> 1853 <option value="unsticky"><?php _e( 'Not Sticky' ); ?></option>1853 <option value="unsticky"><?php _e( 'Not sticky' ); ?></option> 1854 1854 </select> 1855 1855 </label> 1856 1856 … … 1873 1873 <label class="alignleft"> 1874 1874 <span class="title"><?php _ex( 'Format', 'post format' ); ?></span> 1875 1875 <select name="post_format"> 1876 <option value="-1"><?php _e( '— No Change —' ); ?></option>1876 <option value="-1"><?php _e( '— No change —' ); ?></option> 1877 1877 <option value="0"><?php echo get_post_format_string( 'standard' ); ?></option> 1878 1878 <?php if ( is_array( $post_formats[0] ) ) : ?> 1879 1879 <?php foreach ( $post_formats[0] as $format ) : ?> -
src/wp-admin/includes/class-wp-site-health-auto-updates.php
164 164 if ( ! empty( $failed['critical'] ) ) { 165 165 $description = __( 'A previous automatic background update ended with a critical failure, so updates are now disabled.' ); 166 166 $description .= ' ' . __( 'You would have received an email because of this.' ); 167 $description .= ' ' . __( "When you've been able to update using the \"Update Now\" button on Dashboard > Updates, we'll clear this error for future update attempts." );167 $description .= ' ' . __( "When you've been able to update using the \"Update now\" button on Dashboard > Updates, we'll clear this error for future update attempts." ); 168 168 $description .= ' ' . sprintf( 169 169 /* translators: %s: Code of error shown. */ 170 170 __( 'The error code was %s.' ), -
src/wp-admin/includes/class-wp-terms-list-table.php
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 ) ) { -
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' ); … … 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 } … … 343 343 * @since 3.4.0 344 344 * 345 345 * @param string[] $actions An array of theme action links. Defaults are 346 * links to Install Now, Preview, and Details.346 * links to Install now, Preview, and Details. 347 347 * @param WP_Theme $theme Theme object. 348 348 */ 349 349 $actions = apply_filters( 'theme_install_actions', $actions, $theme ); … … 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 -
src/wp-admin/includes/dashboard.php
733 733 $delete_url, 734 734 "delete:the-comment-list:comment-{$comment->comment_ID}::trash=1", 735 735 esc_attr__( 'Delete this comment permanently' ), 736 __( 'Delete Permanently' )736 __( 'Delete permanently' ) 737 737 ); 738 738 } else { 739 739 $actions['trash'] = sprintf( -
src/wp-admin/includes/file.php
29 29 'category.php' => __( 'Category Template' ), 30 30 'tag.php' => __( 'Tag Template' ), 31 31 'home.php' => __( 'Posts Page' ), 32 'search.php' => __( 'Search Results' ),32 'search.php' => __( 'Search results' ), 33 33 'date.php' => __( 'Date Template' ), 34 34 // Content. 35 35 'singular.php' => __( 'Singular Template' ), -
src/wp-admin/includes/media.php
1721 1721 $delete = empty( $parsed_args['delete'] ) ? '' : $parsed_args['delete']; 1722 1722 if ( $delete && current_user_can( 'delete_post', $attachment_id ) ) { 1723 1723 if ( ! EMPTY_TRASH_DAYS ) { 1724 $delete = "<a href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-post_' . $attachment_id ) . "' id='del[$attachment_id]' class='delete-permanently'>" . __( 'Delete Permanently' ) . '</a>';1724 $delete = "<a href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-post_' . $attachment_id ) . "' id='del[$attachment_id]' class='delete-permanently'>" . __( 'Delete permanently' ) . '</a>'; 1725 1725 } elseif ( ! MEDIA_TRASH ) { 1726 1726 $delete = "<a href='#' class='del-link' onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __( 'Delete' ) . "</a> 1727 1727 <div id='del_attachment_$attachment_id' class='del-attachment' style='display:none;'>" . -
src/wp-admin/includes/meta-boxes.php
114 114 _e( 'Scheduled' ); 115 115 break; 116 116 case 'pending': 117 _e( 'Pending Review' );117 _e( 'Pending review' ); 118 118 break; 119 119 case 'draft': 120 120 case 'auto-draft': … … 144 144 <?php elseif ( 'future' === $post->post_status ) : ?> 145 145 <option<?php selected( $post->post_status, 'future' ); ?> value='future'><?php _e( 'Scheduled' ); ?></option> 146 146 <?php endif; ?> 147 <option<?php selected( $post->post_status, 'pending' ); ?> value='pending'><?php _e( 'Pending Review' ); ?></option>147 <option<?php selected( $post->post_status, 'pending' ); ?> value='pending'><?php _e( 'Pending review' ); ?></option> 148 148 <?php if ( 'auto-draft' === $post->post_status ) : ?> 149 149 <option<?php selected( $post->post_status, 'auto-draft' ); ?> value='draft'><?php _e( 'Draft' ); ?></option> 150 150 <?php else : ?> -
src/wp-admin/includes/ms.php
1135 1135 'title' => __( 'Overview' ), 1136 1136 'content' => 1137 1137 '<p>' . __( 'The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.' ) . '</p>' . 1138 '<p>' . __( '<strong>Info</strong> — The site URL is rarely edited as this can cause the site to not work properly. The Registered date and Last Updated date are displayed. Network admins can mark a site as archived, spam, deleted and mature, to remove from public listings or disable.' ) . '</p>' .1138 '<p>' . __( '<strong>Info</strong> — The site URL is rarely edited as this can cause the site to not work properly. The Registered date and Last updated date are displayed. Network admins can mark a site as archived, spam, deleted and mature, to remove from public listings or disable.' ) . '</p>' . 1139 1139 '<p>' . __( '<strong>Users</strong> — This displays the users associated with this site. You can also change their role, reset their password, or remove them from the site. Removing the user from the site does not remove the user from the network.' ) . '</p>' . 1140 1140 '<p>' . sprintf( 1141 1141 /* translators: %s: URL to Network Themes screen. */ -
src/wp-admin/includes/nav-menu.php
660 660 <p class="button-controls wp-clearfix" data-items-type="posttype-<?php echo esc_attr( $post_type_name ); ?>"> 661 661 <span class="list-controls hide-if-no-js"> 662 662 <input type="checkbox"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> id="<?php echo esc_attr( $tab_name ); ?>" class="select-all" /> 663 <label for="<?php echo esc_attr( $tab_name ); ?>"><?php _e( 'Select All' ); ?></label>663 <label for="<?php echo esc_attr( $tab_name ); ?>"><?php _e( 'Select all' ); ?></label> 664 664 </span> 665 665 666 666 <span class="add-to-menu"> … … 891 891 <p class="button-controls wp-clearfix" data-items-type="taxonomy-<?php echo esc_attr( $taxonomy_name ); ?>"> 892 892 <span class="list-controls hide-if-no-js"> 893 893 <input type="checkbox"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> id="<?php echo esc_attr( $tab_name ); ?>" class="select-all" /> 894 <label for="<?php echo esc_attr( $tab_name ); ?>"><?php _e( 'Select All' ); ?></label>894 <label for="<?php echo esc_attr( $tab_name ); ?>"><?php _e( 'Select all' ); ?></label> 895 895 </span> 896 896 897 897 <span class="add-to-menu"> -
src/wp-admin/includes/plugin-install.php
354 354 <?php wp_nonce_field( 'plugin-upload' ); ?> 355 355 <label class="screen-reader-text" for="pluginzip"><?php _e( 'Plugin zip file' ); ?></label> 356 356 <input type="file" id="pluginzip" name="pluginzip" accept=".zip" /> 357 <?php submit_button( __( 'Install Now' ), '', 'install-plugin-submit', false ); ?>357 <?php submit_button( __( 'Install now' ), '', 'install-plugin-submit', false ); ?> 358 358 </form> 359 359 </div> 360 360 <?php … … 655 655 <?php } if ( ! empty( $api->author ) ) { ?> 656 656 <li><strong><?php _e( 'Author:' ); ?></strong> <?php echo links_add_target( $api->author, '_blank' ); ?></li> 657 657 <?php } if ( ! empty( $api->last_updated ) ) { ?> 658 <li><strong><?php _e( 'Last Updated:' ); ?></strong>658 <li><strong><?php _e( 'Last updated:' ); ?></strong> 659 659 <?php 660 660 /* translators: %s: Human-readable time difference. */ 661 661 printf( __( '%s ago' ), human_time_diff( strtotime( $api->last_updated ) ) ); … … 857 857 case 'install': 858 858 if ( $status['url'] ) { 859 859 if ( $compatible_php && $compatible_wp ) { 860 echo '<a data-slug="' . esc_attr( $api->slug ) . '" id="plugin_install_from_iframe" class="button button-primary right" href="' . $status['url'] . '" target="_parent">' . __( 'Install Now' ) . '</a>';860 echo '<a data-slug="' . esc_attr( $api->slug ) . '" id="plugin_install_from_iframe" class="button button-primary right" href="' . $status['url'] . '" target="_parent">' . __( 'Install now' ) . '</a>'; 861 861 } else { 862 862 printf( 863 863 '<button type="button" class="button button-primary button-disabled right" disabled="disabled">%s</button>', 864 _x( 'Cannot Install', 'plugin' )864 _x( 'Cannot install', 'plugin' ) 865 865 ); 866 866 } 867 867 } … … 869 869 case 'update_available': 870 870 if ( $status['url'] ) { 871 871 if ( $compatible_php ) { 872 echo '<a data-slug="' . esc_attr( $api->slug ) . '" data-plugin="' . esc_attr( $status['file'] ) . '" id="plugin_update_from_iframe" class="button button-primary right" href="' . $status['url'] . '" target="_parent">' . __( 'Install Update Now' ) . '</a>';872 echo '<a data-slug="' . esc_attr( $api->slug ) . '" data-plugin="' . esc_attr( $status['file'] ) . '" id="plugin_update_from_iframe" class="button button-primary right" href="' . $status['url'] . '" target="_parent">' . __( 'Install Update now' ) . '</a>'; 873 873 } else { 874 874 printf( 875 875 '<button type="button" class="button button-primary button-disabled right" disabled="disabled">%s</button>', 876 _x( 'Cannot Update', 'plugin' )876 _x( 'Cannot update', 'plugin' ) 877 877 ); 878 878 } 879 879 } -
src/wp-admin/includes/theme-install.php
184 184 <?php wp_nonce_field( 'theme-upload' ); ?> 185 185 <label class="screen-reader-text" for="themezip"><?php _e( 'Theme zip file' ); ?></label> 186 186 <input type="file" id="themezip" name="themezip" accept=".zip"/> 187 <?php submit_button( __( 'Install Now' ), '', 'install-theme-submit', false ); ?>187 <?php submit_button( __( 'Install now' ), '', 'install-theme-submit', false ); ?> 188 188 </form> 189 189 <?php 190 190 } -
src/wp-admin/includes/theme.php
834 834 <# if ( data.hasUpdate ) { #> 835 835 <# if ( data.updateResponse.compatibleWP && data.updateResponse.compatiblePHP ) { #> 836 836 <div class="notice notice-warning notice-alt notice-large" data-slug="{{ data.id }}"> 837 <h3 class="notice-title"><?php _e( 'Update Available' ); ?></h3>837 <h3 class="notice-title"><?php _e( 'Update available' ); ?></h3> 838 838 {{{ data.update }}} 839 839 </div> 840 840 <# } else { #> … … 994 994 <?php } ?> 995 995 996 996 <# if ( data.compatibleWP && data.compatiblePHP ) { #> 997 <button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live Preview' ); ?></button>997 <button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live preview' ); ?></button> 998 998 <# } else { #> 999 <button class="button button-primary disabled"><?php _e( 'Live Preview' ); ?></button>999 <button class="button button-primary disabled"><?php _e( 'Live preview' ); ?></button> 1000 1000 <# } #> 1001 1001 <# } else { #> 1002 1002 <# if ( data.compatibleWP && data.compatiblePHP ) { #> 1003 1003 <button type="button" class="button theme-install" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></button> 1004 1004 <button type="button" class="button button-primary theme-install preview" data-slug="{{ data.id }}"><?php _e( 'Install & Preview' ); ?></button> 1005 1005 <# } else { #> 1006 <button type="button" class="button disabled"><?php _ex( 'Cannot Install', 'theme' ); ?></button>1006 <button type="button" class="button disabled"><?php _ex( 'Cannot install', 'theme' ); ?></button> 1007 1007 <button type="button" class="button button-primary disabled"><?php _e( 'Install & Preview' ); ?></button> 1008 1008 <# } #> 1009 1009 <# } #> -
src/wp-admin/menu.php
281 281 $submenu['tools.php'][15] = array( __( 'Export' ), 'export', 'export.php' ); 282 282 $submenu['tools.php'][20] = array( __( 'Site Health' ), 'view_site_health_checks', 'site-health.php' ); 283 283 $submenu['tools.php'][25] = array( __( 'Export Personal Data' ), 'export_others_personal_data', 'export-personal-data.php' ); 284 $submenu['tools.php'][30] = array( __( 'Erase Personal Data' ), 'erase_others_personal_data', 'erase-personal-data.php' );284 $submenu['tools.php'][30] = array( __( 'Erase personal data' ), 'erase_others_personal_data', 'erase-personal-data.php' ); 285 285 if ( is_multisite() && ! is_main_site() ) { 286 286 $submenu['tools.php'][35] = array( __( 'Delete Site' ), 'delete_site', 'ms-delete-site.php' ); 287 287 } -
src/wp-admin/nav-menus.php
678 678 admin_url( 'customize.php' ) 679 679 ) 680 680 ), 681 __( 'Manage with Live Preview' )681 __( 'Manage with Live preview' ) 682 682 ); 683 683 endif; 684 684 -
src/wp-admin/network/site-info.php
177 177 <td><input name="blog[registered]" type="text" id="blog_registered" value="<?php echo esc_attr( $details->registered ); ?>" /></td> 178 178 </tr> 179 179 <tr class="form-field"> 180 <th scope="row"><label for="blog_last_updated"><?php _e( 'Last Updated' ); ?></label></th>180 <th scope="row"><label for="blog_last_updated"><?php _e( 'Last updated' ); ?></label></th> 181 181 <td><input name="blog[last_updated]" type="text" id="blog_last_updated" value="<?php echo esc_attr( $details->last_updated ); ?>" /></td> 182 182 </tr> 183 183 <?php -
src/wp-admin/plugin-install.php
100 100 '<p>' . __( 'If you know what you’re looking for, Search is your best bet. The Search screen has options to search the WordPress Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting popular tags. Tags in larger type mean more plugins have been labeled with that tag.' ) . '</p>' . 101 101 '<p>' . __( 'If you just want to get an idea of what’s available, you can browse Featured and Popular plugins by using the links above the plugins list. These sections rotate regularly.' ) . '</p>' . 102 102 '<p>' . __( 'You can also browse a user’s favorite plugins, by using the Favorites link above the plugins list and entering their WordPress.org username.' ) . '</p>' . 103 '<p>' . __( 'If you want to install a plugin that you’ve downloaded elsewhere, click the Upload Plugin button above the plugins list. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.' ) . '</p>',103 '<p>' . __( 'If you want to install a plugin that you’ve downloaded elsewhere, click the Upload plugin button above the plugins list. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.' ) . '</p>', 104 104 ) 105 105 ); 106 106 … … 135 135 printf( 136 136 ' <a href="%s" class="upload-view-toggle page-title-action"><span class="upload">%s</span><span class="browse">%s</span></a>', 137 137 ( 'upload' === $tab ) ? self_admin_url( 'plugin-install.php' ) : self_admin_url( 'plugin-install.php?tab=upload' ), 138 __( 'Upload Plugin' ),138 __( 'Upload plugin' ), 139 139 __( 'Browse Plugins' ) 140 140 ); 141 141 } -
src/wp-admin/press-this.php
60 60 '<a href="%1$s" class="install-now" data-slug="%2$s" data-name="%2$s" aria-label="%3$s">%3$s</a>', 61 61 esc_url( $url ), 62 62 esc_attr( $plugin_slug ), 63 __( 'Install Now' )63 __( 'Install now' ) 64 64 ); 65 65 } else { 66 66 $action = sprintf( -
src/wp-admin/setup-config.php
277 277 $install .= '?language=en_US'; 278 278 } 279 279 280 $tryagain_link = '</p><p class="step"><a href="' . $step_1 . '" onclick="javascript:history.go(-1);return false;" class="button button-large">' . __( 'Try Again' ) . '</a>';280 $tryagain_link = '</p><p class="step"><a href="' . $step_1 . '" onclick="javascript:history.go(-1);return false;" class="button button-large">' . __( 'Try again' ) . '</a>'; 281 281 282 282 if ( empty( $prefix ) ) { 283 283 wp_die( __( '<strong>Error</strong>: "Table Prefix" must not be empty.' ) . $tryagain_link ); -
src/wp-admin/theme-install.php
62 62 __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ), 63 63 __( 'https://wordpress.org/support/forums/' ) 64 64 ), 65 'tryAgain' => __( 'Try Again' ),65 'tryAgain' => __( 'Try again' ), 66 66 /* translators: %d: Number of themes. */ 67 67 'themesFound' => __( 'Number of Themes found: %d' ), 68 68 'noThemesFound' => __( 'No themes found. Try a different search.' ), 69 'collapseSidebar' => __( 'Collapse Sidebar' ),69 'collapseSidebar' => __( 'Collapse sidebar' ), 70 70 'expandSidebar' => __( 'Expand Sidebar' ), 71 71 /* translators: Accessibility text. */ 72 72 'selectFeatureFilter' => __( 'Select one or more Theme features to filter by' ), … … 116 116 117 117 $help_installing = 118 118 '<p>' . __( 'Once you have generated a list of themes, you can preview and install any of them. Click on the thumbnail of the theme you’re interested in previewing. It will open up in a full-screen Preview page to give you a better idea of how that theme will look.' ) . '</p>' . 119 '<p>' . __( 'To install the theme so you can preview it with your site’s content and customize its theme options, click the "Install" button at the top of the left-hand pane. The theme files will be downloaded to your website automatically. When this is complete, the theme is now available for activation, which you can do by clicking the "Activate" link, or by navigating to your Manage Themes screen and clicking the "Live Preview" link under any installed theme’s thumbnail image.' ) . '</p>';119 '<p>' . __( 'To install the theme so you can preview it with your site’s content and customize its theme options, click the "Install" button at the top of the left-hand pane. The theme files will be downloaded to your website automatically. When this is complete, the theme is now available for activation, which you can do by clicking the "Activate" link, or by navigating to your Manage Themes screen and clicking the "Live preview" link under any installed theme’s thumbnail image.' ) . '</p>'; 120 120 121 121 get_current_screen()->add_help_tab( 122 122 array( … … 358 358 <# } #> 359 359 <# if ( data.customize_url ) { #> 360 360 <# if ( ! data.active ) { #> 361 <a class="button load-customize" href="{{ data.customize_url }}"><?php _e( 'Live Preview' ); ?></a>361 <a class="button load-customize" href="{{ data.customize_url }}"><?php _e( 'Live preview' ); ?></a> 362 362 <# } else { #> 363 363 <a class="button load-customize" href="{{ data.customize_url }}"><?php _e( 'Customize' ); ?></a> 364 364 <# } #> … … 374 374 <a class="button button-primary disabled" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _ex( 'Cannot Activate', 'theme' ); ?></a> 375 375 <# } #> 376 376 <# if ( data.customize_url ) { #> 377 <a class="button disabled"><?php _e( 'Live Preview' ); ?></a>377 <a class="button disabled"><?php _e( 'Live preview' ); ?></a> 378 378 <# } else { #> 379 379 <button class="button disabled"><?php _e( 'Preview' ); ?></button> 380 380 <# } #> … … 390 390 <# } else { #> 391 391 <?php 392 392 /* translators: %s: Theme name. */ 393 $aria_label = sprintf( _x( 'Cannot Install %s', 'theme' ), '{{ data.name }}' );393 $aria_label = sprintf( _x( 'Cannot install %s', 'theme' ), '{{ data.name }}' ); 394 394 ?> 395 <a class="button button-primary disabled" data-name="{{ data.name }}" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _ex( 'Cannot Install', 'theme' ); ?></a>395 <a class="button button-primary disabled" data-name="{{ data.name }}" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _ex( 'Cannot install', 'theme' ); ?></a> 396 396 <button class="button disabled"><?php _e( 'Preview' ); ?></button> 397 397 <# } #> 398 398 <# } #> … … 424 424 <# if ( data.compatible_wp && data.compatible_php ) { #> 425 425 <a href="{{ data.install_url }}" class="button button-primary theme-install" data-name="{{ data.name }}" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></a> 426 426 <# } else { #> 427 <a class="button button-primary disabled" ><?php _ex( 'Cannot Install', 'theme' ); ?></a>427 <a class="button button-primary disabled" ><?php _ex( 'Cannot install', 'theme' ); ?></a> 428 428 <# } #> 429 429 <# } #> 430 430 </div> … … 522 522 </div> 523 523 </div> 524 524 <div class="wp-full-overlay-footer"> 525 <button type="button" class="collapse-sidebar button" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>">525 <button type="button" class="collapse-sidebar button" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse sidebar' ); ?>"> 526 526 <span class="collapse-sidebar-arrow"></span> 527 527 <span class="collapse-sidebar-label"><?php _e( 'Collapse' ); ?></span> 528 528 </button> -
src/wp-admin/themes.php
130 130 if ( current_user_can( 'switch_themes' ) ) { 131 131 $help_overview = '<p>' . __( 'This screen is used for managing your installed themes. Aside from the default theme(s) included with your WordPress installation, themes are designed and developed by third parties.' ) . '</p>' . 132 132 '<p>' . __( 'From this screen you can:' ) . '</p>' . 133 '<ul><li>' . __( 'Hover or tap to see Activate and Live Preview buttons' ) . '</li>' .133 '<ul><li>' . __( 'Hover or tap to see Activate and Live preview buttons' ) . '</li>' . 134 134 '<li>' . __( 'Click on the theme to see the theme name, version, author, description, tags, and the Delete link' ) . '</li>' . 135 '<li>' . __( 'Click Customize for the current theme or Live Preview for any other theme to see a live preview' ) . '</li></ul>' .135 '<li>' . __( 'Click Customize for the current theme or Live preview for any other theme to see a live preview' ) . '</li></ul>' . 136 136 '<p>' . __( 'The current theme is displayed highlighted as the first theme.' ) . '</p>' . 137 137 '<p>' . __( 'The search for installed themes will search for terms in their name, description, author, or tag.' ) . ' <span id="live-search-desc">' . __( 'The search results will be updated as you type.' ) . '</span></p>'; 138 138 … … 169 169 // Help tab: Previewing and Customizing. 170 170 if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { 171 171 $help_customize = 172 '<p>' . __( 'Tap or hover on any theme then click the Live Preview button to see a live preview of that theme and change theme options in a separate, full-screen view. You can also find a Live Preview button at the bottom of the theme details screen. Any installed theme can be previewed and customized in this way.' ) . '</p>' .172 '<p>' . __( 'Tap or hover on any theme then click the Live preview button to see a live preview of that theme and change theme options in a separate, full-screen view. You can also find a Live preview button at the bottom of the theme details screen. Any installed theme can be previewed and customized in this way.' ) . '</p>' . 173 173 '<p>' . __( 'The theme being previewed is fully interactive — navigate to different pages to see how the theme handles posts, archives, and other page templates. The settings may differ depending on what theme features the theme being previewed supports. To accept the new settings and activate the theme all in one step, click the Publish & Activate button above the menu.' ) . '</p>' . 174 174 '<p>' . __( 'When previewing on smaller monitors, you can use the collapse icon at the bottom of the left-hand pane. This will hide the pane, giving you more room to preview your site in the new theme. To bring the pane back, click on the collapse icon again.' ) . '</p>'; 175 175 … … 541 541 ?> 542 542 <a class="button activate" href="<?php echo $theme['actions']['activate']; ?>" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _e( 'Activate' ); ?></a> 543 543 <?php if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { ?> 544 <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme['actions']['customize']; ?>"><?php _e( 'Live Preview' ); ?></a>544 <a class="button button-primary load-customize hide-if-no-customize" href="<?php echo $theme['actions']['customize']; ?>"><?php _e( 'Live preview' ); ?></a> 545 545 <?php } ?> 546 546 <?php } else { ?> 547 547 <?php … … 550 550 ?> 551 551 <a class="button disabled" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _ex( 'Cannot Activate', 'theme' ); ?></a> 552 552 <?php if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { ?> 553 <a class="button button-primary hide-if-no-customize disabled"><?php _e( 'Live Preview' ); ?></a>553 <a class="button button-primary hide-if-no-customize disabled"><?php _e( 'Live preview' ); ?></a> 554 554 <?php } ?> 555 555 <?php } ?> 556 556 … … 888 888 $aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' ); 889 889 ?> 890 890 <a class="button activate" href="{{{ data.actions.activate }}}" aria-label="<?php echo $aria_label; ?>"><?php _e( 'Activate' ); ?></a> 891 <a class="button button-primary load-customize hide-if-no-customize" href="{{{ data.actions.customize }}}"><?php _e( 'Live Preview' ); ?></a>891 <a class="button button-primary load-customize hide-if-no-customize" href="{{{ data.actions.customize }}}"><?php _e( 'Live preview' ); ?></a> 892 892 <# } else { #> 893 893 <?php 894 894 /* translators: %s: Theme name. */ 895 895 $aria_label = sprintf( _x( 'Cannot Activate %s', 'theme' ), '{{ data.name }}' ); 896 896 ?> 897 897 <a class="button disabled" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _ex( 'Cannot Activate', 'theme' ); ?></a> 898 <a class="button button-primary hide-if-no-customize disabled"><?php _e( 'Live Preview' ); ?></a>898 <a class="button button-primary hide-if-no-customize disabled"><?php _e( 'Live preview' ); ?></a> 899 899 <# } #> 900 900 <# } #> 901 901 </div> … … 994 994 <# if ( data.hasUpdate ) { #> 995 995 <# if ( data.updateResponse.compatibleWP && data.updateResponse.compatiblePHP ) { #> 996 996 <div class="notice notice-warning notice-alt notice-large"> 997 <h3 class="notice-title"><?php _e( 'Update Available' ); ?></h3>997 <h3 class="notice-title"><?php _e( 'Update available' ); ?></h3> 998 998 {{{ data.update }}} 999 999 </div> 1000 1000 <# } else { #> … … 1103 1103 <# if ( data.actions.activate ) { #> 1104 1104 <a href="{{{ data.actions.activate }}}" class="button activate" aria-label="<?php echo $aria_label; ?>"><?php _e( 'Activate' ); ?></a> 1105 1105 <# } #> 1106 <a href="{{{ data.actions.customize }}}" class="button button-primary load-customize hide-if-no-customize"><?php _e( 'Live Preview' ); ?></a>1106 <a href="{{{ data.actions.customize }}}" class="button button-primary load-customize hide-if-no-customize"><?php _e( 'Live preview' ); ?></a> 1107 1107 <# } else { #> 1108 1108 <?php 1109 1109 /* translators: %s: Theme name. */ … … 1112 1112 <# if ( data.actions.activate ) { #> 1113 1113 <a class="button disabled" aria-label="<?php echo $aria_label; ?>"><?php _ex( 'Cannot Activate', 'theme' ); ?></a> 1114 1114 <# } #> 1115 <a class="button button-primary hide-if-no-customize disabled"><?php _e( 'Live Preview' ); ?></a>1115 <a class="button button-primary hide-if-no-customize disabled"><?php _e( 'Live preview' ); ?></a> 1116 1116 <# } #> 1117 1117 </div> 1118 1118 -
src/wp-admin/update-core.php
55 55 $current = true; 56 56 } 57 57 58 $submit = __( 'Update Now' );58 $submit = __( 'Update now' ); 59 59 $form_action = 'update-core.php?action=do-core-upgrade'; 60 60 $php_version = phpversion(); 61 61 $mysql_version = $wpdb->db_version(); … … 427 427 <thead> 428 428 <tr> 429 429 <td class="manage-column check-column"><input type="checkbox" id="plugins-select-all" /></td> 430 <td class="manage-column"><label for="plugins-select-all"><?php _e( 'Select All' ); ?></label></td>430 <td class="manage-column"><label for="plugins-select-all"><?php _e( 'Select all' ); ?></label></td> 431 431 </tr> 432 432 </thead> 433 433 … … 547 547 <tfoot> 548 548 <tr> 549 549 <td class="manage-column check-column"><input type="checkbox" id="plugins-select-all-2" /></td> 550 <td class="manage-column"><label for="plugins-select-all-2"><?php _e( 'Select All' ); ?></label></td>550 <td class="manage-column"><label for="plugins-select-all-2"><?php _e( 'Select all' ); ?></label></td> 551 551 </tr> 552 552 </tfoot> 553 553 </table> … … 589 589 <thead> 590 590 <tr> 591 591 <td class="manage-column check-column"><input type="checkbox" id="themes-select-all" /></td> 592 <td class="manage-column"><label for="themes-select-all"><?php _e( 'Select All' ); ?></label></td>592 <td class="manage-column"><label for="themes-select-all"><?php _e( 'Select all' ); ?></label></td> 593 593 </tr> 594 594 </thead> 595 595 … … 711 711 <tfoot> 712 712 <tr> 713 713 <td class="manage-column check-column"><input type="checkbox" id="themes-select-all-2" /></td> 714 <td class="manage-column"><label for="themes-select-all-2"><?php _e( 'Select All' ); ?></label></td>714 <td class="manage-column"><label for="themes-select-all-2"><?php _e( 'Select all' ); ?></label></td> 715 715 </tr> 716 716 </tfoot> 717 717 </table> … … 909 909 ) 910 910 ); 911 911 912 $updates_howto = '<p>' . __( '<strong>WordPress</strong> — Updating your WordPress installation is a simple one-click procedure: just <strong>click on the “Update Now” button</strong> when you are notified that a new version is available.' ) . ' ' . __( 'In most cases, WordPress will automatically apply maintenance and security updates in the background for you.' ) . '</p>';912 $updates_howto = '<p>' . __( '<strong>WordPress</strong> — Updating your WordPress installation is a simple one-click procedure: just <strong>click on the “Update now” button</strong> when you are notified that a new version is available.' ) . ' ' . __( 'In most cases, WordPress will automatically apply maintenance and security updates in the background for you.' ) . '</p>'; 913 913 $updates_howto .= '<p>' . __( '<strong>Themes and Plugins</strong> — To update individual themes or plugins from this screen, use the checkboxes to make your selection, then <strong>click on the appropriate “Update” button</strong>. To update all of your themes or plugins at once, you can check the box at the top of the section to select all before clicking the update button.' ) . '</p>'; 914 914 915 915 if ( 'en_US' !== get_locale() ) { -
src/wp-admin/update.php
153 153 154 154 $file_upload = new File_Upload_Upgrader( 'pluginzip', 'package' ); 155 155 156 $title = __( 'Upload Plugin' );156 $title = __( 'Upload plugin' ); 157 157 $parent_file = 'plugins.php'; 158 158 $submenu_file = 'plugin-install.php'; 159 159 require_once ABSPATH . 'wp-admin/admin-header.php'; -
src/wp-admin/upload.php
235 235 'id' => 'actions-links', 236 236 'title' => __( 'Available Actions' ), 237 237 'content' => 238 '<p>' . __( 'Hovering over a row reveals action links: Edit, Delete Permanently, and View. Clicking Edit or on the media file’s name displays a simple screen to edit that individual file’s metadata. Clicking Delete Permanently will delete the file from the media library (as well as from any posts to which it is currently attached). View will take you to the display page for that file.' ) . '</p>',238 '<p>' . __( 'Hovering over a row reveals action links: Edit, Delete permanently, and View. Clicking Edit or on the media file’s name displays a simple screen to edit that individual file’s metadata. Clicking Delete permanently will delete the file from the media library (as well as from any posts to which it is currently attached). View will take you to the display page for that file.' ) . '</p>', 239 239 ) 240 240 ); 241 241 get_current_screen()->add_help_tab( -
src/wp-admin/widgets.php
406 406 admin_url( 'customize.php' ) 407 407 ) 408 408 ), 409 __( 'Manage with Live Preview' )409 __( 'Manage with Live preview' ) 410 410 ); 411 411 } 412 412 -
src/wp-content/themes/twentyeleven/languages/twentyeleven.pot
565 565 msgstr "" 566 566 567 567 #: search.php:18 568 msgid "Search Results for: %s"568 msgid "Search results for: %s" 569 569 msgstr "" 570 570 571 571 #: search.php:51 -
src/wp-content/themes/twentyeleven/search.php
1 1 <?php 2 2 /** 3 * Template for displaying Search Results pages3 * Template for displaying Search results pages 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Eleven … … 18 18 <h1 class="page-title"> 19 19 <?php 20 20 /* translators: %s: Search query. */ 21 printf( __( 'Search Results for: %s', 'twentyeleven' ), '<span>' . get_search_query() . '</span>' );21 printf( __( 'Search results for: %s', 'twentyeleven' ), '<span>' . get_search_query() . '</span>' ); 22 22 ?> 23 23 </h1> 24 24 </header> -
src/wp-content/themes/twentyfifteen/search.php
18 18 <h1 class="page-title"> 19 19 <?php 20 20 /* translators: %s: Search query. */ 21 printf( __( 'Search Results for: %s', 'twentyfifteen' ), get_search_query() );21 printf( __( 'Search results for: %s', 'twentyfifteen' ), get_search_query() ); 22 22 ?> 23 23 </h1> 24 24 </header><!-- .page-header --> -
src/wp-content/themes/twentyfourteen/search.php
1 1 <?php 2 2 /** 3 * The template for displaying Search Results pages3 * The template for displaying Search results pages 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Fourteen … … 18 18 <h1 class="page-title"> 19 19 <?php 20 20 /* translators: %s: Search query. */ 21 printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() );21 printf( __( 'Search results for: %s', 'twentyfourteen' ), get_search_query() ); 22 22 ?> 23 23 </h1> 24 24 </header><!-- .page-header --> -
src/wp-content/themes/twentyseventeen/search.php
19 19 <h1 class="page-title"> 20 20 <?php 21 21 /* translators: Search query. */ 22 printf( __( 'Search Results for: %s', 'twentyseventeen' ), '<span>' . get_search_query() . '</span>' );22 printf( __( 'Search results for: %s', 'twentyseventeen' ), '<span>' . get_search_query() . '</span>' ); 23 23 ?> 24 24 </h1> 25 25 <?php else : ?> -
src/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php
2 2 /** 3 3 * Template part for displaying posts with excerpts 4 4 * 5 * Used in Search Results and for Recent Posts in Front Page panels.5 * Used in Search results and for Recent Posts in Front Page panels. 6 6 * 7 7 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ 8 8 * -
src/wp-content/themes/twentysixteen/search.php
18 18 <h1 class="page-title"> 19 19 <?php 20 20 /* translators: %s: The search query. */ 21 printf( __( 'Search Results for: %s', 'twentysixteen' ), '<span>' . esc_html( get_search_query() ) . '</span>' );21 printf( __( 'Search results for: %s', 'twentysixteen' ), '<span>' . esc_html( get_search_query() ) . '</span>' ); 22 22 ?> 23 23 </h1> 24 24 </header><!-- .page-header --> -
src/wp-content/themes/twentyten/languages/twentyten.pot
376 376 msgstr "" 377 377 378 378 #: search.php:16 379 msgid "Search Results for: %s"379 msgid "Search results for: %s" 380 380 msgstr "" 381 381 382 382 #: search.php:27 -
src/wp-content/themes/twentyten/search.php
1 1 <?php 2 2 /** 3 * Template for displaying Search Results pages3 * Template for displaying Search results pages 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Ten … … 16 16 <h1 class="page-title"> 17 17 <?php 18 18 /* translators: %s: Search query. */ 19 printf( __( 'Search Results for: %s', 'twentyten' ), '<span>' . get_search_query() . '</span>' );19 printf( __( 'Search results for: %s', 'twentyten' ), '<span>' . get_search_query() . '</span>' ); 20 20 ?> 21 21 </h1> 22 22 <?php -
src/wp-content/themes/twentythirteen/rtl.css
22 22 * 5.7 - Post/Paging Navigation 23 23 * 5.8 - Author Bio 24 24 * 5.9 - Archives 25 * 5.10 - Search Results/No posts25 * 5.10 - Search results/No posts 26 26 * 5.12 - Comments 27 27 * 6.0 - Sidebar 28 28 * 6.1 - Widgets … … 422 422 423 423 424 424 /** 425 * 5.10 Search Results/No posts425 * 5.10 Search results/No posts 426 426 * ---------------------------------------------------------------------------- 427 427 */ 428 428 -
src/wp-content/themes/twentythirteen/search.php
1 1 <?php 2 2 /** 3 * The template for displaying Search Results pages3 * The template for displaying Search results pages 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Thirteen … … 18 18 <h1 class="page-title"> 19 19 <?php 20 20 /* translators: %s: Search query. */ 21 printf( __( 'Search Results for: %s', 'twentythirteen' ), get_search_query() );21 printf( __( 'Search results for: %s', 'twentythirteen' ), get_search_query() ); 22 22 ?> 23 23 </h1> 24 24 </header> -
src/wp-content/themes/twentythirteen/style.css
36 36 * 5.7 - Post/Paging Navigation 37 37 * 5.8 - Author Bio 38 38 * 5.9 - Archives 39 * 5.10 - Search Results/No posts39 * 5.10 - Search results/No posts 40 40 * 5.11 - 404 41 41 * 5.12 - Comments 42 42 * 5.13 - Multisite … … 2079 2079 2080 2080 2081 2081 /** 2082 * 5.10 Search Results/No posts2082 * 5.10 Search results/No posts 2083 2083 * ---------------------------------------------------------------------------- 2084 2084 */ 2085 2085 -
src/wp-content/themes/twentytwelve/search.php
1 1 <?php 2 2 /** 3 * The template for displaying Search Results pages3 * The template for displaying Search results pages 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Twelve … … 18 18 <h1 class="page-title"> 19 19 <?php 20 20 /* translators: %s: Search query. */ 21 printf( __( 'Search Results for: %s', 'twentytwelve' ), '<span>' . get_search_query() . '</span>' );21 printf( __( 'Search results for: %s', 'twentytwelve' ), '<span>' . get_search_query() . '</span>' ); 22 22 ?> 23 23 </h1> 24 24 </header> -
src/wp-content/themes/twentytwenty/style-rtl.css
2370 2370 } 2371 2371 2372 2372 2373 /* Search Results ---------------------------- */2373 /* Search results ---------------------------- */ 2374 2374 2375 2375 .no-search-results-form { 2376 2376 padding-top: 5rem; -
src/wp-content/themes/twentytwenty/style.css
2386 2386 } 2387 2387 2388 2388 2389 /* Search Results ---------------------------- */2389 /* Search results ---------------------------- */ 2390 2390 2391 2391 .no-search-results-form { 2392 2392 padding-top: 5rem; -
src/wp-includes/class-wp-customize-manager.php
4543 4543 $document_title_tmpl = __( 'Customize: %s' ); 4544 4544 } else { 4545 4545 /* translators: %s: Document title from the preview. */ 4546 $document_title_tmpl = __( 'Live Preview: %s' );4546 $document_title_tmpl = __( 'Live preview: %s' ); 4547 4547 } 4548 4548 $document_title_tmpl = html_entity_decode( $document_title_tmpl, ENT_QUOTES, 'UTF-8' ); // Because exported to JS and assigned to document.title. 4549 4549 return $document_title_tmpl; -
src/wp-includes/customize/class-wp-customize-theme-control.php
246 246 <h3 class="theme-name" id="{{ data.section }}-{{ data.theme.id }}-name">{{ data.theme.name }}</h3> 247 247 <div class="theme-actions"> 248 248 <# if ( data.theme.compatibleWP && data.theme.compatiblePHP ) { #> 249 <button type="button" class="button button-primary preview-theme" aria-label="<?php echo esc_attr( $preview_label ); ?>" data-slug="{{ data.theme.id }}"><?php _e( 'Live Preview' ); ?></button>249 <button type="button" class="button button-primary preview-theme" aria-label="<?php echo esc_attr( $preview_label ); ?>" data-slug="{{ data.theme.id }}"><?php _e( 'Live preview' ); ?></button> 250 250 <# } else { #> 251 <button type="button" class="button button-primary disabled" aria-label="<?php echo esc_attr( $preview_label ); ?>"><?php _e( 'Live Preview' ); ?></button>251 <button type="button" class="button button-primary disabled" aria-label="<?php echo esc_attr( $preview_label ); ?>"><?php _e( 'Live preview' ); ?></button> 252 252 <# } #> 253 253 </div> 254 254 </div> -
src/wp-includes/general-template.php
1153 1153 // If it's a search, use a dynamic search results title. 1154 1154 } elseif ( is_search() ) { 1155 1155 /* translators: %s: Search query. */ 1156 $title['title'] = sprintf( __( 'Search Results for “%s”' ), get_search_query() );1156 $title['title'] = sprintf( __( 'Search results for “%s”' ), get_search_query() ); 1157 1157 1158 1158 // If on the front page, use the site title. 1159 1159 } elseif ( is_front_page() ) { … … 1360 1360 // If it's a search. 1361 1361 if ( is_search() ) { 1362 1362 /* translators: 1: Separator, 2: Search query. */ 1363 $title = sprintf( __( 'Search Results %1$s %2$s' ), $t_sep, strip_tags( $search ) );1363 $title = sprintf( __( 'Search results %1$s %2$s' ), $t_sep, strip_tags( $search ) ); 1364 1364 } 1365 1365 1366 1366 // If it's a 404 page. … … 3105 3105 /* translators: 1: Blog name, 2: Separator (raquo), 3: Author name. */ 3106 3106 'authortitle' => __( '%1$s %2$s Posts by %3$s Feed' ), 3107 3107 /* translators: 1: Blog name, 2: Separator (raquo), 3: Search query. */ 3108 'searchtitle' => __( '%1$s %2$s Search Results for “%3$s” Feed' ),3108 'searchtitle' => __( '%1$s %2$s Search results for “%3$s” Feed' ), 3109 3109 /* translators: 1: Blog name, 2: Separator (raquo), 3: Post type name. */ 3110 3110 'posttypetitle' => __( '%1$s %2$s %3$s Feed' ), 3111 3111 ); -
src/wp-includes/post.php
946 946 function get_post_statuses() { 947 947 $status = array( 948 948 'draft' => __( 'Draft' ), 949 'pending' => __( 'Pending Review' ),949 'pending' => __( 'Pending review' ), 950 950 'private' => __( 'Private' ), 951 951 'publish' => __( 'Published' ), 952 952 ); -
src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php
59 59 60 60 $lang = get_language_attributes( 'html' ); 61 61 $url = esc_xml( __( 'URL' ) ); 62 $lastmod = esc_xml( __( 'Last Modified' ) );62 $lastmod = esc_xml( __( 'Last modified' ) ); 63 63 $changefreq = esc_xml( __( 'Change Frequency' ) ); 64 64 $priority = esc_xml( __( 'Priority' ) ); 65 65 … … 173 173 174 174 $lang = get_language_attributes( 'html' ); 175 175 $url = esc_xml( __( 'URL' ) ); 176 $lastmod = esc_xml( __( 'Last Modified' ) );176 $lastmod = esc_xml( __( 'Last modified' ) ); 177 177 178 178 $xsl_content = <<<XSL 179 179 <?xml version="1.0" encoding="UTF-8"?> -
src/wp-includes/user.php
3829 3829 $description = __( 'Export Personal Data' ); 3830 3830 break; 3831 3831 case 'remove_personal_data': 3832 $description = __( 'Erase Personal Data' );3832 $description = __( 'Erase personal data' ); 3833 3833 break; 3834 3834 default: 3835 3835 /* translators: %s: Action name. */