From 9118b0ae06813f7882a72d1bd364e809cfdfa805 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Thu, 1 Feb 2024 00:05:15 +0100 Subject: [PATCH 01/49] Use default line-height for textareas --- public/styles/styles-deferred.css | 1 - 1 file changed, 1 deletion(-) diff --git a/public/styles/styles-deferred.css b/public/styles/styles-deferred.css index 0d81761..dd1106e 100644 --- a/public/styles/styles-deferred.css +++ b/public/styles/styles-deferred.css @@ -12,7 +12,6 @@ display: block; overflow: auto; resize: none; - line-height: 16px; max-height: 350px; word-break: break-word; word-wrap: anywhere; From 76e08927dee64978557ebd37529676978222891a Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Thu, 1 Feb 2024 00:07:41 +0100 Subject: [PATCH 02/49] Enable drag and drop and pasting in text fields; Tidy up existing drag and drop code. --- public/scripts/ui.js | 110 +++++++++++++++++++++++++++++-------------- 1 file changed, 74 insertions(+), 36 deletions(-) diff --git a/public/scripts/ui.js b/public/scripts/ui.js index e399d89..04c70bc 100644 --- a/public/scripts/ui.js +++ b/public/scripts/ui.js @@ -172,31 +172,34 @@ class PeersUI { } _onDrop(e) { - e.preventDefault(); - if (this.shareMode.active || Dialog.anyDialogShown()) return; - if (!$$('x-peer') || !$$('x-peer').contains(e.target)) { - if (e.dataTransfer.files.length > 0) { - Events.fire('activate-share-mode', {files: e.dataTransfer.files}); - } else { - for (let i=0; i { - Events.fire('activate-share-mode', {text: text}); - }); - } - } - } - } + e.preventDefault(); + this._onDragEnd(); + + if ($$('x-peer') || !$$('x-peer').contains(e.target)) return; // dropped on peer + + const files = e.dataTransfer.files; + const text = e.dataTransfer.getData("text"); + + if (files.length > 0) { + Events.fire('activate-share-mode', { + files: files + }); + } + else if(text.length > 0) { + Events.fire('activate-share-mode', { + text: text + }); + } } _onDragOver(e) { - e.preventDefault(); - if (this.shareMode.active || Dialog.anyDialogShown()) return; + e.preventDefault(); + this.$xInstructions.setAttribute('drop-bg', true); this.$xNoPeers.setAttribute('drop-bg', true); } @@ -630,29 +633,28 @@ class PeerUI { } _onDrop(e) { - e.preventDefault(); - if (PeerUI._shareMode.active || Dialog.anyDialogShown()) return; - if (e.dataTransfer.files.length > 0) { - Events.fire('files-selected', { - files: e.dataTransfer.files, - to: this._peer.id - }); - } else { - for (let i=0; i { - Events.fire('send-text', { - text: text, - to: this._peer.id - }); - }); - } - } - } + e.preventDefault(); this._onDragEnd(); + + const peerId = this._peer.id; + const files = e.dataTransfer.files; + const text = e.dataTransfer.getData("text"); + + if (files.length > 0) { + Events.fire('files-selected', { + files: files, + to: peerId + }); + } + else if (text.length > 0) { + Events.fire('send-text', { + text: text, + to: peerId + }); + } } _onDragOver() { @@ -1896,6 +1898,8 @@ class SendTextDialog extends Dialog { this.$submit = this.$el.querySelector('button[type="submit"]'); this.$form.addEventListener('submit', e => this._onSubmit(e)); this.$text.addEventListener('input', _ => this._onInput()); + this.$text.addEventListener('paste', e => this._onPaste(e)); + this.$text.addEventListener('drop', e => this._onDrop(e)); Events.on('text-recipient', e => this._onRecipient(e.detail.peerId, e.detail.deviceName)); Events.on('keydown', e => this._onKeyDown(e)); @@ -1914,6 +1918,40 @@ class SendTextDialog extends Dialog { } } + async _onDrop(e) { + e.preventDefault() + + const text = e.dataTransfer.getData("text"); + const selection = window.getSelection(); + + if (selection.rangeCount) { + selection.deleteFromDocument(); + selection.getRangeAt(0).insertNode(document.createTextNode(text)); + } + + this._onInput(); + } + + async _onPaste(e) { + e.preventDefault() + + const text = (e.clipboardData || window.clipboardData).getData('text'); + const selection = window.getSelection(); + + if (selection.rangeCount) { + selection.deleteFromDocument(); + const textNode = document.createTextNode(text); + const range = document.createRange(); + range.setStart(textNode, textNode.length); + range.collapse(true); + selection.getRangeAt(0).insertNode(textNode); + selection.removeAllRanges(); + selection.addRange(range); + } + + this._onInput(); + } + _textEmpty() { return !this.$text.innerText || this.$text.innerText === "\n"; } From 99b0c6ff01f4a5f27f8f88957a6139a122d2a0f7 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Thu, 1 Feb 2024 00:37:17 +0100 Subject: [PATCH 03/49] Fix URL not replaced with link node (fixes #258), beautify text via regex without rendering it, and fix execution order --- public/scripts/ui.js | 85 +++++++++++++++++++++++++++++++------------- 1 file changed, 61 insertions(+), 24 deletions(-) diff --git a/public/scripts/ui.js b/public/scripts/ui.js index 04c70bc..5d679de 100644 --- a/public/scripts/ui.js +++ b/public/scripts/ui.js @@ -2035,12 +2035,22 @@ class ReceiveTextDialog extends Dialog { window.blop.play(); this._receiveTextQueue.push({text: text, peerId: peerId}); this._setDocumentTitleMessages(); + changeFavicon("images/favicon-96x96-notification.png"); + if (this.isShown()) return; + this._dequeueRequests(); } _dequeueRequests() { - if (!this._receiveTextQueue.length) return; + if (!this._receiveTextQueue.length) { + this.$text.innerHTML = ""; + return; + } + + this._setDocumentTitleMessages(); + changeFavicon("images/favicon-96x96-notification.png"); + let {text, peerId} = this._receiveTextQueue.shift(); this._showReceiveTextDialog(text, peerId); } @@ -2051,41 +2061,68 @@ class ReceiveTextDialog extends Dialog { this.$displayName.classList.add($(peerId).ui._badgeClassName()); this.$text.innerText = text; - this.$text.classList.remove('text-center'); - // Beautify text if text is short - if (text.length < 2000) { - // replace URLs with actual links - this.$text.innerHTML = this.$text.innerHTML - .replace(/(^|
|\s|")((https?:\/\/|www.)(([a-z]|[A-Z]|[0-9]|[\-_~:\/?#\[\]@!$&'()*+,;=%]){2,}\.)(([a-z]|[A-Z]|[0-9]|[\-_~:\/?#\[\]@!$&'()*+,;=%.]){2,}))/g, - (match, whitespace, url) => { - let link = url; + // Beautify text if text is not too long + if (this.$text.innerText.length <= 300000) { + // Hacky workaround to replace URLs with link nodes in all cases + // 1. Use text variable, find all valid URLs via regex and replace URLs with placeholder + // 2. Use html variable, find placeholders with regex and replace them with link nodes - // prefix www.example.com with http protocol to prevent it from being a relative link - if (link.startsWith('www')) { - link = "http://" + link - } + let $textShadow = document.createElement('div'); + $textShadow.innerText = text; - // Check if link is valid - if (isUrlValid(link)) { - return `${whitespace}${url}`; - } - else { - return match; + let linkNodes = {}; + let searchHTML = $textShadow.innerHTML; + const p = "@"; + const pRgx = new RegExp(`${p}\\d+`, 'g'); + let occP = searchHTML.match(pRgx) || []; + + let m = 0; + + const allowedDomainChars = "a-zA-Z0-9áàäčçđéèêŋńñóòôöšŧüžæøåëìíîïðùúýþćěłřśţźǎǐǒǔǥǧǩǯəʒâûœÿãõāēīōūăąĉċďĕėęĝğġģĥħĩĭįıĵķĸĺļľņňŏőŕŗŝşťũŭůűųŵŷżאבגדהוזחטיךכלםמןנסעףפץצקרשתװױײ"; + const urlRgx = new RegExp(`(^|\\n|\\s|["><\\-_~:\\/?#\\[\\]@!$&'()*+,;=%.])(((https?:\\/\\/)?(?:[${allowedDomainChars}](?:[${allowedDomainChars}-]{0,61}[${allowedDomainChars}])?\\.)+[${allowedDomainChars}][${allowedDomainChars}-]{0,61}[${allowedDomainChars}])(:?\\d*)\\/?([${allowedDomainChars}_\\/\\-#.]*)(\\?([${allowedDomainChars}\\-_~:\\/?#\\[\\]@!$&'()*+,;=%.]*))?)`, 'g'); + + $textShadow.innerText = text.replace(urlRgx, + (match, whitespaceOrSpecial, url, g3, scheme) => { + let link = url; + + // prefix www.example.com with http protocol to prevent it from being a relative link + if (!scheme && link.startsWith('www')) { + link = "http://" + link + } + + if (isUrlValid(link)) { + // link is valid -> replace with link node placeholder + + // find linkNodePlaceholder that is not yet present in text node + m++; + while (occP.includes(`${p}${m}`)) { + m++; } + let linkNodePlaceholder = `${p}${m}`; + + // add linkNodePlaceholder to text node and save a reference to linkNodes object + linkNodes[linkNodePlaceholder] = `${url}`; + return `${whitespaceOrSpecial}${linkNodePlaceholder}`; + } + // link is not valid -> do not replace + return match; + }); + + + this.$text.innerHTML = $textShadow.innerHTML.replace(pRgx, + (m) => { + let urlNode = linkNodes[m]; + return urlNode ? urlNode : m; }); } this._evaluateOverflowing(this.$text); - - this._setDocumentTitleMessages(); - - changeFavicon("images/favicon-96x96-notification.png"); this.show(); } _setDocumentTitleMessages() { - document.title = !this._receiveTextQueue.length + document.title = this._receiveTextQueue.length <= 1 ? `${ Localization.getTranslation("document-titles.message-received") } - PairDrop` : `${ Localization.getTranslation("document-titles.message-received-plural", null, {count: this._receiveTextQueue.length + 1}) } - PairDrop`; } From 5d709966afd2eabe9fabc6849d373bb74c722349 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Fri, 9 Feb 2024 03:40:21 +0100 Subject: [PATCH 04/49] Fix button color change on hover (fixes #262) --- public/styles/styles-main.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/styles/styles-main.css b/public/styles/styles-main.css index b274bd6..fd5b836 100644 --- a/public/styles/styles-main.css +++ b/public/styles/styles-main.css @@ -626,12 +626,15 @@ x-dialog:not([show]) x-background { left: 0; right: 0; bottom: 0; - z-index: -1; opacity: 0; background-color: var(--accent-color); transition: opacity 300ms; } +.icon-button:before { + z-index: -1; +} + .btn:not([disabled]):hover:before, .icon-button:hover:before { opacity: 0.3; From 1f3dd080a034d605ca15cda98e04b10a6eac91c2 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Tue, 6 Feb 2024 13:42:47 +0100 Subject: [PATCH 05/49] Fix canceling file selector on Windows Edge sometimes blocks UI (#257) --- public/scripts/ui.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/scripts/ui.js b/public/scripts/ui.js index 5d679de..af35524 100644 --- a/public/scripts/ui.js +++ b/public/scripts/ui.js @@ -593,6 +593,9 @@ class PeerUI { _onFilesSelected(e) { const $input = e.target; const files = $input.files; + + if (files.length === 0) return; + Events.fire('files-selected', { files: files, to: this._peer.id From 49160f9b027598dc6a7288a1f45956ff24ef98cd Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Mon, 5 Feb 2024 00:02:17 +0100 Subject: [PATCH 06/49] Translated using Weblate (Italian) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 100.0% (166 of 166 strings) Translated using Weblate (Italian) Currently translated at 87.9% (146 of 166 strings) Co-authored-by: Hosted Weblate Co-authored-by: Luca FiltroMan Co-authored-by: Radosław Rudner Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/it/ Translation: PairDrop/pairdrop-spa --- public/lang/it.json | 84 +++++++++++++++++++++++++++------------------ 1 file changed, 51 insertions(+), 33 deletions(-) diff --git a/public/lang/it.json b/public/lang/it.json index da93caf..c89880f 100644 --- a/public/lang/it.json +++ b/public/lang/it.json @@ -5,9 +5,9 @@ "display-name_data-placeholder": "Caricamento…", "display-name_title": "Modifica il nome del tuo dispositivo permanentemente", "traffic": "Il traffico è", - "paired-devices_title": "Puoi essere rilevato dai dispositivi abbinati in ogni momento, indipendentemente dalla rete.", + "paired-devices_title": "Puoi essere rilevato dai dispositivi associati in ogni momento, indipendentemente dalla rete.", "public-room-devices": "nella stanza {{roomId}}", - "paired-devices": "da dispositivi abbinati", + "paired-devices": "da dispositivi associati", "on-this-network": "su questa rete", "routed": "instradato attraverso il server", "discovery": "Puoi essere rilevato:", @@ -15,7 +15,7 @@ "known-as": "Sei visibile come:" }, "header": { - "cancel-share-mode": "Fatto", + "cancel-share-mode": "Annulla", "theme-auto_title": "Adatta il tema al sistema automaticamente", "install_title": "Installa PairDrop", "theme-dark_title": "Usa sempre il tema scuro", @@ -26,13 +26,15 @@ "language-selector_title": "Imposta Lingua", "about_title": "Informazioni su PairDrop", "about_aria-label": "Apri Informazioni su PairDrop", - "theme-light_title": "Usa sempre il tema chiaro" + "theme-light_title": "Usa sempre il tema chiaro", + "edit-share-mode": "Modifica", + "expand_title": "Espandi la riga dei pulsanti nell'intestazione" }, "instructions": { "x-instructions_mobile": "Tocca per inviare file o tocco prolungato per inviare un messaggio", - "x-instructions-share-mode_desktop": "Clicca per inviare", + "x-instructions-share-mode_desktop": "Clicca per inviare {{descriptor}}", "activate-share-mode-and-other-files-plural": "e altri {{count}} files", - "x-instructions-share-mode_mobile": "Tocca per inviare", + "x-instructions-share-mode_mobile": "Tocca per inviare {{descriptor}}", "activate-share-mode-base": "Apri PairDrop su altri dispositivi per inviare", "no-peers-subtitle": "Abbina dispositivi o entra in una stanza pubblica per essere rilevabile su altre reti", "activate-share-mode-shared-text": "testo condiviso", @@ -41,23 +43,26 @@ "x-instructions_data-drop-peer": "Rilascia per inviare al peer", "x-instructions_data-drop-bg": "Rilascia per selezionare il destinatario", "no-peers_data-drop-bg": "Rilascia per selezionare il destinatario", - "webrtc-requirement": "Per usare questa istanza di PairDrop, devi attivare WebRTC!" + "webrtc-requirement": "Per usare questa istanza di PairDrop, devi attivare WebRTC!", + "activate-share-mode-shared-file": "file condiviso", + "activate-share-mode-shared-files-plural": "{{count}} files condivisi", + "activate-share-mode-and-other-file": "ed 1 altro file" }, "dialogs": { "auto-accept-instructions-2": "per accettare automaticamente tutti i files inviati da quel dispositivo.", - "edit-paired-devices-title": "Modifica Dispositivi Abbinati", + "edit-paired-devices-title": "Modifica Dispositivi Associati", "cancel": "Annulla", "auto-accept-instructions-1": "Attiva", - "pair-devices-title": "Abbina Dispositivi Permanentemente", + "pair-devices-title": "Associa Dispositivi Permanentemente", "temporary-public-room-title": "Stanza Pubblica Temporanea", "close": "Chiudi", "unpair": "Dissocia", - "pair": "Abbina", + "pair": "Associa", "scan-qr-code": "o scannerizza il codice QR.", "input-key-on-this-device": "Inserisci questo codice su un altro dispositivo", - "paired-devices-wrapper_data-empty": "Nessun dispositivo abbinato.", + "paired-devices-wrapper_data-empty": "Nessun dispositivo associato.", "enter-key-from-another-device": "Inserisci il codice dell'altro dispositivo qui.", - "auto-accept": "accetta-automaticamente", + "auto-accept": "accetta automaticamente", "input-room-id-on-another-device": "Inserisci l'ID di questa stanza su un altro dispositivo", "enter-room-id-from-another-device": "Inserisci l'ID stanza da un altro dispositivo per accedere alla stanza.", "base64-paste-to-send": "Incolla qui per inviare {{type}}", @@ -71,7 +76,7 @@ "join": "Unisciti", "title-image-plural": "Immagini", "send": "Invia", - "base64-tap-to-paste": "Tocca qui per incollare {{type}}", + "base64-tap-to-paste": "Tocca qui per condividere {{type}}", "base64-text": "testo", "copy": "Copia", "file-other-description-image": "e 1 altra immagine", @@ -82,7 +87,7 @@ "title-image": "Immagine", "file-other-description-file-plural": "e altri {{count}} files", "would-like-to-share": "vorrebbe condividere", - "send-message-to": "Invia un messaggio a", + "send-message-to": "A:", "language-selector-title": "Imposta Lingua", "hr-or": "OPPURE", "download-again": "Scarica ancora", @@ -92,11 +97,20 @@ "send-message-title": "Invia Messaggio", "file-other-description-image-plural": "e {{count}} altre immagini", "message_title": "Inserire messaggio da inviare", - "pair-devices-qr-code_title": "Clicca per copiare il link di abbinamento di questo dispositivo", - "public-room-qr-code_title": "Clicca per copirare il link della stanza pubblica" + "pair-devices-qr-code_title": "Clicca per copiare il link di associazione a questo dispositivo", + "public-room-qr-code_title": "Clicca per copirare il link della stanza pubblica", + "message_placeholder": "Testo", + "paired-device-removed": "Il dispositivo associato è stato rimosso.", + "base64-title-files": "Condividi Files", + "base64-title-text": "Condividi Testo", + "share-text-subtitle": "Modifica messaggio prima dell'invio:", + "share-text-checkbox": "Mostra sempre questa casella di dialogo quando si condivide del testo", + "approve": "accetta", + "share-text-title": "Condividi Messaggio di Testo", + "close-toast_title": "Chiudi notifica" }, "notifications": { - "request-title": "{{name}} vorrebbe trasferire {{count}} {{descriptor}}", + "request-title": "{{name}} vorrebbe inviare {{count}} {{descriptor}}", "unfinished-transfers-warning": "Ci sono dei trasferimenti in corso. Sei sicuro di voler chiudere PairDrop?", "message-received": "Messaggio ricevuto da {{name}} - Clicca per copiare", "rate-limit-join-key": "Limite raggiunto. Aspetta 10 secondi e riprova.", @@ -104,22 +118,22 @@ "pairing-key-invalidated": "Il codice {{key}} è stato invalidato", "pairing-key-invalid": "Codice non valido", "connected": "Connesso", - "pairing-not-persistent": "I dispositivi abbinati non sono persistenti", - "text-content-incorrect": "Il contenuto testuale non è corretto", + "pairing-not-persistent": "I dispositivi associati non sono permanenti", + "text-content-incorrect": "Il contenuto di testo è errato", "message-transfer-completed": "Trasferimento del messaggio completato", "file-transfer-completed": "Trasferimento file completato", - "file-content-incorrect": "Il contenuto del file non è corretto", - "files-incorrect": "I file non sono corretti", - "selected-peer-left": "Peer selezionato ha abbandonato", + "file-content-incorrect": "Il contenuto del file è errato", + "files-incorrect": "I file sono errati", + "selected-peer-left": "Il peer selezionato ha abbandonato", "link-received": "Link ricevuto da {{name}} - Clicca per aprire", "online": "Sei di nuovo online", - "public-room-left": "Ha lasciato la stanza pubblica {{publicRoomId}}", + "public-room-left": "Hai abbandonato la stanza pubblica {{publicRoomId}}", "copied-text": "Testo copiato negli appunti", - "display-name-random-again": "Il nome visualizzato è generato casualmente un'altra volta", - "display-name-changed-permanently": "Il nome visualizzato è cambiato permanentemente", - "copied-to-clipboard-error": "La copia non è possibile. Copia manualmente.", - "pairing-success": "Dispositivi abbinati", - "clipboard-content-incorrect": "Il contenuto copiato non è corretto", + "display-name-random-again": "Il nome visualizzato viene di nuovo generato casualmente", + "display-name-changed-permanently": "Il nome visualizzato è cambiato definitivamente", + "copied-to-clipboard-error": "La funzione di copia non è possibile. Copia manualmente.", + "pairing-success": "Dispositivi associati", + "clipboard-content-incorrect": "Il contenuto copiato è errato", "display-name-changed-temporarily": "Il nome visualizzato è cambiato solo per questa sessione", "copied-to-clipboard": "Copiato negli appunti", "offline": "Sei offline", @@ -128,14 +142,14 @@ "click-to-download": "Clicca per scaricare", "pairing-cleared": "Tutti i dispositivi sono stati dissociati", "notifications-enabled": "Notifiche attivate", - "online-requirement-pairing": "Devi essere online per abbinare dispositivi", + "online-requirement-pairing": "Devi essere online per associare 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", "click-to-show": "Clicca per mostrare", "notifications-permissions-error": "Il permesso all'invio delle notifiche è stato negato poiché l'utente ha ignorato varie volte le richieste di permesso. Ciò può essere ripristinato nelle \"informazioni sito\" cliccando sull'icona a forma di lucchetto vicino alla barra degli indirizzi.", - "pair-url-copied-to-clipboard": "Link di abbinamento copiato negli appunti", + "pair-url-copied-to-clipboard": "Link di associazione copiato negli appunti", "room-url-copied-to-clipboard": "Link della stanza copiato negli appunti" }, "peer-ui": { @@ -151,14 +165,18 @@ "claim": "Il modo più semplice per trasferire files tra dispositivi", "tweet_title": "Twitta riguardo PairDrop", "close-about_aria-label": "Chiudi Informazioni su PairDrop", - "buy-me-a-coffee_title": "Comprami un caffè!", + "buy-me-a-coffee_title": "Offrimi un caffè!", "github_title": "PairDrop su GitHub", - "faq_title": "Domande Frequenti" + "faq_title": "Domande Frequenti", + "mastodon_title": "Scrivi su Mastodon di PairDrop", + "bluesky_title": "Seguici su BlueSky", + "custom_title": "Seguici", + "privacypolicy_title": "Apri la nostra policy sulla privacy" }, "document-titles": { "file-transfer-requested": "Trasferimento File Richiesto", "image-transfer-requested": "Trasferimento Immagine Richiesto", - "message-received-plural": "{{count}} Messaggi ricevuti", + "message-received-plural": "{{count}} Messaggi Ricevuti", "message-received": "Messaggio ricevuto", "file-received": "File Ricevuto", "file-received-plural": "{{count}} Files Ricevuti" From d6287c4cf041a797f5c49e4c34575e466b1f8b03 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Fri, 9 Feb 2024 03:53:53 +0100 Subject: [PATCH 07/49] Increase version to v1.10.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Enhancements - Implemented drag and drop into text fields - Tidy up code - Translations update from Hosted Weblate (Italian) ## Fixes - Received URLs with single letter subdomains not hydrated into links #258 - Button does not change color on hover (#262 + #263) - On Windows Edge, PeerUI shows „preparing“ when file selector is cancelled (#257) --- .github/ISSUE_TEMPLATE/bug-report.md | 4 ++-- docs/how-to.md | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- public/index.html | 2 +- public/service-worker.js | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index 2360d39..a3be59a 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -36,7 +36,7 @@ If applicable, add screenshots to help explain your problem. **Bug occurs on official PairDrop instance https://pairdrop.net/** No | Yes -Version: v1.10.6 +Version: v1.10.7 **Bug occurs on self-hosted PairDrop instance** No | Yes @@ -44,7 +44,7 @@ No | Yes **Self-Hosted Setup** Proxy: Nginx | Apache2 Deployment: docker run | docker compose | npm run start:prod -Version: v1.10.6 +Version: v1.10.7 **Additional context** Add any other context about the problem here. diff --git a/docs/how-to.md b/docs/how-to.md index 754b154..52a65b3 100644 --- a/docs/how-to.md +++ b/docs/how-to.md @@ -45,11 +45,11 @@ This pairdrop-cli version was released alongside v1.10.4 #### Linux / Mac 1. Download the latest _pairdrop-cli.zip_ from the [releases page](https://github.com/schlagmichdoch/PairDrop/releases) ```shell - wget "https://github.com/schlagmichdoch/PairDrop/releases/download/v1.10.6/pairdrop-cli.zip" + wget "https://github.com/schlagmichdoch/PairDrop/releases/download/v1.10.7/pairdrop-cli.zip" ``` or ```shell - curl -LO "https://github.com/schlagmichdoch/PairDrop/releases/download/v1.10.6/pairdrop-cli.zip" + curl -LO "https://github.com/schlagmichdoch/PairDrop/releases/download/v1.10.7/pairdrop-cli.zip" ``` 2. Unzip the archive to a folder of your choice e.g. `/usr/share/pairdrop-cli/` ```shell diff --git a/package-lock.json b/package-lock.json index a0a70b2..30a9cb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pairdrop", - "version": "1.10.6", + "version": "1.10.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pairdrop", - "version": "1.10.6", + "version": "1.10.7", "license": "ISC", "dependencies": { "express": "^4.18.2", diff --git a/package.json b/package.json index 2afa4c1..5a08d4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pairdrop", - "version": "1.10.6", + "version": "1.10.7", "type": "module", "description": "", "main": "server/index.js", diff --git a/public/index.html b/public/index.html index 0cdd990..15922f3 100644 --- a/public/index.html +++ b/public/index.html @@ -582,7 +582,7 @@

PairDrop

-
v1.10.6
+
v1.10.7
diff --git a/public/service-worker.js b/public/service-worker.js index 0e76246..b7d8085 100644 --- a/public/service-worker.js +++ b/public/service-worker.js @@ -1,4 +1,4 @@ -const cacheVersion = 'v1.10.6'; +const cacheVersion = 'v1.10.7'; const cacheTitle = `pairdrop-cache-${cacheVersion}`; const forceFetch = false; // FOR DEVELOPMENT: Set to true to always update assets instead of using cached versions const relativePathsToCache = [ From 892e84c834a33ef4b974234864f3759a80cb87d5 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Sun, 18 Feb 2024 00:05:00 +0100 Subject: [PATCH 08/49] Update Support paragraph (fixes #274) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 02621f3..7e0a149 100644 --- a/README.md +++ b/README.md @@ -119,9 +119,9 @@ Connect to others in complex network situations, or over the Internet.
PairDrop is libre, and always will be. \ -I footed the bill for the domain and the server, and you can help create great softeare by supporting me. \ -Please use BuyMeACoffee via the button above. \ -Thanks a lot for supporting copylefted libre software! +If you find it useful and want to support free and open-source software, please consider donating using the button above. \ +I footed the bill for the domain and the server, and you can help create and maintain great software by supporting me. \ +Thank you very much for your contribution! ## Contributing Feel free to [open an issue](https://github.com/schlagmichdoch/pairdrop/issues/new/choose) or a From 3c1bc9f82feb49b2f024a4153a6aee3f89750265 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Sun, 18 Feb 2024 01:15:52 +0100 Subject: [PATCH 09/49] Update answer for saving images to the iOS gallery and add linebreaks for better readability --- docs/faq.md | 53 +++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 47 insertions(+), 6 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 651a826..5b0365e 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -5,18 +5,22 @@ Help! I can't install the PWA! +
+ if you are using a Chromium-based browser (Chrome, Edge, Vivaldi, Brave, etc.), you can easily install PairDrop PWA on your desktop by clicking the install-button in the top-right corner while on [pairdrop.net](https://pairdrop.net). Example on how to install a pwa with Edge On Firefox, PWAs are installable via [this browser extensions](https://addons.mozilla.org/de/firefox/addon/pwas-for-firefox/) +
Self-Hosted Instance? To be able to install the PWA from a self-hosted instance, the connection needs to be [established through HTTPS](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Installable_PWAs). See [this host your own section](https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md#testing-pwa-related-features) for more info. +
@@ -26,7 +30,9 @@ See [this host your own section](https://github.com/schlagmichdoch/PairDrop/blob Shortcuts? -Shortcuts +
+ +Available shortcuts: - Send a message with `CTRL + ENTER` - Close all "Send" and "Pair" dialogs by pressing `Esc`. - Copy a received message to the clipboard with `CTRL/⌘ + C`. @@ -40,12 +46,20 @@ Shortcuts How to save images directly to the gallery on iOS? -Apparently, iOS does not allow images shared from a website to be saved to the gallery directly. -It simply does not offer that option for images shared from a website. +
-iOS Shortcuts saves the day: +~~Apparently, iOS does not allow images shared from a website to be saved to the gallery directly.~~ +~~It simply does not offer that option for images shared from a website.~~ + +~~iOS Shortcuts saves the day:~~ \ I created a simple iOS shortcut that takes your photos and saves them to your gallery: https://routinehub.co/shortcut/13988/ + +Update: \ +Apparently, this was only a bug that is fixed in recent iOS version (https://github.com/WebKit/WebKit/pull/13111). \ +If you use an older affected iOS version this might still be of use. \ +Luckily, you can now simply use `Save Image`/`Save X Images` 🎉 +
@@ -55,10 +69,13 @@ https://routinehub.co/shortcut/13988/ Is it possible to send files or text directly from the "Context" or "Share" menu? +
+ Yes, it finally is. * [Send files directly from the "Context" menu on Windows](/docs/how-to.md#send-files-directly-from-context-menu-on-windows) * [Send directly from the "Share" menu on iOS](/docs/how-to.md#send-directly-from-share-menu-on-ios) * [Send directly from the "Share" menu on Android](/docs/how-to.md#send-directly-from-share-menu-on-android) +
@@ -68,9 +85,12 @@ Yes, it finally is. Is it possible to send files or text directly via CLI? +
+ Yes. * [Send directly from a command-line interface](/docs/how-to.md#send-directly-via-command-line-interface) +
@@ -80,11 +100,14 @@ Yes. Are there any third-party Apps? +
+ These third-party apps are compatible with PairDrop: 1. [Snapdrop Android App](https://github.com/fm-sys/snapdrop-android) 2. [Snapdrop for Firefox (Addon)](https://github.com/ueen/SnapdropFirefoxAddon) 3. Feel free to make one :) +
@@ -94,6 +117,8 @@ These third-party apps are compatible with PairDrop: What about the connection? Is it a P2P connection directly from device to device or is there any third-party-server? +
+ It uses a WebRTC peer-to-peer connection. WebRTC needs a signaling server that is only used to establish a connection. The server is not involved in the file transfer. @@ -109,6 +134,7 @@ to learn more about STUN, TURN and WebRTC. If you host your own instance and want to support devices that do not support WebRTC, you can [start the PairDrop instance with an activated WebSocket fallback](https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md#websocket-fallback-for-vpn). +
@@ -118,6 +144,8 @@ you can [start the PairDrop instance with an activated WebSocket fallback](https What about privacy? Will files be saved on third-party servers? +
+ Files are sent directly between peers. PairDrop doesn't even use a database. If curious, study [the server](https://github.com/schlagmichdoch/pairdrop/blob/master/index.js). @@ -130,6 +158,7 @@ If your devices are paired and behind a NAT, the PairDrop TURN Server is used to route your files and messages. See the [Technical Documentation](technical-documentation.md#encryption-webrtc-stun-and-turn) to learn more about STUN, TURN and WebRTC. +
@@ -139,10 +168,13 @@ to learn more about STUN, TURN and WebRTC. What about security? Are my files encrypted while sent between the computers? +
+ Yes. Your files are sent using WebRTC, encrypting them in transit. To ensure the connection is secure and there is no [MITM](https://wikiless.org/wiki/Man-in-the-middle_attack), compare the security number shown under the device name on both devices. The security number is different for every connection. +
@@ -152,6 +184,8 @@ The security number is different for every connection. Transferring many files with paired devices takes too long +
+ Naturally, if traffic needs to be routed through the TURN server because your devices are behind different NATs, transfer speed decreases. @@ -164,6 +198,7 @@ which omits the need of the TURN server. You can also use mobile hotspots on phones to do that. Then, all data should be sent directly between devices and not use your data plan. +
@@ -173,6 +208,8 @@ Then, all data should be sent directly between devices and not use your data pla Why don't you implement feature xyz? +
+ Snapdrop and PairDrop are a study in radical simplicity. The user interface is insanely simple. Features are chosen very carefully because complexity grows quadratically @@ -184,7 +221,6 @@ Don't be sad. We may decline your feature request for the sake of simplicity. Read *Insanely Simple: The Obsession that Drives Apple's Success*, and/or *Thinking, Fast and Slow* to learn more. -
@@ -194,12 +230,14 @@ and/or *Thinking, Fast and Slow* to learn more. Snapdrop and PairDrop are awesome. How can I support them? +
+ * [Buy me a coffee](https://www.buymeacoffee.com/pairdrop) to pay for the domain and the server, and support libre software. * [File bugs, give feedback, submit suggestions](https://github.com/schlagmichdoch/pairdrop/issues) * Share PairDrop on social media. * Fix bugs and make a pull request. * Do some security analysis and make suggestions. -* To support the original Snapdrop and its creator go to [his GitHub page](https://github.com/RobinLinus/snapdrop) +
@@ -209,7 +247,10 @@ and/or *Thinking, Fast and Slow* to learn more. How does it work? +
+ [See here for info about the technical implementation](/docs/technical-documentation.md) +
From be46e7d4afb45a64ad1f791520972751f39686da Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Thu, 22 Feb 2024 16:03:35 +0100 Subject: [PATCH 10/49] Add some more info to the FAQ --- docs/faq.md | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 5b0365e..76d82b0 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -7,17 +7,34 @@
-if you are using a Chromium-based browser (Chrome, Edge, Vivaldi, Brave, etc.), you can easily install PairDrop PWA on your desktop -by clicking the install-button in the top-right corner while on [pairdrop.net](https://pairdrop.net). +Here is a good guide on how to install PWAs on different platforms: \ +https://www.cdc.gov/niosh/mining/content/hearingloss/installPWA.html + + +**Chromium-based browser on Desktop (Chrome, Edge, Vivaldi, Brave, etc.)** \ +Easily install PairDrop PWA on your desktop by clicking the install-button in the top-right corner while on [pairdrop.net](https://pairdrop.net). Example on how to install a pwa with Edge +**Desktop Firefox** \ On Firefox, PWAs are installable via [this browser extensions](https://addons.mozilla.org/de/firefox/addon/pwas-for-firefox/) +**Android** \ +PWAs are installable only by using Google Chrome or Samsung Browser: +1. Visit [pairdrop.net](https://pairdrop.net) +2. Click _Install_ on the installation pop-up or use the three-dot-menu and click on _Add to Home screen_ +3. Click _Add_ on the pop-up + +**iOS** \ +PWAs are installable only by using Safari: +1. Visit [pairdrop.net](https://pairdrop.net) +2. Click on the share icon +3. Click _Add to Home Screen_ +4. Click _Add_ in the top right corner +
-Self-Hosted Instance? - +**Self-Hosted Instance?** \ To be able to install the PWA from a self-hosted instance, the connection needs to be [established through HTTPS](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Installable_PWAs). See [this host your own section](https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md#testing-pwa-related-features) for more info. @@ -227,7 +244,7 @@ and/or *Thinking, Fast and Slow* to learn more.
- Snapdrop and PairDrop are awesome. How can I support them? + PairDrop is awesome. How can I support it?
@@ -235,8 +252,9 @@ and/or *Thinking, Fast and Slow* to learn more. * [Buy me a coffee](https://www.buymeacoffee.com/pairdrop) to pay for the domain and the server, and support libre software. * [File bugs, give feedback, submit suggestions](https://github.com/schlagmichdoch/pairdrop/issues) * Share PairDrop on social media. -* Fix bugs and make a pull request. +* Fix bugs and create a pull request. * Do some security analysis and make suggestions. +* Participate in [active discussions](https://github.com/schlagmichdoch/PairDrop/discussions)
From 6ca37bd390fb2de302234d7d293b2cc880bc70b1 Mon Sep 17 00:00:00 2001 From: Cody Andersan <107530422+codyandersan@users.noreply.github.com> Date: Sun, 31 Mar 2024 08:42:03 +0530 Subject: [PATCH 11/49] Update README.md Removed duplicate feature. --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 7e0a149..245dc79 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,6 @@ Send a file from your phone to your laptop? * Connect to devices in complex network environments (public Wi-Fi, company network, iCloud Private Relay, VPN, etc.). * Connect to devices on your mobile hotspot. * Devices outside of your local network that are behind a NAT are auto-connected via the PairDrop TURN server. -* Connect to devices on your mobile hotspot. * Devices from the local network, in the same public room, or previously paired are shown. #### Persistent Device Pairing From 35f47d9063c806ea5c9ca540836cf274a0bc820b Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Wed, 17 Apr 2024 20:38:33 +0200 Subject: [PATCH 12/49] Fix inner text being cleared when viewing next received text from queue + prevent skipping of queue entry when timing is bad by checking for existing timeout Co-authored-by: klmkyo --- public/scripts/ui.js | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/public/scripts/ui.js b/public/scripts/ui.js index af35524..c9bd365 100644 --- a/public/scripts/ui.js +++ b/public/scripts/ui.js @@ -2017,6 +2017,7 @@ class ReceiveTextDialog extends Dialog { this.$displayName = this.$el.querySelector('.display-name'); this._receiveTextQueue = []; + this._hideTimeout = null; } selectionEmpty() { @@ -2040,17 +2041,12 @@ class ReceiveTextDialog extends Dialog { this._setDocumentTitleMessages(); changeFavicon("images/favicon-96x96-notification.png"); - if (this.isShown()) return; + if (this.isShown() || this._hideTimeout) return; this._dequeueRequests(); } _dequeueRequests() { - if (!this._receiveTextQueue.length) { - this.$text.innerHTML = ""; - return; - } - this._setDocumentTitleMessages(); changeFavicon("images/favicon-96x96-notification.png"); @@ -2145,9 +2141,16 @@ class ReceiveTextDialog extends Dialog { hide() { super.hide(); - setTimeout(() => { - this._dequeueRequests(); - this.$text.innerHTML = ""; + + // If queue is empty -> clear text field | else -> open next message + this._hideTimeout = setTimeout(() => { + if (!this._receiveTextQueue.length) { + this.$text.innerHTML = ""; + } + else { + this._dequeueRequests(); + } + this._hideTimeout = null; }, 500); } } From 08aa1e62a4024a7222c0b7a0868142e22abf3dc9 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 13/49] Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.9% (161 of 166 strings) Translated using Weblate (Portuguese (Brazil)) Currently translated at 96.9% (161 of 166 strings) Co-authored-by: Hosted Weblate Co-authored-by: Richard Willian Co-authored-by: schlagmichdoch Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/pt_BR/ Translation: PairDrop/pairdrop-spa --- public/lang/pt-BR.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/lang/pt-BR.json b/public/lang/pt-BR.json index c495db0..fa1b50d 100644 --- a/public/lang/pt-BR.json +++ b/public/lang/pt-BR.json @@ -11,7 +11,7 @@ "pair-device_title": "Emparelhar seus dispositivos permanentemente", "edit-paired-devices_title": "Editar dispositivos emparelhados", "join-public-room_title": "Entrar em uma sala pública temporariamente", - "cancel-share-mode": "Concluído", + "cancel-share-mode": "Cancelar", "edit-share-mode": "Editar" }, "instructions": { @@ -22,8 +22,8 @@ "x-instructions_mobile": "Toque para enviar arquivos ou toque e segure para enviar uma mensagem", "x-instructions_data-drop-peer": "Solte para enviar para o par", "x-instructions_data-drop-bg": "Solte para selecionar o destinatário", - "x-instructions-share-mode_desktop": "Clique para enviar", - "x-instructions-share-mode_mobile": "Toque para enviar", + "x-instructions-share-mode_desktop": "Clique para enviar {{descriptor}}", + "x-instructions-share-mode_mobile": "Toque para enviar {{descriptor}}", "activate-share-mode-base": "Abra o PairDrop em outros dispositivos para enviar", "activate-share-mode-and-other-files-plural": "e {{count}} outros arquivos", "activate-share-mode-shared-text": "texto compartilhado", From 63717aae82e2d944fbad414a719246e4551dcd04 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 14/49] Translated using Weblate (Russian) Currently translated at 87.3% (145 of 166 strings) Translated using Weblate (Russian) Currently translated at 87.3% (145 of 166 strings) Co-authored-by: Drako 1 Co-authored-by: Hosted Weblate Co-authored-by: schlagmichdoch Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ru/ Translation: PairDrop/pairdrop-spa --- public/lang/ru.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/lang/ru.json b/public/lang/ru.json index 1bbc591..e23f900 100644 --- a/public/lang/ru.json +++ b/public/lang/ru.json @@ -11,14 +11,15 @@ "theme-dark_title": "Всегда использовать темную тему", "theme-light_title": "Всегда использовать светлую тему", "join-public-room_title": "Войти на время в публичную комнату", - "language-selector_title": "Выбрать язык" + "language-selector_title": "Выбрать язык", + "edit-share-mode": "Редактировать" }, "instructions": { "x-instructions_desktop": "Нажмите, чтобы отправить файлы, или щелкните правой кнопкой мыши, чтобы отправить сообщение", "no-peers_data-drop-bg": "Отпустите, чтобы выбрать получателя", - "x-instructions-share-mode_desktop": "Нажмите, чтобы отправить", + "x-instructions-share-mode_desktop": "Нажмите, чтобы отправить {{descriptor}}", "x-instructions_data-drop-bg": "Отпустите, чтобы выбрать получателя", - "x-instructions-share-mode_mobile": "Прикоснитесь, чтобы отправить", + "x-instructions-share-mode_mobile": "Прикоснитесь, чтобы отправить {{descriptor}}", "x-instructions_data-drop-peer": "Отпустите, чтобы послать узлу", "x-instructions_mobile": "Прикоснитесь коротко, чтобы отправить файлы, или долго, чтобы отправить сообщение", "no-peers-title": "Откройте PairDrop на других устройствах, чтобы отправить файлы", From 9c98bc3e9b0fc81bb237da20834261a0f10149ab Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 15/49] Translated using Weblate (Japanese) Currently translated at 98.1% (163 of 166 strings) Co-authored-by: schlagmichdoch Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ja/ Translation: PairDrop/pairdrop-spa --- public/lang/ja.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/lang/ja.json b/public/lang/ja.json index 4ce93bc..f25fb32 100644 --- a/public/lang/ja.json +++ b/public/lang/ja.json @@ -75,9 +75,9 @@ }, "instructions": { "x-instructions_mobile": "タップしてファイルを送信または長押ししてメッセージを送信します", - "x-instructions-share-mode_desktop": "クリックして送信", + "x-instructions-share-mode_desktop": "クリックして{{descriptor}}送信", "activate-share-mode-and-other-files-plural": "とその他{{count}}個のファイル", - "x-instructions-share-mode_mobile": "タップして送信", + "x-instructions-share-mode_mobile": "タップして{{descriptor}}送信", "activate-share-mode-base": "他のデバイスでPairDropを開いて送信します", "no-peers-subtitle": "デバイスをペア設定するかパブリックルームに参加すると、他のネットワーク上からも見つけられるようになります", "activate-share-mode-shared-text": "共有されたテキスト", From cce97a64964f6c8844b20bb3ce15d82c7d936e08 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 16/49] Translated using Weblate (Hungarian) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 100.0% (166 of 166 strings) Translated using Weblate (Hungarian) Currently translated at 100.0% (166 of 166 strings) Translated using Weblate (Hungarian) Currently translated at 47.5% (79 of 166 strings) Added translation using Weblate (Hungarian) Co-authored-by: Balázs Szeles Co-authored-by: Hosted Weblate Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/hu/ Translation: PairDrop/pairdrop-spa --- public/lang/hu.json | 184 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 184 insertions(+) create mode 100644 public/lang/hu.json diff --git a/public/lang/hu.json b/public/lang/hu.json new file mode 100644 index 0000000..7584f24 --- /dev/null +++ b/public/lang/hu.json @@ -0,0 +1,184 @@ +{ + "header": { + "language-selector_title": "Nyelv beállítása", + "theme-auto_title": "Téma automatikusan rendszerhez igazítása", + "about_aria-label": "\"A PairDrop-ról\" megnyitása", + "theme-light_title": "Mindig világos téma használata", + "theme-dark_title": "Mindig sötét téma használata", + "notification_title": "Értesítések engedélyezése", + "install_title": "PairDrop telepítése", + "edit-paired-devices_title": "Párosított eszközök szerkeztése", + "cancel-share-mode": "Mégse", + "edit-share-mode": "Szerkesztés", + "expand_title": "Fejléc gombsorának kibővítése", + "about_title": "A PairDrop-ról", + "pair-device_title": "Eszközei végleges párosítása", + "join-public-room_title": "Ideiglenes csatlakozás a nyilvános szobához" + }, + "instructions": { + "no-peers-title": "Nyissa meg a PairDrop-ot más eszközökön a fájlok küldéséhez", + "no-peers_data-drop-bg": "Engedje el a címzett kiválasztásához", + "x-instructions_desktop": "Kattintson a fájlküldéshez, vagy kattintson jobb gombbal üzenet küldéséhez", + "x-instructions_data-drop-peer": "Engedje el a partnernek való küldéshez", + "x-instructions_data-drop-bg": "Engedje el a címzett kiválasztásához", + "activate-share-mode-base": "Nyissa meg a PairDrop-ot más eszközökön a küldéséhez", + "activate-share-mode-and-other-file": "és egy másik fájl", + "activate-share-mode-and-other-files-plural": "és {{count}} másik fájl", + "activate-share-mode-shared-file": "megosztott fájl", + "activate-share-mode-shared-files-plural": "{{count}} megosztott fájl", + "x-instructions_mobile": "Koppintson a fájlküldéshez, vagy nyomja hosszan üzenet küldéséhez", + "x-instructions-share-mode_desktop": "Kattintson a {{descriptor}} küldéséhez", + "x-instructions-share-mode_mobile": "Koppintson a {{descriptor}} küldéséhez", + "activate-share-mode-shared-text": "megosztott szöveg", + "webrtc-requirement": "Ezen PairDrop példány használatához engedélyezni kell a WebRTC-t!", + "no-peers-subtitle": "Párosítsa eszközeit vagy lépjen be egy nyilvános szobába, hogy más hálózatokon is felfedezhető legyen" + }, + "footer": { + "known-as": "Ön így látható:", + "display-name_data-placeholder": "Betöltés…", + "display-name_title": "Az eszköze nevének végleges megváltoztatása", + "discovery": "Ön felfedezhető:", + "on-this-network_title": "Mindenki által felfedezhető a hálózaton.", + "paired-devices": "a csatlakoztatott eszközök által", + "public-room-devices": "a {{roomId}} szobában", + "traffic": "A forgalom", + "routed": "a szerveren van átirányítva", + "webrtc": "ha nem elérhető a WebRTC.", + "on-this-network": "ezen a hálózaton", + "paired-devices_title": "A párosított eszközeid által minden esetben felfedezhető a hálózaton, a hálózattól függetlenül.", + "public-room-devices_title": "Mindenki által felfedezhető ebben a nyilvános szobában, a hálózattól függetlenül." + }, + "dialogs": { + "input-key-on-this-device": "Írja be ezt a kódot egy másik eszközön", + "pair-devices-title": "Eszközök végleges párosítása", + "temporary-public-room-title": "Ideiglenes nyilvános szoba", + "input-room-id-on-another-device": "Írja be ezt a szobakódot egy másik eszközön", + "enter-room-id-from-another-device": "Írja be a szobakódot egy másik eszközről a szobához való csatlakozáshoz.", + "cancel": "Mégse", + "pair": "Párosítás", + "edit-paired-devices-title": "Párosított eszközök szerkesztése", + "unpair": "Párosítás megszüntetése", + "paired-device-removed": "Párosított eszköz eltávolítva.", + "paired-devices-wrapper_data-empty": "Nincs párosított eszköz.", + "auto-accept": "automatikus elfogadás", + "close": "Bezárás", + "join": "Csatlakozás", + "would-like-to-share": "szeretne megosztani", + "accept": "Elfogadás", + "has-sent": "küldött:", + "share": "Megosztás", + "send-message-title": "Üzenet küldése", + "send-message-to": "Neki:", + "receive-text-title": "Üzenet érkezett", + "base64-processing": "Feldolgozás…", + "scan-qr-code": "vagy olvassa be a QR-kódot.", + "auto-accept-instructions-1": "Aktiválás", + "auto-accept-instructions-2": "hogy automatikusan elfogadja az adott eszközről küldött összes fájlt.", + "leave": "Kilépés", + "decline": "Elutasítás", + "download": "Letöltés", + "send": "Küldés", + "message_title": "Írja be a küldeni kívánt üzenetet", + "message_placeholder": "Szöveg", + "copy": "Másolás", + "base64-title-files": "Fájlok megosztása", + "base64-title-text": "Szöveg megosztása", + "enter-key-from-another-device": "Ide írja be a kódot egy másik eszközről.", + "hr-or": "VAGY", + "base64-text": "szöveg", + "base64-tap-to-paste": "Koppintson ide a {{type}} megosztásához", + "base64-paste-to-send": "Illessze be a ide a vágólapja tartalmát a {{type}} megosztásához", + "base64-files": "fájlok", + "file-other-description-image": "és egy másik kép", + "file-other-description-file": "és egy másik fájl", + "file-other-description-image-plural": "és {{count}} másik kép", + "file-other-description-file-plural": "és {{count}} másik fájl", + "title-image": "Kép", + "title-file": "Fájl", + "title-image-plural": "Képek", + "title-file-plural": "Fájlok", + "receive-title": "{{descriptor}} érkezett", + "download-again": "Letöltés újra", + "language-selector-title": "Nyelv beállítása", + "system-language": "Rendszer nyelve", + "approve": "jóváhagyás", + "share-text-title": "Szöveges üzenet megosztása", + "share-text-subtitle": "Üzenet szerkesztése küldés előtt:", + "share-text-checkbox": "Mindig mutassa ezt a párbeszédablakot üzenet megosztásakor", + "close-toast_title": "Értesítés bezárása", + "public-room-qr-code_title": "Kattintson a szoba linkjének másolásához", + "pair-devices-qr-code_title": "Kattintson az eszköz párosításához való link másolásához" + }, + "notifications": { + "online-requirement-pairing": "Online kell lennie készülékek párosításához", + "link-received": "Link érkezett tőle: {{name}} - Kattintson a megnyitáshoz", + "selected-peer-left": "A kiválasztott partner kilépett", + "display-name-changed-permanently": "A megjelenített neved véglegesen meg lett változtatva", + "download-successful": "{{descriptor}} letöltve", + "pairing-tabs-error": "Két böngészőlap párosítása lehetetlen", + "display-name-random-again": "A megjelenített neved véletlenszerűen újra lett generálva", + "pairing-key-invalid": "Érvénytelen kulcs", + "pairing-cleared": "Minden eszköz párosítása megszüntetve", + "public-room-id-invalid": "Érvénytelen szobakód", + "copied-to-clipboard": "Vágólapra másolva", + "copied-to-clipboard-error": "Másolás nem lehetséges. Manuális másolás szükséges.", + "text-content-incorrect": "A szöveg tartalma helytelen", + "file-content-incorrect": "A fájl tartalma helytelen", + "pair-url-copied-to-clipboard": "Az eszköz párosítására való link másolva a vágólapra", + "notifications-enabled": "Értesítések engedélyezve", + "request-title": "{{name}} szeretne küldeni: {{count}} {{descriptor}}", + "copied-text-error": "A vágólapra való írás nem sikerült. Manuális másolás szükséges.", + "click-to-download": "Kattintson a letöltéshez", + "click-to-show": "Kattintson a megjelenítéshez", + "connected": "Csatlakoztatva", + "online": "Újra online lett", + "connecting": "Csatlakozás…", + "files-incorrect": "A fájlok helytelenek", + "file-transfer-completed": "A fájlok küldése sikeres", + "message-transfer-completed": "Üzenet küldése sikeres", + "unfinished-transfers-warning": "Befejezetlen átvitelek folyamatban. Biztosan be akarja zárni a PairDrop-ot?", + "pairing-success": "Eszközök párosítva", + "pairing-not-persistent": "A párosított eszközök nem maradandóak", + "pairing-key-invalidated": "{{key}} kulcs érvénytelenítve", + "public-room-left": "{{publicRoomId}} szoba elhagyva", + "online-requirement-public-room": "Online kell lennie szoba készítéséhez", + "ios-memory-limit": "Egyszerre csak 200 MB-os fájlátvitel lehetséges iOS-re való küldéskor", + "room-url-copied-to-clipboard": "A nyilvános szoba linkje másolva a vágólapra", + "clipboard-content-incorrect": "A vágólap tartalma helytelen", + "copied-text": "Szöveg másolva a vágólapra", + "message-received": "Üzenet érkezett tőle: {{name}} - Kattintson a másoláshoz", + "notifications-permissions-error": "Az értesítések engedélye letiltásra került, mivel a felhasználó többször is elutasította az engedélykérést. Ez visszaállítható az oldalinformációkban, amely az URL-sáv melletti lakat ikonra kattintva érhet el.", + "offline": "Ön offline", + "rate-limit-join-key": "Az átviteli sebességhatár elérte a határt. Várjon 10 másodpercet, és próbálja meg újra.", + "display-name-changed-temporarily": "A megjelenített neved meg lett változtatva csak erre a munkamenetre" + }, + "about": { + "close-about_aria-label": "A PairDrop-ról bezárása", + "github_title": "PairDrop a GitHub-on", + "buy-me-a-coffee_title": "Vegyél nekem egy kávét!", + "mastodon_title": "Írj a PairDrop-ról Mastodon-on", + "bluesky_title": "Kövess minket a BlueSky-on", + "faq_title": "Gyakran ismételt kérdések", + "claim": "Az eszközök közötti fájlátvitel legegyszerűbb módja", + "tweet_title": "Tweetelj a PairDrop-ról", + "custom_title": "Kövess minket", + "privacypolicy_title": "Nyisd meg az adatvédelmi szabályzatunkat" + }, + "document-titles": { + "file-received": "Fájl érkezett", + "file-received-plural": "{{count}} fájl érkezett", + "image-transfer-requested": "Képátvitel kérelmezve", + "message-received": "Üzenet érkezett", + "message-received-plural": "{{count}} üzenet érkezett", + "file-transfer-requested": "Fájlátvitel kérelmezve" + }, + "peer-ui": { + "preparing": "Előkészítés…", + "click-to-send-share-mode": "Kattintson a {{descriptor}} küldéséhez", + "waiting": "Várakozás…", + "processing": "Feldolgozás…", + "transferring": "Átvitel…", + "click-to-send": "Kattintson fájlok küldéséhez vagy kattintson jobb gombbal üzenet küldéséhez", + "connection-hash": "A végpontok közötti titkosítás biztonságának ellenőrzéséhez hasonlítsa össze ezt a biztonsági számot mindkét eszközön" + } +} From e07255398fd77f71a0e4c203aef15113d5000a07 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 17/49] Added translation using Weblate (Hebrew) Co-authored-by: Hosted Weblate Co-authored-by: schlagmichdoch --- public/lang/he.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/lang/he.json diff --git a/public/lang/he.json b/public/lang/he.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/public/lang/he.json @@ -0,0 +1 @@ +{} From 6330f09486bee9f6024c1456b65640f839fe9f42 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 18/49] Translated using Weblate (Polish) Currently translated at 100.0% (166 of 166 strings) Added translation using Weblate (Polish) Co-authored-by: Ash Mad Co-authored-by: Hosted Weblate Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/pl/ Translation: PairDrop/pairdrop-spa --- public/lang/pl.json | 184 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 184 insertions(+) create mode 100644 public/lang/pl.json diff --git a/public/lang/pl.json b/public/lang/pl.json new file mode 100644 index 0000000..1f2f593 --- /dev/null +++ b/public/lang/pl.json @@ -0,0 +1,184 @@ +{ + "header": { + "language-selector_title": "Ustaw język", + "about_aria-label": "Otwórz \"O PairDrop\"", + "theme-light_title": "Zawsze używaj jasnego motywu", + "theme-dark_title": "Zawsze używaj ciemnego motywu", + "pair-device_title": "Sparuj swoje urządzenia na stałe", + "edit-paired-devices_title": "Edytuj sparowane urządzenia", + "join-public-room_title": "Dołącz tymczasowo do pokoju publicznego", + "cancel-share-mode": "Anuluj", + "edit-share-mode": "Edytuj", + "expand_title": "Rozwiń rząd przycisków", + "about_title": "O PairDrop", + "theme-auto_title": "Dostosuj motyw do motywu systemowego", + "notification_title": "Włącz powiadomienia", + "install_title": "Zainstaluj PairDrop" + }, + "instructions": { + "no-peers_data-drop-bg": "Zwolnij, aby wybrać odbiorcę", + "no-peers-title": "Otwórz PairDrop na innych urządzeniach, aby wysłać pliki", + "x-instructions_desktop": "Kliknij, aby wysłać pliki lub kliknij prawym przyciskiem myszy, aby wysłać wiadomość", + "x-instructions_mobile": "Naciśnij, aby wysłać pliki lub naciśnij i przytrzymaj, aby wysłać wiadomość", + "x-instructions_data-drop-bg": "Zwolnij, aby wybrać odbiorcę", + "x-instructions-share-mode_desktop": "Kliknij, aby wysłać {{descriptor}}", + "x-instructions-share-mode_mobile": "Naciśnij, aby wysłać {{descriptor}}", + "activate-share-mode-base": "Otwórz PairDrop na innych urządzeniach, aby wysłać", + "activate-share-mode-and-other-file": "i 1 inny plik", + "activate-share-mode-shared-text": "udostępniony tekst", + "activate-share-mode-shared-file": "udostępniony plik", + "no-peers-subtitle": "Sparuj urządzenia lub wejdź do pokoju publicznego, aby być widocznym w innych sieciach", + "x-instructions_data-drop-peer": "Zwolnij, aby wysłać do odbiorcy", + "activate-share-mode-and-other-files-plural": "i {{count}} innych plików", + "activate-share-mode-shared-files-plural": "{{count}} udostępnionych plików", + "webrtc-requirement": "Aby móc korzystać z tej instancji PairDrop, należy włączyć WebRTC!" + }, + "footer": { + "known-as": "Jesteś widoczny jako:", + "display-name_data-placeholder": "Ładowanie…", + "display-name_title": "Edytuj nazwę swojego urządzenia na stałe", + "on-this-network": "w tej sieci", + "on-this-network_title": "Możesz być znaleziony przez każdego w tej sieci.", + "paired-devices": "przez sparowane urządzenia", + "discovery": "Możesz być wykryty:", + "paired-devices_title": "Możesz zostać wykryty przez sparowane urządzenia przez cały czas, niezależnie od sieci.", + "public-room-devices": "w pokoju {{roomId}}", + "public-room-devices_title": "Możesz zostać wykryty przez urządzenia w tym pokoju publicznym, niezależnie od sieci.", + "routed": "przesyłane przez serwer", + "webrtc": "jeśli WebRTC jest niedostępny.", + "traffic": "Transmisja jest" + }, + "dialogs": { + "pair-devices-title": "Sparuj Urządzenia Na Stałe", + "enter-key-from-another-device": "Wpisz tu klucz z innego urządzenia.", + "temporary-public-room-title": "Tymczasowy Pokój Publiczny", + "enter-room-id-from-another-device": "Wprowadź ID pokoju z innego urządzenia, aby wejść do pokoju.", + "hr-or": "LUB", + "pair": "Sparuj", + "cancel": "Anuluj", + "edit-paired-devices-title": "Edycja Sparowanych Urządzeń", + "unpair": "Rozłącz sparowanie", + "paired-devices-wrapper_data-empty": "Brak sparowanych urządzeń.", + "auto-accept-instructions-1": "Aktywuj", + "auto-accept-instructions-2": ", aby automatycznie przyjąć wszystkie pliki wysłane z tego urządzenia.", + "auto-accept": "samoczynne potwierdzanie", + "close": "Zamknij", + "join": "Dołącz", + "leave": "Opuść", + "accept": "Akceptuj", + "decline": "Odrzuć", + "has-sent": "wysłał:", + "share": "Udostępnij", + "send-message-title": "Wyślij Wiadomość", + "send-message-to": "Do:", + "message_title": "Wprowadź wiadomość do wysłania", + "message_placeholder": "Tekst", + "receive-text-title": "Wiadomość Odebrana", + "copy": "Kopiuj", + "base64-title-files": "Udostępnij Pliki", + "base64-title-text": "Udostępnij Tekst", + "base64-processing": "Przetwarzanie…", + "base64-tap-to-paste": "Naciśnij tutaj, aby udostępnić {{type}}", + "base64-text": "tekst", + "base64-files": "pliki", + "file-other-description-image": "i 1 inny obraz", + "file-other-description-image-plural": "i {{count}} innych obrazów", + "file-other-description-file-plural": "i {{count}} innych plików", + "title-image": "Obraz", + "title-image-plural": "Obrazy", + "title-file-plural": "Pliki", + "receive-title": "{{descriptor}} Otrzymano", + "download-again": "Pobierz ponownie", + "download": "Pobierz", + "language-selector-title": "Ustaw Język", + "system-language": "Język Systemu", + "file-other-description-file": "i 1 inny plik", + "pair-devices-qr-code_title": "Kliknij, aby skopiować odnośnik do sparowania urządzenia", + "approve": "zatwierdź", + "share-text-subtitle": "Edytuj wiadomość przed wysłaniem:", + "share-text-checkbox": "Zawsze pokazuj to okno, gdy udostępniasz tekst", + "paired-device-removed": "Sparowane urządzenie zostało usunięte.", + "would-like-to-share": "chciałby udostępnić", + "input-key-on-this-device": "Wprowadź ten klucz na innym urządzeniu", + "send": "Wyślij", + "scan-qr-code": "lub zeskanuj kod QR.", + "base64-paste-to-send": "Wklej tutaj, aby udostępnić {{type}}", + "title-file": "Plik", + "input-room-id-on-another-device": "Wprowadź ID tego pokoju na innym urządzeniu", + "public-room-qr-code_title": "Kliknij, aby skopiować odnośnik do pokoju publicznego", + "share-text-title": "Udostępnij Wiadomość Tekstową", + "close-toast_title": "Zamknij powiadomienie" + }, + "about": { + "close-about_aria-label": "Zamknij \"O PairDrop\"", + "claim": "Najłatwiejszy sposób na przesyłanie plików między urządzeniami", + "buy-me-a-coffee_title": "Kup me kawę!", + "mastodon_title": "Napisz o PairDrop na Mastodonie", + "bluesky_title": "Śledź nas na BlueSky", + "custom_title": "Śledź nas", + "privacypolicy_title": "Otwórz naszą Politykę Prywatności", + "faq_title": "Często zadawane pytania (FAQ)", + "github_title": "PairDrop na GitHub", + "tweet_title": "Tweetnij o PairDrop" + }, + "notifications": { + "display-name-changed-permanently": "Wyświetlana nazwa została zmieniona na stałe", + "display-name-random-again": "Wyświetlana nazwa została ponownie wygenerowana", + "download-successful": "{{descriptor}} pobrano", + "pairing-tabs-error": "Sparowanie dwóch kart w przeglądarce jest niemożliwe", + "pairing-success": "Sparowane urządzenia", + "pairing-key-invalid": "Nieprawidłowy klucz", + "pairing-key-invalidated": "Klucz {{key}} unieważniony", + "public-room-id-invalid": "Nieprawidłowe ID pokoju", + "pairing-cleared": "Wszystkie urządzenia rozłączone", + "public-room-left": "Opuściłeś pokój publiczny {{publicRoomId}}", + "copied-to-clipboard-error": "Kopiowanie niemożliwe. Skopiuj ręcznie.", + "text-content-incorrect": "Treść tekstu jest nieprawidłowa", + "file-content-incorrect": "Zawartość pliku jest nieprawidłowa", + "clipboard-content-incorrect": "Zawartość schowka jest nieprawidłowa", + "pair-url-copied-to-clipboard": "Link do sparowania tego urządzenia skopiowano do schowka", + "link-received": "Otrzymano link od {{name}} - Kliknij, aby otworzyć", + "message-received": "Otrzymano wiadomość od {{name}} - Kliknij, aby skopiować", + "click-to-download": "Kliknij, aby pobrać", + "request-title": "{{name}} chciałby przesłać {{count}} {{descriptor}}", + "click-to-show": "Kliknij, żeby pokazać", + "copied-text": "Tekst skopiowany do schowka", + "copied-text-error": "Zapis do schowka nie powiódł się. Skopiuj ręcznie!", + "offline": "Jesteś offline", + "online": "Jesteś znów online", + "connected": "Połączony", + "online-requirement-pairing": "Aby sparować urządzenia, musisz być online", + "online-requirement-public-room": "Aby utworzyć pokój publiczny, musisz być online", + "connecting": "Łączenie…", + "files-incorrect": "Pliki są nieprawidłowe", + "file-transfer-completed": "Przesyłanie plików zakończone", + "ios-memory-limit": "Jednorazowe przesyłanie plików do iOS jest możliwe tylko do 200 MB", + "message-transfer-completed": "Przesyłanie wiadomości zakończone", + "unfinished-transfers-warning": "Istnieją niedokończone transfery. Czy na pewno chcesz zamknąć PairDrop?", + "rate-limit-join-key": "Osiągnięto limit. Poczekaj 10 sekund i spróbuj ponownie.", + "selected-peer-left": "Wybrany uczestnik opuścił", + "display-name-changed-temporarily": "Wyświetlana nazwa została zmieniona na czas tej sesji", + "pairing-not-persistent": "Połączenie sparowanych urządzeń nie jest trwałe", + "copied-to-clipboard": "Skopiowano do schowka", + "room-url-copied-to-clipboard": "Link do publicznego pokoju skopiowano do schowka", + "notifications-enabled": "Powiadomienia włączone", + "notifications-permissions-error": "Uprawnienia do powiadomień zostały zablokowane, ponieważ użytkownik kilkakrotnie odrzucił monit o pozwolenie na nie. Można je zresetować w \"Informacjach o [stronie]\", do których można uzyskać dostęp, klikając ikonę kłódki obok paska adresu URL." + }, + "document-titles": { + "file-received": "Plik Odebrany", + "file-received-plural": "{{count}} Plików Odebranych", + "file-transfer-requested": "Zażądano Przesłania Pliku", + "image-transfer-requested": "Zażądano Przesłania Obrazu", + "message-received": "Otrzymano Wiadomość", + "message-received-plural": "{{count}} Wiadomości Odebranych" + }, + "peer-ui": { + "click-to-send-share-mode": "Kliknij, aby wysłać {{descriptor}}", + "click-to-send": "Kliknij, aby wysłać pliki lub kliknij prawym przyciskiem myszy, aby wysłać wiadomość", + "connection-hash": "Aby sprawdzić bezpieczeństwo szyfrowania end-to-end, porównaj ten numer bezpieczeństwa na obu urządzeniach", + "preparing": "Przygotowanie…", + "waiting": "Oczekiwanie…", + "processing": "Przetwarzanie…", + "transferring": "Przesyłanie…" + } +} From 61861df99e1d68c8dd3203d17762bf79d0e679dc Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 19/49] Translated using Weblate (Arabic) Currently translated at 83.7% (139 of 166 strings) Co-authored-by: schlagmichdoch Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/ar/ Translation: PairDrop/pairdrop-spa --- public/lang/ar.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/lang/ar.json b/public/lang/ar.json index b29d338..a3c333e 100644 --- a/public/lang/ar.json +++ b/public/lang/ar.json @@ -71,9 +71,9 @@ }, "instructions": { "x-instructions_mobile": "انقر لإرسال الملفات أو انقر لفترة طويلة لإرسال رسالة", - "x-instructions-share-mode_desktop": "انقر للإرسال", + "x-instructions-share-mode_desktop": "انقر للإرسال {{descriptor}}", "activate-share-mode-and-other-files-plural": "و{{count}} ملفات أخرى", - "x-instructions-share-mode_mobile": "انقر للإرسال", + "x-instructions-share-mode_mobile": "انقر للإرسال {{descriptor}}", "activate-share-mode-base": "افتح PairDrop على الأجهزة الأخرى للإرسال", "no-peers-subtitle": "قم بإقران الأجهزة أو ادخل إلى غرفة عامة لتتمكن من أن تكتشف على الشبكات الأخرى", "activate-share-mode-shared-text": "النص المشترك", From 3cc2ab99b54ace3e21018da35eba6c1030866034 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 20/49] Translated using Weblate (Indonesian) Currently translated at 93.9% (156 of 166 strings) Co-authored-by: schlagmichdoch Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/id/ Translation: PairDrop/pairdrop-spa --- public/lang/id.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/lang/id.json b/public/lang/id.json index 5159c4b..ba921a1 100644 --- a/public/lang/id.json +++ b/public/lang/id.json @@ -75,9 +75,9 @@ }, "instructions": { "x-instructions_mobile": "Ketuk untuk mengirim file atau ketuk lama untuk mengirim pesan", - "x-instructions-share-mode_desktop": "Klik untuk mengirim", + "x-instructions-share-mode_desktop": "Klik untuk mengirim {{descriptor}}", "activate-share-mode-and-other-files-plural": "dan {{count}} file lainnya", - "x-instructions-share-mode_mobile": "Ketuk untuk mengirim", + "x-instructions-share-mode_mobile": "Ketuk untuk mengirim {{descriptor}}", "activate-share-mode-base": "Buka PairDrop di perangkat lain untuk berkirim", "no-peers-subtitle": "Pasangkan perangkat atau masuk ke ruang publik agar dapat terdeteksi di jaringan lain", "activate-share-mode-shared-text": "teks bersama", From 46b6b38ad52f259c215e46789a4d5dcd97272908 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 21/49] Translated using Weblate (Dutch) Currently translated at 100.0% (166 of 166 strings) Translated using Weblate (Dutch) Currently translated at 100.0% (166 of 166 strings) Co-authored-by: Arne Cuperus Co-authored-by: Hosted Weblate Co-authored-by: schlagmichdoch Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/nl/ Translation: PairDrop/pairdrop-spa --- public/lang/nl.json | 45 +++++++++++++++++++++++++++++++++++---------- 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/public/lang/nl.json b/public/lang/nl.json index 6287ed8..801c34a 100644 --- a/public/lang/nl.json +++ b/public/lang/nl.json @@ -52,7 +52,10 @@ "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", - "click-to-show": "Klik om te tonen" + "click-to-show": "Klik om te tonen", + "pair-url-copied-to-clipboard": "Koppeling om dit apparaat te koppelen is gekopieerd naar het klembord", + "room-url-copied-to-clipboard": "Koppeling naar openbare kamer gekopieerd naar klembord", + "notifications-permissions-error": "Meldingsmachtiging is geblokkeerd, omdat de gebruiker het machtigingsverzoek meerdere keren heeft afgewezen. Dit kan worden gereset in instellingen van de website, welke toegangelijk is door te klikken op het sloticoon naast de URL-balk." }, "header": { "cancel-share-mode": "Klaar", @@ -66,13 +69,15 @@ "language-selector_title": "Taal Selecteren", "about_title": "Over PairDrop", "about_aria-label": "Open Over PairDrop", - "theme-light_title": "Altijd lichte modus gebruiken" + "theme-light_title": "Altijd lichte modus gebruiken", + "expand_title": "Knoppenrij uitvouwen", + "edit-share-mode": "Bewerken" }, "instructions": { "x-instructions_mobile": "Tik om bestanden te versturen of houdt vast om een bericht te sturen", - "x-instructions-share-mode_desktop": "Klik om te verzenden", + "x-instructions-share-mode_desktop": "Klik om te verzenden {{descriptor}}", "activate-share-mode-and-other-files-plural": "en {{count}} andere bestanden", - "x-instructions-share-mode_mobile": "Tik om te verzenden", + "x-instructions-share-mode_mobile": "Tik om te verzenden {{descriptor}}", "activate-share-mode-base": "Open PairDrop op andere apparaten om te verzenden", "no-peers-subtitle": "Koppel apparaten of betreed een openbare ruimte om op andere netwerken zichtbaar te worden", "activate-share-mode-shared-text": "gedeelde tekst", @@ -80,7 +85,11 @@ "no-peers-title": "Open PairDrop op andere apparaten om bestanden te versturen", "x-instructions_data-drop-peer": "Laat los om naar peer te versturen", "x-instructions_data-drop-bg": "Loslaten om ontvanger te selecteren", - "no-peers_data-drop-bg": "Loslaten om ontvanger te kiezen" + "no-peers_data-drop-bg": "Loslaten om ontvanger te kiezen", + "activate-share-mode-and-other-file": "en 1 ander bestand", + "activate-share-mode-shared-file": "gedeeld bestand", + "activate-share-mode-shared-files-plural": "{{count}} gedeelde bestanden", + "webrtc-requirement": "Om deze PairDrop instantie te kunnen gebruiken, moet WebRTC geactiveerd zijn!" }, "peer-ui": { "processing": "Verwerken…", @@ -92,7 +101,7 @@ "transferring": "Overdragen…" }, "dialogs": { - "base64-paste-to-send": "Plak hier om {{type}} te versturen", + "base64-paste-to-send": "Plak klembord hier om {{type}} te versturen", "auto-accept-instructions-2": "om automatisch alle bestanden van dat apparaat te accepteren.", "receive-text-title": "Bericht Ontvangen", "edit-paired-devices-title": "Gekoppelde Apparaten Bewerken", @@ -108,7 +117,7 @@ "join": "Betreden", "title-image-plural": "Afbeeldingen", "send": "Verzenden", - "base64-tap-to-paste": "Hier tikken om {{type}} te plakken", + "base64-tap-to-paste": "Hier tikken om {{type}} te delen", "base64-text": "tekst", "copy": "Kopiëren", "file-other-description-image": "en één andere afbeelding", @@ -122,7 +131,7 @@ "title-image": "Afbeelding", "file-other-description-file-plural": "en {{count}} andere bestanden", "would-like-to-share": "zou graag het volgende willen delen", - "send-message-to": "Verstuur een bericht naar", + "send-message-to": "Aan:", "language-selector-title": "Taal Instellen", "pair": "Koppel", "hr-or": "OF", @@ -138,7 +147,19 @@ "send-message-title": "Bericht Sturen", "input-room-id-on-another-device": "Voer de kamer ID in op een ander apparaat", "file-other-description-image-plural": "en {{count}} andere afbeeldingen", - "enter-room-id-from-another-device": "Voer de kamer ID van een ander apparaat hier in." + "enter-room-id-from-another-device": "Voer de kamer ID van een ander apparaat hier in.", + "paired-device-removed": "Gekoppelde apparaten zijn verwijderd.", + "message_title": "Voer bericht in om te versturen", + "message_placeholder": "Tekst", + "base64-title-files": "Deel Bestanden", + "base64-title-text": "Deel Tekst", + "public-room-qr-code_title": "Klik, om de link naar deze openbare ruimte te kopiëren", + "approve": "goedkeuren", + "share-text-title": "Gedeeld Tekst Bericht", + "share-text-checkbox": "Deze dialoog altijd tonen bij het delen van tekst", + "close-toast_title": "Bericht sluiten", + "pair-devices-qr-code_title": "Klik om de koppeling te kopiëren om dit apparaat te koppelen", + "share-text-subtitle": "Bewerk bericht voor verzending:" }, "about": { "claim": "De makkelijkste manier om bestanden tussen apparaten te versturen", @@ -146,7 +167,11 @@ "close-about_aria-label": "Sluit Over PairDrop", "buy-me-a-coffee_title": "Koop een kopje koffie voor mij!", "github_title": "PairDrop op GitHub", - "faq_title": "Veel gestelde vragen" + "faq_title": "Veel gestelde vragen", + "mastodon_title": "Schrijf over PairDrop op Mastodon", + "bluesky_title": "Volg ons op BlueSky", + "custom_title": "Volg ons", + "privacypolicy_title": "Open ons privacybeleid" }, "document-titles": { "file-transfer-requested": "Bestandsoverdracht verzocht", From f0cfb4833d168b7ec9029b37fef177dd2cd5767a Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 22/49] Translated using Weblate (French) Currently translated at 98.7% (164 of 166 strings) Co-authored-by: Hosted Weblate Co-authored-by: Thumuss <42680097+Thumuss@users.noreply.github.com> Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/fr/ Translation: PairDrop/pairdrop-spa --- public/lang/fr.json | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/public/lang/fr.json b/public/lang/fr.json index b77ed96..e72eefc 100644 --- a/public/lang/fr.json +++ b/public/lang/fr.json @@ -11,7 +11,9 @@ "pair-device_title": "Associez vos appareils de manière permanente", "edit-paired-devices_title": "Gérer les appareils couplés", "join-public-room_title": "Rejoindre temporairement la salle publique", - "cancel-share-mode": "Terminé" + "cancel-share-mode": "Terminé", + "edit-share-mode": "Modifier", + "expand_title": "Agrandir entête bouton ligne" }, "instructions": { "no-peers_data-drop-bg": "Déposer pour choisir le destinataire", @@ -21,11 +23,15 @@ "x-instructions_mobile": "Appuyez pour envoyer des fichiers ou appuyez longuement pour envoyer un message", "x-instructions_data-drop-peer": "Déposer pour envoyer au destinataire", "x-instructions_data-drop-bg": "Lâcher pour choisir le destinataire", - "x-instructions-share-mode_desktop": "Cliquez pour envoyer", - "x-instructions-share-mode_mobile": "Appuyez pour envoyer", + "x-instructions-share-mode_desktop": "Cliquez pour envoyer {{descriptor}}", + "x-instructions-share-mode_mobile": "Appuyez pour envoyer {{descriptor}}", "activate-share-mode-base": "Ouvrez PairDrop sur d'autres appareils pour envoyer", "activate-share-mode-and-other-files-plural": "et {{count}} autres fichiers", - "activate-share-mode-shared-text": "texte partagé" + "activate-share-mode-shared-text": "texte partagé", + "activate-share-mode-shared-file": "fichier partagé", + "webrtc-requirement": "Pour utiliser cette instance de PairDrop, WebRTC doit être activé !", + "activate-share-mode-shared-files-plural": "{{count}} fichiers partagés", + "activate-share-mode-and-other-file": "et un autre fichier" }, "footer": { "known-as": "Vous êtes connu comme :", @@ -70,13 +76,13 @@ "share": "Partage", "download": "Télécharger", "send-message-title": "Envoyer un message", - "send-message-to": "Envoyer un message à", + "send-message-to": "À :", "send": "Envoyer", "receive-text-title": "Message reçu", "copy": "Copier", "base64-processing": "Traitement…", - "base64-tap-to-paste": "Appuyez ici pour coller {{type}}", - "base64-paste-to-send": "Coller ici pour envoyer {{type}}", + "base64-tap-to-paste": "Appuyez ici pour partager {{type}}", + "base64-paste-to-send": "Coller ici pour partager {{type}}", "base64-text": "texte", "base64-files": "fichiers", "file-other-description-image": "et 1 autre image", @@ -93,7 +99,16 @@ "system-language": "Langue du système", "message_title": "Insérer un message à envoyer", "pair-devices-qr-code_title": "Cliquer pour copier pour appairer l'appareil", - "public-room-qr-code_title": "Cliquez pour copier le lien vers le salon public" + "public-room-qr-code_title": "Cliquez pour copier le lien vers le salon public", + "base64-title-text": "Texte partagé", + "paired-device-removed": "L'appareil connecté a été enlevé.", + "message_placeholder": "Texte", + "base64-title-files": "Fichiers partagés", + "approve": "approuve", + "share-text-title": "Partage le message", + "share-text-subtitle": "Modifier le message avant l'envoi :", + "share-text-checkbox": "Toujours montrer ce dialogue quand du texte est partagé", + "close-toast_title": "Fermer la notification" }, "about": { "close-about_aria-label": "Fermer à propos de PairDrop", @@ -101,7 +116,10 @@ "github_title": "PairDrop sur GitHub", "buy-me-a-coffee_title": "Achetez-moi un café !", "tweet_title": "Tweet à propos de PairDrop", - "faq_title": "Questions fréquemment posées" + "faq_title": "Questions fréquemment posées", + "bluesky_title": "Suis-nous sur BlueSky", + "custom_title": "Suis-nous", + "privacypolicy_title": "Ouvert sur notre politique de confidentialité" }, "notifications": { "display-name-changed-permanently": "Le nom d'affichage est modifié de manière permanente", From fd0c32faad9adda9b1c3297fcb3876227a0f5920 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 23/49] Added translation using Weblate (Finnish) Co-authored-by: Hosted Weblate Co-authored-by: Unknowwed --- public/lang/fi.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/lang/fi.json diff --git a/public/lang/fi.json b/public/lang/fi.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/public/lang/fi.json @@ -0,0 +1 @@ +{} From add361c28435af9e353f55b668b65217b593fc30 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 24/49] Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (166 of 166 strings) Added translation using Weblate (Chinese (Traditional)) Co-authored-by: Hosted Weblate Co-authored-by: hugoalh Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/zh_Hant/ Translation: PairDrop/pairdrop-spa --- public/lang/zh-Hant.json | 184 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 184 insertions(+) create mode 100644 public/lang/zh-Hant.json diff --git a/public/lang/zh-Hant.json b/public/lang/zh-Hant.json new file mode 100644 index 0000000..8733e29 --- /dev/null +++ b/public/lang/zh-Hant.json @@ -0,0 +1,184 @@ +{ + "header": { + "language-selector_title": "設定語言", + "theme-auto_title": "自動使用系統主題", + "cancel-share-mode": "取消", + "edit-share-mode": "編輯", + "expand_title": "展開標題按鈕列", + "about_title": "關於 PairDrop", + "about_aria-label": "開啟關於 PairDrop", + "theme-dark_title": "總是使用深色主題", + "notification_title": "啟用通知", + "install_title": "安裝 PairDrop", + "pair-device_title": "永久配對你的裝置", + "edit-paired-devices_title": "編輯已配對的裝置", + "join-public-room_title": "暫時加入公共房間", + "theme-light_title": "總是使用淺色主題" + }, + "instructions": { + "no-peers_data-drop-bg": "釋放以選擇接收者", + "no-peers-subtitle": "配對裝置或加入一個公共房間以便在其他網路上可見", + "x-instructions_mobile": "輕觸以發送檔案或輕觸並按住以發送一則訊息", + "x-instructions_data-drop-bg": "釋放以選擇接收者", + "x-instructions-share-mode_desktop": "點擊以發送 {{descriptor}}", + "activate-share-mode-and-other-file": "和另外 1 個檔案", + "activate-share-mode-and-other-files-plural": "和另外 {{count}} 個檔案", + "activate-share-mode-shared-text": "已分享的文字", + "activate-share-mode-shared-file": "已分享的檔案", + "webrtc-requirement": "要使用此 PairDrop 實例,必須啟用 WebRTC!", + "no-peers-title": "在其他裝置上開啟 PairDrop 以傳送檔案", + "x-instructions_desktop": "點擊以發送檔案或右鍵點擊以發送一則訊息", + "x-instructions_data-drop-peer": "釋放以發送到此裝置", + "x-instructions-share-mode_mobile": "輕觸以發送 {{descriptor}}", + "activate-share-mode-base": "在其他裝置上開啟 PairDrop 以傳送", + "activate-share-mode-shared-files-plural": "{{count}} 個已分享的檔案" + }, + "footer": { + "display-name_data-placeholder": "正在載入中…", + "known-as": "此裝置名稱為:", + "display-name_title": "編輯此裝置名稱並儲存", + "discovery": "可見於:", + "on-this-network": "在這個網路上", + "paired-devices_title": "無論在任何網路,已配對的裝置都是隨時可見。", + "public-room-devices": "在房間 {{roomId}} 中", + "traffic": "流量將會", + "on-this-network_title": "在這個網路上的每個人都可以見到你。", + "paired-devices": "已配對的裝置", + "public-room-devices_title": "無論在任何網路,此公共房間中的裝置都是隨時可見。", + "routed": "途經伺服器", + "webrtc": "如果無法使用 WebRTC。" + }, + "dialogs": { + "pair-devices-title": "永久配對裝置", + "scan-qr-code": "或掃描 QR 圖碼。", + "input-key-on-this-device": "在另一台裝置上輸入此密鑰", + "temporary-public-room-title": "臨時公共房間", + "input-room-id-on-another-device": "在另一台裝置上輸入此房間編號", + "enter-room-id-from-another-device": "在此輸入房間編號以加入房間。", + "hr-or": "或者", + "pair": "配對", + "cancel": "取消", + "paired-devices-wrapper_data-empty": "沒有已配對的裝置。", + "auto-accept-instructions-1": "啟用", + "auto-accept": "自動接收", + "auto-accept-instructions-2": "以自動接受從該裝置發送的所有檔案。", + "close": "關閉", + "join": "加入", + "send": "發送", + "receive-text-title": "收到訊息", + "base64-tap-to-paste": "輕觸此處以分享 {{type}}", + "base64-text": "文字", + "base64-files": "檔案", + "file-other-description-file": "和另外 1 個檔案", + "file-other-description-image-plural": "和另外 {{count}} 張圖片", + "file-other-description-file-plural": "和另外 {{count}} 個檔案", + "title-image": "圖片", + "title-file": "檔案", + "title-image-plural": "圖片", + "title-file-plural": "檔案", + "receive-title": "收到 {{descriptor}}", + "download-again": "再次下載", + "language-selector-title": "設定語言", + "system-language": "使用系統語言", + "public-room-qr-code_title": "點擊以複製連結到公共房間", + "pair-devices-qr-code_title": "點擊以複製連結以配對此裝置", + "approve": "批准", + "share-text-title": "分享文字訊息", + "share-text-subtitle": "發送前編輯訊息:", + "share-text-checkbox": "分享文字時總是顯示此對話框", + "enter-key-from-another-device": "在此輸入另一台裝置的密鑰。", + "edit-paired-devices-title": "編輯已配對的裝置", + "unpair": "取消配對", + "paired-device-removed": "已刪除已配對的裝置。", + "leave": "離開", + "accept": "接受", + "would-like-to-share": "想要分享", + "decline": "拒絕", + "has-sent": "已發送:", + "share": "分享", + "message_title": "輸入要傳送的訊息", + "download": "下載", + "send-message-to": "發送至:", + "message_placeholder": "文字", + "copy": "複製", + "send-message-title": "發送訊息", + "base64-title-files": "分享檔案", + "base64-title-text": "分享文字", + "base64-processing": "正在處理中…", + "base64-paste-to-send": "將剪貼簿貼到此處以分享 {{type}}", + "file-other-description-image": "和另外 1 張圖片", + "close-toast_title": "關閉通知" + }, + "about": { + "claim": "跨裝置傳輸檔案的最簡單方法", + "github_title": "GitHub 上的 PairDrop", + "tweet_title": "發佈關於 PairDrop 的推文", + "mastodon_title": "在 Mastodon 上撰寫有關 PairDrop 的文章", + "close-about_aria-label": "關閉關於 PairDrop", + "buy-me-a-coffee_title": "給我買一杯咖啡吧!", + "bluesky_title": "在 Bluesky 上關注我們", + "custom_title": "關注我們", + "privacypolicy_title": "開啟我們的隱私權政策", + "faq_title": "常見問題" + }, + "notifications": { + "display-name-changed-permanently": "裝置名稱已更改並儲存", + "display-name-changed-temporarily": "裝置名稱已更改並只限於此會話", + "display-name-random-again": "裝置名稱已再次隨機生成", + "download-successful": "{{descriptor}} 已下載", + "pairing-success": "裝置已配對", + "pairing-not-persistent": "已配對的裝置不是永久的", + "pairing-key-invalid": "無效的密鑰", + "pairing-key-invalidated": "密鑰 {{key}} 已失效", + "pairing-cleared": "所有裝置均已解除配對", + "public-room-id-invalid": "無效的房間編號", + "public-room-left": "已離開公共房間 {{publicRoomId}}", + "copied-to-clipboard": "已複製到剪貼簿", + "pair-url-copied-to-clipboard": "已將與此裝置配對的連結複製到剪貼簿", + "room-url-copied-to-clipboard": "已將公共房間的連結複製到剪貼簿", + "copied-to-clipboard-error": "無法複製。請手動複製。", + "text-content-incorrect": "文字內容不正確", + "file-content-incorrect": "檔案內容不正確", + "notifications-enabled": "已啟用通知", + "notifications-permissions-error": "由於使用者多次取消權限請求提示,通知權限已被封鎖。這可以在頁面資訊中重置,點擊網址欄旁邊的鎖定圖示以存取頁面資訊。", + "link-received": "收到 {{name}} 的連結—點擊以開啟", + "message-received": "收到 {{name}} 的訊息—點擊以複製", + "click-to-show": "點擊以顯示", + "copied-text": "已將文字複製到剪貼簿", + "copied-text-error": "無法複製到剪貼簿。請手動複製!", + "offline": "已離線", + "online": "已重新在線", + "connected": "已連接", + "online-requirement-pairing": "你需要在線才能配對裝置", + "online-requirement-public-room": "你需要在線才能創建公共房間", + "connecting": "正在連接中…", + "files-incorrect": "檔案不正確", + "file-transfer-completed": "檔案傳輸已完成", + "ios-memory-limit": "向 iOS 發送檔案每次只能最大 200 MB", + "message-transfer-completed": "訊息傳輸已完成", + "unfinished-transfers-warning": "還有未完成的傳輸。你確定要關閉 PairDrop 嗎?", + "rate-limit-join-key": "已達到速率限制。請等待 10 秒鐘,然後再試一次。", + "selected-peer-left": "選定的對象已離開", + "pairing-tabs-error": "將兩個網頁瀏覽器分頁進行配對是不可能的", + "clipboard-content-incorrect": "剪貼簿內容不正確", + "click-to-download": "點擊以下載", + "request-title": "{{name}} 想要發送 {{count}} 個 {{descriptor}}" + }, + "document-titles": { + "file-received": "檔案已收到", + "file-received-plural": "已收到 {{count}} 個檔案", + "file-transfer-requested": "已請求檔案傳輸", + "image-transfer-requested": "已請求圖片傳輸", + "message-received": "已收到訊息", + "message-received-plural": "已收到 {{count}} 條訊息" + }, + "peer-ui": { + "click-to-send-share-mode": "點擊以發送 {{descriptor}}", + "click-to-send": "點擊以發送檔案或右鍵點擊以發送一則訊息", + "preparing": "正在準備中…", + "waiting": "正在等待中…", + "processing": "正在處理中…", + "transferring": "正在傳輸中…", + "connection-hash": "若要驗證端對端加密的安全性,請在兩台裝置上比較此安全編號" + } +} From 5e79ef0d9f551493793641f9a714955d9a42a128 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Wed, 17 Apr 2024 20:55:15 +0200 Subject: [PATCH 25/49] Added translation using Weblate (Yue (Traditional)) Co-authored-by: Hosted Weblate Co-authored-by: hugoalh --- public/lang/yue-Hant.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/lang/yue-Hant.json diff --git a/public/lang/yue-Hant.json b/public/lang/yue-Hant.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/public/lang/yue-Hant.json @@ -0,0 +1 @@ +{} From 05827b12ca1c4695435d50d1fe50bb9d27290436 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Wed, 17 Apr 2024 21:33:10 +0200 Subject: [PATCH 26/49] Rename new Chinese translation files to match their browser language strings --- public/lang/{yue-Hant.json => zh-HK.json} | 0 public/lang/{zh-Hant.json => zh-TW.json} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename public/lang/{yue-Hant.json => zh-HK.json} (100%) rename public/lang/{zh-Hant.json => zh-TW.json} (100%) diff --git a/public/lang/yue-Hant.json b/public/lang/zh-HK.json similarity index 100% rename from public/lang/yue-Hant.json rename to public/lang/zh-HK.json diff --git a/public/lang/zh-Hant.json b/public/lang/zh-TW.json similarity index 100% rename from public/lang/zh-Hant.json rename to public/lang/zh-TW.json From c8484ab104959025a0c431ee87c6ebd2870832f7 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Thu, 18 Apr 2024 16:16:36 +0200 Subject: [PATCH 27/49] Enable Hungarian, Polish, and Traditional Chinese Translations --- public/index.html | 17 ++++++++++++++++- public/scripts/localization.js | 2 +- public/service-worker.js | 5 ++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index 15922f3..f7df927 100644 --- a/public/index.html +++ b/public/index.html @@ -230,6 +230,11 @@   -   (Kannada) + + + + + +