WordPress.org

Make WordPress Core

Ticket #5911: 5911-25.diff

File 5911-25.diff, 1.2 KB (added by andy, 10 years ago)

translate "Crunching..."

  • wp-includes/js/swfupload/handlers.js

     
    3030        jQuery('#media-item-' + fileObj.id + ' .bar').width(620*bytesDone/bytesTotal);
    3131
    3232        if ( bytesDone== bytesTotal )
    33                 jQuery('#media-item-' + fileObj.id + ' .bar').html('<strong style="display: block; padding-top: 9px; padding-left: 1em;">Crunching&hellip;</strong>');
     33                jQuery('#media-item-' + fileObj.id + ' .bar').html('<strong style="display: block; padding-top: 9px; padding-left: 1em;">' + swfuploadL10n.crunching + '</strong>');
    3434}
    3535
    3636function prepareMediaItem(fileObj, serverData) {
  • wp-includes/script-loader.php

     
    101101                                'file_cancelled' => __('File cancelled.'),
    102102                                'upload_stopped' => __('Upload stopped.'),
    103103                                'dismiss' => __('Dismiss'),
     104                                'crunching' => __('Crunching&hellip;'),
    104105                ) );
    105106
    106107                $this->add( 'jquery-ui-tabs', '/wp-includes/js/jquery/ui.tabs.js', array('jquery'), '3' );