Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (7 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/widgets/class-wp-widget-media-image.php

    r45777 r45932  
    4141                                'edit_media'                 => _x( 'Edit Image', 'label for button in the image widget; should preferably not be longer than ~13 characters long' ),
    4242                                'missing_attachment'         => sprintf(
    43                                         /* translators: %s: URL to media library */
     43                                        /* translators: %s: URL to media library. */
    4444                                        __( 'We can&#8217;t find that image. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ),
    4545                                        esc_url( admin_url( 'upload.php' ) )
    4646                                ),
    47                                 /* translators: %d: widget count */
     47                                /* translators: %d: Widget count. */
    4848                                'media_library_state_multi'  => _n_noop( 'Image Widget (%d)', 'Image Widget (%d)' ),
    4949                                'media_library_state_single' => __( 'Image Widget' ),
    … …  
    356356                                                echo esc_attr(
    357357                                                        sprintf(
    358                                                                 /* translators: %s: the image file name. */
     358                                                                /* translators: %s: The image file name. */
    359359                                                                __( 'The current image has no alternative text. The file name is: %s' ),
    360360                                                                '{{ data.currentFilename }}'
Note: See TracChangeset for help on using the changeset viewer.