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/rest-api/endpoints/class-wp-rest-users-controller.php

    r45811 r45932  
    10841084
    10851085            if ( ! isset( $wp_roles->role_objects[ $role ] ) ) {
    1086                 /* translators: %s: role key */
     1086                /* translators: %s: Role key. */
    10871087                return new WP_Error( 'rest_user_invalid_role', sprintf( __( 'The role %s does not exist.' ), $role ), array( 'status' => 400 ) );
    10881088            }
     
    13201320            foreach ( $avatar_sizes as $size ) {
    13211321                $avatar_properties[ $size ] = array(
    1322                     /* translators: %d: avatar image size in pixels */
     1322                    /* translators: %d: Avatar image size in pixels. */
    13231323                    'description' => sprintf( __( 'Avatar URL with image size of %d pixels.' ), $size ),
    13241324                    'type'        => 'string',
Note: See TracChangeset for help on using the changeset viewer.