WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (7 weeks ago)
Author:
SergeyBiryukov
Message:

I18N: Capitalize translator comments consistently, add trailing punctuation.

Includes minor code layout fixes.

See #44360.

File:
1 edited

Legend:

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

    r45674 r45932  
    9999            <?php
    100100            printf(
    101                 /* translators: %s: list view URL */
     101                /* translators: %s: List view URL. */
    102102                __( 'The grid view for the Media Library requires JavaScript. <a href="%s">Switch to the list view</a>.' ),
    103103                'upload.php?mode=list'
     
    274274
    275275if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
    276     /* translators: %s: search keywords */
     276    /* translators: %s: Search query. */
    277277    printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', get_search_query() );
    278278}
     
    293293        $message = __( 'Media file attached.' );
    294294    } else {
    295         /* translators: %s: number of media files */
     295        /* translators: %s: Number of media files. */
    296296        $message = _n( '%s media file attached.', '%s media files attached.', $attached );
    297297    }
     
    305305        $message = __( 'Media file detached.' );
    306306    } else {
    307         /* translators: %s: number of media files */
     307        /* translators: %s: Number of media files. */
    308308        $message = _n( '%s media file detached.', '%s media files detached.', $detached );
    309309    }
     
    317317        $message = __( 'Media file permanently deleted.' );
    318318    } else {
    319         /* translators: %s: number of media files */
     319        /* translators: %s: Number of media files. */
    320320        $message = _n( '%s media file permanently deleted.', '%s media files permanently deleted.', $deleted );
    321321    }
     
    329329        $message = __( 'Media file moved to the trash.' );
    330330    } else {
    331         /* translators: %s: number of media files */
     331        /* translators: %s: Number of media files. */
    332332        $message = _n( '%s media file moved to the trash.', '%s media files moved to the trash.', $trashed );
    333333    }
     
    342342        $message = __( 'Media file restored from the trash.' );
    343343    } else {
    344         /* translators: %s: number of media files */
     344        /* translators: %s: Number of media files. */
    345345        $message = _n( '%s media file restored from the trash.', '%s media files restored from the trash.', $untrashed );
    346346    }
Note: See TracChangeset for help on using the changeset viewer.