WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (6 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-admin/includes/class-wp-site-health.php

    r45904 r45932  
    205205
    206206            $result['label'] = sprintf(
    207                 // translators: %s: Your current version of WordPress.
     207                /* translators: %s: Your current version of WordPress. */
    208208                __( 'WordPress version %s' ),
    209209                $core_current_version
     
    230230
    231231                    $result['label'] = sprintf(
    232                         // translators: %s: The latest version of WordPress available.
     232                        /* translators: %s: The latest version of WordPress available. */
    233233                        __( 'WordPress update available (%s)' ),
    234234                        $update->version
     
    260260                    $result['status'] = 'good';
    261261                    $result['label']  = sprintf(
    262                         // translators: %s: The current version of WordPress installed on this site.
     262                        /* translators: %s: The current version of WordPress installed on this site. */
    263263                        __( 'Your WordPress version is up to date (%s)' ),
    264264                        $core_current_version
     
    654654        $result = array(
    655655            'label'       => sprintf(
    656                 // translators: %s: The current PHP version.
     656                /* translators: %s: The current PHP version. */
    657657                __( 'PHP is up to date (%s)' ),
    658658                PHP_VERSION
     
    671671                esc_url( wp_get_update_php_url() ),
    672672                __( 'Learn more about updating PHP' ),
    673                 /* translators: accessibility text */
     673                /* translators: Accessibility text. */
    674674                __( '(opens in a new tab)' )
    675675            ),
     
    763763                    sprintf(
    764764                        ' <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span>',
    765                         /* translators: accessibility text */
     765                        /* translators: Accessibility text. */
    766766                        __( '(opens in a new tab)' )
    767767                    )
     
    963963                esc_url( __( 'https://wordpress.org/about/requirements/' ) ),
    964964                __( 'Learn more about what WordPress requires to run.' ),
    965                 /* translators: accessibility text */
     965                /* translators: Accessibility text. */
    966966                __( '(opens in a new tab)' )
    967967            ),
     
    11961196                esc_url( __( 'https://wordpress.org/support' ) ),
    11971197                __( 'Get help resolving this issue.' ),
    1198                 /* translators: accessibility text */
     1198                /* translators: Accessibility text. */
    11991199                __( '(opens in a new tab)' )
    12001200            );
     
    12341234                esc_url( __( 'https://wordpress.org/support/article/debugging-in-wordpress/' ) ),
    12351235                __( 'Learn more about debugging in WordPress.' ),
    1236                 /* translators: accessibility text */
     1236                /* translators: Accessibility text. */
    12371237                __( '(opens in a new tab)' )
    12381238            ),
     
    13031303                esc_url( __( 'https://wordpress.org/support/article/why-should-i-use-https/' ) ),
    13041304                __( 'Learn more about why you should use HTTPS' ),
    1305                 /* translators: accessibility text */
     1305                /* translators: Accessibility text. */
    13061306                __( '(opens in a new tab)' )
    13071307            ),
     
    13211321                    '<p>%s</p>',
    13221322                    sprintf(
    1323                         /* translators: %s: URL to Settings > General to change options. */
     1323                        /* translators: %s: URL to General Settings screen. */
    13241324                        __( 'You are accessing this website using HTTPS, but your <a href="%s">WordPress Address</a> is not set up to use HTTPS by default.' ),
    13251325                        esc_url( admin_url( 'options-general.php' ) )
     
    17391739                    '<p>%s</p>',
    17401740                    sprintf(
    1741                         /* translators: %s: the name of the query parameter being tested. */
     1741                        /* translators: %s: The name of the query parameter being tested. */
    17421742                        __( 'The REST API did not process the %s query parameter correctly.' ),
    17431743                        '<code>context</code>'
     
    20182018                    __( 'The loopback request to your site failed, this means features relying on them are not currently working as expected.' ),
    20192019                    sprintf(
    2020                         // translators: 1: The HTTP response code. 2: The error message returned.
     2020                        /* translators: 1: The HTTP response code. 2: The error message returned. */
    20212021                        __( 'Error: [%1$s] %2$s' ),
    20222022                        wp_remote_retrieve_response_code( $r ),
     
    20312031                'status'  => 'recommended',
    20322032                'message' => sprintf(
    2033                     // translators: %d: The HTTP response code returned.
     2033                    /* translators: %d: The HTTP response code returned. */
    20342034                    __( 'The loopback request returned an unexpected http status code, %d, it was not possible to determine if this will prevent features from working as expected.' ),
    20352035                    wp_remote_retrieve_response_code( $r )
Note: See TracChangeset for help on using the changeset viewer.