diff --git a/public/lang/ar.json b/public/lang/ar.json index b29d338..237e9b0 100644 --- a/public/lang/ar.json +++ b/public/lang/ar.json @@ -48,7 +48,6 @@ "pairing-cleared": "جميع الأجهزة غير مقترنة", "notifications-enabled": "تم تمكين الإشعارات", "online-requirement-pairing": "يجب أن تكون متصلاً بالإنترنت لإقران الأجهزة", - "ios-memory-limit": "لا يمكن إرسال ملفات إلى iOS إلا بحجم يصل إلى 200 ميجابايت مرة واحدة", "online-requirement-public-room": "يجب أن تكون متصلاً بالإنترنت لإنشاء غرفة عامة", "copied-text-error": "فشلت الكتابة من الحافظة. انسخ يدويًا!", "download-successful": "تم تحميل {{descriptor}}", diff --git a/public/lang/ca.json b/public/lang/ca.json index 15bd7ce..d0762c6 100644 --- a/public/lang/ca.json +++ b/public/lang/ca.json @@ -144,7 +144,6 @@ "pairing-cleared": "Tots els dispositius desvinculats", "notifications-enabled": "Notificacions habilitades", "online-requirement-pairing": "Has d'estar en línia per vincular dispositius", - "ios-memory-limit": "Tan sols és possible enviar fitxers de fins a 200 MB a iOS", "online-requirement-public-room": "Cal que estiguis en línia per poder crear una sala pública", "room-url-copied-to-clipboard": "Enllaç a la sala pública copiat al porta-retalls", "copied-text-error": "L'escriptura al porta-retalls ha fallat. Copiar manualment!", diff --git a/public/lang/de.json b/public/lang/de.json index 30239b8..d1c2f50 100644 --- a/public/lang/de.json +++ b/public/lang/de.json @@ -138,7 +138,6 @@ "message-transfer-completed": "Nachricht übertragen", "rate-limit-join-key": "Rate Limit erreicht. Warte 10 Sekunden und versuche es erneut.", "selected-peer-left": "Ausgewählter Peer ist gegangen", - "ios-memory-limit": "Für Übertragungen an iOS Geräte beträgt die maximale Dateigröße 200 MB", "public-room-left": "Öffentlichen Raum {{publicRoomId}} verlassen", "copied-to-clipboard-error": "Konnte nicht kopieren. Kopiere manuell.", "public-room-id-invalid": "Ungültige Raum-ID", diff --git a/public/lang/en.json b/public/lang/en.json index f8698be..0f1c542 100644 --- a/public/lang/en.json +++ b/public/lang/en.json @@ -158,7 +158,6 @@ "connecting": "Connecting…", "files-incorrect": "Files are incorrect", "file-transfer-completed": "File transfer completed", - "ios-memory-limit": "Sending files to iOS is only possible up to 200 MB at once", "message-transfer-completed": "Message transfer completed", "unfinished-transfers-warning": "There are unfinished transfers. Are you sure you want to close PairDrop?", "rate-limit-join-key": "Rate limit reached. Wait 10 seconds and try again.", diff --git a/public/lang/es.json b/public/lang/es.json index cbed16a..7df466c 100644 --- a/public/lang/es.json +++ b/public/lang/es.json @@ -64,7 +64,6 @@ "pairing-cleared": "Todos los dispositivos han sido desemparejados", "notifications-enabled": "Notificaciones habilitadas", "online-requirement-pairing": "Debes estar en línea para emparejar dispositivos", - "ios-memory-limit": "Enviar archivos a iOS sólo admite hasta 200 MB a la vez", "online-requirement-public-room": "Debes estar en línea para crear una sala pública", "copied-text-error": "Error al escribir en el portapapeles. ¡Cópielo manualmente!", "download-successful": "{{descriptor}} descargado", diff --git a/public/lang/fr.json b/public/lang/fr.json index b77ed96..9c869a4 100644 --- a/public/lang/fr.json +++ b/public/lang/fr.json @@ -137,7 +137,6 @@ "connecting": "Connexion…", "files-incorrect": "Les fichiers sont incorrects", "file-transfer-completed": "Transfert de fichier terminé", - "ios-memory-limit": "L'envoi de fichiers vers iOS n'est possible que jusqu'à 200 Mo à la fois", "message-transfer-completed": "Transfert de message terminé", "unfinished-transfers-warning": "Il y a des transferts inachevés. Êtes-vous sûr de vouloir fermer PairDrop ?", "rate-limit-join-key": "Limite de débit atteinte. Attendez 10 secondes et réessayez.", diff --git a/public/lang/id.json b/public/lang/id.json index 5159c4b..518548c 100644 --- a/public/lang/id.json +++ b/public/lang/id.json @@ -48,7 +48,6 @@ "pairing-cleared": "Semua Perangkat dilepaskan", "notifications-enabled": "Notifikasi diaktifkan", "online-requirement-pairing": "Anda harus online untuk memasangkan perangkat", - "ios-memory-limit": "Mengirim file ke iOS hanya dapat dilakukan hingga 200 MB sekaligus", "online-requirement-public-room": "Anda harus online untuk membuat ruang publik", "copied-text-error": "Menyalin ke papan klip gagal. Salinlah secara manual!", "download-successful": "{{descriptor}} diunduh", diff --git a/public/lang/it.json b/public/lang/it.json index da93caf..97f3044 100644 --- a/public/lang/it.json +++ b/public/lang/it.json @@ -129,7 +129,6 @@ "pairing-cleared": "Tutti i dispositivi sono stati dissociati", "notifications-enabled": "Notifiche attivate", "online-requirement-pairing": "Devi essere online per abbinare dispositivi", - "ios-memory-limit": "L'invio di file a dispositivi iOS è possibile solo 200 MB alla volta", "online-requirement-public-room": "Devi essere online per creare una stanza pubblica", "copied-text-error": "Scrittura negli appunti fallita. Copia manualmente!", "download-successful": "{{descriptor}} scaricato", diff --git a/public/lang/ja.json b/public/lang/ja.json index 4ce93bc..6710e1e 100644 --- a/public/lang/ja.json +++ b/public/lang/ja.json @@ -48,7 +48,6 @@ "pairing-cleared": "全てのデバイスのペア設定を解除しました", "notifications-enabled": "通知が有効です", "online-requirement-pairing": "デバイスをペア設定するにはオンラインである必要があります", - "ios-memory-limit": "iOSへのファイル送信は一度に200MBまでしかできません", "online-requirement-public-room": "パブリックルームを作成するにはオンラインである必要があります", "copied-text-error": "クリップボードにコピーできませんでした。手動でコピーしてください。", "download-successful": "{{descriptor}}をダウンロードしました", diff --git a/public/lang/kn.json b/public/lang/kn.json index 2407b0c..8b353a8 100644 --- a/public/lang/kn.json +++ b/public/lang/kn.json @@ -128,7 +128,6 @@ "pairing-cleared": "ಎಲ್ಲಾ ಸಾಧನಗಳನ್ನು ಜೋಡಿಯಾಗಿ ತೆಗೆಯಲಾಗಿದೆ", "notifications-enabled": "ಸೂಚನೆಗಳನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ", "online-requirement-pairing": "ಸಾಧನಗಳನ್ನು ಜೋಡಿಸಲು ನೀವು ಆನ್‌ಲೈನ್‌ ಇರಬೇಕು", - "ios-memory-limit": "iOSಗೆ ಫೈಲ್‌ಗಳನ್ನು ಕಳುಹಿಸುವುದು ಒಂದೇ ಬಾರಿಗೆ 200 MB ವರೆಗೆ ಮಾತ್ರ ಸಾಧ್ಯವಾಗಿದೆ", "online-requirement-public-room": "ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಯನ್ನು ರಚಿಸಲು ನೀವು ಆನ್‌ಲೈನ್‌ ಇರಬೇಕು", "room-url-copied-to-clipboard": "ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಯ ಲಿಂಕ್ ಅನ್ನು ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ಗೆ ನಕಲಿಸಲಾಗಿದೆ", "copied-text-error": "ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ಗೆ ಬರೆಯುವುದು ವಿಫಲವಾಗಿದೆ. ಕೈಯಾರೆ ನಕಲಿಸಿ!", diff --git a/public/lang/nb.json b/public/lang/nb.json index d9a4022..fc7c13d 100644 --- a/public/lang/nb.json +++ b/public/lang/nb.json @@ -116,7 +116,6 @@ "request-title": "{{name}} ønsker å overføre {{count}} {{descriptor}}", "message-received": "Melding mottatt av {{name}} - Klikk for å åpne", "files-incorrect": "Filene er uriktige", - "ios-memory-limit": "Forsendelse av filer til iOS er kun mulig opptil 200 MB av gangen", "unfinished-transfers-warning": "Lukk med ufullførte overføringer?", "rate-limit-join-key": "Forsøksgrense overskredet. Vent 10 sek. og prøv igjen." }, diff --git a/public/lang/nl.json b/public/lang/nl.json index 6287ed8..63a914b 100644 --- a/public/lang/nl.json +++ b/public/lang/nl.json @@ -48,7 +48,6 @@ "pairing-cleared": "Alle apparaten ontkoppeld", "notifications-enabled": "Meldingen geactiveerd", "online-requirement-pairing": "U moet online zijn om apparaten te koppelen", - "ios-memory-limit": "Bestandsoverdrachten naar iOS kunnen slechts met 200 MB per keer", "online-requirement-public-room": "U moet online zijn om een openbare kamer te maken", "copied-text-error": "Schrijven naar klembord mislukt. Kopieer handmatig!", "download-successful": "{{descriptor}} downloaden", diff --git a/public/lang/pt-BR.json b/public/lang/pt-BR.json index c495db0..a186199 100644 --- a/public/lang/pt-BR.json +++ b/public/lang/pt-BR.json @@ -153,7 +153,6 @@ "connecting": "Conectando…", "files-incorrect": "Os arquivos estão incorretos", "file-transfer-completed": "Transferência de arquivo concluída", - "ios-memory-limit": "Enviar arquivos para iOS só é possível até 200 MB de uma vez", "message-transfer-completed": "Transferência de mensagem concluída", "unfinished-transfers-warning": "Há transferências inacabadas. Tem certeza de que deseja fechar o PairDrop?", "rate-limit-join-key": "Limite de taxa atingido. Aguarde 10 segundos e tente novamente.", diff --git a/public/lang/ro.json b/public/lang/ro.json index 70b8ceb..dfb7a26 100644 --- a/public/lang/ro.json +++ b/public/lang/ro.json @@ -48,7 +48,6 @@ "pairing-cleared": "Toate dispozitivele sunt decuplate", "notifications-enabled": "Notificări activate", "online-requirement-pairing": "Trebuie să fiți online pentru a asocia dispozitivele", - "ios-memory-limit": "Trimiterea de fișiere pe iOS este posibilă doar până la 200 MB simultan", "online-requirement-public-room": "Trebuie să fiți online pentru a crea o cameră publică", "copied-text-error": "Scrierea în clipboard a eșuat. Copiați manual!", "download-successful": "{{descriptor}} descărcat", diff --git a/public/lang/ru.json b/public/lang/ru.json index 1bbc591..cda3fe8 100644 --- a/public/lang/ru.json +++ b/public/lang/ru.json @@ -121,7 +121,6 @@ "online-requirement": "Для сопряжения устройств вам нужно быть в сети.", "files-incorrect": "Файлы неверны", "message-transfer-completed": "Передача сообщения завершена", - "ios-memory-limit": "Отправка файлов на iOS устройства возможна только до 200 МБ за один раз", "selected-peer-left": "Выбранный узел вышел", "request-title": "{{name}} хотел бы передать {{count}} {{descriptor}}", "rate-limit-join-key": "Достигнут предел скорости. Подождите 10 секунд и повторите попытку.", diff --git a/public/lang/tr.json b/public/lang/tr.json index dce1d1d..e364e59 100644 --- a/public/lang/tr.json +++ b/public/lang/tr.json @@ -145,7 +145,6 @@ "pairing-cleared": "Tüm cihazlar eşleştirmeden çıkarıldı", "notifications-enabled": "Bildirimler etkinleştirildi", "online-requirement-pairing": "Cihazları eşleştirmek için çevrimiçi olmanız lazım", - "ios-memory-limit": "iOS'a tek seferde sadece 200MB'a kadar dosya gönderebilirsin", "online-requirement-public-room": "Genel oda oluşturmak için çevrimiçi olmanız lazım", "room-url-copied-to-clipboard": "Genel oda bağlantı linki panoya kopyalandı", "copied-text-error": "Panoya kopyalanamadı. Lütfen manuel olarak kopyalayın!", diff --git a/public/lang/zh-CN.json b/public/lang/zh-CN.json index 53e0a1b..35907f7 100644 --- a/public/lang/zh-CN.json +++ b/public/lang/zh-CN.json @@ -154,7 +154,6 @@ "files-incorrect": "文件不正确", "file-transfer-completed": "文件传输已完成", "connecting": "连接中…", - "ios-memory-limit": "向 iOS 发送文件 一次最多只能发送 200 MB", "rate-limit-join-key": "已达连接限制。请等待 10秒 后再试。", "public-room-left": "已退出公共房间 {{publicRoomId}}", "copied-to-clipboard-error": "无法复制。请手动复制。", diff --git a/public/scripts/network.js b/public/scripts/network.js index 3c86f2a..b6dee29 100644 --- a/public/scripts/network.js +++ b/public/scripts/network.js @@ -586,12 +586,6 @@ class Peer { this._sendMessage({type: 'files-transfer-response', accepted: false}); return; } - if (window.iOS && request.totalSize >= 200*1024*1024) { - // iOS Safari can only put 400MB at once to memory. - // Request to send them in chunks of 200MB instead: - this._sendMessage({type: 'files-transfer-response', accepted: false, reason: 'ios-memory-limit'}); - return; - } this._pendingRequest = request; @@ -743,9 +737,6 @@ class Peer { if (!message.accepted) { Events.fire('set-progress', {peerId: this._peerId, progress: 1, status: 'wait'}); this._filesRequested = null; - if (message.reason === 'ios-memory-limit') { - Events.fire('notify-user', Localization.getTranslation("notifications.ios-memory-limit")); - } return; } Events.fire('file-transfer-accepted');