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-admin/includes/file.php

    r45926 r45932  
    8888        $template_data = implode( '', file( $file_path ) );
    8989        if ( preg_match( '|Template Name:(.*)$|mi', $template_data, $name ) ) {
    90             /* translators: %s: template name */
     90            /* translators: %s: Template name. */
    9191            return sprintf( __( '%s Page Template' ), _cleanup_header_comment( $name[1] ) );
    9292        }
     
    303303                    <?php
    304304                    printf(
    305                         /* translators: 1: line number, 2: file path */
     305                        /* translators: 1: Line number, 2: File path. */
    306306                        __( 'Your PHP code changes were rolled back due to an error on line %1$s of file %2$s. Please fix and try saving again.' ),
    307307                        '{{ data.line }}',
     
    315315                    <?php
    316316                    printf(
    317                         /* translators: %s: Documentation URL */
     317                        /* translators: %s: Documentation URL. */
    318318                        __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
    319319                        __( 'https://wordpress.org/support/article/changing-file-permissions/' )
     
    876876                $file,
    877877                sprintf(
    878                     /* translators: %s: destination file path */
     878                    /* translators: %s: Destination file path. */
    879879                    __( 'The uploaded file could not be moved to %s.' ),
    880880                    $error_path
     
    11661166        'md5_mismatch',
    11671167        sprintf(
    1168             /* translators: 1: file checksum, 2: expected checksum value */
     1168            /* translators: 1: File checksum, 2: Expected checksum value. */
    11691169            __( 'The checksum of the file (%1$s) does not match the expected checksum value (%2$s).' ),
    11701170            bin2hex( $file_md5 ),
Note: See TracChangeset for help on using the changeset viewer.