Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (5 years 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/taxonomy.php

    r45915 r45932  
    564564        'items_list_navigation'      => array( __( 'Tags list navigation' ), __( 'Categories list navigation' ) ),
    565565        'items_list'                 => array( __( 'Tags list' ), __( 'Categories list' ) ),
    566         /* translators: Tab heading when selecting from the most used terms */
     566        /* translators: Tab heading when selecting from the most used terms. */
    567567        'most_used'                  => array( _x( 'Most Used', 'tags' ), _x( 'Most Used', 'categories' ) ),
    568568        'back_to_items'              => array( __( '← Back to Tags' ), __( '← Back to Categories' ) ),
     
    29182918            $slug = wp_unique_term_slug( $slug, (object) $args );
    29192919        } else {
    2920             /* translators: %s: taxonomy term slug */
     2920            /* translators: %s: Taxonomy term slug. */
    29212921            return new WP_Error( 'duplicate_term_slug', sprintf( __( 'The slug “%s” is already in use by another term.' ), $slug ) );
    29222922        }
     
    43324332        $args,
    43334333        array(
    4334             /* translators: %s: taxonomy label, %l: list of terms formatted as per $term_template */
     4334            /* translators: %s: Taxonomy label, %l: List of terms formatted as per $term_template. */
    43354335            'template'      => __( '%s: %l.' ),
    43364336            'term_template' => '<a href="%1$s">%2$s</a>',
Note: See TracChangeset for help on using the changeset viewer.