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-includes/rest-api/class-wp-rest-request.php

    r45926 r45932  
    806806            return new WP_Error(
    807807                'rest_invalid_param',
    808                 /* translators: %s: list of invalid parameters */
     808                /* translators: %s: List of invalid parameters. */
    809809                sprintf( __( 'Invalid parameter(s): %s' ), implode( ', ', array_keys( $invalid_params ) ) ),
    810810                array(
     
    852852            return new WP_Error(
    853853                'rest_missing_callback_param',
    854                 /* translators: %s: list of required parameters */
     854                /* translators: %s: List of required parameters. */
    855855                sprintf( __( 'Missing parameter(s): %s' ), implode( ', ', $required ) ),
    856856                array(
     
    888888            return new WP_Error(
    889889                'rest_invalid_param',
    890                 /* translators: %s: list of invalid parameters */
     890                /* translators: %s: List of invalid parameters. */
    891891                sprintf( __( 'Invalid parameter(s): %s' ), implode( ', ', array_keys( $invalid_params ) ) ),
    892892                array(
Note: See TracChangeset for help on using the changeset viewer.