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/widgets/class-wp-widget-media-video.php

    r45306 r45932  
    4141                'edit_media'                 => _x( 'Edit Video', 'label for button in the video 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 video. 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( 'Video Widget (%d)', 'Video Widget (%d)' ),
    4949                'media_library_state_single' => __( 'Video Widget' ),
    50                 /* translators: %s: a list of valid video file extensions */
     50                /* translators: %s: A list of valid video file extensions. */
    5151                'unsupported_file_type'      => sprintf( __( 'Sorry, we can&#8217;t load the video at the supplied URL. Please check that the URL is for a supported video file (%s) or stream (e.g. YouTube and Vimeo).' ), '<code>.' . implode( '</code>, <code>.', wp_get_video_extensions() ) . '</code>' ),
    5252            )
     
    9494                'default'     => '',
    9595                'format'      => 'uri',
    96                 /* translators: %s: video extension */
     96                /* translators: %s: Video extension. */
    9797                'description' => sprintf( __( 'URL to the %s video source file' ), $video_extension ),
    9898            );
Note: See TracChangeset for help on using the changeset viewer.