WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (7 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/customize/class-wp-customize-nav-menu-item-control.php

    r44772 r45932  
    7272                    <button type="button" class="button-link item-edit" aria-expanded="false"><span class="screen-reader-text">
    7373                    <?php
    74                         /* translators: 1: Title of a menu item, 2: Type of a menu item */
     74                        /* translators: 1: Title of a menu item, 2: Type of a menu item. */
    7575                        printf( __( 'Edit menu item: %1$s (%2$s)' ), '{{ data.title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}' );
    7676                    ?>
     
    7878                    <button type="button" class="button-link item-delete submitdelete deletion"><span class="screen-reader-text">
    7979                    <?php
    80                         /* translators: 1: Title of a menu item, 2: Type of a menu item */
     80                        /* translators: 1: Title of a menu item, 2: Type of a menu item. */
    8181                        printf( __( 'Remove Menu Item: %1$s (%2$s)' ), '{{ data.title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}' );
    8282                    ?>
     
    137137                <p class="link-to-original">
    138138                    <?php
    139                         /* translators: Nav menu item original title. %s: Original title */
     139                        /* translators: Nav menu item original title. %s: Original title. */
    140140                        printf( __( 'Original: %s' ), '<a class="original-link" href="{{ data.url }}">{{ data.original_title }}</a>' );
    141141                    ?>
Note: See TracChangeset for help on using the changeset viewer.