mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03:00
Compare commits
48 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd439bcdfb | ||
|
|
d5e936b8fc | ||
|
|
376e1efa4c | ||
|
|
09cc047ade | ||
|
|
9b6507bc1b | ||
|
|
27d2927b14 | ||
|
|
21cb8f6608 | ||
|
|
41cb49c99f | ||
|
|
504d475f5d | ||
|
|
926ce972f5 | ||
|
|
2bc7f270f8 | ||
|
|
b03022b924 | ||
|
|
66863ceb1a | ||
|
|
69e91eb4ed | ||
|
|
167bf8a607 | ||
|
|
5e10fd2db6 | ||
|
|
a451ae435e | ||
|
|
125c4232ae | ||
|
|
7f5e33613d | ||
|
|
5576bc0652 | ||
|
|
ebd3a45a2c | ||
|
|
193f54547f | ||
|
|
d344531bda | ||
|
|
4ac07800c4 | ||
|
|
e9fa6ad401 | ||
|
|
95e3ca7a1c | ||
|
|
705289d34b | ||
|
|
4282c93b2b | ||
|
|
434f8b56cc | ||
|
|
5c793dcde8 | ||
|
|
e36f685bd2 | ||
|
|
5a7d05744c | ||
|
|
81999f2fc4 | ||
|
|
c419d29c96 | ||
|
|
8cdfb47f84 | ||
|
|
5e192d0f4a | ||
|
|
1460537169 | ||
|
|
f888ea74b0 | ||
|
|
ea6c78f49a | ||
|
|
3f316fb8b0 | ||
|
|
ee444186e9 | ||
|
|
2b7f06dda2 | ||
|
|
c19b273d4f | ||
|
|
596ad871df | ||
|
|
655f685883 | ||
|
|
bbe111a95e | ||
|
|
b063cf35b8 | ||
|
|
fe313f1001 |
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
public/locales/* linguist-documentation
|
||||
docs/* linguist-documentation
|
||||
11
docs/faq.md
11
docs/faq.md
@@ -17,6 +17,17 @@ Many browsers support this standard and should work fine, but some have not
|
||||
implemented it yet (mobile browsers lag behind on this, in
|
||||
particular).
|
||||
|
||||
## Why does Firefox Send require JavaScript?
|
||||
|
||||
Firefox Send uses JavaScript to:
|
||||
|
||||
- Encrypt and decrypt files locally on the client instead of the server.
|
||||
- Render the user interface.
|
||||
- Manage translations on the website into [various different languages](https://github.com/mozilla/send#localization).
|
||||
- Collect data to help us improve Send in accordance with our [Terms & Privacy](https://send.firefox.com/legal).
|
||||
|
||||
Since Send is an open source project, you can see all of the cool ways we use JavaScript by [examining our code](https://github.com/mozilla/send/).
|
||||
|
||||
## How long are files available for?
|
||||
|
||||
Files are available to be downloaded for 24 hours, after which they are removed
|
||||
|
||||
@@ -14,23 +14,17 @@ $(document).ready(function() {
|
||||
//link back to homepage
|
||||
$('.send-new').attr('href', window.location.origin);
|
||||
|
||||
$('.send-new').click(function(target) {
|
||||
target.preventDefault();
|
||||
$('.send-new').click(function() {
|
||||
sendEvent('recipient', 'restarted', {
|
||||
cd2: 'completed'
|
||||
}).then(() => {
|
||||
location.href = target.currentTarget.href;
|
||||
});
|
||||
});
|
||||
|
||||
$('.legal-links a, .social-links a, #dl-firefox').click(function(target) {
|
||||
target.preventDefault();
|
||||
const metric = findMetric(target.currentTarget.href);
|
||||
// record exited event by recipient
|
||||
sendEvent('recipient', 'exited', {
|
||||
cd3: metric
|
||||
}).then(() => {
|
||||
location.href = target.currentTarget.href;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -7,8 +7,23 @@ class FileReceiver extends EventEmitter {
|
||||
}
|
||||
|
||||
download() {
|
||||
return Promise.all([
|
||||
new Promise((resolve, reject) => {
|
||||
return window.crypto.subtle
|
||||
.importKey(
|
||||
'jwk',
|
||||
{
|
||||
kty: 'oct',
|
||||
k: location.hash.slice(1),
|
||||
alg: 'A128GCM',
|
||||
ext: true
|
||||
},
|
||||
{
|
||||
name: 'AES-GCM'
|
||||
},
|
||||
true,
|
||||
['encrypt', 'decrypt']
|
||||
)
|
||||
.then(key => {
|
||||
return new Promise((resolve, reject) => {
|
||||
const xhr = new XMLHttpRequest();
|
||||
|
||||
xhr.onprogress = event => {
|
||||
@@ -27,12 +42,15 @@ class FileReceiver extends EventEmitter {
|
||||
const fileReader = new FileReader();
|
||||
fileReader.onload = function() {
|
||||
const meta = JSON.parse(xhr.getResponseHeader('X-File-Metadata'));
|
||||
resolve({
|
||||
resolve([
|
||||
{
|
||||
data: this.result,
|
||||
aad: meta.aad,
|
||||
filename: meta.filename,
|
||||
iv: meta.id
|
||||
});
|
||||
},
|
||||
key
|
||||
]);
|
||||
};
|
||||
|
||||
fileReader.readAsArrayBuffer(blob);
|
||||
@@ -41,22 +59,8 @@ class FileReceiver extends EventEmitter {
|
||||
xhr.open('get', '/assets' + location.pathname.slice(0, -1), true);
|
||||
xhr.responseType = 'blob';
|
||||
xhr.send();
|
||||
}),
|
||||
window.crypto.subtle.importKey(
|
||||
'jwk',
|
||||
{
|
||||
kty: 'oct',
|
||||
k: location.hash.slice(1),
|
||||
alg: 'A128GCM',
|
||||
ext: true
|
||||
},
|
||||
{
|
||||
name: 'AES-GCM'
|
||||
},
|
||||
true,
|
||||
['encrypt', 'decrypt']
|
||||
)
|
||||
])
|
||||
});
|
||||
})
|
||||
.then(([fdata, key]) => {
|
||||
this.emit('decrypting', true);
|
||||
return Promise.all([
|
||||
|
||||
@@ -19,38 +19,30 @@ if (storage.has('referrer')) {
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#page-one').removeAttr('hidden');
|
||||
$('#file-upload').change(onUpload);
|
||||
|
||||
$('.legal-links a, .social-links a, #dl-firefox').click(function(target) {
|
||||
target.preventDefault();
|
||||
const metric = findMetric(target.currentTarget.href);
|
||||
// record exited event by recipient
|
||||
sendEvent('sender', 'exited', {
|
||||
cd3: metric
|
||||
}).then(() => {
|
||||
location.href = target.currentTarget.href;
|
||||
});
|
||||
});
|
||||
|
||||
$('#send-new-completed').click(function(target) {
|
||||
target.preventDefault();
|
||||
$('#send-new-completed').click(function() {
|
||||
// record restarted event
|
||||
storage.referrer = 'errored-upload';
|
||||
sendEvent('sender', 'restarted', {
|
||||
cd2: 'completed'
|
||||
}).then(() => {
|
||||
storage.referrer = 'completed-upload';
|
||||
location.href = target.currentTarget.href;
|
||||
});
|
||||
});
|
||||
|
||||
$('#send-new-error').click(function(target) {
|
||||
target.preventDefault();
|
||||
$('#send-new-error').click(function() {
|
||||
// record restarted event
|
||||
storage.referrer = 'errored-upload';
|
||||
sendEvent('sender', 'restarted', {
|
||||
cd2: 'errored'
|
||||
}).then(() => {
|
||||
storage.referrer = 'errored-upload';
|
||||
location.href = target.currentTarget.href;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "firefox-send",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "firefox-send",
|
||||
"description": "File Sharing Experiment",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"author": "Mozilla (https://mozilla.org)",
|
||||
"dependencies": {
|
||||
"aws-sdk": "^2.89.0",
|
||||
@@ -48,6 +48,7 @@
|
||||
"repository": "mozilla/send",
|
||||
"availableLanguages": [
|
||||
"az",
|
||||
"ca",
|
||||
"cs",
|
||||
"cy",
|
||||
"de",
|
||||
@@ -59,6 +60,7 @@
|
||||
"fy-NL",
|
||||
"hsb",
|
||||
"hu",
|
||||
"id",
|
||||
"it",
|
||||
"ja",
|
||||
"kab",
|
||||
|
||||
95
public/locales/ca/send.ftl
Normal file
95
public/locales/ca/send.ftl
Normal file
@@ -0,0 +1,95 @@
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
title = Firefox Send
|
||||
siteSubtitle = experiment web
|
||||
siteFeedback = Comentaris
|
||||
uploadPageHeader = Compartició de fitxers privada i xifrada
|
||||
uploadPageExplainer = Envieu fitxers mitjançant un enllaç segur, privat i xifrat que caduca automàticament per tal que les vostres dades no es conservin a Internet per sempre.
|
||||
uploadPageLearnMore = Més informació
|
||||
uploadPageDropMessage = Arrossegueu el fitxer aquí per començar a pujar-lo
|
||||
uploadPageSizeMessage = Funciona millor quan els fitxers tenen menys d'1 GB
|
||||
uploadPageBrowseButton = Trieu un fitxer de l'ordinador
|
||||
.title = Trieu un fitxer de l'ordinador
|
||||
uploadPageMultipleFilesAlert = Actualment no es permet pujar diversos fitxers ni una carpeta.
|
||||
uploadPageBrowseButtonTitle = Puja el fitxer
|
||||
uploadingPageHeader = S'està pujant el fitxer
|
||||
importingFile = S'està important…
|
||||
verifyingFile = S'està verificant…
|
||||
encryptingFile = S'està xifrant…
|
||||
decryptingFile = S'està desxifrant…
|
||||
notifyUploadDone = La pujada ha acabat.
|
||||
uploadingPageMessage = Quan s'hagi acabat de pujat el fitxer, podreu definir les opcions de caducitat.
|
||||
uploadingPageCancel = Cancel·la la pujada
|
||||
.title = Cancel·la la pujada
|
||||
uploadCancelNotification = La pujada s'ha cancel·lat.
|
||||
uploadingPageLargeFileMessage = Aquest fitxer és gros i pot trigar una estona a pujar. Espereu assegut…
|
||||
uploadingFileNotification = Notifica'm quan s'acabi de pujar.
|
||||
uploadSuccessConfirmHeader = Llest per enviar
|
||||
uploadSvgAlt
|
||||
.alt = Puja
|
||||
uploadSuccessTimingHeader = L'enllaç al fitxer caducarà quan es baixi una vegada o d'aquí 24 hores.
|
||||
copyUrlFormLabelWithName = Copieu l'enllaç i compartiu-lo per enviar el fitxer: { $filename }
|
||||
// Note: Title text for button should be the same.
|
||||
copyUrlFormButton = Copia al porta-retalls
|
||||
.title = Copia al porta-retalls
|
||||
copiedUrl = Copiat!
|
||||
// Note: Title text for button should be the same.
|
||||
deleteFileButton = Suprimeix el fitxer
|
||||
.title = Suprimeix el fitxer
|
||||
// Note: Title text for button should be the same.
|
||||
sendAnotherFileLink = Envieu un altre fitxer
|
||||
.title = Envieu un altre fitxer
|
||||
// Alternative text used on the download link/button (indicates an action).
|
||||
downloadAltText
|
||||
.alt = Baixa
|
||||
downloadFileName = Baixeu { $filename }
|
||||
downloadFileSize = ({ $size })
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
downloadMessage = Un amic us ha enviat un fitxer amb el Firefox Send, un servei que permet compartir fitxers mitjançant un enllaç segur, privat i xifrat que caduca automàticament per tal que les vostres dades no es conservin a Internet per sempre.
|
||||
// Text and title used on the download link/button (indicates an action).
|
||||
downloadButtonLabel = Baixa
|
||||
.title = Baixa
|
||||
downloadNotification = La baixada ha acabat.
|
||||
downloadFinish = Ha acabat la baixada
|
||||
// Firefox Send is a brand name and should not be localized. Title text for button should be the same.
|
||||
sendYourFilesLink = Proveu el Firefox Send
|
||||
.title = Proveu el Firefox Send
|
||||
downloadingPageProgress = S'està baixant { $filename } ({ $size })
|
||||
downloadingPageMessage = Deixeu aquesta pestanya oberta per tal que el fitxer es pugui baixar i desxifrar.
|
||||
errorAltText
|
||||
.alt = S'ha produït un error en pujar
|
||||
errorPageHeader = Hi ha hagut un problema
|
||||
errorPageMessage = S'ha produït un error en pujar el fitxer.
|
||||
errorPageLink = Envieu un altre fitxer
|
||||
fileTooBig = Aquest fitxer és massa gros per pujar-lo. Ha de tenir menys de { $size }.
|
||||
linkExpiredAlt
|
||||
.alt = L'enllaç ha caducat
|
||||
expiredPageHeader = Aquest enllaç ha caducat o no existeix.
|
||||
notSupportedHeader = El vostre navegador no és compatible.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Aquest navegador no admet la tecnologia web amb què funciona el Firefox Send. Haureu d'utilitzar un altre navegador. Us recomanem el Firefox!
|
||||
notSupportedLink = Per què el meu navegador no és compatible?
|
||||
notSupportedOutdatedDetail = Aquesta versió del Firefox no admet la tecnologia web amb què funciona el Firefox Send. Haureu d'actualitzar el navegador.
|
||||
updateFirefox = Actualitza el Firefox
|
||||
downloadFirefoxButtonSub = Baixada gratuïta
|
||||
uploadedFile = Fitxer
|
||||
copyFileList = Copia l'URL
|
||||
// expiryFileList is used as a column header
|
||||
expiryFileList = Caduca d'aquí
|
||||
deleteFileList = Suprimeix
|
||||
nevermindButton = No, gràcies
|
||||
legalHeader = Condicions d'ús i privadesa
|
||||
legalNoticeTestPilot = Actualment el Firefox Send és un experiment del Test Pilot i està subjecte a les <a>Condicions del servei</a> i a l'<a>Avís de privadesa</a> del Test Pilot. Podeu obtenir més informació sobre aquest experiment i la recollida de dades <a>aquí</a>.
|
||||
legalNoticeMozilla = L'ús del Firefox Send també està subjecte a l'<a>Avís de privadesa de llocs web</a> i a les <a>Condicions d'ús de llocs web</a> de Mozilla.
|
||||
deletePopupText = Voleu suprimir aquest fitxer?
|
||||
deletePopupYes = Sí
|
||||
deletePopupCancel = Cancel·la
|
||||
deleteButtonHover
|
||||
.title = Suprimeix
|
||||
copyUrlHover
|
||||
.title = Copia l'URL
|
||||
footerLinkLegal = Avís legal
|
||||
// Test Pilot is a proper name and should not be localized.
|
||||
footerLinkAbout = Quant al Test Pilot
|
||||
footerLinkPrivacy = Privadesa
|
||||
footerLinkTerms = Condicions d'ús
|
||||
footerLinkCookies = Galetes
|
||||
@@ -67,6 +67,7 @@ expiredPageHeader = Dieser Link ist abgelaufen oder hat nie existiert!
|
||||
notSupportedHeader = Ihr Browser wird nicht unterstützt.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Leider unterstützt dieser Browser die Web-Technologie nicht, auf der Firefox Send basiert. Sie benötigen einen anderen Browser. Wir empfehlen Firefox!
|
||||
notSupportedLink = Warum wird mein Browser nicht unterstützt?
|
||||
notSupportedOutdatedDetail = Leider unterstützt diese Firefox-Version die Web-Technologie nicht, auf der Firefox Send basiert. Sie müssen Ihren Browser aktualisieren.
|
||||
updateFirefox = Firefox aktualisieren
|
||||
downloadFirefoxButtonSub = Kostenloser Download
|
||||
|
||||
@@ -67,6 +67,7 @@ expiredPageHeader = This link has expired or never existed in the first place!
|
||||
notSupportedHeader = Your browser is not supported.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Unfortunately this browser does not support the web technology that powers Firefox Send. You’ll need to try another browser. We recommend Firefox!
|
||||
notSupportedLink = Why is my browser not supported?
|
||||
notSupportedOutdatedDetail = Unfortunately this version of Firefox does not support the web technology that powers Firefox Send. You’ll need to update your browser.
|
||||
updateFirefox = Update Firefox
|
||||
downloadFirefoxButtonSub = Free Download
|
||||
|
||||
@@ -27,6 +27,7 @@ uploadSuccessConfirmHeader = Listo para enviar
|
||||
uploadSvgAlt
|
||||
.alt = Subir
|
||||
uploadSuccessTimingHeader = El enlace al archivo expirará después de 1 descarga o en 24 horas.
|
||||
copyUrlFormLabelWithName = Copiá y compartí el enlace para enviar tu archivo: { $filename }
|
||||
// Note: Title text for button should be the same.
|
||||
copyUrlFormButton = Copiar al portapapeles
|
||||
.title = Copiar al portapapeles
|
||||
@@ -64,6 +65,9 @@ linkExpiredAlt
|
||||
.alt = Enlace explirado
|
||||
expiredPageHeader = ¡Este enlace ha expirado o nunca existió en primer lugar!
|
||||
notSupportedHeader = El navegador no está soportado.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Desafortunadamente este navegador no soporta la tecnología web que necesita Firefox Send. Deberías probar otro navegador. ¡Te recomendamos Firefox!
|
||||
notSupportedOutdatedDetail = Desafortunadamente esta versión de Firefox no soporta la tecnología web que necesita Firefox Send. Necesitás actualizar el navegador.
|
||||
updateFirefox = Actualizar Firefox
|
||||
downloadFirefoxButtonSub = Descarga gratuita
|
||||
uploadedFile = Archivo
|
||||
@@ -72,6 +76,8 @@ copyFileList = Copiar URL
|
||||
expiryFileList = Expira en
|
||||
deleteFileList = Borrar
|
||||
legalHeader = Términos y privacidad
|
||||
legalNoticeTestPilot = Firefox Send es actualmente un experimento de Test Pilot y está sujeto a los <a>términos de servicio</a> y la <a>nota de privacidad</a> de Test Pilot. Podés conocer más sobre este experimento y su recolección de datos <a>aquí</a>.
|
||||
legalNoticeMozilla = El uso del sitio web de Firefox Send también está sujeto a la <a>nota de privacidad de sitios web</a> y los <a>términos de uso de sitios web</a> de Mozilla.
|
||||
deletePopupText = ¿Borrar este archivo?
|
||||
deletePopupYes = Si
|
||||
deletePopupCancel = Cancelar
|
||||
|
||||
@@ -67,6 +67,7 @@ expiredPageHeader = Ce lien a expiré ou n’a jamais existé.
|
||||
notSupportedHeader = Votre navigateur n’est pas pris en charge.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Malheureusement, ce navigateur ne prend pas en charge les technologies web utilisées par Firefox Send. Vous devrez utiliser un autre navigateur. Nous vous recommandons Firefox !
|
||||
notSupportedLink = Pourquoi mon navigateur n’est-il pas pris en charge ?
|
||||
notSupportedOutdatedDetail = Malheureusement, cette version de Firefox ne prend pas en charge les technologies web utilisées par Firefox Send. Vous devez mettre à jour votre navigateur.
|
||||
updateFirefox = Mettre à jour Firefox
|
||||
downloadFirefoxButtonSub = Téléchargement gratuit
|
||||
|
||||
@@ -3,7 +3,13 @@ title = Firefox Send
|
||||
siteSubtitle = eksperimen web
|
||||
siteFeedback = Saran
|
||||
uploadPageHeader = Pribadi, Berbagi Berkas Terenskripsi
|
||||
uploadPageExplainer = Kirim berkas melalui tautan yang aman, pribadi, dan terenkripsi yang secara otomatis kedaluwarsa untuk memastikan berkas Anda tidak daring selamanya.
|
||||
uploadPageLearnMore = Pelajari lebih lanjut
|
||||
uploadPageDropMessage = Lepas berkas Anda di sini untuk mulai mengunggah
|
||||
uploadPageSizeMessage = Untuk pengoperasian yang paling andal, sebaiknya jaga berkas Anda di bawah 1GB
|
||||
uploadPageBrowseButton = Pilih berkas pada komputer Anda
|
||||
.title = Pilih berkas pada komputer Anda
|
||||
uploadPageMultipleFilesAlert = Saat ini belum mendukung pengunggahan beberapa berkas atau folder.
|
||||
uploadPageBrowseButtonTitle = Unggah berkas
|
||||
uploadingPageHeader = Mengunggah Berkas Anda
|
||||
importingFile = Mengimpor…
|
||||
@@ -37,6 +43,8 @@ downloadAltText
|
||||
.alt = Unduh
|
||||
downloadFileName = Unduh { $filename }
|
||||
downloadFileSize = ({ $size })
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
downloadMessage = Teman Anda mengirimkan berkas dengan Firefox Send, layanan yang memungkinkan Anda berbagi berkas dengan tautan yang aman, pribadi, dan terenkripsi yang secara otomatis berakhir untuk memastikan berkas Anda tidak daring selamanya.
|
||||
downloadNotification = Unduhan Anda telah selesai.
|
||||
downloadFinish = Unduhan Selesai
|
||||
// Firefox Send is a brand name and should not be localized. Title text for button should be the same.
|
||||
@@ -54,6 +62,9 @@ linkExpiredAlt
|
||||
.alt = Tautan kedaluwarsa
|
||||
expiredPageHeader = Tautan ini telah kedaluwarsa atau tidak pernah ada!
|
||||
notSupportedHeader = Peramban Anda tidak mendukung.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Sayangnya peramban ini tidak mendukung teknologi web yang menggerakkan Firefox Send. Anda perlu mencoba peramban lain. Kami merekomendasikan Firefox!
|
||||
notSupportedOutdatedDetail = Sayangnya Firefox versi ini tidak mendukung teknologi web yang menggerakkan Firefox Send. Anda perlu memperbarui peramban Anda.
|
||||
updateFirefox = Perbarui Firefox
|
||||
downloadFirefoxButtonSub = Unduh Gratis
|
||||
uploadedFile = Berkas
|
||||
@@ -63,6 +74,8 @@ expiryFileList = Kedaluwarsa Pada
|
||||
deleteFileList = Hapus
|
||||
nevermindButton = Abaikan
|
||||
legalHeader = Syarat & Privasi
|
||||
legalNoticeTestPilot = Saat ini Firefox Send merupakan eksperimen Test Pilot, dan merupakan subyek dari <a>Ketentuan Layanan</a> dan <a>Pemberitahuan Privasi</a> Test Pilot. Anda dapat mempelajari lebih lanjut tentang eksperimen ini dan pengumpulan datanya <a>di sini</a>.
|
||||
legalNoticeMozilla = Penggunaan situs Firefox Send juga merupakan subyek dari <a>Pemberitahuan Privasi Situs Web</a> dan <a>Persyaratan Penggunaan Situs Web</a> Mozilla.
|
||||
deletePopupText = Hapus berkas ini?
|
||||
deletePopupYes = Ya
|
||||
deletePopupCancel = Batal
|
||||
|
||||
@@ -67,6 +67,7 @@ expiredPageHeader = Pautan ini sudah luput atau pun tidak pernah wujud!
|
||||
notSupportedHeader = Pelayar anda tidak disokong.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Malangnya, pelayar ini tidak menyokong teknologi web yang melaksanakan Firefox Send. Anda perlu cuba pelayar lain. Kami syorkan Firefox!
|
||||
notSupportedLink = Kenapa pelayar saya tidak disokong?
|
||||
notSupportedOutdatedDetail = Malangnya versi Firefox ini tidak menyokong teknologi web yang menguasakan Firefox Send. Anda perlu mengemaskini pelayar anda.
|
||||
updateFirefox = Kemaskini Firefox
|
||||
downloadFirefoxButtonSub = Muat turun Percuma
|
||||
|
||||
@@ -67,6 +67,7 @@ expiredPageHeader = Denne lenka har gått ut eller har aldri eksistert i utgangs
|
||||
notSupportedHeader = Nettlesaren din er ikkje støtta.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Diverre støttar denne nettlesaren ikkje webteknologien som driv Firefox Send. Du må prøve ein annan nettleser. Vi tilrår Firefox!
|
||||
notSupportedLink = Kvifor er ikkje nettlesaren min støtta?
|
||||
notSupportedOutdatedDetail = Dessverre støttar ikkje denne versjonen av Firefox nett-teknologien som driv Firefox Send. Du må å oppdatere nettlesaren din.
|
||||
updateFirefox = Oppdater Firefox
|
||||
downloadFirefoxButtonSub = Gratis nedlasting
|
||||
|
||||
@@ -67,6 +67,7 @@ expiredPageHeader = Esse link expirou, ou talvez nunca tenha existido!
|
||||
notSupportedHeader = Seu navegador não tem suporte.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Infelizmente esse navegador não suporta a tecnologia utilizada pelo Firefox Send. Tente com outro navegador. Nós recomendamos o Firefox! ;-)
|
||||
notSupportedLink = Por que meu navegador não é suportado?
|
||||
notSupportedOutdatedDetail = Infelizmente esta versão do Firefox não suporta a tecnologia web que faz o Firefox Send funcionar. Você precisa atualizar o seu navegador.
|
||||
updateFirefox = Atualizar o Firefox
|
||||
downloadFirefoxButtonSub = Download gratuito
|
||||
|
||||
@@ -3,12 +3,12 @@ title = Firefox Send
|
||||
siteSubtitle = experiência web
|
||||
siteFeedback = Feedback
|
||||
uploadPageHeader = Partilha de ficheiros privada e encriptada
|
||||
uploadPageExplainer = Envie ficheiros através de uma ligação segura, privada e encriptada que automaticamente expira para garantir que as suas coisas não fiquem online para sempre.
|
||||
uploadPageExplainer = Envie ficheiros através de uma ligação segura, privada e encriptada que expira automaticamente para garantir que as suas coisas não fiquem online para sempre.
|
||||
uploadPageLearnMore = Saber mais
|
||||
uploadPageDropMessage = Largue o seu ficheiro aqui para começar a carregar
|
||||
uploadPageSizeMessage = Para uma operação mais confiável, é melhor manter o seu ficheiro abaixo de 1GB
|
||||
uploadPageBrowseButton = Selecione um ficheiro no seu computador
|
||||
.title = Selecione um ficheiro no seu computador
|
||||
uploadPageBrowseButton = Selecionar um ficheiro no seu computador
|
||||
.title = Selecionar um ficheiro no seu computador
|
||||
uploadPageMultipleFilesAlert = Carregar múltiplos ficheiros ou uma pasta não é atualmente suportado.
|
||||
uploadPageBrowseButtonTitle = Carregar ficheiro
|
||||
uploadingPageHeader = A carregar o seu ficheiro
|
||||
@@ -44,7 +44,7 @@ downloadAltText
|
||||
downloadFileName = Descarregar { $filename }
|
||||
downloadFileSize = ({ $size })
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
downloadMessage = O seu amigo está a enviar-lhe um ficheiro com o Firefox Send, um serviço que lhe permite partilhar ficheiro com uma ligação segura, privada e encriptada que automaticamente expira para garantir que as suas coisas não fiquem online para sempre.
|
||||
downloadMessage = O seu amigo está a enviar-lhe um ficheiro com o Firefox Send, um serviço que lhe permite partilhar ficheiro com uma ligação segura, privada e encriptada que expira automaticamente para garantir que as suas coisas não fiquem online para sempre.
|
||||
// Text and title used on the download link/button (indicates an action).
|
||||
downloadButtonLabel = Descarregar
|
||||
.title = Descarregar
|
||||
@@ -67,6 +67,7 @@ expiredPageHeader = Esta ligação expirou ou nunca existiu em primeiro lugar!
|
||||
notSupportedHeader = O seu navegador não é suportado.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Infelizmente este navegador não suporta a tecnologia web que faz o Firefox Send funcionar. Irá precisar de tentar outro navegador. Nós recomendamos o Firefox!
|
||||
notSupportedLink = Porque é que o meu navegador não é suportado?
|
||||
notSupportedOutdatedDetail = Infelizmente esta versão do Firefox não suporta a tecnologia web que faz o Firefox Send funcionar. Precisa de atualizar o seu navegador.
|
||||
updateFirefox = Atualizar o Firefox
|
||||
downloadFirefoxButtonSub = Descarga gratuita
|
||||
|
||||
@@ -67,6 +67,7 @@ expiredPageHeader = Ta povezava je potekla ali pa sploh ni obstajala!
|
||||
notSupportedHeader = Vaš brskalnik ni podprt.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Ta brskalnik na žalost ne podpira tehnologije, na kateri temelji Firefox Send. Uporabiti boste morali drug brskalnik. Priporočamo Firefox!
|
||||
notSupportedLink = Zakaj moj brskalnik ni podprt?
|
||||
notSupportedOutdatedDetail = Ta brskalnik žal ne podpira tehnologije, na kateri temelji Firefox Send. Svoj brskalnik boste morali posodobiti.
|
||||
updateFirefox = Posodobi Firefox
|
||||
downloadFirefoxButtonSub = Brezplačen prenos
|
||||
|
||||
@@ -67,6 +67,7 @@ expiredPageHeader = Веза је или истекла, или никада н
|
||||
notSupportedHeader = Ваш прегледач није подржан.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Нажалост, овај прегледач не подржава веб технологију која омогућава Firefox Send. Мораћете да пробате са другим прегледачем. Ми предлажемо Firefox!
|
||||
notSupportedLink = Зашто мој прегледач није подржан?
|
||||
notSupportedOutdatedDetail = Нажалост, ово издање Firefox-a не подржава веб технологију која омогућава Firefox Send. Мораћете да ажурирате ваш прегледач.
|
||||
updateFirefox = Ажурирај Firefox
|
||||
downloadFirefoxButtonSub = Бесплатно преузимање
|
||||
|
||||
@@ -64,6 +64,7 @@ expiredPageHeader = Bu bağlantı zaman aşımına uğramış veya böyle bir ba
|
||||
notSupportedHeader = Tarayıcınız desteklenmiyor.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = Ne yazık ki tarayıcınız Firefox Send için gereken web teknolojilerini desteklemiyor. Başka bir tarayıcıyla deneyebilirsiniz. Önerimiz tabii ki Firefox!
|
||||
notSupportedLink = Tarayıcım neden desteklenmiyor?
|
||||
notSupportedOutdatedDetail = Kullandığınız Firefox sürümü Firefox Send için gereken web teknolojilerini desteklemiyor. Tarayıcınızı güncellemeniz gerekiyor.
|
||||
updateFirefox = Firefox’u güncelle
|
||||
downloadFirefoxButtonSub = Ücretsiz indirin
|
||||
|
||||
94
public/locales/uk/send.ftl
Normal file
94
public/locales/uk/send.ftl
Normal file
@@ -0,0 +1,94 @@
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
title = Firefox Send
|
||||
siteSubtitle = веб-експеримент
|
||||
siteFeedback = Відгуки
|
||||
uploadPageHeader = Приватний, зашифрований обмін файлами
|
||||
uploadPageExplainer = Надсилайте файли, використовуючи безпечні, приватні та зашифровані посилання, термін дії яких автоматично закінчується, щоб ваші файли не лишився в Інтернеті назавжди.
|
||||
uploadPageLearnMore = Докладніше
|
||||
uploadPageDropMessage = Перетягніть свій файл сюди, щоб почати вивантаження
|
||||
uploadPageSizeMessage = Для більш надійної роботи сервісу, розмір вашого файлу не має перевищувати 1ГБ.
|
||||
uploadPageBrowseButton = Виберіть файл на комп'ютері
|
||||
.title = Виберіть файл на комп'ютері
|
||||
uploadPageMultipleFilesAlert = Вивантаження кількох файлів чи тек на даний момент не підтримується.
|
||||
uploadPageBrowseButtonTitle = Вивантажити файл
|
||||
uploadingPageHeader = Вивантажуємо ваш файл
|
||||
importingFile = Імпортуємо...
|
||||
verifyingFile = Перевіряємо...
|
||||
encryptingFile = Шифруємо...
|
||||
decryptingFile = Розшифровуємо...
|
||||
notifyUploadDone = Ваше вивантаження завершено.
|
||||
uploadingPageMessage = Як тільки ваш вайл вивантажиться,ви зможете встановити термін зберігання.
|
||||
uploadingPageCancel = Скасувати вивантаження
|
||||
.title = Скасувати вивантаження
|
||||
uploadCancelNotification = Ваше вивантаження було скасовано.
|
||||
uploadingPageLargeFileMessage = Цей файл доволі великий і його вивантаження може зайняти певний час. Тримайтеся!
|
||||
uploadingFileNotification = Сповістити мене, коли вивантаження буде готово.
|
||||
uploadSuccessConfirmHeader = Готовий до надсилання
|
||||
uploadSvgAlt
|
||||
.alt = Вивантажити
|
||||
uploadSuccessTimingHeader = Час дії цього посилання закінчиться після 1 завантаження, або через 24 години.
|
||||
copyUrlFormLabelWithName = Скопіювати і поділитися посиланням на ваш файл: { $filename }
|
||||
// Note: Title text for button should be the same.
|
||||
copyUrlFormButton = Копіювати у буфер обміну
|
||||
.title = Копіювати у буфер обміну
|
||||
copiedUrl = Скопійовано!
|
||||
// Note: Title text for button should be the same.
|
||||
deleteFileButton = Видалити файл
|
||||
.title = Видалити файл
|
||||
// Note: Title text for button should be the same.
|
||||
sendAnotherFileLink = Надіслати інший файл
|
||||
.title = Надіслати інший файл
|
||||
// Alternative text used on the download link/button (indicates an action).
|
||||
downloadAltText
|
||||
.alt = Завантаживи
|
||||
downloadFileName = Завантажити { $filename }
|
||||
downloadFileSize = ({ $size })
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
downloadMessage = Ваш друг надіслав файл за допомогою Firefox Send, який дозволяє ділитися файлами, використовуючи безпечні, приватні та зашифровані посилання, термін дії яких автоматично закінчується, щоб ваші файли не лишилися в Інтернеті назавжди.
|
||||
// Text and title used on the download link/button (indicates an action).
|
||||
downloadButtonLabel = Завантажити
|
||||
.title = Завантажити
|
||||
downloadNotification = Ваше завантаження готово.
|
||||
downloadFinish = Завантаження готово
|
||||
// Firefox Send is a brand name and should not be localized. Title text for button should be the same.
|
||||
sendYourFilesLink = Спробуйте Firefox Send
|
||||
.title = Спробуйте Firefox Send
|
||||
downloadingPageProgress = Завантаження { $filename } ({ $size })
|
||||
downloadingPageMessage = Будь ласка, залиште цю вкладку відкритою, поки ми завантажуємо ваш файл і розшифровуємо його.
|
||||
errorAltText
|
||||
.alt = Помилка вивантаження
|
||||
errorPageHeader = Щось пішло не так!
|
||||
errorPageMessage = Сталась помилка при вивантаженні цього файлу.
|
||||
errorPageLink = Надіслати інший файл
|
||||
fileTooBig = Цей файл завеликий для вивантаження. Він має бути меншим за { $size }.
|
||||
linkExpiredAlt
|
||||
.alt = Час дії посилання минув
|
||||
expiredPageHeader = Посилання не існує, або час його дії минув!
|
||||
notSupportedHeader = Ваш браузер не підтримується.
|
||||
// Firefox Send is a brand name and should not be localized.
|
||||
notSupportedDetail = На жаль, цей браузер не підтримує веб-технологію, завдяки якій працює Firefox Send. Вам треба скористатися іншим браузером. Ми рекомендуємо Firefox!
|
||||
notSupportedOutdatedDetail = На жаль, ця версія Firefox не підтримує веб-технологію, завдяки якій працює Firefox Send. Вам потрібно оновити свій браузер.
|
||||
updateFirefox = Оновити Firefox
|
||||
downloadFirefoxButtonSub = Безкоштовне завантаження
|
||||
uploadedFile = Файл
|
||||
copyFileList = Копіювати URL
|
||||
// expiryFileList is used as a column header
|
||||
expiryFileList = Термін дії закінчується
|
||||
deleteFileList = Видалити
|
||||
nevermindButton = Не важливо
|
||||
legalHeader = Умови та конфіденційність
|
||||
legalNoticeTestPilot = Firefox Send в даний час є експериментом Test Pilot, і тому підпадає під <a>умови служби</ a> і <a>повідомлення про приватність</a> Test Pilot. Ви можете дізнатись більше про цей експеримент і його збір даних <a>тут</a>.
|
||||
legalNoticeMozilla = Використання сайту Firefox Send також підпадає під <a>повідомлення про конфіденційність веб-сайтів</ a> та <a>правила використання веб-сайтів</a> Mozilla.
|
||||
deletePopupText = Видалити цей файл?
|
||||
deletePopupYes = Так
|
||||
deletePopupCancel = Скасувати
|
||||
deleteButtonHover
|
||||
.title = Видалити
|
||||
copyUrlHover
|
||||
.title = Копіювати URL
|
||||
footerLinkLegal = Права
|
||||
// Test Pilot is a proper name and should not be localized.
|
||||
footerLinkAbout = Про Test Pilot
|
||||
footerLinkPrivacy = Приватність
|
||||
footerLinkTerms = Умови
|
||||
footerLinkCookies = Куки
|
||||
@@ -393,8 +393,8 @@ tbody {
|
||||
letter-spacing: -0.78px;
|
||||
font-family: 'Segoe UI', 'SF Pro Text', sans-serif;
|
||||
top: 53px;
|
||||
left: 246.75px;
|
||||
width: 98.5px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
115
server/server.js
115
server/server.js
@@ -96,7 +96,8 @@ app.get('/', (req, res) => {
|
||||
app.get('/unsupported/:reason', (req, res) => {
|
||||
const outdated = req.params.reason === 'outdated';
|
||||
res.render('unsupported', {
|
||||
outdated: outdated
|
||||
outdated,
|
||||
fira: true
|
||||
});
|
||||
});
|
||||
|
||||
@@ -117,93 +118,79 @@ app.get('/jsconfig.js', (req, res) => {
|
||||
});
|
||||
});
|
||||
|
||||
app.get('/exists/:id', (req, res) => {
|
||||
app.get('/exists/:id', async (req, res) => {
|
||||
const id = req.params.id;
|
||||
if (!validateID(id)) {
|
||||
res.sendStatus(404);
|
||||
return;
|
||||
}
|
||||
|
||||
storage
|
||||
.exists(id)
|
||||
.then(() => {
|
||||
try {
|
||||
await storage.exists(id);
|
||||
res.sendStatus(200);
|
||||
})
|
||||
.catch(err => res.sendStatus(404));
|
||||
} catch (e) {
|
||||
res.sendStatus(404);
|
||||
}
|
||||
});
|
||||
|
||||
app.get('/download/:id', (req, res) => {
|
||||
app.get('/download/:id', async (req, res) => {
|
||||
const id = req.params.id;
|
||||
if (!validateID(id)) {
|
||||
res.sendStatus(404);
|
||||
return;
|
||||
}
|
||||
|
||||
storage
|
||||
.filename(id)
|
||||
.then(filename => {
|
||||
return storage.length(id).then(contentLength => {
|
||||
storage.ttl(id).then(timeToExpiry => {
|
||||
try {
|
||||
const filename = await storage.filename(id);
|
||||
const contentLength = await storage.length(id);
|
||||
const timeToExpiry = await storage.ttl(id);
|
||||
res.render('download', {
|
||||
filename: decodeURIComponent(filename),
|
||||
filesize: bytes(contentLength),
|
||||
sizeInBytes: contentLength,
|
||||
timeToExpiry: timeToExpiry
|
||||
});
|
||||
});
|
||||
});
|
||||
})
|
||||
.catch(() => {
|
||||
} catch (e) {
|
||||
res.status(404).render('notfound');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
app.get('/assets/download/:id', (req, res) => {
|
||||
app.get('/assets/download/:id', async (req, res) => {
|
||||
const id = req.params.id;
|
||||
if (!validateID(id)) {
|
||||
res.sendStatus(404);
|
||||
return;
|
||||
}
|
||||
|
||||
storage
|
||||
.metadata(id)
|
||||
.then(meta => {
|
||||
storage
|
||||
.length(id)
|
||||
.then(contentLength => {
|
||||
try {
|
||||
const meta = await storage.metadata(id);
|
||||
const contentLength = await storage.length(id);
|
||||
res.writeHead(200, {
|
||||
'Content-Disposition': 'attachment; filename=' + meta.filename,
|
||||
'Content-Disposition': `attachment; filename=${meta.filename}`,
|
||||
'Content-Type': 'application/octet-stream',
|
||||
'Content-Length': contentLength,
|
||||
'X-File-Metadata': JSON.stringify(meta)
|
||||
});
|
||||
const file_stream = storage.get(id);
|
||||
|
||||
file_stream.on('end', () => {
|
||||
storage
|
||||
.forceDelete(id)
|
||||
.then(err => {
|
||||
file_stream.on('end', async () => {
|
||||
try {
|
||||
const err = await storage.forceDelete(id);
|
||||
if (!err) {
|
||||
log.info('Deleted:', id);
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
} catch (e) {
|
||||
log.info('DeleteError:', id);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
file_stream.pipe(res);
|
||||
})
|
||||
.catch(err => {
|
||||
} catch (e) {
|
||||
res.sendStatus(404);
|
||||
});
|
||||
})
|
||||
.catch(err => {
|
||||
res.sendStatus(404);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
app.post('/delete/:id', (req, res) => {
|
||||
app.post('/delete/:id', async (req, res) => {
|
||||
const id = req.params.id;
|
||||
|
||||
if (!validateID(id)) {
|
||||
@@ -218,15 +205,15 @@ app.post('/delete/:id', (req, res) => {
|
||||
return;
|
||||
}
|
||||
|
||||
storage
|
||||
.delete(id, delete_token)
|
||||
.then(err => {
|
||||
try {
|
||||
const err = await storage.delete(id, delete_token);
|
||||
if (!err) {
|
||||
log.info('Deleted:', id);
|
||||
res.sendStatus(200);
|
||||
}
|
||||
})
|
||||
.catch(err => res.sendStatus(404));
|
||||
} catch (e) {
|
||||
res.sendStatus(404);
|
||||
}
|
||||
});
|
||||
|
||||
app.post('/upload', (req, res, next) => {
|
||||
@@ -235,7 +222,7 @@ app.post('/upload', (req, res, next) => {
|
||||
|
||||
try {
|
||||
meta = JSON.parse(req.header('X-File-Metadata'));
|
||||
} catch (err) {
|
||||
} catch (e) {
|
||||
res.sendStatus(400);
|
||||
return;
|
||||
}
|
||||
@@ -254,11 +241,12 @@ app.post('/upload', (req, res, next) => {
|
||||
log.info('meta', meta);
|
||||
req.pipe(req.busboy);
|
||||
|
||||
req.busboy.on('file', (fieldname, file, filename) => {
|
||||
req.busboy.on('file', async (fieldname, file, filename) => {
|
||||
log.info('Uploading:', newId);
|
||||
|
||||
storage.set(newId, file, filename, meta).then(
|
||||
() => {
|
||||
try {
|
||||
await storage.set(newId, file, filename, meta);
|
||||
|
||||
const protocol = conf.env === 'production' ? 'https' : req.protocol;
|
||||
const url = `${protocol}://${req.get('host')}/download/${newId}/`;
|
||||
res.json({
|
||||
@@ -266,27 +254,23 @@ app.post('/upload', (req, res, next) => {
|
||||
delete: meta.delete,
|
||||
id: newId
|
||||
});
|
||||
},
|
||||
err => {
|
||||
if (err.message === 'limit') {
|
||||
} catch (e) {
|
||||
if (e.message === 'limit') {
|
||||
return res.sendStatus(413);
|
||||
}
|
||||
res.sendStatus(500);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
req.on('close', err => {
|
||||
storage
|
||||
.forceDelete(newId)
|
||||
.then(err => {
|
||||
req.on('close', async err => {
|
||||
try {
|
||||
const err = await storage.forceDelete(newId);
|
||||
if (!err) {
|
||||
log.info('Deleted:', newId);
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
} catch (e) {
|
||||
log.info('DeleteError:', newId);
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -294,8 +278,13 @@ app.get('/__lbheartbeat__', (req, res) => {
|
||||
res.sendStatus(200);
|
||||
});
|
||||
|
||||
app.get('/__heartbeat__', (req, res) => {
|
||||
storage.ping().then(() => res.sendStatus(200), () => res.sendStatus(500));
|
||||
app.get('/__heartbeat__', async (req, res) => {
|
||||
try {
|
||||
await storage.ping();
|
||||
res.sendStatus(200);
|
||||
} catch (e) {
|
||||
res.sendStatus(500);
|
||||
}
|
||||
});
|
||||
|
||||
app.get('/__version__', (req, res) => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div id="page-one">
|
||||
<div id="page-one" hidden>
|
||||
<script src="/upload.js"></script>
|
||||
<div class="title" data-l10n-id="uploadPageHeader"></div>
|
||||
<div class="description">
|
||||
|
||||
@@ -1,17 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Firefox Send</title>
|
||||
<script src="/jsconfig.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/main.css" />
|
||||
<link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css">
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<meta name="defaultLanguage" content="en-US">
|
||||
<meta name="availableLanguages" content="{{availableLanguages}}">
|
||||
|
||||
<title>Firefox Send</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/main.css" />
|
||||
{{#if fira}}
|
||||
<link rel="stylesheet" type="text/css" href="https://code.cdn.mozilla.net/fonts/fira.css" />
|
||||
{{/if}}
|
||||
|
||||
<link rel="icon" type="image/png" href="/resources/favicon-32x32.png" sizes="32x32" />
|
||||
<link rel="localization" href="/locales/{locale}/send.ftl">
|
||||
|
||||
<script src="/jsconfig.js"></script>
|
||||
<script src="/polyfill.min.js"></script>
|
||||
<script defer src="/l20n.min.js"></script>
|
||||
</head>
|
||||
@@ -29,16 +34,21 @@
|
||||
<a href="https://qsurvey.mozilla.com/s3/txp-firefox-send" rel="noreferrer noopener" class="feedback" target="_blank" data-l10n-id="siteFeedback">Feedback</a>
|
||||
</header>
|
||||
<div class="all">
|
||||
<noscript>
|
||||
<h2>Firefox Send requires JavaScript</h2>
|
||||
<p><a href="https://github.com/mozilla/send/blob/master/docs/faq.md#why-does-firefox-send-require-javascript" target="_blank" rel="noreferrer noopener">Why does Firefox Send require JavaScript?</a></p>
|
||||
<p>Please enable JavaScript and try again.</p>
|
||||
</noscript>
|
||||
{{{body}}}
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="legal-links">
|
||||
<a href="https://www.mozilla.org"><img class="mozilla-logo" src="/resources/mozilla-logo.svg"/></a>
|
||||
<a href="https://www.mozilla.org/about/legal" data-l10n-id="footerLinkLegal"></a>
|
||||
<a href="https://testpilot.firefox.com/about" data-l10n-id="footerLinkAbout"></a>
|
||||
<a href="/legal" data-l10n-id="footerLinkPrivacy"></a>
|
||||
<a href="/legal" data-l10n-id="footerLinkTerms"></a>
|
||||
<a href="https://www.mozilla.org/privacy/websites/#cookies" data-l10n-id="footerLinkCookies"></a>
|
||||
<a href="https://www.mozilla.org" target="_blank"><img class="mozilla-logo" src="/resources/mozilla-logo.svg"/></a>
|
||||
<a href="https://www.mozilla.org/about/legal" data-l10n-id="footerLinkLegal" target="_blank">Legal</a>
|
||||
<a href="https://testpilot.firefox.com/about" data-l10n-id="footerLinkAbout" target="_blank">About Test Pilot</a>
|
||||
<a href="/legal" data-l10n-id="footerLinkPrivacy" target="_blank">Privacy</a>
|
||||
<a href="/legal" data-l10n-id="footerLinkTerms" target="_blank">Terms</a>
|
||||
<a href="https://www.mozilla.org/privacy/websites/#cookies" data-l10n-id="footerLinkCookies" target="_blank">Cookies</a>
|
||||
</div>
|
||||
<div class="social-links">
|
||||
<a href="https://github.com/mozilla/send" target="_blank" rel="noreferrer noopener"><img class="github" src="/resources/github-icon.svg"/></a>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
</a>
|
||||
{{else}}
|
||||
<div class="description" data-l10n-id="notSupportedDetail">Unfortunately this browser does not support the web technology that powers Firefox Send. You’ll need to try another browser. We recommend Firefox!</div>
|
||||
<div class="description"><a href="https://github.com/mozilla/send/blob/master/docs/faq.md#why-is-my-browser-not-supported" data-l10n-id="notSupportedLink" target="_blank" rel="noopener noreferrer">Why is my browser not supported?</a></div>
|
||||
<a id="dl-firefox" href="https://www.mozilla.org/firefox/new/?scene=2" target="_blank">
|
||||
<img src="/resources/firefox_logo-only.svg" class="firefox-logo" alt="Firefox"/>
|
||||
<div class="unsupported-button-text">Firefox<br>
|
||||
|
||||
Reference in New Issue
Block a user