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/includes/class-wp-terms-list-table.php

    r45926 r45932  
    360360                '<input type="checkbox" name="delete_tags[]" value="%1$s" id="cb-select-%1$s" />',
    361361                $tag->term_id,
    362                 /* translators: %s: term name */
     362                /* translators: %s: Taxonomy term name. */
    363363                sprintf( __( 'Select %s' ), $tag->name )
    364364            );
     
    407407                '<a class="row-title" href="%s" aria-label="%s">%s</a>',
    408408                esc_url( $edit_link ),
    409                 /* translators: %s: taxonomy term name */
     409                /* translators: %s: Taxonomy term name. */
    410410                esc_attr( sprintf( __( '&#8220;%s&#8221; (Edit)' ), $tag->name ) ),
    411411                $name
     
    469469                '<a href="%s" aria-label="%s">%s</a>',
    470470                esc_url( $edit_link ),
    471                 /* translators: %s: taxonomy term name */
     471                /* translators: %s: Taxonomy term name. */
    472472                esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $tag->name ) ),
    473473                __( 'Edit' )
     
    475475            $actions['inline hide-if-no-js'] = sprintf(
    476476                '<button type="button" class="button-link editinline" aria-label="%s" aria-expanded="false">%s</button>',
    477                 /* translators: %s: taxonomy term name */
     477                /* translators: %s: Taxonomy term name. */
    478478                esc_attr( sprintf( __( 'Quick edit &#8220;%s&#8221; inline' ), $tag->name ) ),
    479479                __( 'Quick&nbsp;Edit' )
     
    484484                '<a href="%s" class="delete-tag aria-button-if-js" aria-label="%s">%s</a>',
    485485                wp_nonce_url( "edit-tags.php?action=delete&amp;taxonomy=$taxonomy&amp;tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ),
    486                 /* translators: %s: taxonomy term name */
     486                /* translators: %s: Taxonomy term name. */
    487487                esc_attr( sprintf( __( 'Delete &#8220;%s&#8221;' ), $tag->name ) ),
    488488                __( 'Delete' )
     
    493493                '<a href="%s" aria-label="%s">%s</a>',
    494494                get_term_link( $tag ),
    495                 /* translators: %s: taxonomy term name */
     495                /* translators: %s: Taxonomy term name. */
    496496                esc_attr( sprintf( __( 'View &#8220;%s&#8221; archive' ), $tag->name ) ),
    497497                __( 'View' )
Note: See TracChangeset for help on using the changeset viewer.