diff --git a/public/javascripts/plupload/changelog.txt b/public/javascripts/plupload/changelog.txt index a7975a3..639ba99 100644 --- a/public/javascripts/plupload/changelog.txt +++ b/public/javascripts/plupload/changelog.txt @@ -1,3 +1,23 @@ +Version 1.5b (2011-09-11) + UI Widget: Fix sortable logic. + UI Widget: Fix bug, when message was displayed simultaneously across all Plupload UI instances on the page. + UI Widget: notify() method is now public - users can throw their own messages into the widget header. + HTML4/HTML5: Revise input[type=file] placement logic to support cursor styling on Geko 2+. + HTML5: Revise Drag'n'Drop detection logic. + HTML5: Make Exif and GPS information available to user, introduce two new events: ExifData and GpsData. + HTML5: Add support for File.prototype.slice() method (mozSlice/webkitSlice) in order to be able to upload files in chunks without preloading. + HTML5: Remove any JPEG headers before restoring them, 'cause user agent (like Chrome), might be inserting it's own. + Flash: Remove a limit on the depth of image header check, since it still fails in some cases and performance gain is negligible. + Flash: Fix regression, when runtime hanged when not images where passed in as images. + SilverLight: Fix bug, when JSON serializer was failing on null. + SilverLight: Remove cast to integer for chunk boundary, which resulted in a wrong size for last chunks on huge files. + SilverLight: Increase read buffer, add disposal of ImageStream and FileStream, optimize for performance. + Updated build.xml to include language packs in release package under js/ folder. + Gears/BrowserPlus: Add support for * file filter. + BeforeUpload now can cancel upload if required. + Additional MIME types: text/csv, image/photoshop, video/x-ms-wmv, video/avi, video/webm support + Additional language packs: Japanese + Cleaned examples. Version 1.4.3.2 (2011-04-13) Fixed bug in HTML5 runtime, when was reduced by a factor of 100 after every upload. Version 1.4.3.1 (2011-04-12) diff --git a/public/javascripts/plupload/examples/custom.html b/public/javascripts/plupload/examples/custom.html index e5411ae..92f73b8 100644 --- a/public/javascripts/plupload/examples/custom.html +++ b/public/javascripts/plupload/examples/custom.html @@ -29,20 +29,17 @@
- diff --git a/public/javascripts/plupload/js/i18n/cs.js b/public/javascripts/plupload/js/i18n/cs.js new file mode 100644 index 0000000..1ee5d5f --- /dev/null +++ b/public/javascripts/plupload/js/i18n/cs.js @@ -0,0 +1,14 @@ +// .po file like language pack +plupload.addI18n({ + 'Select files' : 'Vyberte soubory', + 'Add files to the upload queue and click the start button.' : 'Přidejte soubory do fronty a pak spusťte nahrávání.', + 'Filename' : 'Název souboru', + 'Status' : 'Status', + 'Size' : 'Velikost', + 'Add Files' : 'Přidat soubory', + 'Stop current upload' : 'Zastavit nahrávání', + 'Start uploading queue' : 'Spustit frontu nahrávání', + 'Drag files here.' : 'Sem přetáhněte soubory.', + 'Start Upload': 'Spustit nahrávání', + 'Uploaded %d/%d files': 'Nahráno %d/%d souborů' +}); \ No newline at end of file diff --git a/public/javascripts/plupload/js/i18n/da.js b/public/javascripts/plupload/js/i18n/da.js new file mode 100644 index 0000000..fc95896 --- /dev/null +++ b/public/javascripts/plupload/js/i18n/da.js @@ -0,0 +1,12 @@ +// .po file like language pack +plupload.addI18n({ + 'Select files' : 'Vælg filer', + 'Add files to the upload queue and click the start button.' : 'Tilføj filer til køen, og tryk på start.', + 'Filename' : 'Filnavn', + 'Status' : 'Status', + 'Size' : 'Størrelse', + 'Add files' : 'Tilføj filer', + 'Stop current upload' : 'Stop upload', + 'Start uploading queue' : 'Start upload', + 'Drag files here.' : 'Træk filer her.' +}); \ No newline at end of file diff --git a/public/javascripts/plupload/js/i18n/de.js b/public/javascripts/plupload/js/i18n/de.js new file mode 100644 index 0000000..96429d3 --- /dev/null +++ b/public/javascripts/plupload/js/i18n/de.js @@ -0,0 +1,25 @@ +// German +plupload.addI18n({ + 'Select files' : 'Wählen Sie die Dateien:', + 'Add files to the upload queue and click the start button.' : 'Dateien hinzufügen und danach auf \'Starten des Uploads\' klicken und die Datei hochzuladen.', + 'Filename' : 'Dateiname', + 'Status' : 'Status', + 'Size' : 'Größe', + 'Add files' : 'Hinzufügen von Dateien', + 'Stop current upload' : 'Stop aktuellen Upload', + 'Start uploading queue' : 'Starte Upload', + 'Uploaded %d/%d files': '%d/%d Dateien sind Hochgeladen', + 'N/A' : 'Nicht verfügbar', + 'Drag files here.' : 'Ziehen Sie die Dateien hier hin', + 'File extension error.': 'Dateiendungs Fehler.', + 'File size error.': 'Dateigrößen Fehler.', + 'Init error.': 'Initialisierungs Fehler.', + 'HTTP Error.': 'HTTP Fehler.', + 'Security error.': 'Sicherheits Fehler.', + 'Generic error.': 'Generic Fehler.', + 'IO error.': 'Ein/Ausgabe Fehler.', + 'Stop Upload': 'Stoppen des Uploads.', + 'Add Files': 'Dateien hinzufügen', + 'Start Upload': 'Starten des Uploads.', + '%d files queued': '%d Dateien in der Warteschlange.' +}); \ No newline at end of file diff --git a/public/javascripts/plupload/js/i18n/es.js b/public/javascripts/plupload/js/i18n/es.js new file mode 100644 index 0000000..2379421 --- /dev/null +++ b/public/javascripts/plupload/js/i18n/es.js @@ -0,0 +1,25 @@ +// Spanish +plupload.addI18n({ + 'Select files' : 'Elija archivos:', + 'Add files to the upload queue and click the start button.' : 'Agregue archivos a la cola de subida y haga click en el boton de iniciar.', + 'Filename' : 'Nombre de archivo', + 'Status' : 'Estado', + 'Size' : 'Tamaño', + 'Add files' : 'Agregue archivos', + 'Stop current upload' : 'Detener subida actual', + 'Start uploading queue' : 'Iniciar subida de cola', + 'Uploaded %d/%d files': 'Subidos %d/%d archivos', + 'N/A' : 'No disponible', + 'Drag files here.' : 'Arrastre archivos aquí', + 'File extension error.': 'Error de extensión de archivo.', + 'File size error.': 'Error de tamaño de archivo.', + 'Init error.': 'Error de inicialización.', + 'HTTP Error.': 'Error de HTTP.', + 'Security error.': 'Error de seguridad.', + 'Generic error.': 'Error genérico.', + 'IO error.': 'Error de entrada/salida.', + 'Stop Upload': 'Detener Subida.', + 'Add Files': 'Agregar Archivos', + 'Start Upload': 'Comenzar Subida.', + '%d files queued': '%d archivos en cola.' +}); \ No newline at end of file diff --git a/public/javascripts/plupload/js/i18n/fr.js b/public/javascripts/plupload/js/i18n/fr.js new file mode 100644 index 0000000..c534ec4 --- /dev/null +++ b/public/javascripts/plupload/js/i18n/fr.js @@ -0,0 +1,25 @@ +// .po file like language pack +plupload.addI18n({ + 'Select files' : 'Sélectionnez les fichiers', + 'Add files to the upload queue and click the start button.' : 'Ajoutez des fichiers à la file et appuyez sur le bouton démarrer.', + 'Filename' : 'Nom de fichier', + 'Status' : 'Status', + 'Size' : 'Taille', + 'Add files' : 'Ajouter Fichiers', + 'Stop current upload' : 'Arrêter l\'envoi en cours', + 'Start uploading queue' : 'Démarrer l\'envoi', + 'Uploaded %d/%d files': '%d/%d fichiers envoyés', + 'N/A' : 'Non applicable', + 'Drag files here.' : 'Déposer les fichiers ici.', + 'File extension error.': 'Erreur extension fichier', + 'File size error.': 'Erreur taille fichier.', + 'Init error.': 'Erreur d\'initialisation.', + 'HTTP Error.': 'Erreur HTTP.', + 'Security error.': 'Erreur de sécurité.', + 'Generic error.': 'Erreur générique.', + 'IO error.': 'Erreur E/S.', + 'Stop Upload': 'Arrêter les envois.', + 'Add Files': 'Ajouter des fichiers', + 'Start Upload': 'Démarrer les envois.', + '%d files queued': '%d fichiers en attente.' +}); \ No newline at end of file diff --git a/public/javascripts/plupload/js/i18n/it.js b/public/javascripts/plupload/js/i18n/it.js new file mode 100644 index 0000000..7946578 --- /dev/null +++ b/public/javascripts/plupload/js/i18n/it.js @@ -0,0 +1,21 @@ +// .po file like language pack +plupload.addI18n({ + 'Select files' : 'Seleziona i files', + 'Add files to the upload queue and click the start button.' : 'Aggiungi i file alla coda di caricamento e clicca il pulsante di avvio.', + 'Filename' : 'Nome file', + 'Status' : 'Stato', + 'Size' : 'Dimensione', + 'Add files' : 'Aggiungi file', + 'Stop current upload' : 'Interrompi il caricamento', + 'Start uploading queue' : 'Avvia il caricamento', + 'Uploaded %d/%d files': 'Caricati %d/%d file', + 'N/A' : 'N/D', + 'Drag files here.' : 'Trascina i file qui.', + 'File extension error.': 'Errore estensione file.', + 'File size error.': 'Errore dimensione file.', + 'Init error.': 'Errore inizializzazione.', + 'HTTP Error.': 'Errore HTTP.', + 'Security error.': 'Errore sicurezza.', + 'Generic error.': 'Errore generico.', + 'IO error.': 'Errore IO.' +}); \ No newline at end of file diff --git a/public/javascripts/plupload/js/i18n/ja.js b/public/javascripts/plupload/js/i18n/ja.js new file mode 100644 index 0000000..02c85ae --- /dev/null +++ b/public/javascripts/plupload/js/i18n/ja.js @@ -0,0 +1,37 @@ +// Japanese +plupload.addI18n({ + 'Select files' : 'ファイル選択', + 'Add files to the upload queue and click the start button.' : 'ファイルをアップロードキューに追加してスタートボタンをクリックしてください', + 'Filename' : 'ファイル名', + 'Status' : 'ステータス', + 'Size' : 'サイズ', + 'Add Files' : 'ファイルを追加', + 'Stop Upload' : 'アップロード停止', + 'Start Upload' : 'アップロード', + 'Add files' : 'ファイルを追加', + 'Add files.' : 'ファイルを追加', + 'Stop current upload' : '現在のアップロードを停止', + 'Start uploading queue' : 'アップロード', + 'Stop upload' : 'アップロード停止', + 'Start upload' : 'アップロード', + 'Uploaded %d/%d files': 'アップロード中 %d/%d ファイル', + 'N/A' : 'N/A', + 'Drag files here.' : 'ここにファイルをドラッグ', + 'File extension error.': 'ファイル拡張子エラー', + 'File size error.': 'ファイルサイズエラー', + 'File count error.': 'ファイル数エラー', + 'Init error.': 'イニシャライズエラー', + 'HTTP Error.': 'HTTP エラー', + 'Security error.': 'セキュリティエラー', + 'Generic error.': 'エラー', + 'IO error.': 'IO エラー', + 'File: %s': 'ファイル: %s', + 'Close': '閉じる', + '%d files queued': '%d ファイルが追加されました', + 'Using runtime: ': 'モード: ', + 'File: %f, size: %s, max file size: %m': 'ファイル: %f, サイズ: %s, 最大ファイルサイズ: %m', + 'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'アップロード可能なファイル数は %d です。余分なファイルは削除されました', + 'Upload URL might be wrong or doesn\'t exist': 'アップロード先の URL が存在しません', + 'Error: File too large: ': 'エラー: サイズが大きすぎます: ', + 'Error: Invalid file extension: ': 'エラー: 拡張子が許可されていません: ' +}); diff --git a/public/javascripts/plupload/js/i18n/lv.js b/public/javascripts/plupload/js/i18n/lv.js new file mode 100644 index 0000000..2a04045 --- /dev/null +++ b/public/javascripts/plupload/js/i18n/lv.js @@ -0,0 +1,33 @@ +// .lv file like language pack +plupload.addI18n({ + 'Select files' : 'Izvēlieties failus', + 'Add files to the upload queue and click the start button.' : 'Pieveinojiet failus rindai un klikšķiniet uz "Sākt augšupielādi" pogas.', + 'Filename' : 'Faila nosaukums', + 'Status' : 'Statuss', + 'Size' : 'Izmērs', + 'Add files' : 'Pievienot failus', + 'Stop current upload' : 'Apturēt pašreizējo augšupielādi', + 'Start uploading queue' : 'Sākt augšupielādi', + 'Drag files here.' : 'Ievelciet failus šeit', + 'Start upload' : 'Sākt augšupielādi', + 'Uploaded %d/%d files': 'Augšupielādēti %d/%d faili', + 'Stop upload': 'Pārtraukt augšupielādi', + 'Start upload': 'Sākt augšupielādi', + '%d files queued': '%d faili pievienoti rindai', + 'File: %s': 'Fails: %s', + 'Close': 'Aizvērt', + 'Using runtime: ': 'Lieto saskarni: ', + 'File: %f, size: %s, max file size: %m': 'Fails: %f, izmērs: %s, maksimālais faila izmērs: %m', + 'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'Iespējams ielādēt tikai %d failus vienā reizē. Atlikušie faili netika pievienoti', + 'Upload URL might be wrong or doesn\'t exist': 'Augšupielādes URL varētu būt nepareizs vai neeksistē', + 'Error: File too large: ': 'Kļūda: Fails pārāk liels: ', + 'Error: Invalid file extension: ': 'Kļūda: Nekorekts faila paplašinājums:', + 'File extension error.': 'Faila paplašinājuma kļūda.', + 'File size error.': 'Faila izmēra kļūda.', + 'File count error.': 'Failu skaita kļūda', + 'Init error.': 'Inicializācijas kļūda.', + 'HTTP Error.': 'HTTP kļūda.', + 'Security error.': 'Drošības kļūda.', + 'Generic error.': 'Vispārēja rakstura kļūda.', + 'IO error.': 'Ievades/Izvades kļūda.' +}); \ No newline at end of file diff --git a/public/javascripts/plupload/js/i18n/nl.js b/public/javascripts/plupload/js/i18n/nl.js new file mode 100644 index 0000000..8372c88 --- /dev/null +++ b/public/javascripts/plupload/js/i18n/nl.js @@ -0,0 +1,21 @@ +// Dutch +plupload.addI18n({ + 'Select files' : 'Selecteer bestand(en):', + 'Add files to the upload queue and click the start button.' : 'Voeg bestanden toe aan de wachtrij en druk op \'Start\'.', + 'Filename' : 'Bestandsnaam', + 'Status' : 'Status', + 'Size' : 'Grootte', + 'Add files' : 'Voeg bestanden toe', + 'Stop current upload' : 'Stop upload', + 'Start uploading queue' : 'Start upload', + 'Uploaded %d/%d files': '%d/%d bestanden ge-upload', + 'N/A' : 'Niet beschikbaar', + 'Drag files here.' : 'Sleep bestanden hierheen.', + 'File extension error.': 'Ongeldig bestandstype.', + 'File size error.': 'Bestandsgrootte Error.', + 'Init error.': 'Initialisatie error.', + 'HTTP Error.': 'HTTP Error.', + 'Security error.': 'Beveiliging error.', + 'Generic error.': 'Onbekende error.', + 'IO error.': 'IO error.' +}); \ No newline at end of file diff --git a/public/javascripts/plupload/js/i18n/pt-br.js b/public/javascripts/plupload/js/i18n/pt-br.js new file mode 100644 index 0000000..9f34a64 --- /dev/null +++ b/public/javascripts/plupload/js/i18n/pt-br.js @@ -0,0 +1,35 @@ +// Brazilian Portuguese +plupload.addI18n({ + 'Select files' : 'Escolha os arquivos', + 'Add files to the upload queue and click the start button.' : 'Adicione os arquivos abaixo e clique no botão "Iniciar o envio".', + 'Filename' : 'Nome do arquivo', + 'Status' : 'Status', + 'Size' : 'Tamanho', + 'Add Files' : 'Adicionar arquivo(s)', + 'Stop Upload' : 'Parar o envio', + 'Start Upload' : 'Iniciar o envio', + 'Add files' : 'Adicionar arquivo(s)', + 'Add files.' : 'Adicionar arquivo(s)', + 'Stop upload' : 'Parar o envio', + 'Start upload' : 'Iniciar o envio', + 'Uploaded %d/%d files': 'Enviado(s) %d/%d arquivo(s)', + 'N/A' : 'N/D', + 'Drag files here.' : 'Arraste os arquivos pra cá', + 'File extension error.': 'Tipo de arquivo não permitido.', + 'File size error.': 'Tamanho de arquivo não permitido.', + 'File count error.': 'Erro na contagem dos arquivos', + 'Init error.': 'Erro inicializando.', + 'HTTP Error.': 'Erro HTTP.', + 'Security error.': 'Erro de segurança.', + 'Generic error.': 'Erro genérico.', + 'IO error.': 'Erro de E/S.', + 'File: %s': 'Arquivo: %s', + 'Close': 'Fechar', + '%d files queued': '%d arquivo(s)', + 'Using runtime: ': 'Usando: ', + 'File: %f, size: %s, max file size: %m': 'Arquivo: %f, tamanho: %s, máximo: %m', + 'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'Só são aceitos %d arquivos por vez. O que passou disso foi descartado.', + 'Upload URL might be wrong or doesn\'t exist': 'URL de envio está errada ou não existe', + 'Error: File too large: ': 'Erro: Arquivo muito grande: ', + 'Error: Invalid file extension: ': 'Erro: Tipo de arquivo não permitido: ' +}); diff --git a/public/javascripts/plupload/js/i18n/ru.js b/public/javascripts/plupload/js/i18n/ru.js new file mode 100644 index 0000000..a78af8e --- /dev/null +++ b/public/javascripts/plupload/js/i18n/ru.js @@ -0,0 +1,21 @@ +// Russian +plupload.addI18n({ + 'Select files' : 'Выберите файлы', + 'Add files to the upload queue and click the start button.' : 'Добавьте файлы в очередь и нажмите кнопку "Загрузить файлы".', + 'Filename' : 'Имя файла', + 'Status' : 'Статус', + 'Size' : 'Размер', + 'Add files' : 'Добавить файлы', + 'Stop current upload' : 'Остановить загрузку', + 'Start uploading queue' : 'Загрузить файлы', + 'Uploaded %d/%d files': 'Загружено %d из %d файлов', + 'N/A' : 'N/D', + 'Drag files here.' : 'Перетащите файлы сюда.', + 'File extension error.': 'Неправильное расширение файла.', + 'File size error.': 'Неправильный размер файла.', + 'Init error.': 'Ошибка инициализации.', + 'HTTP Error.': 'Ошибка HTTP.', + 'Security error.': 'Ошибка безопасности.', + 'Generic error.': 'Общая ошибка.', + 'IO error.': 'Ошибка ввода-вывода.' +}); \ No newline at end of file diff --git a/public/javascripts/plupload/js/i18n/sv.js b/public/javascripts/plupload/js/i18n/sv.js new file mode 100644 index 0000000..11c7524 --- /dev/null +++ b/public/javascripts/plupload/js/i18n/sv.js @@ -0,0 +1,12 @@ +// .po file like language pack +plupload.addI18n({ + 'Select files' : 'Välj filer', + 'Add files to the upload queue and click the start button.' : 'Lägg till filer till kön och tryck på start.', + 'Filename' : 'Filnamn', + 'Status' : 'Status', + 'Size' : 'Storlek', + 'Add files' : 'Lägg till filer', + 'Stop current upload' : 'Stoppa uppladdningen', + 'Start uploading queue' : 'Starta uppladdningen', + 'Drag files here.' : 'Dra filer hit' +}); \ No newline at end of file diff --git a/public/javascripts/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js b/public/javascripts/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js index e4379fb..6df6e4d 100644 --- a/public/javascripts/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js +++ b/public/javascripts/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js @@ -1 +1 @@ -(function(c){var d={};function a(e){return plupload.translate(e)||e}function b(f,e){e.contents().each(function(g,h){h=c(h);if(!h.is(".plupload")){h.remove()}});e.prepend('