WordPress.org

Make WordPress Core

Changeset 47152


Ignore:
Timestamp:
02/01/2020 08:27:28 PM (5 months ago)
Author:
SergeyBiryukov
Message:

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

Props Presskopp.
See #42735.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-comments.php

    r47122 r47152  
    271271        if ( $approved > 0 ) {
    272272            /* translators: %s: Number of comments. */
    273             $messages[] = sprintf( _n( '%s comment approved', '%s comments approved', $approved ), $approved );
     273            $messages[] = sprintf( _n( '%s comment approved.', '%s comments approved.', $approved ), $approved );
    274274        }
    275275
     
    282282        if ( $unspammed > 0 ) {
    283283            /* translators: %s: Number of comments. */
    284             $messages[] = sprintf( _n( '%s comment restored from the spam', '%s comments restored from the spam', $unspammed ), $unspammed );
     284            $messages[] = sprintf( _n( '%s comment restored from the spam.', '%s comments restored from the spam.', $unspammed ), $unspammed );
    285285        }
    286286
     
    293293        if ( $untrashed > 0 ) {
    294294            /* translators: %s: Number of comments. */
    295             $messages[] = sprintf( _n( '%s comment restored from the Trash', '%s comments restored from the Trash', $untrashed ), $untrashed );
     295            $messages[] = sprintf( _n( '%s comment restored from the Trash.', '%s comments restored from the Trash.', $untrashed ), $untrashed );
    296296        }
    297297
    298298        if ( $deleted > 0 ) {
    299299            /* translators: %s: Number of comments. */
    300             $messages[] = sprintf( _n( '%s comment permanently deleted', '%s comments permanently deleted', $deleted ), $deleted );
     300            $messages[] = sprintf( _n( '%s comment permanently deleted.', '%s comments permanently deleted.', $deleted ), $deleted );
    301301        }
    302302
Note: See TracChangeset for help on using the changeset viewer.