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-includes/class-wp-block-type-registry.php

    r44108 r45932  
    7474
    7575        if ( $this->is_registered( $name ) ) {
    76             /* translators: %s: block name */
     76            /* translators: %s: Block name. */
    7777            $message = sprintf( __( 'Block type "%s" is already registered.' ), $name );
    7878            _doing_it_wrong( __METHOD__, $message, '5.0.0' );
     
    104104
    105105        if ( ! $this->is_registered( $name ) ) {
    106             /* translators: %s: block name */
     106            /* translators: %s: Block name. */
    107107            $message = sprintf( __( 'Block type "%s" is not registered.' ), $name );
    108108            _doing_it_wrong( __METHOD__, $message, '5.0.0' );
Note: See TracChangeset for help on using the changeset viewer.