Text Changes: Add missing periods to comment status update notices, for consistency.

Props Presskopp.
See #42735.
Built from https://develop.svn.wordpress.org/trunk@47152


git-svn-id: http://core.svn.wordpress.org/trunk@46952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-02-01 20:29:05 +00:00
parent f65bc1401a
commit 21548ad0de
2 changed files with 5 additions and 5 deletions

View File

@ -270,7 +270,7 @@ if ( isset( $_REQUEST['approved'] ) || isset( $_REQUEST['deleted'] ) || isset( $
if ( $approved > 0 || $deleted > 0 || $trashed > 0 || $untrashed > 0 || $spammed > 0 || $unspammed > 0 || $same > 0 ) {
if ( $approved > 0 ) {
/* translators: %s: Number of comments. */
$messages[] = sprintf( _n( '%s comment approved', '%s comments approved', $approved ), $approved );
$messages[] = sprintf( _n( '%s comment approved.', '%s comments approved.', $approved ), $approved );
}
if ( $spammed > 0 ) {
@ -281,7 +281,7 @@ if ( isset( $_REQUEST['approved'] ) || isset( $_REQUEST['deleted'] ) || isset( $
if ( $unspammed > 0 ) {
/* translators: %s: Number of comments. */
$messages[] = sprintf( _n( '%s comment restored from the spam', '%s comments restored from the spam', $unspammed ), $unspammed );
$messages[] = sprintf( _n( '%s comment restored from the spam.', '%s comments restored from the spam.', $unspammed ), $unspammed );
}
if ( $trashed > 0 ) {
@ -292,12 +292,12 @@ if ( isset( $_REQUEST['approved'] ) || isset( $_REQUEST['deleted'] ) || isset( $
if ( $untrashed > 0 ) {
/* translators: %s: Number of comments. */
$messages[] = sprintf( _n( '%s comment restored from the Trash', '%s comments restored from the Trash', $untrashed ), $untrashed );
$messages[] = sprintf( _n( '%s comment restored from the Trash.', '%s comments restored from the Trash.', $untrashed ), $untrashed );
}
if ( $deleted > 0 ) {
/* translators: %s: Number of comments. */
$messages[] = sprintf( _n( '%s comment permanently deleted', '%s comments permanently deleted', $deleted ), $deleted );
$messages[] = sprintf( _n( '%s comment permanently deleted.', '%s comments permanently deleted.', $deleted ), $deleted );
}
if ( $same > 0 ) {

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-alpha-47151';
$wp_version = '5.4-alpha-47152';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.