Make WordPress Core


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

    r45644 r45932  
    733733                        $some_non_rendered_areas_messages[ $non_rendered_count ] = html_entity_decode(
    734734                                sprintf(
    735                                         /* translators: %s: the number of other widget areas registered but not rendered */
     735                                        /* translators: %s: The number of other widget areas registered but not rendered. */
    736736                                        _n(
    737737                                                'Your theme has %s other widget area, but this particular page doesn’t display it.',
    … …  
    757757                        $no_areas_shown_message = html_entity_decode(
    758758                                sprintf(
    759                                         /* translators: %s: the total number of widget areas registered */
     759                                        /* translators: %s: The total number of widget areas registered. */
    760760                                        _n(
    761761                                                'Your theme has %s widget area, but this particular page doesn’t display it.',
    … …  
    788788                                'reorderModeOff'   => __( 'Reorder mode closed' ),
    789789                                'reorderLabelOn'   => esc_attr__( 'Reorder widgets' ),
    790                                 /* translators: %d: the number of widgets found */
     790                                /* translators: %d: The number of widgets found. */
    791791                                'widgetsFound'     => __( 'Number of widgets found: %d' ),
    792792                                'noWidgetsFound'   => __( 'No widgets found.' ),
    … …  
    826826                                        <span class="customize-action">
    827827                                        <?php
    828                                                 /* translators: &#9656; is the unicode right-pointing triangle, and %s is the section title in the Customizer */
     828                                                /* translators: &#9656; is the unicode right-pointing triangle. %s: Section title in the Customizer. */
    829829                                                echo sprintf( __( 'Customizing &#9656; %s' ), esc_html( $this->manager->get_panel( 'widgets' )->title ) );
    830830                                        ?>
Note: See TracChangeset for help on using the changeset viewer.