From 72965029f24a5edaa5cca7a2ae6e5020c9e73e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Wed, 29 Jul 2020 15:15:51 +0200 Subject: [PATCH 1/8] dashboard: mostly restore backwards compatibility for the `browse` strings (#2397) --- .../dashboard/src/components/AddFiles.js | 55 ++++++++++++++++--- packages/@uppy/locales/src/ar_SA.js | 1 + packages/@uppy/locales/src/bg_BG.js | 1 + packages/@uppy/locales/src/cs_CZ.js | 1 + packages/@uppy/locales/src/da_DK.js | 1 + packages/@uppy/locales/src/el_GR.js | 1 + packages/@uppy/locales/src/es_ES.js | 1 + packages/@uppy/locales/src/fa_IR.js | 1 + packages/@uppy/locales/src/fi_FI.js | 1 + packages/@uppy/locales/src/fr_FR.js | 1 + packages/@uppy/locales/src/gl_ES.js | 1 + packages/@uppy/locales/src/he_IL.js | 1 + packages/@uppy/locales/src/hr_HR.js | 1 + packages/@uppy/locales/src/hu_HU.js | 1 + packages/@uppy/locales/src/id_ID.js | 1 + packages/@uppy/locales/src/is_IS.js | 1 + packages/@uppy/locales/src/it_IT.js | 1 + packages/@uppy/locales/src/ja_JP.js | 1 + packages/@uppy/locales/src/nl_NL.js | 1 + packages/@uppy/locales/src/pl_PL.js | 1 + packages/@uppy/locales/src/pt_BR.js | 1 + packages/@uppy/locales/src/ro_RO.js | 1 + packages/@uppy/locales/src/ru_RU.js | 1 + packages/@uppy/locales/src/sk_SK.js | 1 + packages/@uppy/locales/src/sr_RS_Cyrillic.js | 1 + packages/@uppy/locales/src/sr_RS_Latin.js | 1 + packages/@uppy/locales/src/sv_SE.js | 1 + packages/@uppy/locales/src/th_TH.js | 1 + packages/@uppy/locales/src/tr_TR.js | 1 + packages/@uppy/locales/src/vi_VN.js | 1 + packages/@uppy/locales/src/zh_CN.js | 1 + packages/@uppy/locales/src/zh_TW.js | 1 + packages/@uppy/utils/src/Translator.js | 4 ++ 33 files changed, 82 insertions(+), 8 deletions(-) diff --git a/packages/@uppy/dashboard/src/components/AddFiles.js b/packages/@uppy/dashboard/src/components/AddFiles.js index f0513d289..634cc86a9 100644 --- a/packages/@uppy/dashboard/src/components/AddFiles.js +++ b/packages/@uppy/dashboard/src/components/AddFiles.js @@ -109,23 +109,62 @@ class AddFiles extends Component { ) } + // TODO(2.x) remove all the backwards compatibility garbage here renderDropPasteBrowseTagline = () => { const numberOfAcquirers = this.props.acquirers.length - const browseFiles = this.renderBrowseButton(this.props.i18n('browseFiles'), this.triggerFileInputClick) - const browseFolders = this.renderBrowseButton(this.props.i18n('browseFolders'), this.triggerFolderInputClick) - // in order to keep the i18n CamelCase and options lower (as are defaults) we will want to transform a lower // to Camel const lowerFMSelectionType = this.props.fileManagerSelectionType const camelFMSelectionType = lowerFMSelectionType.charAt(0).toUpperCase() + lowerFMSelectionType.slice(1) + // For backwards compatibility, we need to support both 'browse' and 'browseFiles'/'browseFolders' as strings here. + let browseFilesText = 'browse' + let browseFoldersText = 'browse' + if (lowerFMSelectionType === 'files') { + try { + browseFilesText = this.props.i18n('browse') + browseFoldersText = this.props.i18n('browse') + } catch { + // Ignore, hopefully we can use the 'browseFiles' / 'browseFolders' strings + } + } + try { + browseFilesText = this.props.i18n('browseFiles') + browseFoldersText = this.props.i18n('browseFolders') + } catch { + // Ignore, use the 'browse' string + } + + const browseFiles = this.renderBrowseButton(browseFilesText, this.triggerFileInputClick) + const browseFolders = this.renderBrowseButton(browseFoldersText, this.triggerFolderInputClick) + + // Before the `fileManagerSelectionType` feature existed, we had two possible + // strings here, but now we have six. We use the new-style strings by default: + let titleText + if (numberOfAcquirers > 0) { + titleText = this.props.i18nArray(`dropPasteImport${camelFMSelectionType}`, { browseFiles, browseFolders, browse: browseFiles }) + } else { + titleText = this.props.i18nArray(`dropPasteImport${camelFMSelectionType}`, { browseFiles, browseFolders, browse: browseFiles }) + } + + // We use the old-style strings if available: this implies that the user has + // manually specified them, so they should take precedence over the new-style + // defaults. + if (lowerFMSelectionType === 'files') { + try { + if (numberOfAcquirers > 0) { + titleText = this.props.i18nArray('dropPaste', { browse: browseFiles }) + } else { + titleText = this.props.i18nArray('dropPasteImport', { browse: browseFiles }) + } + } catch { + // Ignore, the new-style strings will be used. + } + } + return (
- { - numberOfAcquirers > 0 - ? this.props.i18nArray(`dropPasteImport${camelFMSelectionType}`, { browseFiles, browseFolders, browse: browseFiles }) - : this.props.i18nArray(`dropPaste${camelFMSelectionType}`, { browseFiles, browseFolders, browse: browseFiles }) - } + {titleText}
) } diff --git a/packages/@uppy/locales/src/ar_SA.js b/packages/@uppy/locales/src/ar_SA.js index 01cead9ca..7fa2461d3 100644 --- a/packages/@uppy/locales/src/ar_SA.js +++ b/packages/@uppy/locales/src/ar_SA.js @@ -10,6 +10,7 @@ ar_SA.strings = { authenticateWithTitle: 'ارجو الربط مع %{pluginName} من اجل اختيار الملفات', back: 'رجوع', browse: 'تصفح', + browseFiles: 'تصفح', cancel: 'الغاء', cancelUpload: 'الغاء الدفع', chooseFiles: 'اختار الملفات', diff --git a/packages/@uppy/locales/src/bg_BG.js b/packages/@uppy/locales/src/bg_BG.js index 15b65aa74..a85aef648 100644 --- a/packages/@uppy/locales/src/bg_BG.js +++ b/packages/@uppy/locales/src/bg_BG.js @@ -14,6 +14,7 @@ bg_BG.strings = { authenticateWithTitle: 'Моля, впишете се с %{pluginName}, за да изберете файлове', back: 'Назад', browse: 'преглед', + browseFiles: 'преглед', cancel: 'Отказ', cancelUpload: 'Отказване на качването', chooseFiles: 'Изберете файлове', diff --git a/packages/@uppy/locales/src/cs_CZ.js b/packages/@uppy/locales/src/cs_CZ.js index 4140be762..01b20a46b 100644 --- a/packages/@uppy/locales/src/cs_CZ.js +++ b/packages/@uppy/locales/src/cs_CZ.js @@ -10,6 +10,7 @@ cs_CZ.strings = { authenticateWithTitle: 'Prosím přihlaste se k %{pluginName} pro výběr souborů', back: 'Zpět', browse: 'procházet', + browseFiles: 'procházet', cancel: 'Zrušit', cancelUpload: 'Zrušit nahrávání', chooseFiles: 'Vyberte soubory', diff --git a/packages/@uppy/locales/src/da_DK.js b/packages/@uppy/locales/src/da_DK.js index dc8a8b312..205075703 100644 --- a/packages/@uppy/locales/src/da_DK.js +++ b/packages/@uppy/locales/src/da_DK.js @@ -10,6 +10,7 @@ da_DK.strings = { authenticateWithTitle: 'Venligst autentificer med %{pluginName} for at vælge filer', back: 'Tilbage', browse: 'gennemse', + browseFiles: 'gennemse', cancel: 'Annuller', cancelUpload: 'Annuller upload', chooseFiles: 'Vælg filer', diff --git a/packages/@uppy/locales/src/el_GR.js b/packages/@uppy/locales/src/el_GR.js index 247eca1bb..99ac29012 100644 --- a/packages/@uppy/locales/src/el_GR.js +++ b/packages/@uppy/locales/src/el_GR.js @@ -10,6 +10,7 @@ el_GR.strings = { authenticateWithTitle: 'Παρακαλούμε συνδεθείτε με %{pluginName} για να επιλέξετε αρχεία', back: 'Πίσω', browse: 'Περιήγηση', + browseFiles: 'Περιήγηση', cancel: 'Άκυρο', cancelUpload: 'Ακύρωση μεταφόρτωσης', chooseFiles: 'Επιλέξτε αρχεία', diff --git a/packages/@uppy/locales/src/es_ES.js b/packages/@uppy/locales/src/es_ES.js index b35f4e1be..129e89e9c 100644 --- a/packages/@uppy/locales/src/es_ES.js +++ b/packages/@uppy/locales/src/es_ES.js @@ -10,6 +10,7 @@ es_ES.strings = { back: 'Atrás', addMore: 'Agregar más', browse: 'navegar', + browseFiles: 'navegar', cancel: 'Cancelar', cancelUpload: 'Cancelar subida', chooseFiles: 'Seleccionar archivos', diff --git a/packages/@uppy/locales/src/fa_IR.js b/packages/@uppy/locales/src/fa_IR.js index b3e92256c..7d136c80f 100644 --- a/packages/@uppy/locales/src/fa_IR.js +++ b/packages/@uppy/locales/src/fa_IR.js @@ -10,6 +10,7 @@ fa_IR.strings = { back: 'بازگشت', addMore: 'اضافه کردن بیشتر', browse: 'انتخاب کنید', + browseFiles: 'انتخاب کنید', cancel: 'انصراف', cancelUpload: 'لغو بارگذاری', chooseFiles: 'انتخاب فایل', diff --git a/packages/@uppy/locales/src/fi_FI.js b/packages/@uppy/locales/src/fi_FI.js index f87b47645..e40869ed5 100644 --- a/packages/@uppy/locales/src/fi_FI.js +++ b/packages/@uppy/locales/src/fi_FI.js @@ -10,6 +10,7 @@ fi_FI.strings = { authenticateWithTitle: '%{pluginName} vaadittu tunnistautumiseen, jotta voit valita tiedostoja', back: 'Takaisin', browse: 'selaa', + browseFiles: 'selaa', cancel: 'Peruuta', cancelUpload: 'Peruuta lähetys', chooseFiles: 'Valitse tiedostot', diff --git a/packages/@uppy/locales/src/fr_FR.js b/packages/@uppy/locales/src/fr_FR.js index ad917096d..90cd46c36 100644 --- a/packages/@uppy/locales/src/fr_FR.js +++ b/packages/@uppy/locales/src/fr_FR.js @@ -14,6 +14,7 @@ fr_FR.strings = { authenticateWithTitle: 'Veuillez vous authentifier avec %{pluginName} pour sélectionner les fichiers', back: 'Retour', browse: 'naviguer', + browseFiles: 'naviguer', cancel: 'Annuler', cancelUpload: 'Annuler téléchargement', chooseFiles: 'Choisir des fichiers', diff --git a/packages/@uppy/locales/src/gl_ES.js b/packages/@uppy/locales/src/gl_ES.js index 4c55fed94..325a2f79a 100644 --- a/packages/@uppy/locales/src/gl_ES.js +++ b/packages/@uppy/locales/src/gl_ES.js @@ -10,6 +10,7 @@ gl_ES.strings = { authenticateWithTitle: 'Por favor autentícate con %{pluginName} para seleccionar arquivos', back: 'Atrás', browse: 'navegar', + browseFiles: 'navegar', cancel: 'Cancelar', cancelUpload: 'Cancelar subida', chooseFiles: 'Seleccionar arquivos', diff --git a/packages/@uppy/locales/src/he_IL.js b/packages/@uppy/locales/src/he_IL.js index 777d2e151..cd2bb9114 100644 --- a/packages/@uppy/locales/src/he_IL.js +++ b/packages/@uppy/locales/src/he_IL.js @@ -10,6 +10,7 @@ he_IL.strings = { authenticateWithTitle: 'אנא בצע הזדהות עם %{pluginName} על מנת לבחור קבצים', back: 'חזרה', browse: 'בחר', + browseFiles: 'בחר', cancel: 'ביטול', cancelUpload: 'בטל העלאה', chooseFiles: 'בחר קבצים', diff --git a/packages/@uppy/locales/src/hr_HR.js b/packages/@uppy/locales/src/hr_HR.js index 932d18f02..4bfa61cd4 100644 --- a/packages/@uppy/locales/src/hr_HR.js +++ b/packages/@uppy/locales/src/hr_HR.js @@ -10,6 +10,7 @@ hr_HR.strings = { authenticateWithTitle: 'Molimo Vas da se prijavite putem %{pluginName} kako biste preuzeli datoteke', back: 'Natrag', browse: 'pretraži', + browseFiles: 'pretraži', cancel: 'Otkaži', cancelUpload: 'Otkaži prijenos', chooseFiles: 'Izaberi datoteke', diff --git a/packages/@uppy/locales/src/hu_HU.js b/packages/@uppy/locales/src/hu_HU.js index 40c0b0d24..bdae8f1fa 100644 --- a/packages/@uppy/locales/src/hu_HU.js +++ b/packages/@uppy/locales/src/hu_HU.js @@ -12,6 +12,7 @@ hu_HU.strings = { authenticateWithTitle: 'Kérjük lépjen be a %{pluginName}-ba a fájlok kiválasztásához', back: 'Vissza', browse: 'válasszon', + browseFiles: 'válasszon', cancel: 'Mégse', cancelUpload: 'Feltöltés megszakítása', chooseFiles: 'Fájlok kiválasztása', diff --git a/packages/@uppy/locales/src/id_ID.js b/packages/@uppy/locales/src/id_ID.js index cee8ca6dc..8b5c0c499 100644 --- a/packages/@uppy/locales/src/id_ID.js +++ b/packages/@uppy/locales/src/id_ID.js @@ -10,6 +10,7 @@ id_ID.strings = { authenticateWithTitle: 'Silahkan mengotentifikasi menggunakan %{pluginName} untuk memilih berkas', back: 'Kembali', browse: 'Telusuri', + browseFiles: 'Telusuri', cancel: 'Batal', cancelUpload: 'Batalkan pengungahan', chooseFiles: 'Pilih berkas', diff --git a/packages/@uppy/locales/src/is_IS.js b/packages/@uppy/locales/src/is_IS.js index 31e2096da..113c892c2 100644 --- a/packages/@uppy/locales/src/is_IS.js +++ b/packages/@uppy/locales/src/is_IS.js @@ -12,6 +12,7 @@ is_IS.strings = { 'Vinsamlegast auðkenndu %{pluginName} til þess að velja skrár', back: 'Til baka', browse: 'skoða', + browseFiles: 'skoða', cancel: 'Hætta við', cancelUpload: 'Hætta við að hlaða upp', chooseFiles: 'Veldu skrár', diff --git a/packages/@uppy/locales/src/it_IT.js b/packages/@uppy/locales/src/it_IT.js index 4c306921f..14fcf3d63 100644 --- a/packages/@uppy/locales/src/it_IT.js +++ b/packages/@uppy/locales/src/it_IT.js @@ -10,6 +10,7 @@ it_IT.strings = { back: 'Indietro', addMore: 'Aggiungi più', browse: 'sfoglia', + browseFiles: 'sfoglia', cancel: 'Annulla', cancelUpload: 'Annulla upload', chooseFiles: 'Scegli i file', diff --git a/packages/@uppy/locales/src/ja_JP.js b/packages/@uppy/locales/src/ja_JP.js index 47975312d..d145f3a5c 100644 --- a/packages/@uppy/locales/src/ja_JP.js +++ b/packages/@uppy/locales/src/ja_JP.js @@ -10,6 +10,7 @@ ja_JP.strings = { authenticateWithTitle: 'ファイルを選択するには%{pluginName}で認証してください', back: '戻る', browse: '参照', + browseFiles: '参照', cancel: 'キャンセル', cancelUpload: 'アップロードをキャンセル', chooseFiles: 'ファイルを選択', diff --git a/packages/@uppy/locales/src/nl_NL.js b/packages/@uppy/locales/src/nl_NL.js index 83fbde200..00cb27d3f 100644 --- a/packages/@uppy/locales/src/nl_NL.js +++ b/packages/@uppy/locales/src/nl_NL.js @@ -10,6 +10,7 @@ nl_NL.strings = { back: 'Terug', addMore: 'Meer toevoegen', browse: 'blader', + browseFiles: 'blader', cancel: 'Annuleer', cancelUpload: 'Annuleer upload', chooseFiles: 'Kies bestanden', diff --git a/packages/@uppy/locales/src/pl_PL.js b/packages/@uppy/locales/src/pl_PL.js index 60d12d635..4d510d4d7 100644 --- a/packages/@uppy/locales/src/pl_PL.js +++ b/packages/@uppy/locales/src/pl_PL.js @@ -14,6 +14,7 @@ pl_PL.strings = { authenticateWithTitle: 'Zaloguj się do %{pluginName} aby wybrać pliki', back: 'Wstecz', browse: 'Wybierz', + browseFiles: 'Wybierz', cancel: 'Anuluj', cancelUpload: 'Anuluj wysyłkę', chooseFiles: 'Wybierz pliki', diff --git a/packages/@uppy/locales/src/pt_BR.js b/packages/@uppy/locales/src/pt_BR.js index d7117f6ce..e884a265e 100644 --- a/packages/@uppy/locales/src/pt_BR.js +++ b/packages/@uppy/locales/src/pt_BR.js @@ -10,6 +10,7 @@ pt_BR.strings = { authenticateWithTitle: 'Por favor conecte com %{pluginName} para selecionar arquivos', back: 'Voltar', browse: 'navegue', + browseFiles: 'navegue', cancel: 'Cancelar', cancelUpload: 'Cancelar envio de arquivos', chooseFiles: 'Selecionar arquivos', diff --git a/packages/@uppy/locales/src/ro_RO.js b/packages/@uppy/locales/src/ro_RO.js index 576a587f4..47ea96e05 100644 --- a/packages/@uppy/locales/src/ro_RO.js +++ b/packages/@uppy/locales/src/ro_RO.js @@ -14,6 +14,7 @@ ro_RO.strings = { authenticateWithTitle: 'Vă rugăm conectați-vă cu %{pluginName} pentru a selecta fișiere', back: 'Înapoi', browse: 'rasfoiește', + browseFiles: 'rasfoiește', cancel: 'Anulare', cancelUpload: 'Anulează încărcarea', chooseFiles: 'Selectează fișiere', diff --git a/packages/@uppy/locales/src/ru_RU.js b/packages/@uppy/locales/src/ru_RU.js index 0eb609dbc..f7aebb4db 100644 --- a/packages/@uppy/locales/src/ru_RU.js +++ b/packages/@uppy/locales/src/ru_RU.js @@ -10,6 +10,7 @@ ru_RU.strings = { back: 'Назад', addMore: 'Добавить еще', browse: 'выберите', + browseFiles: 'выберите', cancel: 'Отменить', cancelUpload: 'Отменить загрузку', chooseFiles: 'Выбрать файлы', diff --git a/packages/@uppy/locales/src/sk_SK.js b/packages/@uppy/locales/src/sk_SK.js index 910bbcced..d25ce8f86 100644 --- a/packages/@uppy/locales/src/sk_SK.js +++ b/packages/@uppy/locales/src/sk_SK.js @@ -15,6 +15,7 @@ sk_SK.strings = { authenticateWithTitle: 'Prosím príhláste sa k %{pluginName} pre výber súborov', back: 'Späť', browse: 'prechádzať', + browseFiles: 'prechádzať', cancel: 'Zrušiť', cancelUpload: 'Zrušiť nahrávanie', chooseFiles: 'Vyberte súbory', diff --git a/packages/@uppy/locales/src/sr_RS_Cyrillic.js b/packages/@uppy/locales/src/sr_RS_Cyrillic.js index 576136019..fd69732e5 100644 --- a/packages/@uppy/locales/src/sr_RS_Cyrillic.js +++ b/packages/@uppy/locales/src/sr_RS_Cyrillic.js @@ -10,6 +10,7 @@ sr_RS_Cyrillic.strings = { authenticateWithTitle: 'Молимо Вас да се пријавите путем %{pluginName} како бисте преузели датотеке', back: 'Назад', browse: 'потражи', + browseFiles: 'потражи', cancel: 'Откажи', cancelUpload: 'Откажи отпремање', chooseFiles: 'Изабери датотеке', diff --git a/packages/@uppy/locales/src/sr_RS_Latin.js b/packages/@uppy/locales/src/sr_RS_Latin.js index 980f3f236..214120fd6 100644 --- a/packages/@uppy/locales/src/sr_RS_Latin.js +++ b/packages/@uppy/locales/src/sr_RS_Latin.js @@ -10,6 +10,7 @@ sr_RS_Latin.strings = { authenticateWithTitle: 'Molimo Vas da se prijavite putem %{pluginName} kako biste preuzeli datoteke', back: 'Nazad', browse: 'potraži', + browseFiles: 'potraži', cancel: 'Otkaži', cancelUpload: 'Otkaži otpremanje', chooseFiles: 'Izaberi datoteke', diff --git a/packages/@uppy/locales/src/sv_SE.js b/packages/@uppy/locales/src/sv_SE.js index 870de4f75..a0bbad8e7 100644 --- a/packages/@uppy/locales/src/sv_SE.js +++ b/packages/@uppy/locales/src/sv_SE.js @@ -10,6 +10,7 @@ sv_SE.strings = { authenticateWithTitle: 'Anslut till %{pluginName} för att välja filer', back: 'Tillbaka', browse: 'bläddra', + browseFiles: 'bläddra', cancel: 'Avbryt', cancelUpload: 'Avbryt uppladdning', chooseFiles: 'Välj filer', diff --git a/packages/@uppy/locales/src/th_TH.js b/packages/@uppy/locales/src/th_TH.js index 6c31c45ff..760f4185a 100644 --- a/packages/@uppy/locales/src/th_TH.js +++ b/packages/@uppy/locales/src/th_TH.js @@ -10,6 +10,7 @@ th_TH.strings = { authenticateWithTitle: 'กรุณาเข้าใช้งานกับ %{pluginName} เพื่อเลือกไฟล์', back: 'ย้อนกลับ', browse: 'เรียกดู', + browseFiles: 'เรียกดู', cancel: 'ยกเลิก', cancelUpload: 'ยกเลิกการอัปโหลด', chooseFiles: 'เลือกไฟล์', diff --git a/packages/@uppy/locales/src/tr_TR.js b/packages/@uppy/locales/src/tr_TR.js index 018c8c47b..2ca9937c2 100644 --- a/packages/@uppy/locales/src/tr_TR.js +++ b/packages/@uppy/locales/src/tr_TR.js @@ -10,6 +10,7 @@ tr_TR.strings = { authenticateWithTitle: 'Lütfen dosyaları seçmek için %{pluginName} ile bağlanın', back: 'Geri', browse: 'gözat', + browseFiles: 'gözat', cancel: 'İptal', cancelUpload: 'Yüklemeyi İptal Et', chooseFiles: 'Dosyaları seç', diff --git a/packages/@uppy/locales/src/vi_VN.js b/packages/@uppy/locales/src/vi_VN.js index c268db130..dd089423b 100644 --- a/packages/@uppy/locales/src/vi_VN.js +++ b/packages/@uppy/locales/src/vi_VN.js @@ -10,6 +10,7 @@ vi_VN.strings = { authenticateWithTitle: 'Xác thực với %{pluginName} để chọn tập tin', back: 'Quay lại', browse: 'chọn', + browseFiles: 'chọn', cancel: 'Huỷ', cancelUpload: 'Huỷ tải lên', chooseFiles: 'Chọn tập tin', diff --git a/packages/@uppy/locales/src/zh_CN.js b/packages/@uppy/locales/src/zh_CN.js index 47abbadeb..6000664ba 100644 --- a/packages/@uppy/locales/src/zh_CN.js +++ b/packages/@uppy/locales/src/zh_CN.js @@ -14,6 +14,7 @@ zh_CN.strings = { authenticateWithTitle: '请使用 %{pluginName} 进行认证以选择文件', back: '返回', browse: '浏览', + browseFiles: '浏览', cancel: '取消', cancelUpload: '取消上传', chooseFiles: '选择文件', diff --git a/packages/@uppy/locales/src/zh_TW.js b/packages/@uppy/locales/src/zh_TW.js index 95d7475b5..4af0db409 100644 --- a/packages/@uppy/locales/src/zh_TW.js +++ b/packages/@uppy/locales/src/zh_TW.js @@ -14,6 +14,7 @@ zh_TW.strings = { authenticateWithTitle: '請使用%{pluginName}進行身份驗證以選擇檔案', back: '返回', browse: '瀏覽', + browseFiles: '瀏覽', cancel: '取消', cancelUpload: '取消上傳', chooseFiles: '選擇檔案', diff --git a/packages/@uppy/utils/src/Translator.js b/packages/@uppy/utils/src/Translator.js index 467a83e88..3930a1463 100644 --- a/packages/@uppy/utils/src/Translator.js +++ b/packages/@uppy/utils/src/Translator.js @@ -125,6 +125,10 @@ module.exports = class Translator { * @returns {Array} The translated and interpolated parts, in order. */ translateArray (key, options) { + if (!has(this.locale.strings, key)) { + throw new Error(`missing string: ${key}`) + } + const string = this.locale.strings[key] const hasPluralForms = typeof string === 'object' From a8e8a65664ca69b9d2009a8751d8abebc8ff19e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Wed, 29 Jul 2020 15:20:15 +0200 Subject: [PATCH 2/8] dashboard: do %{browse} the old-style way, too --- packages/@uppy/dashboard/src/components/AddFiles.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/@uppy/dashboard/src/components/AddFiles.js b/packages/@uppy/dashboard/src/components/AddFiles.js index 634cc86a9..3b8be223c 100644 --- a/packages/@uppy/dashboard/src/components/AddFiles.js +++ b/packages/@uppy/dashboard/src/components/AddFiles.js @@ -118,10 +118,12 @@ class AddFiles extends Component { const camelFMSelectionType = lowerFMSelectionType.charAt(0).toUpperCase() + lowerFMSelectionType.slice(1) // For backwards compatibility, we need to support both 'browse' and 'browseFiles'/'browseFolders' as strings here. + let browseText = 'browse' let browseFilesText = 'browse' let browseFoldersText = 'browse' if (lowerFMSelectionType === 'files') { try { + browseText = this.props.i18n('browse') browseFilesText = this.props.i18n('browse') browseFoldersText = this.props.i18n('browse') } catch { @@ -135,6 +137,7 @@ class AddFiles extends Component { // Ignore, use the 'browse' string } + const browse = this.renderBrowseButton(browseText, this.triggerFileInputClick) const browseFiles = this.renderBrowseButton(browseFilesText, this.triggerFileInputClick) const browseFolders = this.renderBrowseButton(browseFoldersText, this.triggerFolderInputClick) @@ -142,9 +145,9 @@ class AddFiles extends Component { // strings here, but now we have six. We use the new-style strings by default: let titleText if (numberOfAcquirers > 0) { - titleText = this.props.i18nArray(`dropPasteImport${camelFMSelectionType}`, { browseFiles, browseFolders, browse: browseFiles }) + titleText = this.props.i18nArray(`dropPasteImport${camelFMSelectionType}`, { browseFiles, browseFolders, browse }) } else { - titleText = this.props.i18nArray(`dropPasteImport${camelFMSelectionType}`, { browseFiles, browseFolders, browse: browseFiles }) + titleText = this.props.i18nArray(`dropPasteImport${camelFMSelectionType}`, { browseFiles, browseFolders, browse }) } // We use the old-style strings if available: this implies that the user has @@ -153,9 +156,9 @@ class AddFiles extends Component { if (lowerFMSelectionType === 'files') { try { if (numberOfAcquirers > 0) { - titleText = this.props.i18nArray('dropPaste', { browse: browseFiles }) + titleText = this.props.i18nArray('dropPaste', { browse }) } else { - titleText = this.props.i18nArray('dropPasteImport', { browse: browseFiles }) + titleText = this.props.i18nArray('dropPasteImport', { browse }) } } catch { // Ignore, the new-style strings will be used. From 3286f935e93cac1db608017d6ae0b539033c84ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Wed, 29 Jul 2020 15:26:36 +0200 Subject: [PATCH 3/8] website: fix unescaped html output, thanks Shivprsad Sammbhare Reported by https://linkedin.com/in/shivprasadsambhare --- website/src/examples/xhrupload/app.es6 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/website/src/examples/xhrupload/app.es6 b/website/src/examples/xhrupload/app.es6 index 8b24ce088..95ab49b8b 100644 --- a/website/src/examples/xhrupload/app.es6 +++ b/website/src/examples/xhrupload/app.es6 @@ -25,6 +25,12 @@ uppy.on('upload-success', (file, response) => { const url = response.uploadURL const fileName = file.name - document.querySelector('.uploaded-files ol').innerHTML += - `
  • ${fileName}
  • ` + const li = document.createElement('li') + const a = document.createElement('a') + a.href = url + a.target = '_blank' + a.appendChild(document.createTextNode(fileName)) + li.appendChild(a) + + document.querySelector('.uploaded-files ol').appendChild(li) }) From 4ff28bee2a644bc22a3fd62486f0395fbb0ccce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Wed, 29 Jul 2020 16:43:20 +0200 Subject: [PATCH 4/8] website: also escape output in dragdrop example --- website/src/examples/dragdrop/app.es6 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/website/src/examples/dragdrop/app.es6 b/website/src/examples/dragdrop/app.es6 index 1890158ec..dd57754fb 100644 --- a/website/src/examples/dragdrop/app.es6 +++ b/website/src/examples/dragdrop/app.es6 @@ -11,8 +11,14 @@ const onUploadSuccess = (elForUploadedFiles) => const url = response.uploadURL const fileName = file.name - document.querySelector(elForUploadedFiles).innerHTML += - `
  • ${fileName}
  • ` + const li = document.createElement('li') + const a = document.createElement('a') + a.href = url + a.target = '_blank' + a.appendChild(document.createTextNode(fileName)) + li.appendChild(a) + + document.querySelector(elForUploadedFiles).appendChild(li) } const uppyOne = new Uppy({ debug: true, autoProceed: true }) From 2d91641ddd1efbb7b21ba850156d865491999106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Wed, 29 Jul 2020 16:49:42 +0200 Subject: [PATCH 5/8] Release --- README.md | 126 +++++++++--------- examples/cdn-example/index.html | 4 +- examples/transloadit-textarea/index.html | 2 +- .../uppy-with-companion/client/index.html | 4 +- packages/@uppy/aws-s3-multipart/package.json | 2 +- packages/@uppy/aws-s3/package.json | 2 +- packages/@uppy/companion-client/package.json | 2 +- packages/@uppy/core/package.json | 2 +- packages/@uppy/dashboard/package.json | 2 +- packages/@uppy/drag-drop/package.json | 2 +- packages/@uppy/dropbox/package.json | 2 +- packages/@uppy/facebook/package.json | 2 +- packages/@uppy/file-input/package.json | 2 +- packages/@uppy/form/package.json | 2 +- packages/@uppy/golden-retriever/package.json | 2 +- packages/@uppy/google-drive/package.json | 2 +- packages/@uppy/informer/package.json | 2 +- packages/@uppy/instagram/package.json | 2 +- packages/@uppy/locales/package.json | 2 +- packages/@uppy/onedrive/package.json | 2 +- packages/@uppy/progress-bar/package.json | 2 +- packages/@uppy/provider-views/package.json | 2 +- packages/@uppy/react/package.json | 2 +- packages/@uppy/redux-dev-tools/package.json | 2 +- packages/@uppy/robodog/README.md | 4 +- packages/@uppy/robodog/package.json | 2 +- packages/@uppy/screen-capture/package.json | 2 +- packages/@uppy/status-bar/package.json | 2 +- packages/@uppy/store-default/package.json | 2 +- packages/@uppy/store-redux/package.json | 2 +- .../@uppy/thumbnail-generator/package.json | 2 +- packages/@uppy/transloadit/package.json | 2 +- packages/@uppy/tus/package.json | 2 +- packages/@uppy/url/package.json | 2 +- packages/@uppy/utils/package.json | 2 +- packages/@uppy/webcam/package.json | 2 +- packages/@uppy/xhr-upload/package.json | 2 +- packages/uppy/package.json | 2 +- website/src/docs/index.md | 10 +- website/src/docs/locales.md | 4 +- website/src/docs/robodog-form.md | 8 +- website/src/docs/robodog.md | 4 +- website/src/examples/dashboard/app.es6 | 2 +- website/src/examples/i18n/app.html | 6 +- .../src/examples/markdown-snippets/app.es6 | 2 +- .../src/examples/markdown-snippets/app.html | 2 +- website/themes/uppy/layout/index.ejs | 4 +- 47 files changed, 126 insertions(+), 122 deletions(-) diff --git a/README.md b/README.md index 7a29382e7..ca1bfaa32 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ $ npm install @uppy/core @uppy/dashboard @uppy/tus We recommend installing from npm and then using a module bundler such as [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/). -Add CSS [uppy.min.css](https://transloadit.edgly.net/releases/uppy/v1.19.0/uppy.min.css), either to your HTML page's `` or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack. +Add CSS [uppy.min.css](https://transloadit.edgly.net/releases/uppy/v1.19.1/uppy.min.css), either to your HTML page's `` or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack. Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object. @@ -73,10 +73,10 @@ Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly ```html - + - +
    @@ -174,7 +174,7 @@ const Uppy = require('@uppy/core') If you're using Uppy from CDN, `es6-promise` and `whatwg-fetch` are already included in the bundle, so no need to include anything additionally: ```html - + ``` ## FAQ @@ -259,117 +259,121 @@ Use Uppy in your project? [Let us know](https://github.com/transloadit/uppy/issu :---: |:---: |:---: |:---: |:---: |:---: | [sunil-shrestha](https://github.com/sunil-shrestha) |[yonahforst](https://github.com/yonahforst) |[stephentuso](https://github.com/stephentuso) |[mskelton](https://github.com/mskelton) |[btrice](https://github.com/btrice) |[behnammodi](https://github.com/behnammodi) | -[Burkes](https://github.com/Burkes) |[craigjennings11](https://github.com/craigjennings11) |[davekiss](https://github.com/davekiss) |[frobinsonj](https://github.com/frobinsonj) |[geertclerx](https://github.com/geertclerx) |[jasonbosco](https://github.com/jasonbosco) | +[Burkes](https://github.com/Burkes) |[craigjennings11](https://github.com/craigjennings11) |[davekiss](https://github.com/davekiss) |[elenalape](https://github.com/elenalape) |[frobinsonj](https://github.com/frobinsonj) |[geertclerx](https://github.com/geertclerx) | :---: |:---: |:---: |:---: |:---: |:---: | -[Burkes](https://github.com/Burkes) |[craigjennings11](https://github.com/craigjennings11) |[davekiss](https://github.com/davekiss) |[frobinsonj](https://github.com/frobinsonj) |[geertclerx](https://github.com/geertclerx) |[jasonbosco](https://github.com/jasonbosco) | +[Burkes](https://github.com/Burkes) |[craigjennings11](https://github.com/craigjennings11) |[davekiss](https://github.com/davekiss) |[elenalape](https://github.com/elenalape) |[frobinsonj](https://github.com/frobinsonj) |[geertclerx](https://github.com/geertclerx) | -[jedwood](https://github.com/jedwood) |[Mactaivsh](https://github.com/Mactaivsh) |[maferland](https://github.com/maferland) |[Martin005](https://github.com/Martin005) |[martiuslim](https://github.com/martiuslim) |[MatthiasKunnen](https://github.com/MatthiasKunnen) | +[jasonbosco](https://github.com/jasonbosco) |[jedwood](https://github.com/jedwood) |[Mactaivsh](https://github.com/Mactaivsh) |[maferland](https://github.com/maferland) |[Martin005](https://github.com/Martin005) |[martiuslim](https://github.com/martiuslim) | :---: |:---: |:---: |:---: |:---: |:---: | -[jedwood](https://github.com/jedwood) |[Mactaivsh](https://github.com/Mactaivsh) |[maferland](https://github.com/maferland) |[Martin005](https://github.com/Martin005) |[martiuslim](https://github.com/martiuslim) |[MatthiasKunnen](https://github.com/MatthiasKunnen) | +[jasonbosco](https://github.com/jasonbosco) |[jedwood](https://github.com/jedwood) |[Mactaivsh](https://github.com/Mactaivsh) |[maferland](https://github.com/maferland) |[Martin005](https://github.com/Martin005) |[martiuslim](https://github.com/martiuslim) | -[msand](https://github.com/msand) |[richartkeil](https://github.com/richartkeil) |[richmeij](https://github.com/richmeij) |[rosenfeld](https://github.com/rosenfeld) |[jrschumacher](https://github.com/jrschumacher) |[ThomasG77](https://github.com/ThomasG77) | +[MatthiasKunnen](https://github.com/MatthiasKunnen) |[msand](https://github.com/msand) |[richartkeil](https://github.com/richartkeil) |[richmeij](https://github.com/richmeij) |[rosenfeld](https://github.com/rosenfeld) |[jrschumacher](https://github.com/jrschumacher) | :---: |:---: |:---: |:---: |:---: |:---: | -[msand](https://github.com/msand) |[richartkeil](https://github.com/richartkeil) |[richmeij](https://github.com/richmeij) |[rosenfeld](https://github.com/rosenfeld) |[jrschumacher](https://github.com/jrschumacher) |[ThomasG77](https://github.com/ThomasG77) | +[MatthiasKunnen](https://github.com/MatthiasKunnen) |[msand](https://github.com/msand) |[richartkeil](https://github.com/richartkeil) |[richmeij](https://github.com/richmeij) |[rosenfeld](https://github.com/rosenfeld) |[jrschumacher](https://github.com/jrschumacher) | -[zhuangya](https://github.com/zhuangya) |[allenfantasy](https://github.com/allenfantasy) |[Zyclotrop-j](https://github.com/Zyclotrop-j) |[fortrieb](https://github.com/fortrieb) |[jarey](https://github.com/jarey) |[muhammadInam](https://github.com/muhammadInam) | +[ThomasG77](https://github.com/ThomasG77) |[zhuangya](https://github.com/zhuangya) |[allenfantasy](https://github.com/allenfantasy) |[Zyclotrop-j](https://github.com/Zyclotrop-j) |[fortrieb](https://github.com/fortrieb) |[jarey](https://github.com/jarey) | :---: |:---: |:---: |:---: |:---: |:---: | -[zhuangya](https://github.com/zhuangya) |[allenfantasy](https://github.com/allenfantasy) |[Zyclotrop-j](https://github.com/Zyclotrop-j) |[fortrieb](https://github.com/fortrieb) |[jarey](https://github.com/jarey) |[muhammadInam](https://github.com/muhammadInam) | +[ThomasG77](https://github.com/ThomasG77) |[zhuangya](https://github.com/zhuangya) |[allenfantasy](https://github.com/allenfantasy) |[Zyclotrop-j](https://github.com/Zyclotrop-j) |[fortrieb](https://github.com/fortrieb) |[jarey](https://github.com/jarey) | -[rettgerst](https://github.com/rettgerst) |[jukakoski](https://github.com/jukakoski) |[ajschmidt8](https://github.com/ajschmidt8) |[superhawk610](https://github.com/superhawk610) |[adamelmore](https://github.com/adamelmore) |[adamvigneault](https://github.com/adamvigneault) | +[muhammadInam](https://github.com/muhammadInam) |[rettgerst](https://github.com/rettgerst) |[jukakoski](https://github.com/jukakoski) |[ajschmidt8](https://github.com/ajschmidt8) |[superhawk610](https://github.com/superhawk610) |[adamelmore](https://github.com/adamelmore) | :---: |:---: |:---: |:---: |:---: |:---: | -[rettgerst](https://github.com/rettgerst) |[jukakoski](https://github.com/jukakoski) |[ajschmidt8](https://github.com/ajschmidt8) |[superhawk610](https://github.com/superhawk610) |[adamelmore](https://github.com/adamelmore) |[adamvigneault](https://github.com/adamvigneault) | +[muhammadInam](https://github.com/muhammadInam) |[rettgerst](https://github.com/rettgerst) |[jukakoski](https://github.com/jukakoski) |[ajschmidt8](https://github.com/ajschmidt8) |[superhawk610](https://github.com/superhawk610) |[adamelmore](https://github.com/adamelmore) | -[asmt3](https://github.com/asmt3) |[alexnj](https://github.com/alexnj) |[amitport](https://github.com/amitport) |[functino](https://github.com/functino) |[Botz](https://github.com/Botz) |[radarhere](https://github.com/radarhere) | +[adamvigneault](https://github.com/adamvigneault) |[asmt3](https://github.com/asmt3) |[alexnj](https://github.com/alexnj) |[amitport](https://github.com/amitport) |[functino](https://github.com/functino) |[Botz](https://github.com/Botz) | :---: |:---: |:---: |:---: |:---: |:---: | -[asmt3](https://github.com/asmt3) |[alexnj](https://github.com/alexnj) |[amitport](https://github.com/amitport) |[functino](https://github.com/functino) |[Botz](https://github.com/Botz) |[radarhere](https://github.com/radarhere) | +[adamvigneault](https://github.com/adamvigneault) |[asmt3](https://github.com/asmt3) |[alexnj](https://github.com/alexnj) |[amitport](https://github.com/amitport) |[functino](https://github.com/functino) |[Botz](https://github.com/Botz) | -[superandrew213](https://github.com/superandrew213) |[andychongyz](https://github.com/andychongyz) |[arthurdenner](https://github.com/arthurdenner) |[apuyou](https://github.com/apuyou) |[bochkarev-artem](https://github.com/bochkarev-artem) |[atsawin](https://github.com/atsawin) | +[radarhere](https://github.com/radarhere) |[superandrew213](https://github.com/superandrew213) |[andychongyz](https://github.com/andychongyz) |[arthurdenner](https://github.com/arthurdenner) |[apuyou](https://github.com/apuyou) |[bochkarev-artem](https://github.com/bochkarev-artem) | :---: |:---: |:---: |:---: |:---: |:---: | -[superandrew213](https://github.com/superandrew213) |[andychongyz](https://github.com/andychongyz) |[arthurdenner](https://github.com/arthurdenner) |[apuyou](https://github.com/apuyou) |[bochkarev-artem](https://github.com/bochkarev-artem) |[atsawin](https://github.com/atsawin) | +[radarhere](https://github.com/radarhere) |[superandrew213](https://github.com/superandrew213) |[andychongyz](https://github.com/andychongyz) |[arthurdenner](https://github.com/arthurdenner) |[apuyou](https://github.com/apuyou) |[bochkarev-artem](https://github.com/bochkarev-artem) | -[ayhankesicioglu](https://github.com/ayhankesicioglu) |[azeemba](https://github.com/azeemba) |[bducharme](https://github.com/bducharme) |[Quorafind](https://github.com/Quorafind) |[cellvinchung](https://github.com/cellvinchung) |[chao](https://github.com/chao) | +[atsawin](https://github.com/atsawin) |[ayhankesicioglu](https://github.com/ayhankesicioglu) |[azeemba](https://github.com/azeemba) |[bducharme](https://github.com/bducharme) |[Quorafind](https://github.com/Quorafind) |[cellvinchung](https://github.com/cellvinchung) | :---: |:---: |:---: |:---: |:---: |:---: | -[ayhankesicioglu](https://github.com/ayhankesicioglu) |[azeemba](https://github.com/azeemba) |[bducharme](https://github.com/bducharme) |[Quorafind](https://github.com/Quorafind) |[cellvinchung](https://github.com/cellvinchung) |[chao](https://github.com/chao) | +[atsawin](https://github.com/atsawin) |[ayhankesicioglu](https://github.com/ayhankesicioglu) |[azeemba](https://github.com/azeemba) |[bducharme](https://github.com/bducharme) |[Quorafind](https://github.com/Quorafind) |[cellvinchung](https://github.com/cellvinchung) | -[csprance](https://github.com/csprance) |[Aarbel](https://github.com/Aarbel) |[cbush06](https://github.com/cbush06) |[czj](https://github.com/czj) |[ardeois](https://github.com/ardeois) |[sercraig](https://github.com/sercraig) | +[chao](https://github.com/chao) |[csprance](https://github.com/csprance) |[Aarbel](https://github.com/Aarbel) |[cbush06](https://github.com/cbush06) |[czj](https://github.com/czj) |[ardeois](https://github.com/ardeois) | :---: |:---: |:---: |:---: |:---: |:---: | -[csprance](https://github.com/csprance) |[Aarbel](https://github.com/Aarbel) |[cbush06](https://github.com/cbush06) |[czj](https://github.com/czj) |[ardeois](https://github.com/ardeois) |[sercraig](https://github.com/sercraig) | +[chao](https://github.com/chao) |[csprance](https://github.com/csprance) |[Aarbel](https://github.com/Aarbel) |[cbush06](https://github.com/cbush06) |[czj](https://github.com/czj) |[ardeois](https://github.com/ardeois) | -[danmichaelo](https://github.com/danmichaelo) |[mrboomer](https://github.com/mrboomer) |[akizor](https://github.com/akizor) |[davilima6](https://github.com/davilima6) |[DennisKofflard](https://github.com/DennisKofflard) |[dominiceden](https://github.com/dominiceden) | +[sercraig](https://github.com/sercraig) |[danmichaelo](https://github.com/danmichaelo) |[mrboomer](https://github.com/mrboomer) |[akizor](https://github.com/akizor) |[davilima6](https://github.com/davilima6) |[DennisKofflard](https://github.com/DennisKofflard) | :---: |:---: |:---: |:---: |:---: |:---: | -[danmichaelo](https://github.com/danmichaelo) |[mrboomer](https://github.com/mrboomer) |[akizor](https://github.com/akizor) |[davilima6](https://github.com/davilima6) |[DennisKofflard](https://github.com/DennisKofflard) |[dominiceden](https://github.com/dominiceden) | +[sercraig](https://github.com/sercraig) |[danmichaelo](https://github.com/danmichaelo) |[mrboomer](https://github.com/mrboomer) |[akizor](https://github.com/akizor) |[davilima6](https://github.com/davilima6) |[DennisKofflard](https://github.com/DennisKofflard) | -[efbautista](https://github.com/efbautista) |[yoldar](https://github.com/yoldar) |[elenalape](https://github.com/elenalape) |[eliOcs](https://github.com/eliOcs) |[lowsprofile](https://github.com/lowsprofile) |[fgallinari](https://github.com/fgallinari) | +[jeetiss](https://github.com/jeetiss) |[dominiceden](https://github.com/dominiceden) |[efbautista](https://github.com/efbautista) |[yoldar](https://github.com/yoldar) |[eliOcs](https://github.com/eliOcs) |[lowsprofile](https://github.com/lowsprofile) | :---: |:---: |:---: |:---: |:---: |:---: | -[efbautista](https://github.com/efbautista) |[yoldar](https://github.com/yoldar) |[elenalape](https://github.com/elenalape) |[eliOcs](https://github.com/eliOcs) |[lowsprofile](https://github.com/lowsprofile) |[fgallinari](https://github.com/fgallinari) | +[jeetiss](https://github.com/jeetiss) |[dominiceden](https://github.com/dominiceden) |[efbautista](https://github.com/efbautista) |[yoldar](https://github.com/yoldar) |[eliOcs](https://github.com/eliOcs) |[lowsprofile](https://github.com/lowsprofile) | -[dtrucs](https://github.com/dtrucs) |[geoffappleford](https://github.com/geoffappleford) |[gjungb](https://github.com/gjungb) |[roenschg](https://github.com/roenschg) |[HughbertD](https://github.com/HughbertD) |[HussainAlkhalifah](https://github.com/HussainAlkhalifah) | +[fgallinari](https://github.com/fgallinari) |[dtrucs](https://github.com/dtrucs) |[geoffappleford](https://github.com/geoffappleford) |[gjungb](https://github.com/gjungb) |[roenschg](https://github.com/roenschg) |[HughbertD](https://github.com/HughbertD) | :---: |:---: |:---: |:---: |:---: |:---: | -[dtrucs](https://github.com/dtrucs) |[geoffappleford](https://github.com/geoffappleford) |[gjungb](https://github.com/gjungb) |[roenschg](https://github.com/roenschg) |[HughbertD](https://github.com/HughbertD) |[HussainAlkhalifah](https://github.com/HussainAlkhalifah) | +[fgallinari](https://github.com/fgallinari) |[dtrucs](https://github.com/dtrucs) |[geoffappleford](https://github.com/geoffappleford) |[gjungb](https://github.com/gjungb) |[roenschg](https://github.com/roenschg) |[HughbertD](https://github.com/HughbertD) | -[huydod](https://github.com/huydod) |[ishendyweb](https://github.com/ishendyweb) |[NaxYo](https://github.com/NaxYo) |[intenzive](https://github.com/intenzive) |[JacobMGEvans](https://github.com/JacobMGEvans) |[jdssem](https://github.com/jdssem) | +[HussainAlkhalifah](https://github.com/HussainAlkhalifah) |[huydod](https://github.com/huydod) |[ishendyweb](https://github.com/ishendyweb) |[NaxYo](https://github.com/NaxYo) |[intenzive](https://github.com/intenzive) |[JacobMGEvans](https://github.com/JacobMGEvans) | :---: |:---: |:---: |:---: |:---: |:---: | -[huydod](https://github.com/huydod) |[ishendyweb](https://github.com/ishendyweb) |[NaxYo](https://github.com/NaxYo) |[intenzive](https://github.com/intenzive) |[JacobMGEvans](https://github.com/JacobMGEvans) |[jdssem](https://github.com/jdssem) | +[HussainAlkhalifah](https://github.com/HussainAlkhalifah) |[huydod](https://github.com/huydod) |[ishendyweb](https://github.com/ishendyweb) |[NaxYo](https://github.com/NaxYo) |[intenzive](https://github.com/intenzive) |[JacobMGEvans](https://github.com/JacobMGEvans) | -[jcjmcclean](https://github.com/jcjmcclean) |[janklimo](https://github.com/janklimo) |[vith](https://github.com/vith) |[jessica-coursera](https://github.com/jessica-coursera) |[theJoeBiz](https://github.com/theJoeBiz) |[jderrough](https://github.com/jderrough) | +[jdssem](https://github.com/jdssem) |[jcjmcclean](https://github.com/jcjmcclean) |[janklimo](https://github.com/janklimo) |[vith](https://github.com/vith) |[jessica-coursera](https://github.com/jessica-coursera) |[theJoeBiz](https://github.com/theJoeBiz) | :---: |:---: |:---: |:---: |:---: |:---: | -[jcjmcclean](https://github.com/jcjmcclean) |[janklimo](https://github.com/janklimo) |[vith](https://github.com/vith) |[jessica-coursera](https://github.com/jessica-coursera) |[theJoeBiz](https://github.com/theJoeBiz) |[jderrough](https://github.com/jderrough) | +[jdssem](https://github.com/jdssem) |[jcjmcclean](https://github.com/jcjmcclean) |[janklimo](https://github.com/janklimo) |[vith](https://github.com/vith) |[jessica-coursera](https://github.com/jessica-coursera) |[theJoeBiz](https://github.com/theJoeBiz) | -[jonathanly](https://github.com/jonathanly) |[jorgeepc](https://github.com/jorgeepc) |[julianocomg](https://github.com/julianocomg) |[dogrocker](https://github.com/dogrocker) |[firesharkstudios](https://github.com/firesharkstudios) |[kyleparisi](https://github.com/kyleparisi) | +[johnnyperkins](https://github.com/johnnyperkins) |[jonathanarbely](https://github.com/jonathanarbely) |[jderrough](https://github.com/jderrough) |[jonathanly](https://github.com/jonathanly) |[jorgeepc](https://github.com/jorgeepc) |[julianocomg](https://github.com/julianocomg) | :---: |:---: |:---: |:---: |:---: |:---: | -[jonathanly](https://github.com/jonathanly) |[jorgeepc](https://github.com/jorgeepc) |[julianocomg](https://github.com/julianocomg) |[dogrocker](https://github.com/dogrocker) |[firesharkstudios](https://github.com/firesharkstudios) |[kyleparisi](https://github.com/kyleparisi) | +[johnnyperkins](https://github.com/johnnyperkins) |[jonathanarbely](https://github.com/jonathanarbely) |[jderrough](https://github.com/jderrough) |[jonathanly](https://github.com/jonathanly) |[jorgeepc](https://github.com/jorgeepc) |[julianocomg](https://github.com/julianocomg) | -[lafe](https://github.com/lafe) |[larowlan](https://github.com/larowlan) |[dviry](https://github.com/dviry) |[galli-leo](https://github.com/galli-leo) |[leods92](https://github.com/leods92) |[louim](https://github.com/louim) | +[dogrocker](https://github.com/dogrocker) |[firesharkstudios](https://github.com/firesharkstudios) |[kyleparisi](https://github.com/kyleparisi) |[lafe](https://github.com/lafe) |[larowlan](https://github.com/larowlan) |[dviry](https://github.com/dviry) | :---: |:---: |:---: |:---: |:---: |:---: | -[lafe](https://github.com/lafe) |[larowlan](https://github.com/larowlan) |[dviry](https://github.com/dviry) |[galli-leo](https://github.com/galli-leo) |[leods92](https://github.com/leods92) |[louim](https://github.com/louim) | +[dogrocker](https://github.com/dogrocker) |[firesharkstudios](https://github.com/firesharkstudios) |[kyleparisi](https://github.com/kyleparisi) |[lafe](https://github.com/lafe) |[larowlan](https://github.com/larowlan) |[dviry](https://github.com/dviry) | -[lucaperret](https://github.com/lucaperret) |[mperrando](https://github.com/mperrando) |[marcusforsberg](https://github.com/marcusforsberg) |[Acconut](https://github.com/Acconut) |[mattfik](https://github.com/mattfik) |[matthewhartstonge](https://github.com/matthewhartstonge) | +[galli-leo](https://github.com/galli-leo) |[leods92](https://github.com/leods92) |[louim](https://github.com/louim) |[lucaperret](https://github.com/lucaperret) |[mperrando](https://github.com/mperrando) |[marcusforsberg](https://github.com/marcusforsberg) | :---: |:---: |:---: |:---: |:---: |:---: | -[lucaperret](https://github.com/lucaperret) |[mperrando](https://github.com/mperrando) |[marcusforsberg](https://github.com/marcusforsberg) |[Acconut](https://github.com/Acconut) |[mattfik](https://github.com/mattfik) |[matthewhartstonge](https://github.com/matthewhartstonge) | +[galli-leo](https://github.com/galli-leo) |[leods92](https://github.com/leods92) |[louim](https://github.com/louim) |[lucaperret](https://github.com/lucaperret) |[mperrando](https://github.com/mperrando) |[marcusforsberg](https://github.com/marcusforsberg) | -[hrsh](https://github.com/hrsh) |[mhulet](https://github.com/mhulet) |[mkabatek](https://github.com/mkabatek) |[achmiral](https://github.com/achmiral) |[mnafees](https://github.com/mnafees) |[shahimclt](https://github.com/shahimclt) | +[Acconut](https://github.com/Acconut) |[mattfik](https://github.com/mattfik) |[matthewhartstonge](https://github.com/matthewhartstonge) |[hrsh](https://github.com/hrsh) |[mhulet](https://github.com/mhulet) |[mkabatek](https://github.com/mkabatek) | :---: |:---: |:---: |:---: |:---: |:---: | -[hrsh](https://github.com/hrsh) |[mhulet](https://github.com/mhulet) |[mkabatek](https://github.com/mkabatek) |[achmiral](https://github.com/achmiral) |[mnafees](https://github.com/mnafees) |[shahimclt](https://github.com/shahimclt) | +[Acconut](https://github.com/Acconut) |[mattfik](https://github.com/mattfik) |[matthewhartstonge](https://github.com/matthewhartstonge) |[hrsh](https://github.com/hrsh) |[mhulet](https://github.com/mhulet) |[mkabatek](https://github.com/mkabatek) | -[naveed-ahmad](https://github.com/naveed-ahmad) |[nicojones](https://github.com/nicojones) |[olemoign](https://github.com/olemoign) |[leftdevel](https://github.com/leftdevel) |[cryptic022](https://github.com/cryptic022) |[pedrofs](https://github.com/pedrofs) | +[achmiral](https://github.com/achmiral) |[mnafees](https://github.com/mnafees) |[shahimclt](https://github.com/shahimclt) |[naveed-ahmad](https://github.com/naveed-ahmad) |[nicojones](https://github.com/nicojones) |[olemoign](https://github.com/olemoign) | :---: |:---: |:---: |:---: |:---: |:---: | -[naveed-ahmad](https://github.com/naveed-ahmad) |[nicojones](https://github.com/nicojones) |[olemoign](https://github.com/olemoign) |[leftdevel](https://github.com/leftdevel) |[cryptic022](https://github.com/cryptic022) |[pedrofs](https://github.com/pedrofs) | +[achmiral](https://github.com/achmiral) |[mnafees](https://github.com/mnafees) |[shahimclt](https://github.com/shahimclt) |[naveed-ahmad](https://github.com/naveed-ahmad) |[nicojones](https://github.com/nicojones) |[olemoign](https://github.com/olemoign) | -[phillipalexander](https://github.com/phillipalexander) |[Pzoco](https://github.com/Pzoco) |[eman8519](https://github.com/eman8519) |[luarmr](https://github.com/luarmr) |[phobos101](https://github.com/phobos101) |[romain-preston](https://github.com/romain-preston) | +[leftdevel](https://github.com/leftdevel) |[cryptic022](https://github.com/cryptic022) |[pedrofs](https://github.com/pedrofs) |[phillipalexander](https://github.com/phillipalexander) |[Pzoco](https://github.com/Pzoco) |[eman8519](https://github.com/eman8519) | :---: |:---: |:---: |:---: |:---: |:---: | -[phillipalexander](https://github.com/phillipalexander) |[Pzoco](https://github.com/Pzoco) |[eman8519](https://github.com/eman8519) |[luarmr](https://github.com/luarmr) |[phobos101](https://github.com/phobos101) |[romain-preston](https://github.com/romain-preston) | +[leftdevel](https://github.com/leftdevel) |[cryptic022](https://github.com/cryptic022) |[pedrofs](https://github.com/pedrofs) |[phillipalexander](https://github.com/phillipalexander) |[Pzoco](https://github.com/Pzoco) |[eman8519](https://github.com/eman8519) | -[scherroman](https://github.com/scherroman) |[fortunto2](https://github.com/fortunto2) |[samuelcolburn](https://github.com/samuelcolburn) |[sergei-zelinsky](https://github.com/sergei-zelinsky) |[SpazzMarticus](https://github.com/SpazzMarticus) |[suchoproduction](https://github.com/suchoproduction) | +[luarmr](https://github.com/luarmr) |[phobos101](https://github.com/phobos101) |[romain-preston](https://github.com/romain-preston) |[scherroman](https://github.com/scherroman) |[fortunto2](https://github.com/fortunto2) |[samuelcolburn](https://github.com/samuelcolburn) | :---: |:---: |:---: |:---: |:---: |:---: | -[scherroman](https://github.com/scherroman) |[fortunto2](https://github.com/fortunto2) |[samuelcolburn](https://github.com/samuelcolburn) |[sergei-zelinsky](https://github.com/sergei-zelinsky) |[SpazzMarticus](https://github.com/SpazzMarticus) |[suchoproduction](https://github.com/suchoproduction) | +[luarmr](https://github.com/luarmr) |[phobos101](https://github.com/phobos101) |[romain-preston](https://github.com/romain-preston) |[scherroman](https://github.com/scherroman) |[fortunto2](https://github.com/fortunto2) |[samuelcolburn](https://github.com/samuelcolburn) | -[waptik](https://github.com/waptik) |[steverob](https://github.com/steverob) |[tajchumber](https://github.com/tajchumber) |[Tashows](https://github.com/Tashows) |[twarlop](https://github.com/twarlop) |[tmaier](https://github.com/tmaier) | +[sergei-zelinsky](https://github.com/sergei-zelinsky) |[SpazzMarticus](https://github.com/SpazzMarticus) |[suchoproduction](https://github.com/suchoproduction) |[waptik](https://github.com/waptik) |[steverob](https://github.com/steverob) |[tajchumber](https://github.com/tajchumber) | :---: |:---: |:---: |:---: |:---: |:---: | -[waptik](https://github.com/waptik) |[steverob](https://github.com/steverob) |[tajchumber](https://github.com/tajchumber) |[Tashows](https://github.com/Tashows) |[twarlop](https://github.com/twarlop) |[tmaier](https://github.com/tmaier) | +[sergei-zelinsky](https://github.com/sergei-zelinsky) |[SpazzMarticus](https://github.com/SpazzMarticus) |[suchoproduction](https://github.com/suchoproduction) |[waptik](https://github.com/waptik) |[steverob](https://github.com/steverob) |[tajchumber](https://github.com/tajchumber) | -[tomsaleeba](https://github.com/tomsaleeba) |[tvaliasek](https://github.com/tvaliasek) |[sparanoid](https://github.com/sparanoid) |[vially](https://github.com/vially) |[nagyv](https://github.com/nagyv) |[willycamargo](https://github.com/willycamargo) | +[Tashows](https://github.com/Tashows) |[twarlop](https://github.com/twarlop) |[tmaier](https://github.com/tmaier) |[tomsaleeba](https://github.com/tomsaleeba) |[tvaliasek](https://github.com/tvaliasek) |[sparanoid](https://github.com/sparanoid) | :---: |:---: |:---: |:---: |:---: |:---: | -[tomsaleeba](https://github.com/tomsaleeba) |[tvaliasek](https://github.com/tvaliasek) |[sparanoid](https://github.com/sparanoid) |[vially](https://github.com/vially) |[nagyv](https://github.com/nagyv) |[willycamargo](https://github.com/willycamargo) | +[Tashows](https://github.com/Tashows) |[twarlop](https://github.com/twarlop) |[tmaier](https://github.com/tmaier) |[tomsaleeba](https://github.com/tomsaleeba) |[tvaliasek](https://github.com/tvaliasek) |[sparanoid](https://github.com/sparanoid) | -[xhocquet](https://github.com/xhocquet) |[yaegor](https://github.com/yaegor) |[YehudaKremer](https://github.com/YehudaKremer) |[zachconner](https://github.com/zachconner) |[zacharylawson](https://github.com/zacharylawson) |[agreene-coursera](https://github.com/agreene-coursera) | +[vially](https://github.com/vially) |[nagyv](https://github.com/nagyv) |[willycamargo](https://github.com/willycamargo) |[xhocquet](https://github.com/xhocquet) |[yaegor](https://github.com/yaegor) |[YehudaKremer](https://github.com/YehudaKremer) | :---: |:---: |:---: |:---: |:---: |:---: | -[xhocquet](https://github.com/xhocquet) |[yaegor](https://github.com/yaegor) |[YehudaKremer](https://github.com/YehudaKremer) |[zachconner](https://github.com/zachconner) |[zacharylawson](https://github.com/zacharylawson) |[agreene-coursera](https://github.com/agreene-coursera) | +[vially](https://github.com/vially) |[nagyv](https://github.com/nagyv) |[willycamargo](https://github.com/willycamargo) |[xhocquet](https://github.com/xhocquet) |[yaegor](https://github.com/yaegor) |[YehudaKremer](https://github.com/YehudaKremer) | -[alfatv](https://github.com/alfatv) |[arggh](https://github.com/arggh) |[avalla](https://github.com/avalla) |[bdirito](https://github.com/bdirito) |[c0b41](https://github.com/c0b41) |[canvasbh](https://github.com/canvasbh) | +[zachconner](https://github.com/zachconner) |[zacharylawson](https://github.com/zacharylawson) |[agreene-coursera](https://github.com/agreene-coursera) |[alfatv](https://github.com/alfatv) |[arggh](https://github.com/arggh) |[avalla](https://github.com/avalla) | :---: |:---: |:---: |:---: |:---: |:---: | -[alfatv](https://github.com/alfatv) |[arggh](https://github.com/arggh) |[avalla](https://github.com/avalla) |[bdirito](https://github.com/bdirito) |[c0b41](https://github.com/c0b41) |[canvasbh](https://github.com/canvasbh) | +[zachconner](https://github.com/zachconner) |[zacharylawson](https://github.com/zacharylawson) |[agreene-coursera](https://github.com/agreene-coursera) |[alfatv](https://github.com/alfatv) |[arggh](https://github.com/arggh) |[avalla](https://github.com/avalla) | -[craigcbrunner](https://github.com/craigcbrunner) |[darthf1](https://github.com/darthf1) |[dkisic](https://github.com/dkisic) |[franckl](https://github.com/franckl) |[green-mike](https://github.com/green-mike) |[johnmanjiro13](https://github.com/johnmanjiro13) | +[bdirito](https://github.com/bdirito) |[c0b41](https://github.com/c0b41) |[canvasbh](https://github.com/canvasbh) |[craigcbrunner](https://github.com/craigcbrunner) |[darthf1](https://github.com/darthf1) |[dkisic](https://github.com/dkisic) | :---: |:---: |:---: |:---: |:---: |:---: | -[craigcbrunner](https://github.com/craigcbrunner) |[darthf1](https://github.com/darthf1) |[dkisic](https://github.com/dkisic) |[franckl](https://github.com/franckl) |[green-mike](https://github.com/green-mike) |[johnmanjiro13](https://github.com/johnmanjiro13) | +[bdirito](https://github.com/bdirito) |[c0b41](https://github.com/c0b41) |[canvasbh](https://github.com/canvasbh) |[craigcbrunner](https://github.com/craigcbrunner) |[darthf1](https://github.com/darthf1) |[dkisic](https://github.com/dkisic) | -[magumbo](https://github.com/magumbo) |[ninesalt](https://github.com/ninesalt) |[luntta](https://github.com/luntta) |[rhymes](https://github.com/rhymes) |[rlebosse](https://github.com/rlebosse) |[rtaieb](https://github.com/rtaieb) | +[fingul](https://github.com/fingul) |[franckl](https://github.com/franckl) |[green-mike](https://github.com/green-mike) |[johnmanjiro13](https://github.com/johnmanjiro13) |[magumbo](https://github.com/magumbo) |[ninesalt](https://github.com/ninesalt) | :---: |:---: |:---: |:---: |:---: |:---: | -[magumbo](https://github.com/magumbo) |[ninesalt](https://github.com/ninesalt) |[luntta](https://github.com/luntta) |[rhymes](https://github.com/rhymes) |[rlebosse](https://github.com/rlebosse) |[rtaieb](https://github.com/rtaieb) | +[fingul](https://github.com/fingul) |[franckl](https://github.com/franckl) |[green-mike](https://github.com/green-mike) |[johnmanjiro13](https://github.com/johnmanjiro13) |[magumbo](https://github.com/magumbo) |[ninesalt](https://github.com/ninesalt) | -[thanhthot](https://github.com/thanhthot) |[tinny77](https://github.com/tinny77) |[yoann-hellopret](https://github.com/yoann-hellopret) |[olitomas](https://github.com/olitomas) | -:---: |:---: |:---: |:---: | -[thanhthot](https://github.com/thanhthot) |[tinny77](https://github.com/tinny77) |[yoann-hellopret](https://github.com/yoann-hellopret) |[olitomas](https://github.com/olitomas) | +[luntta](https://github.com/luntta) |[rhymes](https://github.com/rhymes) |[rlebosse](https://github.com/rlebosse) |[rtaieb](https://github.com/rtaieb) |[thanhthot](https://github.com/thanhthot) |[tinny77](https://github.com/tinny77) | +:---: |:---: |:---: |:---: |:---: |:---: | +[luntta](https://github.com/luntta) |[rhymes](https://github.com/rhymes) |[rlebosse](https://github.com/rlebosse) |[rtaieb](https://github.com/rtaieb) |[thanhthot](https://github.com/thanhthot) |[tinny77](https://github.com/tinny77) | + +[yoann-hellopret](https://github.com/yoann-hellopret) |[olitomas](https://github.com/olitomas) | +:---: |:---: | +[yoann-hellopret](https://github.com/yoann-hellopret) |[olitomas](https://github.com/olitomas) | diff --git a/examples/cdn-example/index.html b/examples/cdn-example/index.html index 1bd61deaf..6e34a9bd5 100644 --- a/examples/cdn-example/index.html +++ b/examples/cdn-example/index.html @@ -4,11 +4,11 @@ - + - + + + + ``` Then, a global `Robodog` variable will be available. For usage instructions, please see the [main Robodog documentation](https://uppy.io/docs/robodog). diff --git a/packages/@uppy/robodog/package.json b/packages/@uppy/robodog/package.json index e38840dab..28784b50b 100644 --- a/packages/@uppy/robodog/package.json +++ b/packages/@uppy/robodog/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/robodog", "description": "Transloadit SDK for browsers based on Uppy", - "version": "1.9.0", + "version": "1.9.1", "license": "MIT", "main": "lib/index.js", "jsnext:main": "src/index.js", diff --git a/packages/@uppy/screen-capture/package.json b/packages/@uppy/screen-capture/package.json index 2f15d7542..d873e9099 100644 --- a/packages/@uppy/screen-capture/package.json +++ b/packages/@uppy/screen-capture/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/screen-capture", "description": "Uppy plugin that captures video from display or application.", - "version": "1.0.4", + "version": "1.0.5", "license": "MIT", "main": "lib/index.js", "style": "dist/style.min.css", diff --git a/packages/@uppy/status-bar/package.json b/packages/@uppy/status-bar/package.json index 50dbf4451..a6718ad0b 100644 --- a/packages/@uppy/status-bar/package.json +++ b/packages/@uppy/status-bar/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/status-bar", "description": "A progress bar for Uppy, with many bells and whistles.", - "version": "1.7.1", + "version": "1.7.2", "license": "MIT", "main": "lib/index.js", "style": "dist/style.min.css", diff --git a/packages/@uppy/store-default/package.json b/packages/@uppy/store-default/package.json index bac12ffde..d12c1ced3 100644 --- a/packages/@uppy/store-default/package.json +++ b/packages/@uppy/store-default/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/store-default", "description": "The default simple object-based store for Uppy.", - "version": "1.2.1", + "version": "1.2.2", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/store-redux/package.json b/packages/@uppy/store-redux/package.json index 57b94433e..b5af2b95f 100644 --- a/packages/@uppy/store-redux/package.json +++ b/packages/@uppy/store-redux/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/store-redux", "description": "Make Uppy use your existing Redux store.", - "version": "1.2.1", + "version": "1.2.2", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/thumbnail-generator/package.json b/packages/@uppy/thumbnail-generator/package.json index ab1c95e45..562c2b70c 100644 --- a/packages/@uppy/thumbnail-generator/package.json +++ b/packages/@uppy/thumbnail-generator/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/thumbnail-generator", "description": "Uppy plugin that generates small previews of images to show on your upload UI.", - "version": "1.6.3", + "version": "1.6.4", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/transloadit/package.json b/packages/@uppy/transloadit/package.json index 932f38973..2f2d14dc0 100644 --- a/packages/@uppy/transloadit/package.json +++ b/packages/@uppy/transloadit/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/transloadit", "description": "The Transloadit plugin can be used to upload files to Transloadit for all kinds of processing, such as transcoding video, resizing images, zipping/unzipping, and more", - "version": "1.6.3", + "version": "1.6.4", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/tus/package.json b/packages/@uppy/tus/package.json index 1341091ac..2533c4f05 100644 --- a/packages/@uppy/tus/package.json +++ b/packages/@uppy/tus/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/tus", "description": "Resumable uploads for Uppy using Tus.io", - "version": "1.7.1", + "version": "1.7.2", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/url/package.json b/packages/@uppy/url/package.json index aabcf2aa6..5488627a9 100644 --- a/packages/@uppy/url/package.json +++ b/packages/@uppy/url/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/url", "description": "The Url plugin lets users import files from the Internet. Paste any URL and it’ll be added!", - "version": "1.5.8", + "version": "1.5.9", "license": "MIT", "main": "lib/index.js", "style": "dist/style.min.css", diff --git a/packages/@uppy/utils/package.json b/packages/@uppy/utils/package.json index b64e7cba1..f3db26a64 100644 --- a/packages/@uppy/utils/package.json +++ b/packages/@uppy/utils/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/utils", "description": "Shared utility functions for Uppy Core and plugins maintained by the Uppy team.", - "version": "3.2.0", + "version": "3.2.1", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/webcam/package.json b/packages/@uppy/webcam/package.json index 4da863dd8..73da8d35c 100644 --- a/packages/@uppy/webcam/package.json +++ b/packages/@uppy/webcam/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/webcam", "description": "Uppy plugin that takes photos or records videos using the device's camera.", - "version": "1.6.8", + "version": "1.6.9", "license": "MIT", "main": "lib/index.js", "style": "dist/style.min.css", diff --git a/packages/@uppy/xhr-upload/package.json b/packages/@uppy/xhr-upload/package.json index e10a31f16..37cae8c19 100644 --- a/packages/@uppy/xhr-upload/package.json +++ b/packages/@uppy/xhr-upload/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/xhr-upload", "description": "Plain and simple classic HTML multipart form uploads with Uppy, as well as uploads using the HTTP PUT method.", - "version": "1.6.1", + "version": "1.6.2", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/uppy/package.json b/packages/uppy/package.json index 14ef1064a..fadca972f 100644 --- a/packages/uppy/package.json +++ b/packages/uppy/package.json @@ -1,7 +1,7 @@ { "name": "uppy", "description": "Extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:", - "version": "1.19.0", + "version": "1.19.1", "license": "MIT", "main": "index.js", "module": "index.mjs", diff --git a/website/src/docs/index.md b/website/src/docs/index.md index d8997c2bc..4babaf11a 100644 --- a/website/src/docs/index.md +++ b/website/src/docs/index.md @@ -19,12 +19,12 @@ Here’s the simplest example html page with Uppy (it uses a CDN bundle, while w Uppy - +
    - + + ``` 2\. Add CSS to ``: ``` html - + ``` 3\. Initialize at the bottom of the closing `` tag: @@ -169,5 +169,5 @@ const Uppy = require('@uppy/core') If you're using Uppy from CDN, `es6-promise` and `whatwg-fetch` are already included in the bundle, no need to include anything additionally: ```html - + ``` diff --git a/website/src/docs/locales.md b/website/src/docs/locales.md index 8bd7236a6..f176bb0f5 100644 --- a/website/src/docs/locales.md +++ b/website/src/docs/locales.md @@ -33,8 +33,8 @@ const uppy = new Uppy({ Add a ` - + + + + + + ``` diff --git a/website/src/examples/dashboard/app.es6 b/website/src/examples/dashboard/app.es6 index e2ed49518..9395fe676 100644 --- a/website/src/examples/dashboard/app.es6 +++ b/website/src/examples/dashboard/app.es6 @@ -172,7 +172,7 @@ function loadLocaleFromCDN (localeName) { var head = document.getElementsByTagName('head')[0] var js = document.createElement('script') js.type = 'text/javascript' - js.src = `https://transloadit.edgly.net/releases/uppy/locales/v1.16.1/${localeName}.min.js` + js.src = `https://transloadit.edgly.net/releases/uppy/locales/v1.16.2/${localeName}.min.js` head.appendChild(js) } diff --git a/website/src/examples/i18n/app.html b/website/src/examples/i18n/app.html index 767d151b8..516f3967e 100644 --- a/website/src/examples/i18n/app.html +++ b/website/src/examples/i18n/app.html @@ -1,7 +1,7 @@ - +
    @@ -12,8 +12,8 @@ - - + + +// const robodog = require('@uppy/robodog') const TRANSLOADIT_EXAMPLE_KEY = '35c1aed03f5011e982b6afe82599b6a0' diff --git a/website/src/examples/markdown-snippets/app.html b/website/src/examples/markdown-snippets/app.html index 93b97caac..aa5a95263 100644 --- a/website/src/examples/markdown-snippets/app.html +++ b/website/src/examples/markdown-snippets/app.html @@ -1,6 +1,6 @@ + -->

    Create a new snippet

    diff --git a/website/themes/uppy/layout/index.ejs b/website/themes/uppy/layout/index.ejs index 2f490d5b3..a1d2319c3 100644 --- a/website/themes/uppy/layout/index.ejs +++ b/website/themes/uppy/layout/index.ejs @@ -167,8 +167,8 @@

    © <%- date(Date.now(), 'YYYY') %> Transloadit

    - - + +