WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (6 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-includes/post.php

    r45926 r45932  
    313313            'public'      => true,
    314314            '_builtin'    => true, /* internal use only. */
    315             /* translators: %s: number of published posts */
     315            /* translators: %s: Number of published posts. */
    316316            'label_count' => _n_noop(
    317317                'Published <span class="count">(%s)</span>',
     
    327327            'protected'   => true,
    328328            '_builtin'    => true, /* internal use only. */
    329             /* translators: %s: number of scheduled posts */
     329            /* translators: %s: Number of scheduled posts. */
    330330            'label_count' => _n_noop(
    331331                'Scheduled <span class="count">(%s)</span>',
     
    341341            'protected'   => true,
    342342            '_builtin'    => true, /* internal use only. */
    343             /* translators: %s: number of draft posts */
     343            /* translators: %s: Number of draft posts. */
    344344            'label_count' => _n_noop(
    345345                'Draft <span class="count">(%s)</span>',
     
    355355            'protected'   => true,
    356356            '_builtin'    => true, /* internal use only. */
    357             /* translators: %s: number of pending posts */
     357            /* translators: %s: Number of pending posts. */
    358358            'label_count' => _n_noop(
    359359                'Pending <span class="count">(%s)</span>',
     
    369369            'private'     => true,
    370370            '_builtin'    => true, /* internal use only. */
    371             /* translators: %s: number of private posts */
     371            /* translators: %s: Number of private posts. */
    372372            'label_count' => _n_noop(
    373373                'Private <span class="count">(%s)</span>',
     
    383383            'internal'                  => true,
    384384            '_builtin'                  => true, /* internal use only. */
    385             /* translators: %s: number of trashed posts */
     385            /* translators: %s: Number of trashed posts. */
    386386            'label_count'               => _n_noop(
    387387                'Trash <span class="count">(%s)</span>',
     
    417417            'internal'            => true,
    418418            '_builtin'            => true, /* internal use only. */
    419             /* translators: %s: number of pending requests */
     419            /* translators: %s: Number of pending requests. */
    420420            'label_count'         => _n_noop(
    421421                'Pending <span class="count">(%s)</span>',
     
    432432            'internal'            => true,
    433433            '_builtin'            => true, /* internal use only. */
    434             /* translators: %s: number of confirmed requests */
     434            /* translators: %s: Number of confirmed requests. */
    435435            'label_count'         => _n_noop(
    436436                'Confirmed <span class="count">(%s)</span>',
     
    447447            'internal'            => true,
    448448            '_builtin'            => true, /* internal use only. */
    449             /* translators: %s: number of failed requests */
     449            /* translators: %s: Number of failed requests. */
    450450            'label_count'         => _n_noop(
    451451                'Failed <span class="count">(%s)</span>',
     
    462462            'internal'            => true,
    463463            '_builtin'            => true, /* internal use only. */
    464             /* translators: %s: number of completed requests */
     464            /* translators: %s: Number of completed requests. */
    465465            'label_count'         => _n_noop(
    466466                'Completed <span class="count">(%s)</span>',
     
    26912691            __( 'Images' ),
    26922692            __( 'Manage Images' ),
    2693             /* translators: %s: number of images */
     2693            /* translators: %s: Number of images. */
    26942694            _n_noop(
    26952695                'Image <span class="count">(%s)</span>',
     
    27002700            __( 'Audio' ),
    27012701            __( 'Manage Audio' ),
    2702             /* translators: %s: number of audio files */
     2702            /* translators: %s: Number of audio files. */
    27032703            _n_noop(
    27042704                'Audio <span class="count">(%s)</span>',
     
    27092709            __( 'Video' ),
    27102710            __( 'Manage Video' ),
    2711             /* translators: %s: number of video files */
     2711            /* translators: %s: Number of video files. */
    27122712            _n_noop(
    27132713                'Video <span class="count">(%s)</span>',
     
    27182718            __( 'Documents' ),
    27192719            __( 'Manage Documents' ),
    2720             /* translators: %s: number of documents */
     2720            /* translators: %s: Number of documents. */
    27212721            _n_noop(
    27222722                'Document <span class="count">(%s)</span>',
     
    27272727            __( 'Spreadsheets' ),
    27282728            __( 'Manage Spreadsheets' ),
    2729             /* translators: %s: number of spreadsheets */
     2729            /* translators: %s: Number of spreadsheets. */
    27302730            _n_noop(
    27312731                'Spreadsheet <span class="count">(%s)</span>',
     
    27362736            __( 'Archives' ),
    27372737            __( 'Manage Archives' ),
    2738             /* translators: %s: number of archives */
     2738            /* translators: %s: Number of archives. */
    27392739            _n_noop(
    27402740                'Archive <span class="count">(%s)</span>',
     
    39213921            $taxonomy_obj = get_taxonomy( $taxonomy );
    39223922            if ( ! $taxonomy_obj ) {
    3923                 /* translators: %s: taxonomy name */
     3923                /* translators: %s: Taxonomy name. */
    39243924                _doing_it_wrong( __FUNCTION__, sprintf( __( 'Invalid taxonomy: %s.' ), $taxonomy ), '4.4.0' );
    39253925                continue;
Note: See TracChangeset for help on using the changeset viewer.