Make WordPress Core


Ignore:
Timestamp:
02/29/2008 06:54:15 AM (18 years ago)
Author:
ryan
Message:

Media Library updates from andy. see #5911

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r7092 r7100  
    8989                $this->add( 'swfupload-degrade', '/wp-includes/js/swfupload/plugins/swfupload.graceful_degradation.js', array('swfupload'), '2.0.2');
    9090                $this->add( 'swfupload-queue', '/wp-includes/js/swfupload/plugins/swfupload.queue.js', array('swfupload'), '2.0.2');
    91                 $this->add( 'swfupload-handlers', '/wp-includes/js/swfupload/handlers.js', array('swfupload'), '2.0.2-20080227');
     91                $this->add( 'swfupload-handlers', '/wp-includes/js/swfupload/handlers.js', array('swfupload'), '2.0.2-20080228');
    9292                // these error messages came from the sample swfupload js, they might need changing.
    9393                $this->localize( 'swfupload-handlers', 'swfuploadL10n', array(
    94                                 'queue_limit_exceeded' => 'You have attempted to queue too many files.',
    95                                 'file_exceeds_size_limit' => 'The file you have selected is too big.',
    96                                 'zero_byte_file' => 'The file you selected is empty.  Please select another file.',
    97                                 'invalid_filetype' => 'The file you choose is not an allowed file type.',
    98                                 'default_error' => 'An error occurred in the upload. Please try again later.',
    99                                 'missing_upload_url' => 'There was a configuration error.  Please contact the server administrator.',
    100                                 'upload_limit_exceeded' => 'You may only upload 1 file.',
    101                                 'http_error' => 'HTTP error.',
    102                                 'upload_failed' => 'Upload failed.',
    103                                 'io_error' => 'IO error.',
    104                                 'security_error' => 'Security error.',
    105                                 'file_cancelled' => 'File cancelled.',
    106                                 'upload_stopped' => 'Upload stopped.',
    107 
     94                                'queue_limit_exceeded' => __('You have attempted to queue too many files.'),
     95                                'file_exceeds_size_limit' => __('This file is too big. See php.ini.'),
     96                                'zero_byte_file' => __('The file you selected is empty. Please select another file.'),
     97                                'invalid_filetype' => __('The file you choose is not an allowed file type.'),
     98                                'default_error' => __('An error occurred in the upload. Please try again later.'),
     99                                'missing_upload_url' => __('There was a configuration error. Please contact the server administrator.'),
     100                                'upload_limit_exceeded' => __('You may only upload 1 file.'),
     101                                'http_error' => __('HTTP error.'),
     102                                'upload_failed' => __('Upload failed.'),
     103                                'io_error' => __('IO error.'),
     104                                'security_error' => __('Security error.'),
     105                                'file_cancelled' => __('File cancelled.'),
     106                                'upload_stopped' => __('Upload stopped.'),
     107                                'dismiss' => __('Dismiss'),
    108108                ) );
    109109
Note: See TracChangeset for help on using the changeset viewer.