Make WordPress Core

Changeset 53136


Ignore:
Timestamp:
04/11/2022 12:06:15 PM (2 years ago)
Author:
audrasjb
Message:

Administration: Replace "can not" with "cannot" after [53131].

Follow-up to [53132], [53131], [52979].

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-media-audio.php

    r53131 r53136  
    4242                'missing_attachment'         => sprintf(
    4343                    /* translators: %s: URL to media library. */
    44                     __( 'That audio file can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
     44                    __( 'That audio file cannot be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
    4545                    esc_url( admin_url( 'upload.php' ) )
    4646                ),
  • trunk/src/wp-includes/widgets/class-wp-widget-media-image.php

    r53131 r53136  
    4242                'missing_attachment'         => sprintf(
    4343                    /* translators: %s: URL to media library. */
    44                     __( 'That image can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
     44                    __( 'That image cannot be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
    4545                    esc_url( admin_url( 'upload.php' ) )
    4646                ),
  • trunk/src/wp-includes/widgets/class-wp-widget-media-video.php

    r53131 r53136  
    4242                'missing_attachment'         => sprintf(
    4343                    /* translators: %s: URL to media library. */
    44                     __( 'That video can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
     44                    __( 'That video cannot be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
    4545                    esc_url( admin_url( 'upload.php' ) )
    4646                ),
     
    4949                'media_library_state_single' => __( 'Video Widget' ),
    5050                /* translators: %s: A list of valid video file extensions. */
    51                 'unsupported_file_type'      => sprintf( __( 'Sorry, the video at the supplied URL can not be loaded. 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>' ),
     51                'unsupported_file_type'      => sprintf( __( 'Sorry, the video at the supplied URL cannot be loaded. 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            )
    5353        );
  • trunk/src/wp-includes/widgets/class-wp-widget-media.php

    r53131 r53136  
    7575            'missing_attachment'         => sprintf(
    7676                /* translators: %s: URL to media library. */
    77                 __( 'That file can not be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
     77                __( 'That file cannot be found. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
    7878                esc_url( admin_url( 'upload.php' ) )
    7979            ),
  • trunk/tests/qunit/index.html

    r53131 r53136  
    122122
    123123            wp.mediaWidgets.controlConstructors[ "media_image" ].prototype.mime_type = "image";
    124             _.extend( wp.mediaWidgets.controlConstructors[ "media_image" ].prototype.l10n, {"no_media_selected":"No image selected","select_media":"Select Image","change_media":"Change Image","edit_media":"Edit Image","add_to_widget":"Add to Widget","missing_attachment":"That image can not be found. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Image Widget (%d)","1":"Image Widget (%d)","singular":"Image Widget (%d)","plural":"Image Widget (%d)","context":null,"domain":null},"media_library_state_single":"Image Widget"} );
     124            _.extend( wp.mediaWidgets.controlConstructors[ "media_image" ].prototype.l10n, {"no_media_selected":"No image selected","select_media":"Select Image","change_media":"Change Image","edit_media":"Edit Image","add_to_widget":"Add to Widget","missing_attachment":"That image cannot be found. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Image Widget (%d)","1":"Image Widget (%d)","singular":"Image Widget (%d)","plural":"Image Widget (%d)","context":null,"domain":null},"media_library_state_single":"Image Widget"} );
    125125        </script>
    126126        <script src="../../build/wp-admin/js/widgets/media-video-widget.js"></script>
     
    129129
    130130            wp.mediaWidgets.controlConstructors[ "media_video" ].prototype.mime_type = "video";
    131             _.extend( wp.mediaWidgets.controlConstructors[ "media_video" ].prototype.l10n, {"no_media_selected":"No video selected","select_media":"Select Video","change_media":"Change Video","edit_media":"Edit Video","add_to_widget":"Add to Widget","missing_attachment":"That video can not be found. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Video Widget (%d)","1":"Video Widget (%d)","singular":"Video Widget (%d)","plural":"Video Widget (%d)","context":null,"domain":null},"media_library_state_single":"Video Widget"} );
     131            _.extend( wp.mediaWidgets.controlConstructors[ "media_video" ].prototype.l10n, {"no_media_selected":"No video selected","select_media":"Select Video","change_media":"Change Video","edit_media":"Edit Video","add_to_widget":"Add to Widget","missing_attachment":"That video cannot be found. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Video Widget (%d)","1":"Video Widget (%d)","singular":"Video Widget (%d)","plural":"Video Widget (%d)","context":null,"domain":null},"media_library_state_single":"Video Widget"} );
    132132        </script>
    133133        <script src="../../build/wp-admin/js/widgets/media-audio-widget.js"></script>
     
    136136
    137137            wp.mediaWidgets.controlConstructors[ "media_audio" ].prototype.mime_type = "audio";
    138             _.extend( wp.mediaWidgets.controlConstructors[ "media_audio" ].prototype.l10n, {"no_media_selected":"No audio selected","select_media":"Select File","change_media":"Change Audio","edit_media":"Edit Audio","add_to_widget":"Add to Widget","missing_attachment":"That audio file can not be found. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Audio Widget (%d)","1":"Audio Widget (%d)","singular":"Audio Widget (%d)","plural":"Audio Widget (%d)","context":null,"domain":null},"media_library_state_single":"Audio Widget"} );
     138            _.extend( wp.mediaWidgets.controlConstructors[ "media_audio" ].prototype.l10n, {"no_media_selected":"No audio selected","select_media":"Select File","change_media":"Change Audio","edit_media":"Edit Audio","add_to_widget":"Add to Widget","missing_attachment":"That audio file cannot be found. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Audio Widget (%d)","1":"Audio Widget (%d)","singular":"Audio Widget (%d)","plural":"Audio Widget (%d)","context":null,"domain":null},"media_library_state_single":"Audio Widget"} );
    139139        </script>
    140140        <script type='text/javascript' src='../../build/wp-admin/js/widgets/media-gallery-widget.js'></script>
     
    636636            <# if ( data.error && 'missing_attachment' === data.error ) { #>
    637637                <div class="notice notice-error notice-alt notice-missing-attachment">
    638                     <p>That image can not be found. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>
     638                    <p>That image cannot be found. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>
    639639                </div>
    640640            <# } else if ( data.error ) { #>
     
    677677            <# if ( data.error && 'missing_attachment' === data.error ) { #>
    678678                <div class="notice notice-error notice-alt notice-missing-attachment">
    679                     <p>That video can not be found. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>
     679                    <p>That video cannot be found. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>
    680680                </div>
    681681            <# } else if ( data.error && 'unsupported_file_type' === data.error ) { #>
    682682                <div class="notice notice-error notice-alt notice-missing-attachment">
    683                     <p>Sorry, the video at the supplied URL can not be loaded. Please check that the URL is for a supported video file (<code>.mp4</code>, <code>.m4v</code>, <code>.webm</code>, <code>.ogv</code>, <code>.flv</code>) or stream (e.g. YouTube and Vimeo).</p>
     683                    <p>Sorry, the video at the supplied URL cannot be loaded. Please check that the URL is for a supported video file (<code>.mp4</code>, <code>.m4v</code>, <code>.webm</code>, <code>.ogv</code>, <code>.flv</code>) or stream (e.g. YouTube and Vimeo).</p>
    684684                </div>
    685685            <# } else if ( data.error ) { #>
     
    805805            <# if ( data.error && 'missing_attachment' === data.error ) { #>
    806806                <div class="notice notice-error notice-alt notice-missing-attachment">
    807                     <p>That audio file can not be found. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>
     807                    <p>That audio file cannot be found. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>
    808808                </div>
    809809            <# } else if ( data.error ) { #>
Note: See TracChangeset for help on using the changeset viewer.