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/nav-menu.php

    r45926 r45932  
    329329            'menu_exists',
    330330            sprintf(
    331                 /* translators: %s: menu name */
     331                /* translators: %s: Menu name. */
    332332                __( 'The menu name %s conflicts with another menu name. Please try another.' ),
    333333                '<strong>' . esc_html( $menu_data['menu-name'] ) . '</strong>'
     
    344344                'menu_exists',
    345345                sprintf(
    346                     /* translators: %s: menu name */
     346                    /* translators: %s: Menu name. */
    347347                    __( 'The menu name %s conflicts with another menu name. Please try another.' ),
    348348                    '<strong>' . esc_html( $menu_data['menu-name'] ) . '</strong>'
     
    833833
    834834                if ( '' === $original_title ) {
    835                     /* translators: %d: ID of a post */
     835                    /* translators: %d: ID of a post. */
    836836                    $original_title = sprintf( __( '#%d (no title)' ), $menu_item->object_id );
    837837                }
     
    875875
    876876                if ( '' === $original_title ) {
    877                     /* translators: %d: ID of a term */
     877                    /* translators: %d: ID of a term. */
    878878                    $original_title = sprintf( __( '#%d (no title)' ), $menu_item->object_id );
    879879                }
     
    922922
    923923            if ( '' === $menu_item->post_title ) {
    924                 /* translators: %d: ID of a post */
     924                /* translators: %d: ID of a post. */
    925925                $menu_item->post_title = sprintf( __( '#%d (no title)' ), $menu_item->ID );
    926926            }
Note: See TracChangeset for help on using the changeset viewer.