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:
parent
f65bc1401a
commit
21548ad0de
|
@ -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 ) {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue