WordPress.org

Make WordPress Core

Ticket #42510: 42510.patch

File 42510.patch, 1.3 KB (added by ocean90, 2 years ago)
  • src/wp-includes/script-loader.php

     
    580580                'videoHeaderNotice'  => __( 'This theme doesn’t support video headers on this page. Navigate to the front page or another page that supports video headers.' ),
    581581                // Used for overriding the file types allowed in plupload.
    582582                'allowedFiles'       => __( 'Allowed Files' ),
    583                 'customCssError'     => wp_array_slice_assoc(
     583                'customCssError'     => array(
    584584                        /* translators: %d: error count */
    585                         _n_noop( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.' ),
    586                         array( 'singular', 'plural' )
     585                        'singular' => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 1 ),
     586                        /* translators: %d: error count */
     587                        'plural'   => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 2 ),
    587588                ),
    588589                'pageOnFrontError' => __( 'Homepage and posts page must be different.' ),
    589590                'saveBlockedError' => wp_array_slice_assoc(