mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-22 07:46:17 -04:00
Remove limit for sending to iOS devices (fixes #211)
This commit is contained in:
parent
6de97e7ff1
commit
88739107e4
18 changed files with 0 additions and 26 deletions
|
@ -48,7 +48,6 @@
|
||||||
"pairing-cleared": "جميع الأجهزة غير مقترنة",
|
"pairing-cleared": "جميع الأجهزة غير مقترنة",
|
||||||
"notifications-enabled": "تم تمكين الإشعارات",
|
"notifications-enabled": "تم تمكين الإشعارات",
|
||||||
"online-requirement-pairing": "يجب أن تكون متصلاً بالإنترنت لإقران الأجهزة",
|
"online-requirement-pairing": "يجب أن تكون متصلاً بالإنترنت لإقران الأجهزة",
|
||||||
"ios-memory-limit": "لا يمكن إرسال ملفات إلى iOS إلا بحجم يصل إلى 200 ميجابايت مرة واحدة",
|
|
||||||
"online-requirement-public-room": "يجب أن تكون متصلاً بالإنترنت لإنشاء غرفة عامة",
|
"online-requirement-public-room": "يجب أن تكون متصلاً بالإنترنت لإنشاء غرفة عامة",
|
||||||
"copied-text-error": "فشلت الكتابة من الحافظة. انسخ يدويًا!",
|
"copied-text-error": "فشلت الكتابة من الحافظة. انسخ يدويًا!",
|
||||||
"download-successful": "تم تحميل {{descriptor}}",
|
"download-successful": "تم تحميل {{descriptor}}",
|
||||||
|
|
|
@ -144,7 +144,6 @@
|
||||||
"pairing-cleared": "Tots els dispositius desvinculats",
|
"pairing-cleared": "Tots els dispositius desvinculats",
|
||||||
"notifications-enabled": "Notificacions habilitades",
|
"notifications-enabled": "Notificacions habilitades",
|
||||||
"online-requirement-pairing": "Has d'estar en línia per vincular dispositius",
|
"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",
|
"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",
|
"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!",
|
"copied-text-error": "L'escriptura al porta-retalls ha fallat. Copiar manualment!",
|
||||||
|
|
|
@ -138,7 +138,6 @@
|
||||||
"message-transfer-completed": "Nachricht übertragen",
|
"message-transfer-completed": "Nachricht übertragen",
|
||||||
"rate-limit-join-key": "Rate Limit erreicht. Warte 10 Sekunden und versuche es erneut.",
|
"rate-limit-join-key": "Rate Limit erreicht. Warte 10 Sekunden und versuche es erneut.",
|
||||||
"selected-peer-left": "Ausgewählter Peer ist gegangen",
|
"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",
|
"public-room-left": "Öffentlichen Raum {{publicRoomId}} verlassen",
|
||||||
"copied-to-clipboard-error": "Konnte nicht kopieren. Kopiere manuell.",
|
"copied-to-clipboard-error": "Konnte nicht kopieren. Kopiere manuell.",
|
||||||
"public-room-id-invalid": "Ungültige Raum-ID",
|
"public-room-id-invalid": "Ungültige Raum-ID",
|
||||||
|
|
|
@ -158,7 +158,6 @@
|
||||||
"connecting": "Connecting…",
|
"connecting": "Connecting…",
|
||||||
"files-incorrect": "Files are incorrect",
|
"files-incorrect": "Files are incorrect",
|
||||||
"file-transfer-completed": "File transfer completed",
|
"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",
|
"message-transfer-completed": "Message transfer completed",
|
||||||
"unfinished-transfers-warning": "There are unfinished transfers. Are you sure you want to close PairDrop?",
|
"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.",
|
"rate-limit-join-key": "Rate limit reached. Wait 10 seconds and try again.",
|
||||||
|
|
|
@ -64,7 +64,6 @@
|
||||||
"pairing-cleared": "Todos los dispositivos han sido desemparejados",
|
"pairing-cleared": "Todos los dispositivos han sido desemparejados",
|
||||||
"notifications-enabled": "Notificaciones habilitadas",
|
"notifications-enabled": "Notificaciones habilitadas",
|
||||||
"online-requirement-pairing": "Debes estar en línea para emparejar dispositivos",
|
"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",
|
"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!",
|
"copied-text-error": "Error al escribir en el portapapeles. ¡Cópielo manualmente!",
|
||||||
"download-successful": "{{descriptor}} descargado",
|
"download-successful": "{{descriptor}} descargado",
|
||||||
|
|
|
@ -137,7 +137,6 @@
|
||||||
"connecting": "Connexion…",
|
"connecting": "Connexion…",
|
||||||
"files-incorrect": "Les fichiers sont incorrects",
|
"files-incorrect": "Les fichiers sont incorrects",
|
||||||
"file-transfer-completed": "Transfert de fichier terminé",
|
"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é",
|
"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 ?",
|
"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.",
|
"rate-limit-join-key": "Limite de débit atteinte. Attendez 10 secondes et réessayez.",
|
||||||
|
|
|
@ -48,7 +48,6 @@
|
||||||
"pairing-cleared": "Semua Perangkat dilepaskan",
|
"pairing-cleared": "Semua Perangkat dilepaskan",
|
||||||
"notifications-enabled": "Notifikasi diaktifkan",
|
"notifications-enabled": "Notifikasi diaktifkan",
|
||||||
"online-requirement-pairing": "Anda harus online untuk memasangkan perangkat",
|
"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",
|
"online-requirement-public-room": "Anda harus online untuk membuat ruang publik",
|
||||||
"copied-text-error": "Menyalin ke papan klip gagal. Salinlah secara manual!",
|
"copied-text-error": "Menyalin ke papan klip gagal. Salinlah secara manual!",
|
||||||
"download-successful": "{{descriptor}} diunduh",
|
"download-successful": "{{descriptor}} diunduh",
|
||||||
|
|
|
@ -129,7 +129,6 @@
|
||||||
"pairing-cleared": "Tutti i dispositivi sono stati dissociati",
|
"pairing-cleared": "Tutti i dispositivi sono stati dissociati",
|
||||||
"notifications-enabled": "Notifiche attivate",
|
"notifications-enabled": "Notifiche attivate",
|
||||||
"online-requirement-pairing": "Devi essere online per abbinare dispositivi",
|
"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",
|
"online-requirement-public-room": "Devi essere online per creare una stanza pubblica",
|
||||||
"copied-text-error": "Scrittura negli appunti fallita. Copia manualmente!",
|
"copied-text-error": "Scrittura negli appunti fallita. Copia manualmente!",
|
||||||
"download-successful": "{{descriptor}} scaricato",
|
"download-successful": "{{descriptor}} scaricato",
|
||||||
|
|
|
@ -48,7 +48,6 @@
|
||||||
"pairing-cleared": "全てのデバイスのペア設定を解除しました",
|
"pairing-cleared": "全てのデバイスのペア設定を解除しました",
|
||||||
"notifications-enabled": "通知が有効です",
|
"notifications-enabled": "通知が有効です",
|
||||||
"online-requirement-pairing": "デバイスをペア設定するにはオンラインである必要があります",
|
"online-requirement-pairing": "デバイスをペア設定するにはオンラインである必要があります",
|
||||||
"ios-memory-limit": "iOSへのファイル送信は一度に200MBまでしかできません",
|
|
||||||
"online-requirement-public-room": "パブリックルームを作成するにはオンラインである必要があります",
|
"online-requirement-public-room": "パブリックルームを作成するにはオンラインである必要があります",
|
||||||
"copied-text-error": "クリップボードにコピーできませんでした。手動でコピーしてください。",
|
"copied-text-error": "クリップボードにコピーできませんでした。手動でコピーしてください。",
|
||||||
"download-successful": "{{descriptor}}をダウンロードしました",
|
"download-successful": "{{descriptor}}をダウンロードしました",
|
||||||
|
|
|
@ -128,7 +128,6 @@
|
||||||
"pairing-cleared": "ಎಲ್ಲಾ ಸಾಧನಗಳನ್ನು ಜೋಡಿಯಾಗಿ ತೆಗೆಯಲಾಗಿದೆ",
|
"pairing-cleared": "ಎಲ್ಲಾ ಸಾಧನಗಳನ್ನು ಜೋಡಿಯಾಗಿ ತೆಗೆಯಲಾಗಿದೆ",
|
||||||
"notifications-enabled": "ಸೂಚನೆಗಳನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ",
|
"notifications-enabled": "ಸೂಚನೆಗಳನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ",
|
||||||
"online-requirement-pairing": "ಸಾಧನಗಳನ್ನು ಜೋಡಿಸಲು ನೀವು ಆನ್ಲೈನ್ ಇರಬೇಕು",
|
"online-requirement-pairing": "ಸಾಧನಗಳನ್ನು ಜೋಡಿಸಲು ನೀವು ಆನ್ಲೈನ್ ಇರಬೇಕು",
|
||||||
"ios-memory-limit": "iOSಗೆ ಫೈಲ್ಗಳನ್ನು ಕಳುಹಿಸುವುದು ಒಂದೇ ಬಾರಿಗೆ 200 MB ವರೆಗೆ ಮಾತ್ರ ಸಾಧ್ಯವಾಗಿದೆ",
|
|
||||||
"online-requirement-public-room": "ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಯನ್ನು ರಚಿಸಲು ನೀವು ಆನ್ಲೈನ್ ಇರಬೇಕು",
|
"online-requirement-public-room": "ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಯನ್ನು ರಚಿಸಲು ನೀವು ಆನ್ಲೈನ್ ಇರಬೇಕು",
|
||||||
"room-url-copied-to-clipboard": "ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಯ ಲಿಂಕ್ ಅನ್ನು ಕ್ಲಿಪ್ಬೋರ್ಡ್ಗೆ ನಕಲಿಸಲಾಗಿದೆ",
|
"room-url-copied-to-clipboard": "ಸಾರ್ವಜನಿಕ ಕೊಠಡಿಯ ಲಿಂಕ್ ಅನ್ನು ಕ್ಲಿಪ್ಬೋರ್ಡ್ಗೆ ನಕಲಿಸಲಾಗಿದೆ",
|
||||||
"copied-text-error": "ಕ್ಲಿಪ್ಬೋರ್ಡ್ಗೆ ಬರೆಯುವುದು ವಿಫಲವಾಗಿದೆ. ಕೈಯಾರೆ ನಕಲಿಸಿ!",
|
"copied-text-error": "ಕ್ಲಿಪ್ಬೋರ್ಡ್ಗೆ ಬರೆಯುವುದು ವಿಫಲವಾಗಿದೆ. ಕೈಯಾರೆ ನಕಲಿಸಿ!",
|
||||||
|
|
|
@ -116,7 +116,6 @@
|
||||||
"request-title": "{{name}} ønsker å overføre {{count}} {{descriptor}}",
|
"request-title": "{{name}} ønsker å overføre {{count}} {{descriptor}}",
|
||||||
"message-received": "Melding mottatt av {{name}} - Klikk for å åpne",
|
"message-received": "Melding mottatt av {{name}} - Klikk for å åpne",
|
||||||
"files-incorrect": "Filene er uriktige",
|
"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?",
|
"unfinished-transfers-warning": "Lukk med ufullførte overføringer?",
|
||||||
"rate-limit-join-key": "Forsøksgrense overskredet. Vent 10 sek. og prøv igjen."
|
"rate-limit-join-key": "Forsøksgrense overskredet. Vent 10 sek. og prøv igjen."
|
||||||
},
|
},
|
||||||
|
|
|
@ -48,7 +48,6 @@
|
||||||
"pairing-cleared": "Alle apparaten ontkoppeld",
|
"pairing-cleared": "Alle apparaten ontkoppeld",
|
||||||
"notifications-enabled": "Meldingen geactiveerd",
|
"notifications-enabled": "Meldingen geactiveerd",
|
||||||
"online-requirement-pairing": "U moet online zijn om apparaten te koppelen",
|
"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",
|
"online-requirement-public-room": "U moet online zijn om een openbare kamer te maken",
|
||||||
"copied-text-error": "Schrijven naar klembord mislukt. Kopieer handmatig!",
|
"copied-text-error": "Schrijven naar klembord mislukt. Kopieer handmatig!",
|
||||||
"download-successful": "{{descriptor}} downloaden",
|
"download-successful": "{{descriptor}} downloaden",
|
||||||
|
|
|
@ -153,7 +153,6 @@
|
||||||
"connecting": "Conectando…",
|
"connecting": "Conectando…",
|
||||||
"files-incorrect": "Os arquivos estão incorretos",
|
"files-incorrect": "Os arquivos estão incorretos",
|
||||||
"file-transfer-completed": "Transferência de arquivo concluída",
|
"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",
|
"message-transfer-completed": "Transferência de mensagem concluída",
|
||||||
"unfinished-transfers-warning": "Há transferências inacabadas. Tem certeza de que deseja fechar o PairDrop?",
|
"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.",
|
"rate-limit-join-key": "Limite de taxa atingido. Aguarde 10 segundos e tente novamente.",
|
||||||
|
|
|
@ -48,7 +48,6 @@
|
||||||
"pairing-cleared": "Toate dispozitivele sunt decuplate",
|
"pairing-cleared": "Toate dispozitivele sunt decuplate",
|
||||||
"notifications-enabled": "Notificări activate",
|
"notifications-enabled": "Notificări activate",
|
||||||
"online-requirement-pairing": "Trebuie să fiți online pentru a asocia dispozitivele",
|
"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ă",
|
"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!",
|
"copied-text-error": "Scrierea în clipboard a eșuat. Copiați manual!",
|
||||||
"download-successful": "{{descriptor}} descărcat",
|
"download-successful": "{{descriptor}} descărcat",
|
||||||
|
|
|
@ -121,7 +121,6 @@
|
||||||
"online-requirement": "Для сопряжения устройств вам нужно быть в сети.",
|
"online-requirement": "Для сопряжения устройств вам нужно быть в сети.",
|
||||||
"files-incorrect": "Файлы неверны",
|
"files-incorrect": "Файлы неверны",
|
||||||
"message-transfer-completed": "Передача сообщения завершена",
|
"message-transfer-completed": "Передача сообщения завершена",
|
||||||
"ios-memory-limit": "Отправка файлов на iOS устройства возможна только до 200 МБ за один раз",
|
|
||||||
"selected-peer-left": "Выбранный узел вышел",
|
"selected-peer-left": "Выбранный узел вышел",
|
||||||
"request-title": "{{name}} хотел бы передать {{count}} {{descriptor}}",
|
"request-title": "{{name}} хотел бы передать {{count}} {{descriptor}}",
|
||||||
"rate-limit-join-key": "Достигнут предел скорости. Подождите 10 секунд и повторите попытку.",
|
"rate-limit-join-key": "Достигнут предел скорости. Подождите 10 секунд и повторите попытку.",
|
||||||
|
|
|
@ -145,7 +145,6 @@
|
||||||
"pairing-cleared": "Tüm cihazlar eşleştirmeden çıkarıldı",
|
"pairing-cleared": "Tüm cihazlar eşleştirmeden çıkarıldı",
|
||||||
"notifications-enabled": "Bildirimler etkinleştirildi",
|
"notifications-enabled": "Bildirimler etkinleştirildi",
|
||||||
"online-requirement-pairing": "Cihazları eşleştirmek için çevrimiçi olmanız lazım",
|
"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",
|
"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ı",
|
"room-url-copied-to-clipboard": "Genel oda bağlantı linki panoya kopyalandı",
|
||||||
"copied-text-error": "Panoya kopyalanamadı. Lütfen manuel olarak kopyalayın!",
|
"copied-text-error": "Panoya kopyalanamadı. Lütfen manuel olarak kopyalayın!",
|
||||||
|
|
|
@ -154,7 +154,6 @@
|
||||||
"files-incorrect": "文件不正确",
|
"files-incorrect": "文件不正确",
|
||||||
"file-transfer-completed": "文件传输已完成",
|
"file-transfer-completed": "文件传输已完成",
|
||||||
"connecting": "连接中…",
|
"connecting": "连接中…",
|
||||||
"ios-memory-limit": "向 iOS 发送文件 一次最多只能发送 200 MB",
|
|
||||||
"rate-limit-join-key": "已达连接限制。请等待 10秒 后再试。",
|
"rate-limit-join-key": "已达连接限制。请等待 10秒 后再试。",
|
||||||
"public-room-left": "已退出公共房间 {{publicRoomId}}",
|
"public-room-left": "已退出公共房间 {{publicRoomId}}",
|
||||||
"copied-to-clipboard-error": "无法复制。请手动复制。",
|
"copied-to-clipboard-error": "无法复制。请手动复制。",
|
||||||
|
|
|
@ -586,12 +586,6 @@ class Peer {
|
||||||
this._sendMessage({type: 'files-transfer-response', accepted: false});
|
this._sendMessage({type: 'files-transfer-response', accepted: false});
|
||||||
return;
|
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;
|
this._pendingRequest = request;
|
||||||
|
|
||||||
|
@ -743,9 +737,6 @@ class Peer {
|
||||||
if (!message.accepted) {
|
if (!message.accepted) {
|
||||||
Events.fire('set-progress', {peerId: this._peerId, progress: 1, status: 'wait'});
|
Events.fire('set-progress', {peerId: this._peerId, progress: 1, status: 'wait'});
|
||||||
this._filesRequested = null;
|
this._filesRequested = null;
|
||||||
if (message.reason === 'ios-memory-limit') {
|
|
||||||
Events.fire('notify-user', Localization.getTranslation("notifications.ios-memory-limit"));
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Events.fire('file-transfer-accepted');
|
Events.fire('file-transfer-accepted');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue