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 @@