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/widgets/class-wp-widget-custom-html.php

    r45742 r45932  
    223223        $l10n = array(
    224224            'errorNotice' => array(
    225                 /* translators: %d: error count */
     225                /* translators: %d: Error count. */
    226226                'singular' => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 1 ),
    227                 /* translators: %d: error count */
     227                /* translators: %d: Error count. */
    228228                'plural'   => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 2 ), // @todo This is lacking, as some languages have a dedicated dual form. For proper handling of plurals in JS, see #20491.
    229229            ),
     
    305305            $content .= '<p>';
    306306            $content .= sprintf(
    307                 /* translators: 1: link to user profile, 2: additional link attributes, 3: accessibility text */
     307                /* translators: 1: Link to user profile, 2: Additional link attributes, 3: Accessibility text. */
    308308                __( 'The edit field automatically highlights code syntax. You can disable this in your <a href="%1$s" %2$s>user profile%3$s</a> to work in plain text mode.' ),
    309309                esc_url( get_edit_profile_url() ),
     
    311311                sprintf(
    312312                    '<span class="screen-reader-text"> %s</span>',
    313                     /* translators: accessibility text */
     313                    /* translators: Accessibility text. */
    314314                    __( '(opens in a new tab)' )
    315315                )
Note: See TracChangeset for help on using the changeset viewer.