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-admin/includes/class-wp-community-events.php

    r45886 r45932  
    114114            $response_error = new WP_Error(
    115115                'api-error',
    116                 /* translators: %d: numeric HTTP status code, e.g. 400, 403, 500, 504, etc. */
     116                /* translators: %d: Numeric HTTP status code, e.g. 400, 403, 500, 504, etc. */
    117117                sprintf( __( 'Invalid API response code (%d)' ), $response_code )
    118118            );
     
    376376                 * are available, without having to open the link.
    377377                 */
    378                 /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://secure.php.net/date. */
     378                /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://secure.php.net/date */
    379379                $response_body['events'][ $key ]['formatted_date'] = date_i18n( __( 'l, M j, Y' ), $timestamp );
    380380                $response_body['events'][ $key ]['formatted_time'] = date_i18n( get_option( 'time_format' ), $timestamp );
Note: See TracChangeset for help on using the changeset viewer.