diff --git a/src/js/_enqueues/admin/edit-comments.js b/src/js/_enqueues/admin/edit-comments.js index 9a3d81a751bd8..eb57835f078a6 100644 --- a/src/js/_enqueues/admin/edit-comments.js +++ b/src/js/_enqueues/admin/edit-comments.js @@ -613,7 +613,7 @@ window.setCommentsList = function() { approvedDiff = -1; pendingDiff = 1; - // User clicked "Delete Permanently". + // User clicked "Delete permanently". } else if ( targetParent.is( 'span.delete' ) ) { if ( spammed ) { spamDiff = -1; diff --git a/src/js/_enqueues/admin/plugin-install.js b/src/js/_enqueues/admin/plugin-install.js index 9b43b53e13a43..183e998d97002 100644 --- a/src/js/_enqueues/admin/plugin-install.js +++ b/src/js/_enqueues/admin/plugin-install.js @@ -207,7 +207,7 @@ jQuery( function( $ ) { }); /* - * When a user presses the "Upload Plugin" button, show the upload form in place + * When a user presses the "Upload plugin" button, show the upload form in place * rather than sending them to the devoted upload plugin page. * The `?tab=upload` page still exists for no-js support and for plugins that * might access it directly. When we're in this page, let the link behave diff --git a/src/js/_enqueues/vendor/tinymce/langs/wp-langs-en.js b/src/js/_enqueues/vendor/tinymce/langs/wp-langs-en.js index c3ddbb3332344..4ce03bfda133a 100644 --- a/src/js/_enqueues/vendor/tinymce/langs/wp-langs-en.js +++ b/src/js/_enqueues/vendor/tinymce/langs/wp-langs-en.js @@ -147,7 +147,7 @@ paste: { paste_text_desc: "Paste as Plain Text", paste_word_desc: "Paste from Word", - selectall_desc: "Select All", + selectall_desc: "Select all", 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.", plaintext_mode: "Paste is now in plain text mode. Click again to toggle back to regular paste mode." }, diff --git a/src/js/_enqueues/wp/customize/loader.js b/src/js/_enqueues/wp/customize/loader.js index 2326f1f7dfccc..70cd2cb7d413d 100644 --- a/src/js/_enqueues/wp/customize/loader.js +++ b/src/js/_enqueues/wp/customize/loader.js @@ -119,7 +119,7 @@ window.wp = window.wp || {}; return window.location = src; } - // Store the document title prior to opening the Live Preview. + // Store the document title prior to opening the Live preview. this.originalDocumentTitle = document.title; this.active = true; @@ -223,7 +223,7 @@ window.wp = window.wp || {}; self.active = false; self.trigger( 'close' ); - // Restore document title prior to opening the Live Preview. + // Restore document title prior to opening the Live preview. if ( self.originalDocumentTitle ) { document.title = self.originalDocumentTitle; } diff --git a/src/js/_enqueues/wp/editor/base.js b/src/js/_enqueues/wp/editor/base.js index 3ba7de8dbf5f3..c9d6447e1a0f5 100644 --- a/src/js/_enqueues/wp/editor/base.js +++ b/src/js/_enqueues/wp/editor/base.js @@ -720,7 +720,7 @@ window.wp = window.wp || {}; /** * Marking the start and end element with `data-mce-object-selection` helps - * discern when the selected object is a Live Preview selection. + * discern when the selected object is a Live preview selection. * * This way we can adjust the selection to properly select only the content, ignoring * whitespace inserted around the selected object by the Editor. @@ -780,7 +780,7 @@ window.wp = window.wp || {}; if (endMatch) { /** - * Adjust the selection index, if the selection contains a Live Preview object or not. + * Adjust the selection index, if the selection contains a Live preview object or not. * * Check where the `data-mce-object-selection` attribute is set above for more context. */ diff --git a/src/js/_enqueues/wp/updates.js b/src/js/_enqueues/wp/updates.js index aca73fdd4f748..4eaf1301e31ab 100644 --- a/src/js/_enqueues/wp/updates.js +++ b/src/js/_enqueues/wp/updates.js @@ -707,7 +707,7 @@ $card.find( '.update-now' ) .attr( 'aria-label', false ) - .text( __( 'Update Now' ) ); + .text( __( 'Update now' ) ); }, 200 ); } ); } @@ -969,7 +969,7 @@ buttonText = _x( 'Network Activate', 'plugin' ); ariaLabel = sprintf( /* translators: %s: Plugin name. */ - _x( 'Network Activate %s', 'plugin' ), + _x( 'Network activate %s', 'plugin' ), response.pluginName ); @@ -1797,11 +1797,11 @@ 'aria-label', sprintf( /* translators: %s: Theme name. */ - _x( 'Network Activate %s', 'theme' ), + _x( 'Network activate %s', 'theme' ), response.themeName ) ) - .text( __( 'Network Enable' ) ); + .text( __( 'Network enable' ) ); } else { $message .attr( @@ -1818,12 +1818,12 @@ if ( response.customizeUrl ) { - // Transform the 'Preview' button into a 'Live Preview' button. + // Transform the 'Preview' button into a 'Live preview' button. $message.siblings( '.preview' ).replaceWith( function () { return $( '' ) .attr( 'href', response.customizeUrl ) .addClass( 'button load-customize' ) - .text( __( 'Live Preview' ) ); + .text( __( 'Live preview' ) ); } ); } }, 1000 ); @@ -2634,7 +2634,7 @@ $message .removeClass( 'updating-message' ) - .text( _x( 'Install Now', 'plugin' ) ); + .text( _x( 'Install now', 'plugin' ) ); wp.a11y.speak( __( 'Update canceled.' ) ); } ); @@ -3036,7 +3036,7 @@ .append( $( '', { 'class': 'current', 'href': searchLocation, - 'text': __( 'Search Results' ) + 'text': __( 'Search results' ) } ) ); $( '.wp-filter .filter-links .current' ) @@ -3180,7 +3180,7 @@ } ); /** - * Trigger a search event when the "Try Again" button is clicked. + * Trigger a search event when the "Try again" button is clicked. * * @since 4.9.0 */ diff --git a/src/js/media/views/button/delete-selected-permanently.js b/src/js/media/views/button/delete-selected-permanently.js index a4b55d911fc35..f19f083bf65e4 100644 --- a/src/js/media/views/button/delete-selected-permanently.js +++ b/src/js/media/views/button/delete-selected-permanently.js @@ -5,7 +5,7 @@ var Button = wp.media.view.Button, /** * wp.media.view.DeleteSelectedPermanentlyButton * - * When MEDIA_TRASH is true, a button that handles bulk Delete Permanently logic + * When MEDIA_TRASH is true, a button that handles bulk Delete permanently logic * * @memberOf wp.media.view * diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php index 47b44ee31dee9..4f664e9d8b112 100644 --- a/src/wp-admin/edit-form-comment.php +++ b/src/wp-admin/edit-form-comment.php @@ -239,7 +239,7 @@
-comment_ID&_wp_original_http_referer=" . urlencode( wp_get_referer() ), 'delete-comment_' . $comment->comment_ID ) . "'>" . ( ! EMPTY_TRASH_DAYS ? __( 'Delete Permanently' ) : __( 'Move to Trash' ) ) . "\n"; ?> +comment_ID&_wp_original_http_referer=" . urlencode( wp_get_referer() ), 'delete-comment_' . $comment->comment_ID ) . "'>" . ( ! EMPTY_TRASH_DAYS ? __( 'Delete permanently' ) : __( 'Move to trash' ) ) . "\n"; ?>
diff --git a/src/wp-admin/erase-personal-data.php b/src/wp-admin/erase-personal-data.php index c96d80a9b5e06..03ca4db0c8eca 100644 --- a/src/wp-admin/erase-personal-data.php +++ b/src/wp-admin/erase-personal-data.php @@ -1,6 +1,6 @@
-

+


-

+

diff --git a/src/wp-admin/import.php b/src/wp-admin/import.php index ce17a70f20cf3..d4d480870acf0 100644 --- a/src/wp-admin/import.php +++ b/src/wp-admin/import.php @@ -22,7 +22,7 @@ array( 'id' => 'overview', 'title' => __( 'Overview' ), - 'content' => '

' . __( '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.' ) . '

' . + 'content' => '

' . __( '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.' ) . '

' . '

' . __( '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.' ) . '

', ) ); @@ -163,7 +163,7 @@ esc_attr( $data[0] ), /* translators: %s: Importer name. */ esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $data[0] ) ), - _x( 'Install Now', 'plugin' ) + _x( 'Install now', 'plugin' ) ); } else { $action = sprintf( diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php index 83b682634b075..daaf183e3e46d 100644 --- a/src/wp-admin/includes/ajax-actions.php +++ b/src/wp-admin/includes/ajax-actions.php @@ -2273,7 +2273,7 @@ function wp_ajax_find_posts() { $stat = __( 'Scheduled' ); break; case 'pending': - $stat = __( 'Pending Review' ); + $stat = __( 'Pending review' ); break; case 'draft': $stat = __( 'Draft' ); diff --git a/src/wp-admin/includes/class-plugin-installer-skin.php b/src/wp-admin/includes/class-plugin-installer-skin.php index aa97833c59a85..62090f6e915fe 100644 --- a/src/wp-admin/includes/class-plugin-installer-skin.php +++ b/src/wp-admin/includes/class-plugin-installer-skin.php @@ -127,7 +127,7 @@ public function after() { $install_actions['network_activate'] = sprintf( '%s', wp_nonce_url( 'plugins.php?action=activate&networkwide=1&plugin=' . urlencode( $plugin_file ), 'activate-plugin_' . $plugin_file ), - _x( 'Network Activate', 'plugin' ) + _x( 'Network activate', 'plugin' ) ); unset( $install_actions['activate_plugin'] ); } diff --git a/src/wp-admin/includes/class-theme-installer-skin.php b/src/wp-admin/includes/class-theme-installer-skin.php index 2f1fa344c9a5b..fe270c3ed3bb2 100644 --- a/src/wp-admin/includes/class-theme-installer-skin.php +++ b/src/wp-admin/includes/class-theme-installer-skin.php @@ -134,9 +134,9 @@ public function after() { '' . '%s', esc_url( $customize_url ), - __( 'Live Preview' ), + __( 'Live preview' ), /* translators: Hidden accessibility text. %s: Theme name. */ - sprintf( __( 'Live Preview “%s”' ), $name ) + sprintf( __( 'Live preview “%s”' ), $name ) ); } @@ -153,7 +153,7 @@ public function after() { $install_actions['network_enable'] = sprintf( '%s', esc_url( wp_nonce_url( 'themes.php?action=enable&theme=' . urlencode( $stylesheet ), 'enable-theme_' . $stylesheet ) ), - __( 'Network Enable' ) + __( 'Network enable' ) ); } diff --git a/src/wp-admin/includes/class-theme-upgrader-skin.php b/src/wp-admin/includes/class-theme-upgrader-skin.php index cd4c6c6db3b40..b379e4f600e18 100644 --- a/src/wp-admin/includes/class-theme-upgrader-skin.php +++ b/src/wp-admin/includes/class-theme-upgrader-skin.php @@ -100,9 +100,9 @@ public function after() { '' . '%s', esc_url( $customize_url ), - __( 'Live Preview' ), + __( 'Live preview' ), /* translators: Hidden accessibility text. %s: Theme name. */ - sprintf( __( 'Live Preview “%s”' ), $name ) + sprintf( __( 'Live preview “%s”' ), $name ) ); } diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php index c4d323cf892b0..431165d3cb126 100644 --- a/src/wp-admin/includes/class-wp-comments-list-table.php +++ b/src/wp-admin/includes/class-wp-comments-list-table.php @@ -788,7 +788,7 @@ protected function handle_row_actions( $item, $column_name, $primary ) { esc_url( $unspam_url ), "delete:the-comment-list:comment-{$comment->comment_ID}:66cc66:unspam=1", esc_attr__( 'Restore this comment from the spam' ), - _x( 'Not Spam', 'comment' ) + _x( 'Not spam', 'comment' ) ); } @@ -808,7 +808,7 @@ protected function handle_row_actions( $item, $column_name, $primary ) { esc_url( $delete_url ), "delete:the-comment-list:comment-{$comment->comment_ID}::delete=1", esc_attr__( 'Delete this comment permanently' ), - __( 'Delete Permanently' ) + __( 'Delete permanently' ) ); } else { $actions['trash'] = sprintf( @@ -837,7 +837,7 @@ protected function handle_row_actions( $item, $column_name, $primary ) { 'edit', 'vim-q comment-inline', esc_attr__( 'Quick edit this comment inline' ), - __( 'Quick Edit' ) + __( 'Quick edit' ) ); $actions['reply'] = sprintf( diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php index cbb57a4b8c940..cca6a40f8ec46 100644 --- a/src/wp-admin/includes/class-wp-debug-data.php +++ b/src/wp-admin/includes/class-wp-debug-data.php @@ -1172,7 +1172,7 @@ private static function get_wp_active_theme(): array { } return array( - 'label' => __( 'Active Theme' ), + 'label' => __( 'Active theme' ), 'fields' => $fields, ); } diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php index 5a7fa0db8edd0..0d8b79aeaa739 100644 --- a/src/wp-admin/includes/class-wp-list-table.php +++ b/src/wp-admin/includes/class-wp-list-table.php @@ -1105,7 +1105,7 @@ protected function pagination( $which ) { '' . '', /* translators: Hidden accessibility text. */ - __( 'Current Page' ) + __( 'Current page' ) ); } else { $html_current_page = sprintf( @@ -1114,7 +1114,7 @@ protected function pagination( $which ) { name='paged' value='%s' size='%d' aria-describedby='table-paging' />" . "", /* translators: Hidden accessibility text. */ - __( 'Current Page' ), + __( 'Current page' ), $current, strlen( $total_pages ) ); diff --git a/src/wp-admin/includes/class-wp-media-list-table.php b/src/wp-admin/includes/class-wp-media-list-table.php index b0a421586c690..13b390794d1da 100644 --- a/src/wp-admin/includes/class-wp-media-list-table.php +++ b/src/wp-admin/includes/class-wp-media-list-table.php @@ -462,7 +462,7 @@ public function column_title( $post ) { '', get_edit_post_link( $post->ID ), /* translators: %s: Attachment title. */ - esc_attr( sprintf( __( '“%s” (Edit)' ), $title ) ) + esc_attr( sprintf( __( '“%s” (edit)' ), $title ) ) ); $link_end = ''; } @@ -807,7 +807,7 @@ private function _get_row_actions( $post, $att_title ) { $show_confirmation, /* translators: %s: Attachment title. */ esc_attr( sprintf( __( 'Delete “%s” permanently' ), $att_title ) ), - __( 'Delete Permanently' ) + __( 'Delete permanently' ) ); } } @@ -865,7 +865,7 @@ private function _get_row_actions( $post, $att_title ) { * @since 2.8.0 * * @param string[] $actions An array of action links for each attachment. - * Includes 'Edit', 'Delete Permanently', 'View', + * Includes 'Edit', 'Delete permanently', 'View', * 'Copy URL' and 'Download file'. * @param WP_Post $post WP_Post object for the current attachment. * @param bool $detached Whether the list table contains media not attached diff --git a/src/wp-admin/includes/class-wp-ms-sites-list-table.php b/src/wp-admin/includes/class-wp-ms-sites-list-table.php index 01968869a1f3f..2db61fa5feffc 100644 --- a/src/wp-admin/includes/class-wp-ms-sites-list-table.php +++ b/src/wp-admin/includes/class-wp-ms-sites-list-table.php @@ -365,7 +365,7 @@ public function get_columns() { $sites_columns = array( 'cb' => '', 'blogname' => __( 'URL' ), - 'lastupdated' => __( 'Last Updated' ), + 'lastupdated' => __( 'Last updated' ), 'registered' => _x( 'Registered', 'site' ), 'users' => __( 'Users' ), ); @@ -400,7 +400,7 @@ protected function get_sortable_columns() { return array( 'blogname' => array( 'blogname', false, $blogname_abbr, $blogname_orderby_text ), - 'lastupdated' => array( 'lastupdated', true, __( 'Last Updated' ), __( 'Table ordered by Last Updated.' ) ), + 'lastupdated' => array( 'lastupdated', true, __( 'Last updated' ), __( 'Table ordered by Last updated.' ) ), 'registered' => array( 'blog_id', true, _x( 'Registered', 'site' ), __( 'Table ordered by Site Registered Date.' ), 'desc' ), ); } @@ -806,7 +806,7 @@ protected function handle_row_actions( $item, $column_name, $primary ) { 'unspamblog_' . $blog['blog_id'] ) ), - _x( 'Not Spam', 'site' ) + _x( 'Not spam', 'site' ) ); } else { $actions['spam'] = sprintf( @@ -847,7 +847,7 @@ protected function handle_row_actions( $item, $column_name, $primary ) { * The 'Edit', 'Dashboard', 'Delete', and 'Visit' links are displayed by * default for each site. The site's status determines whether to show the * 'Activate' or 'Deactivate' link, 'Unarchive' or 'Archive' links, and - * 'Not Spam' or 'Spam' link for each site. + * 'Not spam' or 'Spam' link for each site. * * @since 3.1.0 * diff --git a/src/wp-admin/includes/class-wp-ms-themes-list-table.php b/src/wp-admin/includes/class-wp-ms-themes-list-table.php index 70187f44d446b..d82b5a5c49740 100644 --- a/src/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/src/wp-admin/includes/class-wp-ms-themes-list-table.php @@ -334,7 +334,7 @@ public function get_columns() { ); if ( $this->show_autoupdates ) { - $columns['auto-updates'] = __( 'Automatic Updates' ); + $columns['auto-updates'] = __( 'Automatic updates' ); } return $columns; @@ -405,8 +405,8 @@ protected function get_views() { case 'upgrade': /* translators: %s: Number of themes. */ $text = _nx( - 'Update Available (%s)', - 'Update Available (%s)', + 'Update available (%s)', + 'Update available (%s)', $count, 'themes' ); @@ -423,16 +423,16 @@ protected function get_views() { case 'auto-update-enabled': /* translators: %s: Number of themes. */ $text = _n( - 'Auto-updates Enabled (%s)', - 'Auto-updates Enabled (%s)', + 'Auto-updates enabled (%s)', + 'Auto-updates enabled (%s)', $count ); break; case 'auto-update-disabled': /* translators: %s: Number of themes. */ $text = _n( - 'Auto-updates Disabled (%s)', - 'Auto-updates Disabled (%s)', + 'Auto-updates disabled (%s)', + 'Auto-updates disabled (%s)', $count ); break; @@ -466,10 +466,10 @@ protected function get_bulk_actions() { $actions = array(); if ( 'enabled' !== $status ) { - $actions['enable-selected'] = $this->is_site_themes ? __( 'Enable' ) : __( 'Network Enable' ); + $actions['enable-selected'] = $this->is_site_themes ? __( 'Enable' ) : __( 'Network enable' ); } if ( 'disabled' !== $status ) { - $actions['disable-selected'] = $this->is_site_themes ? __( 'Disable' ) : __( 'Network Disable' ); + $actions['disable-selected'] = $this->is_site_themes ? __( 'Disable' ) : __( 'Network disable' ); } if ( ! $this->is_site_themes ) { if ( current_user_can( 'update_themes' ) ) { @@ -482,11 +482,11 @@ protected function get_bulk_actions() { if ( $this->show_autoupdates ) { if ( 'auto-update-enabled' !== $status ) { - $actions['enable-auto-update-selected'] = __( 'Enable Auto-updates' ); + $actions['enable-auto-update-selected'] = __( 'Enable auto-updates' ); } if ( 'auto-update-disabled' !== $status ) { - $actions['disable-auto-update-selected'] = __( 'Disable Auto-updates' ); + $actions['disable-auto-update-selected'] = __( 'Disable auto-updates' ); } } @@ -584,14 +584,14 @@ public function column_name( $theme ) { $aria_label = sprintf( __( 'Enable %s' ), $theme->display( 'Name' ) ); } else { /* translators: %s: Theme name. */ - $aria_label = sprintf( __( 'Network Enable %s' ), $theme->display( 'Name' ) ); + $aria_label = sprintf( __( 'Network enable %s' ), $theme->display( 'Name' ) ); } $actions['enable'] = sprintf( '%s', esc_url( wp_nonce_url( $url, 'enable-theme_' . $stylesheet ) ), esc_attr( $aria_label ), - ( $this->is_site_themes ? __( 'Enable' ) : __( 'Network Enable' ) ) + ( $this->is_site_themes ? __( 'Enable' ) : __( 'Network enable' ) ) ); } } else { @@ -610,14 +610,14 @@ public function column_name( $theme ) { $aria_label = sprintf( __( 'Disable %s' ), $theme->display( 'Name' ) ); } else { /* translators: %s: Theme name. */ - $aria_label = sprintf( __( 'Network Disable %s' ), $theme->display( 'Name' ) ); + $aria_label = sprintf( __( 'Network disable %s' ), $theme->display( 'Name' ) ); } $actions['disable'] = sprintf( '%s', esc_url( wp_nonce_url( $url, 'disable-theme_' . $stylesheet ) ), esc_attr( $aria_label ), - ( $this->is_site_themes ? __( 'Disable' ) : __( 'Network Disable' ) ) + ( $this->is_site_themes ? __( 'Disable' ) : __( 'Network disable' ) ) ); } @@ -658,7 +658,7 @@ public function column_name( $theme ) { * non-network enabled themes when editing a site in the Network admin. * * The default action links for the Network themes list table include - * 'Network Enable', 'Network Disable', and 'Delete'. + * 'Network enable', 'Network disable', and 'Delete'. * * The default action links for the Site themes list table include * 'Enable', and 'Disable'. @@ -704,7 +704,7 @@ public function column_description( $theme ) { global $status, $totals; if ( $theme->errors() ) { - $pre = 'broken' === $status ? '' . __( 'Broken Theme:' ) . ' ' : ''; + $pre = 'broken' === $status ? '' . __( 'Broken theme:' ) . ' ' : ''; wp_admin_notice( $pre . $theme->errors()->get_error_message(), array( @@ -747,7 +747,7 @@ public function column_description( $theme ) { '%s', $theme->display( 'ThemeURI' ), esc_attr( $aria_label ), - __( 'Visit Theme Site' ) + __( 'Visit theme site' ) ); } @@ -942,12 +942,12 @@ public function single_row_columns( $item ) { /* Add a label for the active template */ if ( $item->get_template() === $template ) { - $active_theme_label = ' — ' . __( 'Active Theme' ); + $active_theme_label = ' — ' . __( 'Active theme' ); } /* In case this is a child theme, label it properly */ if ( $stylesheet !== $template && $item->get_stylesheet() === $stylesheet ) { - $active_theme_label = ' — ' . __( 'Active Child Theme' ); + $active_theme_label = ' — ' . __( 'Active child theme' ); } } diff --git a/src/wp-admin/includes/class-wp-plugin-install-list-table.php b/src/wp-admin/includes/class-wp-plugin-install-list-table.php index df0260be81e21..1447a1fbbe943 100644 --- a/src/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/src/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -101,7 +101,7 @@ public function prepare_items() { $tabs = array(); if ( 'search' === $tab ) { - $tabs['search'] = __( 'Search Results' ); + $tabs['search'] = __( 'Search results' ); } if ( 'beta' === $tab || str_contains( get_bloginfo( 'version' ), '-' ) ) { @@ -118,7 +118,7 @@ public function prepare_items() { * No longer a real tab. Here for filter compatibility. * Gets skipped in get_views(). */ - $tabs['upload'] = __( 'Upload Plugin' ); + $tabs['upload'] = __( 'Upload plugin' ); } $nonmenu_tabs = array( 'plugin-information' ); // Valid actions to perform which do not have a Menu item. @@ -291,7 +291,7 @@ public function prepare_items() { public function no_items() { if ( isset( $this->error ) ) { $error_message = '

' . $this->error->get_error_message() . '

'; - $error_message .= '

'; + $error_message .= '

'; wp_admin_notice( $error_message, array( @@ -591,7 +591,7 @@ public function display_rows() { * @since 2.7.0 * * @param string[] $action_links An array of plugin action links. - * Defaults are links to Details and Install Now. + * Defaults are links to Details and Install now. * @param array $plugin An array of plugin data. See {@see plugins_api()} * for the list of possible values. */ @@ -698,7 +698,7 @@ public function display_rows() {
- + show_autoupdates && ! in_array( $status, array( 'mustuse', 'dropins' ), true ) ) { - $columns['auto-updates'] = __( 'Automatic Updates' ); + $columns['auto-updates'] = __( 'Automatic updates' ); } return $columns; @@ -523,8 +523,8 @@ protected function get_views() { case 'recently_activated': /* translators: %s: Number of plugins. */ $text = _n( - 'Recently Active (%s)', - 'Recently Active (%s)', + 'Recently active (%s)', + 'Recently active (%s)', $count ); break; @@ -539,8 +539,8 @@ protected function get_views() { case 'mustuse': /* translators: %s: Number of plugins. */ $text = _n( - 'Must-Use (%s)', - 'Must-Use (%s)', + 'Must-use (%s)', + 'Must-use (%s)', $count ); break; @@ -563,24 +563,24 @@ protected function get_views() { case 'upgrade': /* translators: %s: Number of plugins. */ $text = _n( - 'Update Available (%s)', - 'Update Available (%s)', + 'Update available (%s)', + 'Update available (%s)', $count ); break; case 'auto-update-enabled': /* translators: %s: Number of plugins. */ $text = _n( - 'Auto-updates Enabled (%s)', - 'Auto-updates Enabled (%s)', + 'Auto-updates enabled (%s)', + 'Auto-updates enabled (%s)', $count ); break; case 'auto-update-disabled': /* translators: %s: Number of plugins. */ $text = _n( - 'Auto-updates Disabled (%s)', - 'Auto-updates Disabled (%s)', + 'Auto-updates disabled (%s)', + 'Auto-updates disabled (%s)', $count ); break; @@ -608,11 +608,11 @@ protected function get_bulk_actions() { $actions = array(); if ( 'active' !== $status ) { - $actions['activate-selected'] = $this->screen->in_admin( 'network' ) ? _x( 'Network Activate', 'plugin' ) : _x( 'Activate', 'plugin' ); + $actions['activate-selected'] = $this->screen->in_admin( 'network' ) ? _x( 'Network activate', 'plugin' ) : _x( 'Activate', 'plugin' ); } if ( 'inactive' !== $status && 'recent' !== $status ) { - $actions['deactivate-selected'] = $this->screen->in_admin( 'network' ) ? _x( 'Network Deactivate', 'plugin' ) : _x( 'Deactivate', 'plugin' ); + $actions['deactivate-selected'] = $this->screen->in_admin( 'network' ) ? _x( 'Network deactivate', 'plugin' ) : _x( 'Deactivate', 'plugin' ); } if ( ! is_multisite() || $this->screen->in_admin( 'network' ) ) { @@ -626,10 +626,10 @@ protected function get_bulk_actions() { if ( $this->show_autoupdates ) { if ( 'auto-update-enabled' !== $status ) { - $actions['enable-auto-update-selected'] = __( 'Enable Auto-updates' ); + $actions['enable-auto-update-selected'] = __( 'Enable auto-updates' ); } if ( 'auto-update-disabled' !== $status ) { - $actions['disable-auto-update-selected'] = __( 'Disable Auto-updates' ); + $actions['disable-auto-update-selected'] = __( 'Disable auto-updates' ); } } } @@ -665,7 +665,7 @@ protected function extra_tablenav( $which ) { echo '
'; if ( 'recently_activated' === $status ) { - submit_button( __( 'Clear List' ), '', 'clear-recent-list', false ); + submit_button( __( 'Clear list' ), '', 'clear-recent-list', false ); } elseif ( 'top' === $which && 'mustuse' === $status ) { echo '

' . sprintf( /* translators: %s: mu-plugins directory name. */ @@ -824,8 +824,8 @@ public function single_row( $item ) { wp_nonce_url( $deactivate_url, 'deactivate-plugin_' . $plugin_file ), esc_attr( $plugin_id_attr ), /* translators: %s: Plugin name. */ - esc_attr( sprintf( _x( 'Network Deactivate %s', 'plugin' ), $plugin_data['Name'] ) ), - _x( 'Network Deactivate', 'plugin' ) + esc_attr( sprintf( _x( 'Network deactivate %s', 'plugin' ), $plugin_data['Name'] ) ), + _x( 'Network deactivate', 'plugin' ) ); } } @@ -833,7 +833,7 @@ public function single_row( $item ) { if ( current_user_can( 'manage_network_plugins' ) ) { if ( $compatible_php && $compatible_wp ) { if ( $has_unmet_dependencies ) { - $actions['activate'] = _x( 'Network Activate', 'plugin' ) . + $actions['activate'] = _x( 'Network activate', 'plugin' ) . '' . __( 'You cannot activate this plugin as it has unmet requirements.' ) . ''; @@ -849,8 +849,8 @@ public function single_row( $item ) { wp_nonce_url( $activate_url, 'activate-plugin_' . $plugin_file ), esc_attr( $plugin_id_attr ), /* translators: %s: Plugin name. */ - esc_attr( sprintf( _x( 'Network Activate %s', 'plugin' ), $plugin_data['Name'] ) ), - _x( 'Network Activate', 'plugin' ) + esc_attr( sprintf( _x( 'Network activate %s', 'plugin' ), $plugin_data['Name'] ) ), + _x( 'Network activate', 'plugin' ) ); } } else { @@ -888,11 +888,11 @@ public function single_row( $item ) { } else { if ( $restrict_network_active ) { $actions = array( - 'network_active' => __( 'Network Active' ), + 'network_active' => __( 'Network active' ), ); } elseif ( $restrict_network_only ) { $actions = array( - 'network_only' => __( 'Network Only' ), + 'network_only' => __( 'Network only' ), ); } elseif ( $is_active ) { if ( current_user_can( 'deactivate_plugin', $plugin_file ) ) { diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php index 9be86455e2c84..638282df2342a 100644 --- a/src/wp-admin/includes/class-wp-posts-list-table.php +++ b/src/wp-admin/includes/class-wp-posts-list-table.php @@ -1141,7 +1141,7 @@ public function column_title( $post ) { '%s%s', get_edit_post_link( $post->ID ), /* translators: %s: Post title. */ - esc_attr( sprintf( __( '“%s” (Edit)' ), $title ) ), + esc_attr( sprintf( __( '“%s” (edit)' ), $title ) ), $pad, $title ); @@ -1218,7 +1218,7 @@ public function column_date( $post ) { $status = __( 'Scheduled' ); } } else { - $status = __( 'Last Modified' ); + $status = __( 'Last modified' ); } /** @@ -1506,7 +1506,7 @@ protected function handle_row_actions( $item, $column_name, $primary ) { '', /* translators: %s: Post title. */ esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $title ) ), - __( 'Quick Edit' ) + __( 'Quick edit' ) ); } } @@ -1536,7 +1536,7 @@ protected function handle_row_actions( $item, $column_name, $primary ) { get_delete_post_link( $post->ID, '', true ), /* translators: %s: Post title. */ esc_attr( sprintf( __( 'Delete “%s” permanently' ), $title ) ), - __( 'Delete Permanently' ) + __( 'Delete permanently' ) ); } } @@ -1585,7 +1585,7 @@ protected function handle_row_actions( $item, $column_name, $primary ) { * * @param string[] $actions An array of row action links. Defaults are * 'Edit', 'Quick Edit', 'Restore', 'Trash', - * 'Delete Permanently', 'Preview', and 'View'. + * 'Delete permanently', 'Preview', and 'View'. * @param WP_Post $post The post object. */ $actions = apply_filters( 'page_row_actions', $actions, $post ); @@ -1600,7 +1600,7 @@ protected function handle_row_actions( $item, $column_name, $primary ) { * * @param string[] $actions An array of row action links. Defaults are * 'Edit', 'Quick Edit', 'Restore', 'Trash', - * 'Delete Permanently', 'Preview', and 'View'. + * 'Delete permanently', 'Preview', and 'View'. * @param WP_Post $post The post object. */ $actions = apply_filters( 'post_row_actions', $actions, $post ); @@ -1684,7 +1684,7 @@ public function inline_edit() {

- + ' . __( 'If you know what you are 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.' ) . '

' . '

' . __( '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.' ) . '

' . '

' . __( 'You can also browse a user’s favorite plugins, by using the Favorites link above the plugins list and entering their WordPress.org username.' ) . '

' . - '

' . __( '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.' ) . '

', + '

' . __( '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.' ) . '

', ) ); @@ -151,7 +151,7 @@ printf( ' %s%s', ( 'upload' === $tab ) ? self_admin_url( 'plugin-install.php' ) : self_admin_url( 'plugin-install.php?tab=upload' ), - __( 'Upload Plugin' ), + __( 'Upload plugin' ), __( 'Browse Plugins' ) ); } diff --git a/src/wp-admin/press-this.php b/src/wp-admin/press-this.php index c91df1c96b84b..a79adfd6ec881 100644 --- a/src/wp-admin/press-this.php +++ b/src/wp-admin/press-this.php @@ -60,7 +60,7 @@ function wp_load_press_this() { '%3$s', esc_url( $url ), esc_attr( $plugin_slug ), - _x( 'Install Now', 'plugin' ) + _x( 'Install now', 'plugin' ) ); } else { $action = sprintf( diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php index d2fa4ae8ea7ee..ffa48ec89371a 100644 --- a/src/wp-admin/setup-config.php +++ b/src/wp-admin/setup-config.php @@ -298,7 +298,7 @@ function setup_config_display_header( $body_classes = array() ) { $install .= '?language=en_US'; } - $tryagain_link = '

' . __( 'Try Again' ) . ''; + $tryagain_link = '

' . __( 'Try again' ) . ''; if ( empty( $prefix ) ) { wp_die( __( 'Error: "Table Prefix" must not be empty.' ) . $tryagain_link ); diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php index ff456f32d318b..7be443218377c 100644 --- a/src/wp-admin/theme-install.php +++ b/src/wp-admin/theme-install.php @@ -63,11 +63,11 @@ __( '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 support forums.' ), __( 'https://wordpress.org/support/forums/' ) ), - 'tryAgain' => __( 'Try Again' ), + 'tryAgain' => __( 'Try again' ), /* translators: %d: Number of themes. */ 'themesFound' => __( 'Number of Themes found: %d' ), 'noThemesFound' => __( 'No themes found. Try a different search.' ), - 'collapseSidebar' => __( 'Collapse Sidebar' ), + 'collapseSidebar' => __( 'Collapse sidebar' ), 'expandSidebar' => __( 'Expand Sidebar' ), /* translators: Hidden accessibility text. */ 'selectFeatureFilter' => __( 'Select one or more Theme features to filter by' ), @@ -127,7 +127,7 @@ $help_installing = '

' . __( 'Once you have generated a list of themes, you can preview and install any of them. Click on the thumbnail of the theme you are 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.' ) . '

' . - '

' . __( '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.' ) . '

'; + '

' . __( '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.' ) . '

'; get_current_screen()->add_help_tab( array( @@ -416,7 +416,7 @@ <# if ( data.customize_url ) { #> <# if ( ! data.active ) { #> <# if ( ! data.block_theme ) { #> - + <# } #> <# } else { #> @@ -433,7 +433,7 @@ <# } #> <# if ( data.customize_url ) { #> - + <# } else { #> <# } #> @@ -449,9 +449,9 @@ <# } else { #> - + <# } #> <# } #> @@ -498,7 +498,7 @@ <# if ( data.compatible_wp && data.compatible_php ) { #> <# } else { #> - + <# } #> <# } #> @@ -598,7 +598,7 @@ - + @@ -622,7 +622,7 @@ function list_plugin_updates() { - +
- +
post_type, 'title' ) ) : ?> @@ -1744,7 +1744,7 @@ public function inline_edit() { ); if ( $bulk ) { - $users_opt['show_option_none'] = __( '— No Change —' ); + $users_opt['show_option_none'] = __( '— No change —' ); } /** @@ -1841,13 +1841,13 @@ public function inline_edit() { 'post_type' => $post_type_object->name, 'selected' => $post->post_parent, 'name' => 'post_parent', - 'show_option_none' => __( 'Main Page (no parent)' ), + 'show_option_none' => __( 'Main page (no parent)' ), 'option_none_value' => 0, 'sort_column' => 'menu_order, post_title', ); if ( $bulk ) { - $dropdown_args['show_option_no_change'] = __( '— No Change —' ); + $dropdown_args['show_option_no_change'] = __( '— No change —' ); $dropdown_args['id'] = 'bulk_edit_post_parent'; } @@ -1887,7 +1887,7 @@ public function inline_edit() { - + @@ -1943,7 +1943,7 @@ public function inline_edit() { @@ -2010,9 +2010,9 @@ public function inline_edit() { @@ -2035,7 +2035,7 @@ public function inline_edit() { - +
author ) ) { ?>
  • author, '_blank' ); ?>
  • last_updated ) ) { ?> -
  • +
  • last_updated ) ) ); @@ -950,12 +950,12 @@ function wp_get_plugin_action_button( $name, $data, $compatible_php, $compatible /* translators: %s: Plugin name and version. */ esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $name ) ), esc_attr( $name ), - _x( 'Install Now', 'plugin' ) + _x( 'Install now', 'plugin' ) ); } else { $button = sprintf( '', - _x( 'Install Now', 'plugin' ) + _x( 'Install now', 'plugin' ) ); } } @@ -972,12 +972,12 @@ function wp_get_plugin_action_button( $name, $data, $compatible_php, $compatible /* translators: %s: Plugin name and version. */ esc_attr( sprintf( _x( 'Update %s now', 'plugin' ), $name ) ), esc_attr( $name ), - _x( 'Update Now', 'plugin' ) + _x( 'Update now', 'plugin' ) ); } else { $button = sprintf( '', - _x( 'Update Now', 'plugin' ) + _x( 'Update now', 'plugin' ) ); } } diff --git a/src/wp-admin/includes/theme-install.php b/src/wp-admin/includes/theme-install.php index 6faedc94fb921..94708cb9bc12a 100644 --- a/src/wp-admin/includes/theme-install.php +++ b/src/wp-admin/includes/theme-install.php @@ -204,7 +204,7 @@ function install_themes_upload() { ?> - + <# if ( data.updateResponse.compatibleWP && data.updateResponse.compatiblePHP ) { #>
    -

    +

    {{{ data.update }}}
    <# } else { #> @@ -1073,9 +1073,9 @@ function customize_themes_print_templates() { <# } #> <# } else { #> <# if ( data.compatibleWP && data.compatiblePHP ) { #> - + <# } else { #> - + <# } #> <# } #>
  • diff --git a/src/wp-admin/menu.php b/src/wp-admin/menu.php index 82136429ba2aa..cc92dbbfda2d0 100644 --- a/src/wp-admin/menu.php +++ b/src/wp-admin/menu.php @@ -377,7 +377,7 @@ function _add_plugin_file_editor_to_tools() { /* translators: %s: Number of critical Site Health checks. */ $submenu['tools.php'][20] = array( sprintf( __( 'Site Health %s' ), $site_health_count ), 'view_site_health_checks', 'site-health.php' ); $submenu['tools.php'][25] = array( __( 'Export Personal Data' ), 'export_others_personal_data', 'export-personal-data.php' ); - $submenu['tools.php'][30] = array( __( 'Erase Personal Data' ), 'erase_others_personal_data', 'erase-personal-data.php' ); + $submenu['tools.php'][30] = array( __( 'Erase personal data' ), 'erase_others_personal_data', 'erase-personal-data.php' ); if ( is_multisite() && ! is_main_site() ) { $submenu['tools.php'][35] = array( __( 'Delete Site' ), 'delete_site', 'ms-delete-site.php' ); } diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php index 36905bab63526..b4373c76a8918 100644 --- a/src/wp-admin/nav-menus.php +++ b/src/wp-admin/nav-menus.php @@ -793,7 +793,7 @@ function wp_nav_menu_max_depth( $classes ) { admin_url( 'customize.php' ) ) ), - __( 'Manage with Live Preview' ) + __( 'Manage with Live preview' ) ); endif; diff --git a/src/wp-admin/network/site-info.php b/src/wp-admin/network/site-info.php index 46f67cced5c52..56856e633ae6b 100644 --- a/src/wp-admin/network/site-info.php +++ b/src/wp-admin/network/site-info.php @@ -192,7 +192,7 @@
    @@ -674,7 +674,7 @@ function list_theme_updates() { - + @@ -798,7 +798,7 @@ function list_theme_updates() { - + diff --git a/src/wp-admin/update.php b/src/wp-admin/update.php index 090c37cfc4dfe..6cbe6cf690a80 100644 --- a/src/wp-admin/update.php +++ b/src/wp-admin/update.php @@ -161,7 +161,7 @@ $file_upload = new File_Upload_Upgrader( 'pluginzip', 'package' ); // Used in the HTML title tag. - $title = __( 'Upload Plugin' ); + $title = __( 'Upload plugin' ); $parent_file = 'plugins.php'; $submenu_file = 'plugin-install.php'; diff --git a/src/wp-admin/upload.php b/src/wp-admin/upload.php index 7c1cd8551d21c..a9c19925a0dc9 100644 --- a/src/wp-admin/upload.php +++ b/src/wp-admin/upload.php @@ -380,7 +380,7 @@ function () { '

    ' . __( 'Hovering over a row reveals action links that allow you to manage media items. You can perform the following actions:' ) . '

    ' . '
      ' . '
    • ' . __( 'Edit takes you to a simple screen to edit that individual file’s metadata. You can also reach that screen by clicking on the media file name or thumbnail.' ) . '
    • ' . - '
    • ' . __( 'Delete Permanently will delete the file from the media library (as well as from any posts to which it is currently attached).' ) . '
    • ' . + '
    • ' . __( '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 a public display page for that file.' ) . '
    • ' . '
    • ' . __( 'Copy URL copies the URL for the media file to your clipboard.' ) . '
    • ' . '
    • ' . __( 'Download file downloads the original media file to your device.' ) . '
    • ' . diff --git a/src/wp-content/themes/twentyeleven/languages/twentyeleven.pot b/src/wp-content/themes/twentyeleven/languages/twentyeleven.pot index 6a392b67686f6..bebcb1d77ecfa 100644 --- a/src/wp-content/themes/twentyeleven/languages/twentyeleven.pot +++ b/src/wp-content/themes/twentyeleven/languages/twentyeleven.pot @@ -565,7 +565,7 @@ msgid "Number of posts to show:" msgstr "" #: search.php:18 -msgid "Search Results for: %s" +msgid "Search results for: %s" msgstr "" #: search.php:51 diff --git a/src/wp-content/themes/twentyeleven/search.php b/src/wp-content/themes/twentyeleven/search.php index f7902d35f0faa..c292beff75371 100644 --- a/src/wp-content/themes/twentyeleven/search.php +++ b/src/wp-content/themes/twentyeleven/search.php @@ -1,6 +1,6 @@ ' . get_search_query() . '' ); + printf( __( 'Search results for: %s', 'twentyeleven' ), '' . get_search_query() . '' ); ?> diff --git a/src/wp-content/themes/twentyfifteen/search.php b/src/wp-content/themes/twentyfifteen/search.php index 18355d351e426..facc31c66dce4 100644 --- a/src/wp-content/themes/twentyfifteen/search.php +++ b/src/wp-content/themes/twentyfifteen/search.php @@ -18,7 +18,7 @@

      diff --git a/src/wp-content/themes/twentyfourteen/search.php b/src/wp-content/themes/twentyfourteen/search.php index 80dc4d1e22549..55dd9a0bd4102 100644 --- a/src/wp-content/themes/twentyfourteen/search.php +++ b/src/wp-content/themes/twentyfourteen/search.php @@ -1,6 +1,6 @@ diff --git a/src/wp-content/themes/twentyseventeen/search.php b/src/wp-content/themes/twentyseventeen/search.php index 5bf77c009cf6d..65f9eb27d0dcc 100644 --- a/src/wp-content/themes/twentyseventeen/search.php +++ b/src/wp-content/themes/twentyseventeen/search.php @@ -19,7 +19,7 @@

      ' . get_search_query() . '' ); + printf( __( 'Search results for: %s', 'twentyseventeen' ), '' . get_search_query() . '' ); ?>

      diff --git a/src/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php b/src/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php index d16dc4490f0a2..dc0db3a21773b 100644 --- a/src/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php +++ b/src/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php @@ -2,7 +2,7 @@ /** * Template part for displaying posts with excerpts * - * Used in Search Results and for Recent Posts in Front Page panels. + * Used in Search results and for Recent Posts in Front Page panels. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * diff --git a/src/wp-content/themes/twentysixteen/search.php b/src/wp-content/themes/twentysixteen/search.php index afc4a90623829..3b596d0b2f5c4 100644 --- a/src/wp-content/themes/twentysixteen/search.php +++ b/src/wp-content/themes/twentysixteen/search.php @@ -18,7 +18,7 @@

      ' . esc_html( get_search_query() ) . '' ); + printf( __( 'Search results for: %s', 'twentysixteen' ), '' . esc_html( get_search_query() ) . '' ); ?>

      diff --git a/src/wp-content/themes/twentyten/languages/twentyten.pot b/src/wp-content/themes/twentyten/languages/twentyten.pot index 8b5abd14ab8c5..500f9c67536ef 100644 --- a/src/wp-content/themes/twentyten/languages/twentyten.pot +++ b/src/wp-content/themes/twentyten/languages/twentyten.pot @@ -376,7 +376,7 @@ msgid "Tagged %2$s" msgstr "" #: search.php:16 -msgid "Search Results for: %s" +msgid "Search results for: %s" msgstr "" #: search.php:27 diff --git a/src/wp-content/themes/twentyten/search.php b/src/wp-content/themes/twentyten/search.php index 8e69824d11375..0689b8565ceb0 100644 --- a/src/wp-content/themes/twentyten/search.php +++ b/src/wp-content/themes/twentyten/search.php @@ -1,6 +1,6 @@ ' . get_search_query() . '' ); + printf( __( 'Search results for: %s', 'twentyten' ), '' . get_search_query() . '' ); ?> ul { /** - * 5.10 Search Results/No posts + * 5.10 Search results/No posts * ---------------------------------------------------------------------------- */ diff --git a/src/wp-content/themes/twentythirteen/search.php b/src/wp-content/themes/twentythirteen/search.php index a94d48a2c9557..a799ef102cb4d 100644 --- a/src/wp-content/themes/twentythirteen/search.php +++ b/src/wp-content/themes/twentythirteen/search.php @@ -1,6 +1,6 @@ diff --git a/src/wp-content/themes/twentythirteen/style.css b/src/wp-content/themes/twentythirteen/style.css index 704f4a41cb4cc..e3cb7c18e6aa0 100644 --- a/src/wp-content/themes/twentythirteen/style.css +++ b/src/wp-content/themes/twentythirteen/style.css @@ -37,7 +37,7 @@ Use it to make something cool, have fun, and share what you've learned with othe * 5.7 - Post/Paging Navigation * 5.8 - Author Bio * 5.9 - Archives - * 5.10 - Search Results/No posts + * 5.10 - Search results/No posts * 5.11 - 404 * 5.12 - Comments * 5.13 - Multisite @@ -2097,7 +2097,7 @@ footer.entry-meta { /** - * 5.10 Search Results/No posts + * 5.10 Search results/No posts * ---------------------------------------------------------------------------- */ diff --git a/src/wp-content/themes/twentytwelve/search.php b/src/wp-content/themes/twentytwelve/search.php index 99acfe403467c..df65119af1f46 100644 --- a/src/wp-content/themes/twentytwelve/search.php +++ b/src/wp-content/themes/twentytwelve/search.php @@ -1,6 +1,6 @@ ' . get_search_query() . '' ); + printf( __( 'Search results for: %s', 'twentytwelve' ), '' . get_search_query() . '' ); ?> diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index abbe9bdc82fce..3aa6bcc3cf91e 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -2383,7 +2383,7 @@ body:not(.singular) main > article:first-of-type { } -/* Search Results ---------------------------- */ +/* Search results ---------------------------- */ .no-search-results-form { padding-top: 5rem; diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index 9377c75410378..822f8ad5695f5 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -2399,7 +2399,7 @@ body:not(.singular) main > article:first-of-type { } -/* Search Results ---------------------------- */ +/* Search results ---------------------------- */ .no-search-results-form { padding-top: 5rem; diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 51c88ef5fcf81..edf38cd1fd06c 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -4591,7 +4591,7 @@ public function get_document_title_template() { $document_title_tmpl = __( 'Customize: %s' ); } else { /* translators: %s: Document title from the preview. */ - $document_title_tmpl = __( 'Live Preview: %s' ); + $document_title_tmpl = __( 'Live preview: %s' ); } $document_title_tmpl = html_entity_decode( $document_title_tmpl, ENT_QUOTES, 'UTF-8' ); // Because exported to JS and assigned to document.title. return $document_title_tmpl; diff --git a/src/wp-includes/customize/class-wp-customize-theme-control.php b/src/wp-includes/customize/class-wp-customize-theme-control.php index 81c36dd421c49..77f379bfc2a05 100644 --- a/src/wp-includes/customize/class-wp-customize-theme-control.php +++ b/src/wp-includes/customize/class-wp-customize-theme-control.php @@ -288,9 +288,9 @@ public function content_template() {

      {{ data.theme.name }}

      <# if ( data.theme.compatibleWP && data.theme.compatiblePHP ) { #> - + <# } else { #> - + <# } #>
    diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 3a965a2d3da52..84412e2234897 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -1203,7 +1203,7 @@ function wp_get_document_title() { // If it's a search, use a dynamic search results title. } elseif ( is_search() ) { /* translators: %s: Search query. */ - $title['title'] = sprintf( __( 'Search Results for “%s”' ), get_search_query() ); + $title['title'] = sprintf( __( 'Search results for “%s”' ), get_search_query() ); // If on the front page, use the site title. } elseif ( is_front_page() ) { @@ -1416,7 +1416,7 @@ function wp_title( $sep = '»', $display = true, $seplocation = '' ) { // If it's a search. if ( is_search() ) { /* translators: 1: Separator, 2: Search query. */ - $title = sprintf( __( 'Search Results %1$s %2$s' ), $t_sep, strip_tags( $search ) ); + $title = sprintf( __( 'Search results %1$s %2$s' ), $t_sep, strip_tags( $search ) ); } // If it's a 404 page. @@ -3311,7 +3311,7 @@ function feed_links_extra( $args = array() ) { /* translators: 1: Site name, 2: Separator (raquo), 3: Author name. */ 'authortitle' => __( '%1$s %2$s Posts by %3$s Feed' ), /* translators: 1: Site name, 2: Separator (raquo), 3: Search query. */ - 'searchtitle' => __( '%1$s %2$s Search Results for “%3$s” Feed' ), + 'searchtitle' => __( '%1$s %2$s Search results for “%3$s” Feed' ), /* translators: 1: Site name, 2: Separator (raquo), 3: Post type name. */ 'posttypetitle' => __( '%1$s %2$s %3$s Feed' ), ); diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 62960a6b0f85d..cbe68ebe48f7f 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -1301,7 +1301,7 @@ function get_post_status( $post = null ) { function get_post_statuses() { $status = array( 'draft' => __( 'Draft' ), - 'pending' => __( 'Pending Review' ), + 'pending' => __( 'Pending review' ), 'private' => __( 'Private' ), 'publish' => __( 'Published' ), ); diff --git a/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php b/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php index 1bf10327b2ffc..52ebcab8717a9 100644 --- a/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php +++ b/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php @@ -60,7 +60,7 @@ public function get_sitemap_stylesheet() { $lang = get_language_attributes( 'html' ); $url = esc_xml( __( 'URL' ) ); - $lastmod = esc_xml( __( 'Last Modified' ) ); + $lastmod = esc_xml( __( 'Last modified' ) ); $changefreq = esc_xml( __( 'Change Frequency' ) ); $priority = esc_xml( __( 'Priority' ) ); @@ -174,7 +174,7 @@ public function get_sitemap_index_stylesheet() { $lang = get_language_attributes( 'html' ); $url = esc_xml( __( 'URL' ) ); - $lastmod = esc_xml( __( 'Last Modified' ) ); + $lastmod = esc_xml( __( 'Last modified' ) ); $xsl_content = << diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 1e15b4b0ce6d2..e693bef715c66 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -4767,7 +4767,7 @@ function wp_user_request_action_description( $action_name ) { $description = __( 'Export Personal Data' ); break; case 'remove_personal_data': - $description = __( 'Erase Personal Data' ); + $description = __( 'Erase personal data' ); break; default: /* translators: %s: Action name. */ diff --git a/tests/phpunit/tests/admin/wpPluginsListTable.php b/tests/phpunit/tests/admin/wpPluginsListTable.php index af44861324267..3a29713bfb127 100644 --- a/tests/phpunit/tests/admin/wpPluginsListTable.php +++ b/tests/phpunit/tests/admin/wpPluginsListTable.php @@ -104,14 +104,14 @@ public function test_get_views_should_return_views_by_default() { $expected = array( 'all' => 'All (45)', 'active' => 'Active (1)', - 'recently_activated' => 'Recently Active (2)', + 'recently_activated' => 'Recently active (2)', 'inactive' => 'Inactive (3)', - 'mustuse' => 'Must-Use (4)', + 'mustuse' => 'Must-use (4)', 'dropins' => 'Drop-ins (5)', 'paused' => 'Paused (6)', - 'upgrade' => 'Update Available (7)', - 'auto-update-enabled' => 'Auto-updates Enabled (8)', - 'auto-update-disabled' => 'Auto-updates Disabled (9)', + 'upgrade' => 'Update available (7)', + 'auto-update-enabled' => 'Auto-updates enabled (8)', + 'auto-update-disabled' => 'Auto-updates disabled (9)', ); $actual = $this->table->get_views(); diff --git a/tests/phpunit/tests/general/feedLinksExtra.php b/tests/phpunit/tests/general/feedLinksExtra.php index 2711b338e10d5..b24437caac55a 100644 --- a/tests/phpunit/tests/general/feedLinksExtra.php +++ b/tests/phpunit/tests/general/feedLinksExtra.php @@ -369,11 +369,11 @@ public function data_feed_links_extra() { ), ), 'search results' => array( - 'title' => 'Test Blog » Search Results for “Search” Feed', + 'title' => 'Test Blog » Search results for “Search” Feed', 'type' => 'search', ), 'search results and a custom separator' => array( - 'title' => 'Test Blog // Search Results for “Search” Feed', + 'title' => 'Test Blog // Search results for “Search” Feed', 'type' => 'search', 'args' => array( 'separator' => '//', diff --git a/tests/phpunit/tests/general/wpGetDocumentTitle.php b/tests/phpunit/tests/general/wpGetDocumentTitle.php index b12990fd5c665..43161cb64bd3f 100644 --- a/tests/phpunit/tests/general/wpGetDocumentTitle.php +++ b/tests/phpunit/tests/general/wpGetDocumentTitle.php @@ -184,7 +184,7 @@ public function test_category_title() { public function test_search_title() { $this->go_to( '?s=test_title' ); - $this->assertSame( sprintf( 'Search Results for “test_title” – %s', $this->blog_name ), wp_get_document_title() ); + $this->assertSame( sprintf( 'Search results for “test_title” – %s', $this->blog_name ), wp_get_document_title() ); } public function test_author_title() { diff --git a/tests/phpunit/tests/multisite/wpMsThemesListTable.php b/tests/phpunit/tests/multisite/wpMsThemesListTable.php index d53cd0117a9ca..12d3a8b0898df 100644 --- a/tests/phpunit/tests/multisite/wpMsThemesListTable.php +++ b/tests/phpunit/tests/multisite/wpMsThemesListTable.php @@ -111,10 +111,10 @@ public function test_get_views_should_return_views_by_default() { 'all' => 'All (21)', 'enabled' => 'Enabled (1)', 'disabled' => 'Disabled (2)', - 'upgrade' => 'Update Available (3)', + 'upgrade' => 'Update available (3)', 'broken' => 'Broken (4)', - 'auto-update-enabled' => 'Auto-updates Enabled (5)', - 'auto-update-disabled' => 'Auto-updates Disabled (6)', + 'auto-update-enabled' => 'Auto-updates enabled (5)', + 'auto-update-disabled' => 'Auto-updates disabled (6)', ); $actual = $this->table->get_views(); diff --git a/tests/phpunit/tests/user/wpSendUserRequest.php b/tests/phpunit/tests/user/wpSendUserRequest.php index 11e3130f225a5..e459fdc25bf65 100644 --- a/tests/phpunit/tests/user/wpSendUserRequest.php +++ b/tests/phpunit/tests/user/wpSendUserRequest.php @@ -121,9 +121,9 @@ public function test_should_send_user_request_erase_email_when_requester_registe $this->assertTrue( $result ); $this->assertSame( self::$test_user->user_email, $mailer->get_recipient( 'to' )->address ); - $this->assertStringContainsString( 'Confirm Action: Erase Personal Data', $mailer->get_sent()->subject ); + $this->assertStringContainsString( 'Confirm Action: Erase personal data', $mailer->get_sent()->subject ); $this->assertStringContainsString( 'action=confirmaction&request_id=', $mailer->get_sent()->body ); - $this->assertStringContainsString( 'Erase Personal Data', $mailer->get_sent()->body ); + $this->assertStringContainsString( 'Erase personal data', $mailer->get_sent()->body ); } /** @@ -157,9 +157,9 @@ public function test_should_send_user_request_erase_email_when_user_not_register $this->assertTrue( $result ); $this->assertSame( self::$test_user->user_email, $mailer->get_recipient( 'to' )->address ); - $this->assertStringContainsString( 'Confirm Action: Erase Personal Data', $mailer->get_sent()->subject ); + $this->assertStringContainsString( 'Confirm Action: Erase personal data', $mailer->get_sent()->subject ); $this->assertStringContainsString( 'action=confirmaction&request_id=', $mailer->get_sent()->body ); - $this->assertStringContainsString( 'Erase Personal Data', $mailer->get_sent()->body ); + $this->assertStringContainsString( 'Erase personal data', $mailer->get_sent()->body ); } /**