WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (3 months 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/edit-tags.php

    r45926 r45932  
    244244    if ( 'category' == $taxonomy ) {
    245245        $help = '<p>' . sprintf(
    246             /* translators: %s: URL to Writing Settings screen */
     246            /* translators: %s: URL to Writing Settings screen. */
    247247            __( 'You can use categories to define sections of your site and group related posts. The default category is &#8220;Uncategorized&#8221; until you change it in your <a href="%s">writing settings</a>.' ),
    248248            'options-writing.php'
     
    336336<?php
    337337if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
    338     /* translators: %s: search keywords */
     338    /* translators: %s: Search query. */
    339339    printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( wp_unslash( $_REQUEST['s'] ) ) );
    340340}
     
    592592    <?php
    593593    printf(
    594         /* translators: %s: default category */
     594        /* translators: %s: Default category. */
    595595        __( 'Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the default category %s. The default category cannot be deleted.' ),
    596596        /** This filter is documented in wp-includes/category-template.php */
     
    603603        <?php
    604604        printf(
    605             /* translators: %s: URL to Categories to Tags Converter tool */
     605            /* translators: %s: URL to Categories to Tags Converter tool. */
    606606            __( 'Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.' ),
    607607            esc_url( $import_link )
     
    616616    <?php
    617617    printf(
    618         /* translators: %s: URL to Categories to Tags Converter tool */
     618        /* translators: %s: URL to Categories to Tags Converter tool. */
    619619        __( 'Tags can be selectively converted to categories using the <a href="%s">tag to category converter</a>.' ),
    620620        esc_url( $import_link )
Note: See TracChangeset for help on using the changeset viewer.