Compare commits

...

59 Commits

Author SHA1 Message Date
Danny Coates
8242e2088d bump version 2018-05-21 13:59:46 -07:00
emily-hou1
48457f7ac1 Merge pull request #817 from mozilla/i798
fixes #798
2018-05-21 13:28:52 -07:00
Emily Hou
8a496022f4 fixes #798 2018-05-21 13:20:33 -07:00
pyup.io bot
9c398ad98b Update selenium from 3.11.0 to 3.12.0 (#816) 2018-05-14 12:05:18 -04:00
pyup.io bot
dc1b754692 Scheduled weekly dependency update for week 18 (#815)
* Update pypom from 1.3.0 to 2.0.0

* Update pytest from 3.5.0 to 3.5.1

* Update pytest-html from 1.16.1 to 1.17.0
2018-05-07 13:22:08 -04:00
Joergen
dc7203ea59 Pontoon: Update Danish (da) localization of Test Pilot: Firefox Send
Localization authors:
- Joergen <joergenr@stofanet.dk>
- Kim Ludvigsen <kim@kimsside.dk>
2018-05-07 08:51:26 +00:00
chilledfrogs
af9973e35b Pontoon: Update Danish (da) localization of Test Pilot: Firefox Send
Localization authors:
- Joergen <joergenr@stofanet.dk>
- chilledfrogs <chilledfrogs@gmail.com>
2018-05-07 08:31:49 +00:00
Danny Coates
aeb44379c8 Merge pull request #813 from mozilla/docker-int
moved integration text execution to docker
2018-05-04 12:18:54 -07:00
Danny Coates
7841dec5d8 more docker integration test tweaks 2018-05-04 09:18:43 -07:00
Danny Coates
7d62a23b36 moved integration text execution to docker 2018-05-03 16:41:50 -07:00
Cristian Silaghi
f36ac24ac5 Pontoon: Update Romanian (ro) localization of Test Pilot: Firefox Send
Localization authors:
- Cristian Silaghi <cristian.silaghi@mozilla.ro>
2018-05-01 20:50:43 +00:00
Cristian Silaghi
e6c2736f1f Pontoon: Update Romanian (ro) localization of Test Pilot: Firefox Send
Localization authors:
- Cristian Silaghi <cristian.silaghi@mozilla.ro>
2018-05-01 20:30:53 +00:00
Selim Şumlu
0d46997ab3 Pontoon: Update Turkish (tr) localization of Test Pilot: Firefox Send
Localization authors:
- Selim Şumlu <selim@sum.lu>
2018-05-01 00:31:26 +00:00
Georgianizator
896a0f035b Pontoon: Update Georgian (ka) localization of Test Pilot: Firefox Send
Localization authors:
- Georgianizator <georgianization@outlook.com>
2018-04-30 17:31:32 +00:00
Georgianizator
fdd07a06be Pontoon: Update Georgian (ka) localization of Test Pilot: Firefox Send
Localization authors:
- Georgianizator <georgianization@outlook.com>
2018-04-30 17:11:21 +00:00
Rhoslyn Prys
8f8595e750 Pontoon: Update Welsh (cy) localization of Test Pilot: Firefox Send
Localization authors:
- Rhoslyn Prys <rprys@posteo.net>
2018-04-30 10:31:55 +00:00
Mozilla Pontoon
7a83fc6d8f Pontoon: Update Welsh (cy) localization of Test Pilot: Firefox Send 2018-04-30 07:34:31 +00:00
Mozilla Pontoon
30df33e189 Pontoon: Update Turkish (tr) localization of Test Pilot: Firefox Send 2018-04-30 07:34:23 +00:00
Mozilla Pontoon
7aac0426e0 Pontoon: Update Persian (fa) localization of Test Pilot: Firefox Send 2018-04-30 07:34:18 +00:00
Mozilla Pontoon
bc423d4d78 Pontoon: Update Georgian (ka) localization of Test Pilot: Firefox Send 2018-04-30 07:34:13 +00:00
hi
3ddfc822d1 Pontoon: Update Vietnamese (vi) localization of Test Pilot: Firefox Send
Localization authors:
- hi <hi@duonganhtuan.com>
- Trung Backup <backup.36a91519+tech@gmail.com>
2018-04-30 01:31:08 +00:00
Benjamin Forehand Jr
f99e4db25f Added footer link tests. (#811) 2018-04-27 15:44:03 -04:00
pyup.io bot
fd71e7f957 Config file for pyup.io (#809)
* create pyup.io config file

* Updated requirements directory.
2018-04-26 15:03:57 -04:00
paul.trevor
2bfeb75380 Pontoon: Update German (de) localization of Test Pilot: Firefox Send
Localization authors:
- paul.trevor <paul.trevor@gmx.de>
2018-04-25 07:11:48 +00:00
Danny Coates
21f7fd7dbc Merge pull request #800 from jrbenny35/add_initial_ui_tests
Initial user integration tests.
2018-04-24 13:34:34 -07:00
Benjamin Forehand Jr
3e08c35740 Updated strings and descriptions. 2018-04-24 11:07:11 -04:00
Benjamin Forehand Jr
54e78b6274 This adds some user integration tests to aide the SoftVision team a bit. Right now I have 3 tests.
test_upload: This will create a file and make sure it uploads by verifying a file uploads and is assigned a URL.

    test_download: This will create a file, upload it and then download it making sure it is the same filename that was uploaded. We can expand this later to maybe check the sizes and such.

    test_progress: This will create a file and make sure the progress bar shows up after it begins uploading.

    These are python tests and use Pipenv to manage dependencies as well as tox as the virtualenv manager, and finally pytest as the test runner.
2018-04-24 11:00:19 -04:00
Victor Bychek
f1499abbe8 Pontoon: Update Russian (ru) localization of Test Pilot: Firefox Send
Localization authors:
- Victor Bychek <a@bychek.ru>
- mail <mail@janitorrb.com>
2018-04-20 18:11:05 +00:00
Yongmin H
1ad78e2844 Pontoon: Update Korean (ko) localization of Test Pilot: Firefox Send
Localization authors:
- Yongmin H. <firefox@kumul.pe.kr>
2018-04-19 01:51:11 +00:00
eljuno
af436f9506 Pontoon: Update Indonesian (id) localization of Test Pilot: Firefox Send
Localization authors:
- eljuno <eljunotrie_anggoro@yahoo.co.id>
2018-04-16 20:11:06 +00:00
eljuno
4dfdc8b0c7 Pontoon: Update Indonesian (id) localization of Test Pilot: Firefox Send
Localization authors:
- eljuno <eljunotrie_anggoro@yahoo.co.id>
2018-04-15 18:31:25 +00:00
eljuno
b4c0c36f3a Pontoon: Update Indonesian (id) localization of Test Pilot: Firefox Send
Localization authors:
- eljuno <eljunotrie_anggoro@yahoo.co.id>
2018-04-12 19:32:37 +00:00
Sahithi
d52ca850cb Pontoon: Update Telugu (te) localization of Test Pilot: Firefox Send
Localization authors:
- Sahithi <sahithi.thinker@gmail.com>
2018-04-10 09:50:44 +00:00
Jordi Serratosa
c3e0787d12 Pontoon: Update Catalan (ca) localization of Test Pilot: Firefox Send
Localization authors:
- Jordi Serratosa <jordis@softcatala.cat>
2018-04-09 00:11:02 +00:00
Danny Coates
3f65e55f86 Merge pull request #801 from robtec/patch-2
Update faq.md
2018-04-07 19:07:59 -08:00
Rob Powell
2db56fac3a Update faq.md
Updated information around download limits
2018-04-07 23:21:55 +01:00
Cristian Silaghi
464c0c4c47 Pontoon: Update Romanian (ro) localization of Test Pilot: Firefox Send
Localization authors:
- Cristian Silaghi <cristian.silaghi@mozilla.ro>
2018-04-03 12:11:31 +00:00
Danny Coates
71ed7d71fb added browserstack badge to readme 2018-03-31 19:50:45 -07:00
Danny Coates
cda38f9bcf v2.5.3 2018-03-29 00:03:04 -07:00
Danny Coates
cc9b622bde fixed cryptofill on edge 2018-03-28 22:03:46 -07:00
Danny Coates
fb91fd03cc adjusted selectbox styles 2018-03-27 23:19:07 -07:00
rcmainak
77e3b5a3e6 Replaced the selectbox with native HTML <select> 2018-03-27 21:40:59 -07:00
صفا الفليج
0ed5c7f1e7 Pontoon: Update Arabic (ar) localization of Test Pilot: Firefox Send
Localization authors:
- صفا الفليج <safa1996alfulaij@gmail.com>
2018-03-26 01:32:08 +00:00
Alberto Castro
5afadd4ff1 Pontoon: Update Portuguese (Portugal) (pt-PT) localization of Test Pilot: Firefox Send
Localization authors:
- Alberto Castro <albertdcastro@gmail.com>
- Rodrigo <rodrigo.mcunha@hotmail.com>
2018-03-22 17:10:58 +00:00
వీవెన్
0f53c718a2 Pontoon: Update Telugu (te) localization of Test Pilot: Firefox Send
Localization authors:
- వీవెన్ <veeven@gmail.com>
2018-03-22 16:31:46 +00:00
Gonçalo Matos
ad4e6c8dec Pontoon: Update Portuguese (Portugal) (pt-PT) localization of Test Pilot: Firefox Send
Localization authors:
- Alberto Castro <albertdcastro@gmail.com>
- Gonçalo Matos <goncalo.matos@me.com>
- Rodrigo <rodrigo.mcunha@hotmail.com>
2018-03-22 02:31:41 +00:00
Rodrigo
9e0195deaa Pontoon: Update Portuguese (Portugal) (pt-PT) localization of Test Pilot: Firefox Send
Localization authors:
- Rodrigo <rodrigo.mcunha@hotmail.com>
2018-03-22 02:12:00 +00:00
Rodrigo
253216e6fc Pontoon: Update Portuguese (Portugal) (pt-PT) localization of Test Pilot: Firefox Send
Localization authors:
- Rodrigo <rodrigo.mcunha@hotmail.com>
2018-03-21 20:10:48 +00:00
Roberto Alvarado
78eab6335d Pontoon: Update Spanish (Mexico) (es-MX) localization of Test Pilot: Firefox Send
Localization authors:
- Roberto Alvarado <ralv888@gmail.com>
2018-03-19 22:11:09 +00:00
Enol
1d20b5ba11 Pontoon: Update Asturian (ast) localization of Test Pilot: Firefox Send
Localization authors:
- Enol <enolp@softastur.org>
2018-03-15 15:11:13 +00:00
Danny Coates
1edc571b36 v2.5.2 2018-03-14 09:12:26 -07:00
Danny Coates
e3556aa7e1 updated cryptofill to support Android Firefox. fixes #790 2018-03-13 21:11:27 -07:00
Jobava
aa94a75da9 Pontoon: Update Romanian (ro) localization of Test Pilot: Firefox Send
Localization authors:
- Jobava <jobaval10n@gmail.com>
2018-03-13 20:51:11 +00:00
Danny Coates
ecd61830aa v2.5.1 2018-03-12 12:26:37 -07:00
Danny Coates
da82ef814b MS Edge hacks 2018-03-12 12:24:43 -07:00
Danny Coates
b840173429 Merge pull request #789 from RCMainak/issue_775
Fixed #775 : Made text not-selectable
2018-03-12 10:43:53 -07:00
rcmainak
e1dc1687fc Fixed #775 : Made text not-selectable 2018-03-12 23:09:00 +05:30
Danny Coates
3e6a88d31d render header and footer only once. fixes #788 2018-03-12 10:15:11 -07:00
Melo46
94714ecb62 Pontoon: Update Interlingua (ia) localization of Test Pilot: Firefox Send
Localization authors:
- Melo46 <melo@carmu.com>
2018-03-09 00:50:44 +00:00
56 changed files with 939 additions and 254 deletions

View File

@@ -1,5 +1,6 @@
node_modules
.git
.tox
.DS_Store
firefox
assets
@@ -7,4 +8,4 @@ docs
public
test
coverage
.nyc_output
.nyc_output

4
.gitignore vendored
View File

@@ -3,4 +3,6 @@ coverage
dist
.idea
.DS_Store
.nyc_output
.nyc_output
.tox
.pytest_cache

7
.pyup.yml Normal file
View File

@@ -0,0 +1,7 @@
# autogenerated pyup.io config file
# see https://pyup.io/docs/configuration/ for all available options
schedule: every week
requirements:
- test/integration/Pipfile
- test/integration/pipenv.txt

View File

@@ -1,6 +1,9 @@
## Change Log
### upcoming (2018/03/08 19:27 +00:00)
### v2.5.1 (2018/03/12 19:26 +00:00)
- [#789](https://github.com/mozilla/send/pull/789) Fixed #775 : Made text not-selectable (@RCMainak)
### v2.5.0 (2018/03/08 19:31 +00:00)
- [#782](https://github.com/mozilla/send/pull/782) updated docs (@dannycoates)
- [#781](https://github.com/mozilla/send/pull/781) Don't translate URL-safe chars, b64 is doing it for us (@timvisee)
- [#779](https://github.com/mozilla/send/pull/779) implemented crypto polyfills for ms edge (@dannycoates)

View File

@@ -37,6 +37,7 @@ Frederick Villaluna
Gabriela
Gautam krishna.R
Georgianizator
Gonçalo Matos
Hyeonseok Shin
Håvar Henriksen
Jae Hyeon Park
@@ -140,6 +141,7 @@ kenrick95
manxmensch
mirzet.omerovic.1992
ravmn
rcmainak
reza.habibi2008
savemore99.sm
shikhar-scs
@@ -152,3 +154,4 @@ ybouhamam
Μιχάλης
Марко Костић (Marko Kostić)
صفا الفليج
వీవెన్

View File

@@ -1,5 +1,6 @@
# Firefox Send
[![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=aFFIMHNEWFcrNHJaMU1LRkJnUDhOQkNHMmh2WHBscjJsZHcwK1h0dkhwdz0tLXRpN1RXcysybUtxTFFTVGRtWjVGeHc9PQ==--c56129be8c75941b115c5b5e5d3ed10b3c7dca6b)](https://www.browserstack.com/automate/public-build/aFFIMHNEWFcrNHJaMU1LRkJnUDhOQkNHMmh2WHBscjJsZHcwK1h0dkhwdz0tLXRpN1RXcysybUtxTFFTVGRtWjVGeHc9PQ==--c56129be8c75941b115c5b5e5d3ed10b3c7dca6b)
[![CircleCI](https://img.shields.io/circleci/project/github/mozilla/send.svg)](https://circleci.com/gh/mozilla/send)
[![Available on Test Pilot](https://img.shields.io/badge/available_on-Test_Pilot-0996F8.svg)](https://testpilot.firefox.com/experiments/send)

View File

@@ -110,21 +110,21 @@ export default function(state, emitter) {
}
await delay(1000);
await fadeOut('.page');
openLinksInNewTab(links, false);
emitter.emit('pushState', `/share/${ownedFile.id}`);
} catch (err) {
// eslint-disable-next-line no-console
console.error(err);
if (err.message === '0') {
//cancelled. do nothing
metrics.cancelledUpload({ size, type });
return render();
render();
} else {
// eslint-disable-next-line no-console
console.error(err);
state.raven.captureException(err);
metrics.stoppedUpload({ size, type, err });
emitter.emit('pushState', '/error');
}
state.raven.captureException(err);
metrics.stoppedUpload({ size, type, err });
emitter.emit('pushState', '/error');
} finally {
openLinksInNewTab(links, false);
state.uploading = false;
state.transfer = null;
}
@@ -188,17 +188,18 @@ export default function(state, emitter) {
if (err.message === '0') {
// download cancelled
state.transfer.reset();
return render();
render();
} else {
// eslint-disable-next-line no-console
console.error(err);
state.transfer = null;
const location = err.message === '404' ? '/404' : '/error';
if (location === '/error') {
state.raven.captureException(err);
metrics.stoppedDownload({ size, err });
}
emitter.emit('pushState', location);
}
// eslint-disable-next-line no-console
console.error(err);
state.transfer = null;
const location = err.message === '404' ? '/404' : '/error';
if (location === '/error') {
state.raven.captureException(err);
metrics.stoppedDownload({ size, err });
}
emitter.emit('pushState', location);
} finally {
openLinksInNewTab(links, false);
}

View File

@@ -78,10 +78,11 @@ export default class FileSender extends Nanobus {
this.keychain,
p => {
this.progress = p;
this.emit('progress', p);
this.emit('progress');
}
);
this.msg = 'fileSizeProgress';
this.emit('progress'); // HACK to kick MS Edge
try {
const result = await this.uploadRequest.result;
const time = Date.now() - start;

View File

@@ -16,7 +16,7 @@ module.exports = function(state, emit) {
return html`
<div id="shareWrapper" class="effect--fadeIn">
<div class="title">${expireInfo(file, state.translate, emit)}</div>
${expireInfo(file, state.translate, emit)}
<div class="sharePage">
<div class="sharePage__copyText">
${state.translate('copyUrlFormLabelWithName', { filename: file.name })}
@@ -97,7 +97,7 @@ module.exports = function(state, emit) {
function expireInfo(file, translate, emit) {
const hours = Math.floor(EXPIRE_SECONDS / 60 / 60);
const el = html`<div>${raw(
const el = html`<div class="title">${raw(
translate('expireInfo', {
downloadCount: '<select></select>',
timespan: translate('timespanHours', { num: hours })
@@ -107,9 +107,6 @@ function expireInfo(file, translate, emit) {
const options = [1, 2, 3, 4, 5, 20].filter(i => i > (file.dtotal || 0));
const t = num => translate('downloadCount', { num });
const changed = value => emit('changeLimit', { file, value });
select.parentNode.replaceChild(
selectbox(file.dlimit || 1, options, t, changed),
select
);
el.replaceChild(selectbox(file.dlimit || 1, options, t, changed), select);
return el;
}

View File

@@ -2,7 +2,7 @@ const html = require('choo/html');
const assets = require('../../../common/assets');
module.exports = function(state) {
return html`<footer class="footer">
const footer = html`<footer class="footer">
<div class="legalSection">
<a
href="https://www.mozilla.org"
@@ -61,4 +61,11 @@ module.exports = function(state) {
</a>
</div>
</footer>`;
// HACK
// We only want to render this once because we
// toggle the targets of the links with utils/openLinksInNewTab
footer.isSameNode = function(target) {
return target && target.nodeName && target.nodeName === 'FOOTER';
};
return footer;
};

View File

@@ -15,24 +15,32 @@ const browser = browserName();
module.exports = function(state) {
const feedbackUrl = `https://qsurvey.mozilla.com/s3/txp-firefox-send?ver=${version}&browser=${browser}`;
return html`<header class="header">
<div class="logo">
<a class="logo__link" href="/">
<img
src="${assets.get('send_logo.svg')}"
alt="Send"/>
<h1 class="logo__title">Send</h1>
</a>
<div class="logo__subtitle">
<a class="logo__subtitle-link" href="https://testpilot.firefox.com">Firefox Test Pilot</a>
<div>${state.translate('siteSubtitle')}</div>
const header = html`
<header class="header">
<div class="logo">
<a class="logo__link" href="/">
<img
src="${assets.get('send_logo.svg')}"
alt="Send"/>
<h1 class="logo__title">Send</h1>
</a>
<div class="logo__subtitle">
<a class="logo__subtitle-link" href="https://testpilot.firefox.com">Firefox Test Pilot</a>
<div>${state.translate('siteSubtitle')}</div>
</div>
</div>
</div>
<a href="${feedbackUrl}"
rel="noreferrer noopener"
class="feedback"
target="_blank">${state.translate('siteFeedback')}</a>
</header>`;
<a href="${feedbackUrl}"
rel="noreferrer noopener"
class="feedback"
target="_blank">${state.translate('siteFeedback')}</a>
</header>`;
// HACK
// We only want to render this once because we
// toggle the targets of the links with utils/openLinksInNewTab
header.isSameNode = function(target) {
return target && target.nodeName && target.nodeName === 'HEADER';
};
return header;
};
function browserName() {

View File

@@ -7,6 +7,10 @@ const oDiameter = oRadius * 2;
const circumference = 2 * Math.PI * radius;
module.exports = function(progressRatio, indefinite = false) {
// HACK - never indefinite for MS Edge
if (/edge/i.test(navigator.userAgent)) {
indefinite = false;
}
const p = indefinite ? 0.2 : progressRatio;
const dashOffset = (1 - p) * circumference;
const progressPercent = html`

View File

@@ -1,59 +1,28 @@
const html = require('choo/html');
const number = require('../../utils').number;
module.exports = function(selected, options, translate, changed) {
const id = `select-${Math.random()}`;
let x = selected;
return html`
<div class="selectbox">
<div onclick=${toggle}>
<span class="link">${translate(selected)}</span>
<svg width="32" height="32">
<polygon points="8 18 17 28 26 18" fill="#0094fb"/>
</svg>
</div>
<ul id="${id}" class="selectbox__options">
<div class="select">
<select id="${id}" onchange=${choose}>
${options.map(
i => html`
<li
class="selectbox__option"
onclick=${choose}
data-value="${i}">${number(i)}</li>`
i =>
html`<option value="${i}" ${
i === selected ? 'selected' : ''
}>${translate(i)}</option>`
)}
</ul>
</select>
</div>`;
function close() {
const ul = document.getElementById(id);
const body = document.querySelector('body');
ul.classList.remove('selectbox__options--active');
body.removeEventListener('click', close);
}
function toggle(event) {
event.stopPropagation();
const ul = document.getElementById(id);
if (ul.classList.contains('selectbox__options--active')) {
close();
} else {
ul.classList.add('selectbox__options--active');
const body = document.querySelector('body');
body.addEventListener('click', close);
}
}
function choose(event) {
event.stopPropagation();
const target = event.target;
const value = +target.dataset.value;
target.parentNode.previousSibling.firstElementChild.textContent = translate(
value
);
const value = +target.value;
if (x !== value) {
x = value;
changed(value);
}
close();
}
};

View File

@@ -1,36 +1,47 @@
.selectbox {
display: inline-block;
position: relative;
cursor: pointer;
}
.selectbox__options {
display: none;
}
.selectbox__options--active {
display: block;
position: absolute;
top: 0;
left: 0;
padding: 0;
margin: 40px 0;
.select {
background-color: var(--pageBGColor);
border: 1px solid rgba(12, 12, 13, 0.3);
overflow: hidden;
padding: 4px 2px 4px 2px;
border: 1px dotted #0094fb88;
border-radius: 4px;
box-shadow: 1px 2px 4px rgba(12, 12, 13, 0.3);
display: inline;
position: relative;
}
.selectbox__option {
color: var(--lightTextColor);
font-size: 12pt;
list-style: none;
user-select: none;
white-space: nowrap;
padding: 0 60px;
border-bottom: 1px solid rgba(12, 12, 13, 0.3);
.select::after {
color: #0094fb;
content: '\25BC';
position: absolute;
right: 0;
padding: 0 10px;
pointer-events: none;
font-size: 20px;
}
.selectbox__option:hover {
background-color: #f4f4f4;
option {
padding: 0;
}
select {
appearance: none;
outline: 0;
box-shadow: none;
border: 0;
background: #fff;
background-image: none;
font-size: 1em;
font-weight: 200;
margin: 0;
color: #0094fb;
cursor: pointer;
padding-right: 40px;
}
select:active {
background-color: var(--pageBGColor);
border: 0;
}
#arrow {
position: relative;
}

View File

@@ -17,6 +17,7 @@
line-height: 23px;
cursor: pointer;
color: var(--lightTextColor);
user-select: none;
}
.checkbox__label::before {

View File

@@ -9,9 +9,7 @@ function arrayToB64(array) {
}
function b64ToArray(str) {
return b64.toByteArray(
str + '==='.slice((str.length + 3) % 4)
);
return b64.toByteArray(str + '==='.slice((str.length + 3) % 4));
}
function loadShim(polyfill) {
@@ -59,6 +57,7 @@ async function canHasSend() {
);
return true;
} catch (err) {
console.error(err);
return false;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -16,7 +16,7 @@ jobs:
- persist_to_workspace:
root: .
paths:
- ./*
- ./dist
test:
docker:
- image: circleci/node:8-browsers
@@ -31,12 +31,29 @@ jobs:
- node_modules
- run: npm run check
- run: npm run lint
- run: npm test
- run: npm run test
- store_artifacts:
path: coverage
integration_tests:
machine: true
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Install Docker Compose
command: |
set -x
pip install docker-compose>=1.18
docker-compose --version
- run:
command: npm run test-integration
- store_artifacts:
path: coverage/send-test.html
deploy_dev:
machine: true
steps:
- checkout
- attach_workspace:
at: .
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS
@@ -45,6 +62,7 @@ jobs:
deploy_stage:
machine: true
steps:
- checkout
- attach_workspace:
at: .
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS
@@ -54,10 +72,20 @@ workflows:
version: 2
test_pr:
jobs:
- build:
filters:
branches:
ignore: master
- test:
filters:
branches:
ignore: master
- integration_tests:
filters:
branches:
ignore: master
requires:
- build
build_and_deploy_dev:
jobs:
- build:
@@ -88,12 +116,21 @@ workflows:
ignore: /.*/
tags:
only: /^v.*/
- deploy_stage:
- integration_tests:
requires:
- build
- test
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
only: /^v.*/
- deploy_stage:
requires:
- build
- test
- integration_tests
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

View File

@@ -10,3 +10,17 @@ services:
- REDIS_HOST=redis
redis:
image: redis:alpine
selenium:
image: b4handjr/selenium-firefox
ports:
- "${VNC_PORT:-5900}:5900"
shm_size: 2g
integration-tests:
build: ./test/integration
environment:
- BASE_URL=${BASE_URL:-http://web:1443}
links:
- web
- selenium
volumes:
- "./coverage:/coverage"

View File

@@ -31,12 +31,11 @@ Since Send is an open source project, you can see all of the cool ways we use Ja
## How long are files available for?
Files are available to be downloaded for 24 hours, after which they are removed
from the server. They are also removed immediately after a download completes.
from the server. They are also removed immediately once the download limit is reached.
## Can a file be downloaded more than once?
Not currently, but we're considering multiple download support in a future
release.
Yes, once a file is submitted to Send you can select the download limit.
*Disclaimer: Send is an experiment and under active development. The answers

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "firefox-send",
"version": "2.5.0",
"version": "2.5.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,7 +1,7 @@
{
"name": "firefox-send",
"description": "File Sharing Experiment",
"version": "2.5.0",
"version": "2.5.4",
"author": "Mozilla (https://mozilla.org)",
"repository": "mozilla/send",
"homepage": "https://github.com/mozilla/send/",
@@ -28,6 +28,8 @@
"test": "npm-run-all test:*",
"test:backend": "nyc mocha --reporter=min test/backend",
"test:frontend": "cross-env NODE_ENV=development node test/frontend/runner.js && nyc report --reporter=html",
"test-integration": "docker-compose up --abort-on-container-exit --exit-code-from integration-tests --build --remove-orphans --quiet-pull && docker-compose down",
"test-integration-stage": "cross-env BASE_URL=https://send.stage.mozaws.net npm run test-integration",
"start": "npm run clean && cross-env NODE_ENV=development webpack-dev-server",
"prod": "node server/prod.js"
},
@@ -139,6 +141,7 @@
"cak",
"cs",
"cy",
"da",
"de",
"dsb",
"el",
@@ -172,6 +175,7 @@
"sq",
"sr",
"sv-SE",
"te",
"tl",
"tr",
"uk",

View File

@@ -29,7 +29,8 @@ uploadSvgAlt =
.alt = ارفع
uploadSuccessTimingHeader = ستنتهي صلاحية الرابط الذي يشير إلى الملف في حال: نُزِّل لأول مرة، أو مرّ ٢٤ ساعة على رفعه.
expireInfo = ستنتهي صلاحية رابط الملف بعد { $downloadCount } أو { $timespan }.
downloadCount = { $num ->
downloadCount =
{ $num ->
[zero] لا تنزيلات
[one] تنزيل واحد
[two] تنزيلين
@@ -37,7 +38,8 @@ downloadCount = { $num ->
[many] { $num } تنزيلًا
*[other] { $num } تنزيل
}
timespanHours = { $num ->
timespanHours =
{ $num ->
[zero] أقل من ساعة
[one] ساعة
[two] ساعتين
@@ -122,8 +124,6 @@ requirePasswordCheckbox = اطلب كلمة سر لتنزيل هذا الملف
addPasswordButton = أضِف كلمة سر
changePasswordButton = غيّر
passwordTryAgain = كلمة السر خاطئة. أعِد المحاولة.
# This label is followed by the password needed to download a file
passwordResult = كلمة السر: { $password }
reportIPInfringement = أبلغ عن انتهاك للملكية الفكرية
javascriptRequired = يتطلب فَيَرفُكس سِنْد جافاسكربت
whyJavascript = لماذا يتطلب فَيَرفُكس سِنْد جافاسكربت؟
@@ -134,3 +134,7 @@ expiresHoursMinutes = { $hours }س { $minutes }د
expiresMinutes = { $minutes }د
# A short status message shown when a password is successfully set
passwordIsSet = ضُبطت كلمة السر
# A short status message shown when the user enters a long password
maxPasswordLength = أقصر طول لكلمة السر: { $length }
# A short status message shown when there was an error setting the password
passwordSetError = يجب ألا تُضبط كلمة السر هذه

View File

@@ -1,4 +1,4 @@
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteSubtitle = esperimentu web
siteFeedback = Feedback
@@ -25,28 +25,41 @@ uploadingFileNotification = Avísame cuando se complete la xuba.
uploadSuccessConfirmHeader = Preparáu pa unviar
uploadSvgAlt = Xubir
uploadSuccessTimingHeader = L'enllaz del to ficheru caducará dempués d'una descarga o en 24 hores.
downloadCount =
{ $num ->
[one] 1 descarga
*[other] { $num } descargues
}
timespanHours =
{ $num ->
[one] 1 hora
*[other] { $num } hores
}
copyUrlFormLabelWithName = Copia y comparti l'enllaz pa unviar el to ficheru: { $filename }
copyUrlFormButton = Copiar al cartafueyu
copiedUrl = ¡Copióse!
deleteFileButton = Desaniciar ficheru
sendAnotherFileLink = Unviar otru ficheru
// Alternative text used on the download link/button (indicates an action).
# Alternative text used on the download link/button (indicates an action).
downloadAltText = Baxar
downloadsFileList = Descargues
# Used as header in a column indicating the number of times a file has been
# downloaded
downloadFileName = Baxar { $filename }
downloadFileSize = ({ $size })
unlockInputLabel = Introducir contraseña
unlockInputPlaceholder = Contraseña
unlockButtonLabel = Desbloquiar
downloadFileTitle = Baxar ficheru cifráu
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
downloadMessage = El to collaciu unvióte un ficheru usando Firefox Send, un serviciu que te permite compartir ficheros con un enllaz seguru, priváu y cifráu que caduca automáticamente p'asegurar que les to coses nun queden siempres na rede.
// Text and title used on the download link/button (indicates an action).
# Text and title used on the download link/button (indicates an action).
downloadButtonLabel = Baxar
downloadNotification = Completóse la to descarga.
downloadFinish = Descarga completada
// This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
# This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
fileSizeProgress = ({ $partialSize } de { $totalSize })
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
sendYourFilesLink = Prueba Firefox Send
downloadingPageProgress = Baxando { $filename } ({ $size })
downloadingPageMessage = Dexa esta llingüeta abierta entrín vamos en cata del to ficheru y lu desciframos, por favor.
@@ -58,7 +71,7 @@ fileTooBig = Esti ficheru ye mui grande como pa xubilu. Debería tener menos de
linkExpiredAlt = Enllaz caducáu
expiredPageHeader = ¡Esti enllaz caducó o enxamás nun esistó!
notSupportedHeader = El to restolador nun ta sofitáu.
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
notSupportedDetail = Desafortunadamente esti restolador nun sofita la teunoloxía web qu'usa Firefox Send. Precisarás d'usar otru restolador. ¡Aconseyámoste Firefox!
notSupportedLink = ¿Por qué'l mio restolador nun ta sofitáu?
notSupportedOutdatedDetail = Desafortunadamente esta versión de Firefox nun sofita la teunoloxía web qu'usa Firefox Send. Precisarás d'anovar Firefox.
@@ -66,7 +79,7 @@ updateFirefox = Anovar Firefox
downloadFirefoxButtonSub = Descarga de baldre
uploadedFile = Ficheru
copyFileList = Copiar URL
// expiryFileList is used as a column header
# expiryFileList is used as a column header
expiryFileList = Caduca en
deleteFileList = Desaniciar
nevermindButton = Nun m'importa
@@ -79,13 +92,14 @@ deletePopupCancel = Encaboxar
deleteButtonHover = Desaniciar
copyUrlHover = Copiar URL
footerLinkLegal = Llegal
// Test Pilot is a proper name and should not be localized.
# Test Pilot is a proper name and should not be localized.
footerLinkAbout = Tocante a Test Pilot
footerLinkPrivacy = Privacidá
footerLinkTerms = Términos
footerLinkCookies = Cookies
requirePasswordCheckbox = Riquir una contraseña pa baxar esti ficheru
addPasswordButton = Amestar contraseña
changePasswordButton = Camudar
passwordTryAgain = Contraseña incorreuta. Volvi tentalo.
// This label is followed by the password needed to download a file
passwordResult = Contraseña: { $password }
# A short status message shown when there was an error setting the password
passwordSetError = Nun pudo afitase esta contraseña

View File

@@ -26,11 +26,13 @@ uploadSuccessConfirmHeader = Llest per enviar
uploadSvgAlt = Puja
uploadSuccessTimingHeader = L'enllaç al fitxer caducarà quan es baixi una vegada o d'aquí 24 hores.
expireInfo = L'enllaç al fitxer caducarà en fer { $downloadCount } o d'aquí { $timespan }.
downloadCount = { $num ->
downloadCount =
{ $num ->
[one] 1 baixada
*[other] { $num } baixades
}
timespanHours = { $num ->
timespanHours =
{ $num ->
[one] 1 hora
*[other] { $num } hores
}
@@ -103,8 +105,6 @@ requirePasswordCheckbox = Sol·licita una contrasenya per baixar aquest fitxer
addPasswordButton = Afegeix una contrasenya
changePasswordButton = Canvia
passwordTryAgain = La contrasenya és incorrecta. Torneu-ho a provar.
# This label is followed by the password needed to download a file
passwordResult = Contrasenya: { $password }
reportIPInfringement = Denuncieu una infracció de propietat intel·lectual
javascriptRequired = El Firefox Send necessita JavaScript
whyJavascript = Per què el Firefox Send necessita JavaScript?
@@ -115,3 +115,7 @@ expiresHoursMinutes = { $hours } h { $minutes } min
expiresMinutes = { $minutes } min
# A short status message shown when a password is successfully set
passwordIsSet = S'ha definit la contrasenya
# A short status message shown when the user enters a long password
maxPasswordLength = Longitud màxima de la contrasenya: { $length }
# A short status message shown when there was an error setting the password
passwordSetError = No s'ha pogut definir la contrasenya

View File

@@ -26,16 +26,22 @@ uploadSuccessConfirmHeader = Yn Barod i Anfon
uploadSvgAlt = Llwytho i Fyny
uploadSuccessTimingHeader = Bydd y ddolen i'ch ffeil y dod i ben ar ôl 1 llwytho neu o fewn 24 awr.
expireInfo = Bydd y ddolen i'ch ffeil yn dod i ben ym mhen { $downloadCount } neu { $timespan }.
downloadCount = { $num ->
downloadCount =
{ $num ->
[zero] Llwythi i lawr
[one] Llwyth i lawr
[two] Lwyth i lawr
[few] Llwyth i lawr
[many] Llwyth i lawr
*[other] Llwyth i lawr
}
timespanHours = { $num ->
timespanHours =
{ $num ->
[zero] awr
[one] awr
[two] awr
[few] awr
[many] awr
*[other] awr
}
copyUrlFormLabelWithName = Copïo a rhannu'r ddolen i anfon eich ffeil: { $filename }

View File

@@ -0,0 +1,121 @@
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteSubtitle = webeksperiment
siteFeedback = Feedback
uploadPageHeader = Privat, krypteret fildeling
uploadPageExplainer = Send filer gennem et sikkert, privat og krypteret link, som automatisk udløber for at sikre, at dine ting ikke forbliver på nettet for altid.
uploadPageLearnMore = Læs mere
uploadPageDropMessage = Drop dine fil her for at begynde at uploade
uploadPageSizeMessage = For den mest pålidelige drift er det bedst at holde din fil under 1GB
uploadPageBrowseButton = Vælg en fil på din computer
uploadPageBrowseButton1 = Vælg en fil at uploade
uploadPageMultipleFilesAlert = Upload af flere filer eller en mappe understøttes ikke i øjeblikket.
uploadPageBrowseButtonTitle = Upload fil
uploadingPageProgress = Uploader { $filename } { $size }
importingFile = Importerer…
verifyingFile = Bekræfter…
encryptingFile = Krypterer…
decryptingFile = Dekrypterer…
notifyUploadDone = Din upload er færdig.
uploadingPageMessage = Når din fil er uploadet, kan du vælge udløbsindstillinger.
uploadingPageCancel = Annuller upload
uploadCancelNotification = Dit upload blev annulleret.
uploadingPageLargeFileMessage = Denne fil er stor, så det kan tage lang tid at uploade den. Vær tålmodig!
uploadingFileNotification = Giv mig besked, når filen er færdig.
uploadSuccessConfirmHeader = Klar til at sende
uploadSvgAlt = Upload
uploadSuccessTimingHeader = Linket til din fil udløber efter 1 hentning eller om 24 timer.
expireInfo = Linket til din fil udløber efter { $downloadCount } eller { $timespan }.
downloadCount =
{ $num ->
[one] 1 hentning
*[other] { $num } hentninger
}
timespanHours =
{ $num ->
[one] 1 time
*[other] { $num } timer
}
copyUrlFormLabelWithName = Kopier og del linket for at sende din fil: { $filename }
copyUrlFormButton = Kopier til udklipsholder
copiedUrl = Kopieret!
deleteFileButton = Slet fil
sendAnotherFileLink = Send endnu en fil
# Alternative text used on the download link/button (indicates an action).
downloadAltText = Hent
downloadsFileList = Hentninger
# Used as header in a column indicating the amount of time left before a
# download link expires (e.g. "10h 5m")
timeFileList = Tid
# Used as header in a column indicating the number of times a file has been
# downloaded
downloadFileName = Hent { $filename }
downloadFileSize = ({ $size })
unlockInputLabel = Indtast adgangskode
unlockInputPlaceholder = Adgangskode
unlockButtonLabel = Lås op
downloadFileTitle = Hent krypteret fil
# Firefox Send is a brand name and should not be localized.
downloadMessage = Din ven sender dig en fil med Firefox Send, en tjeneste, der lader dig dele filer via et sikkert, privat og krypteret link, som automatisk udløber for at sikre, at dine ting ikke forbliver på nettet for altid.
# Text and title used on the download link/button (indicates an action).
downloadButtonLabel = Hent
downloadNotification = Hentning af din fil er fuldført.
downloadFinish = Hentning fuldført
# This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
fileSizeProgress = ({ $partialSize } af { $totalSize })
# Firefox Send is a brand name and should not be localized.
sendYourFilesLink = Prøv Firefox Send
downloadingPageProgress = Henter { $filename } { $size }
downloadingPageMessage = Hold dette faneblad åbent, mens vi henter og dekrypterer din fil.
errorAltText = Upload mislykkedes
errorPageHeader = Der gik noget galt!
errorPageMessage = Der opstod en fejl under upload af filen.
errorPageLink = Send endnu en fil
fileTooBig = Den fil er for stor at uploade. Den skal være mindre end { $size }.
linkExpiredAlt = Link er udløbet
expiredPageHeader = Dette link er udløbet eller har aldrig eksisteret!
notSupportedHeader = Din browser understøttes ikke.
# Firefox Send is a brand name and should not be localized.
notSupportedDetail = Desværre understøtter denne browser ikke den webteknologi, som driver Firefox Send. Du skal bruge en anden browser. Vi anbefaler Firefox!
notSupportedLink = Hvorfor understøttes min browser ikke?
notSupportedOutdatedDetail = Desværre understøtter denne version af Firefox ikke den webteknologi, som driver Firefox Send. Du skal opdatere din browser.
updateFirefox = Opdater Firefox
downloadFirefoxButtonSub = Gratis download
uploadedFile = Fil
copyFileList = Kopier URL
# expiryFileList is used as a column header
expiryFileList = Udløber om
deleteFileList = Slet
nevermindButton = Glem det
legalHeader = Betingelser & privatliv
legalNoticeTestPilot = Firefox Send er i øjeblikket et Testpilot-eksperiment, som er underlagt Testpilots <a>betingelser for brug</a> og <a>privatlivspolitik</a>. Du kan læse mere om eksperimentet og dets indsamling af data <a>her</a>.
legalNoticeMozilla = Brugen af webstedet Firefox Send er også underlagt Mozillas <a>privatlivspolitik for websteder</a> og <a>betingelser for brug af websteder</a>.
deletePopupText = Slet denne fil?
deletePopupYes = Ja
deletePopupCancel = Annuller
deleteButtonHover = Slet
copyUrlHover = Kopier URL
footerLinkLegal = Juridisk
# Test Pilot is a proper name and should not be localized.
footerLinkAbout = Om Testpilot
footerLinkPrivacy = Privatliv
footerLinkTerms = Betingelser
footerLinkCookies = Cookies
requirePasswordCheckbox = Kræv an adgangskode for at hente denne fil
addPasswordButton = Tilføj adgangskode
changePasswordButton = Skift
passwordTryAgain = Forkert adgangskode. Prøv igen.
reportIPInfringement = Rapporter krænkelse af intellektuel ejendomsret
javascriptRequired = Firefox Send kræver JavaScript
whyJavascript = Hvorfor kræver Firefox Send JavaScript?
enableJavascript = Aktiver JavaScript og prøv igen.
# A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
expiresHoursMinutes = { $hours } t { $minutes } m
# A short representation of a countdown timer containing the number of minutes remaining as digits, example "56m"
expiresMinutes = { $minutes } m
# A short status message shown when a password is successfully set
passwordIsSet = Adgangskode sat
# A short status message shown when the user enters a long password
maxPasswordLength = Maksimum længde af adgangskode: { $length }
# A short status message shown when there was an error setting the password
passwordSetError = Adgangskoden kunne ikke sættes

View File

@@ -20,17 +20,19 @@ notifyUploadDone = Ihr Upload ist abgeschlossen.
uploadingPageMessage = Sobald Ihre Datei hochgeladen wird, können Sie die Optionen zum Ablaufdatum auswählen.
uploadingPageCancel = Hochladen abbrechen
uploadCancelNotification = Ihr Upload wurde abgebrochen.
uploadingPageLargeFileMessage = Diese Datei ist groß, sodass das hochladen einige Zeit dauern könnte. Haben Sie Geduld!
uploadingPageLargeFileMessage = Diese Datei ist groß, sodass das Hochladen einige Zeit dauern könnte. Haben Sie Geduld!
uploadingFileNotification = Mich benachrichtigen, wenn der Upload abgeschlossen ist.
uploadSuccessConfirmHeader = Bereit zum Senden
uploadSvgAlt = Hochladen
uploadSuccessTimingHeader = Der Link zu Ihrer Datei läuft nach einem Download oder in 24 Stunden ab.
expireInfo = Der Link zu Ihrer Datei läuft nach { $downloadCount } oder { $timespan } ab.
downloadCount = { $num ->
downloadCount =
{ $num ->
[one] einem Download
*[other] { $num } Downloads
}
timespanHours = { $num ->
timespanHours =
{ $num ->
[one] einer Stunde
*[other] { $num } Stunden
}
@@ -86,7 +88,7 @@ expiryFileList = Läuft ab in
deleteFileList = Löschen
nevermindButton = Egal
legalHeader = Nutzungsbedingungen und Datenschutz
legalNoticeTestPilot = Firefox Send ist aktuell ein Test-Pilot-Experiment und unterliegt den <a>Nutzungsbedingungen</a> und dem <a>Datenschutzhinweis</a> von Test Pilot. Mehr über diese Experiment und die Daten, die es sammelt, erfahren Sie <a>hier</a>.
legalNoticeTestPilot = Firefox Send ist aktuell ein Test-Pilot-Experiment und unterliegt den <a>Nutzungsbedingungen</a> und dem <a>Datenschutzhinweis</a> von Test Pilot. Mehr über dieses Experiment und die Daten, die es sammelt, erfahren Sie <a>hier</a>.
legalNoticeMozilla = Die Nutzung der Website von Firefox Send unterliegt außerdem Mozillas <a>Datenschutzhinweis für Websites</a> und <a>Nutzungsbedingungen für Websites</a>.
deletePopupText = Diese Datei löschen?
deletePopupYes = Ja
@@ -106,7 +108,7 @@ passwordTryAgain = Falsches Passwort. Versuchen Sie es erneut.
reportIPInfringement = IP-Verletzung melden
javascriptRequired = Firefox Send benötigt JavaScript
whyJavascript = Warum benötigt Firefox Send JavaScript?
enableJavascript = Bitte akivieren Sie JavaScript und versuchen Sie es erneut.
enableJavascript = Bitte aktivieren Sie JavaScript und versuchen Sie es erneut.
# A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
expiresHoursMinutes = { $hours }h { $minutes }m
# A short representation of a countdown timer containing the number of minutes remaining as digits, example "56m"

View File

@@ -26,10 +26,12 @@ uploadSuccessConfirmHeader = Listo para enviar
uploadSvgAlt = Subir
uploadSuccessTimingHeader = El enlace a tu archivo expirará después de una descarga o en 24 horas.
expireInfo = El enlace a tu archivo expirará después de { $downloadCount } o { $timespan }.
downloadCount = { $num ->
downloadCount =
{ $num ->
*[one] 1 descarga
}
timespanHours = { $num ->
timespanHours =
{ $num ->
[one] 1 hora
*[other] { $num } horas
}
@@ -102,8 +104,6 @@ requirePasswordCheckbox = Se necesita una contraseña para descargar este archiv
addPasswordButton = Agregar contraseña
changePasswordButton = Cambiar
passwordTryAgain = Contraseña incorrecta. Intenta de nuevo.
# This label is followed by the password needed to download a file
passwordResult = Contraseña: { $password }
reportIPInfringement = Denunciar una infracción de PI
javascriptRequired = Firefox Send requiere JavaScript
whyJavascript = ¿Por qué Firefox Send requiere JavaScript?
@@ -114,3 +114,7 @@ expiresHoursMinutes = { $hours }h { $minutes }m
expiresMinutes = { $minutes }m
# A short status message shown when a password is successfully set
passwordIsSet = Contraseña establecida
# A short status message shown when the user enters a long password
maxPasswordLength = Longitud máxima de la contraseña: { $length }
# A short status message shown when there was an error setting the password
passwordSetError = No se ha podido establecer la contraseña

View File

@@ -26,12 +26,6 @@ uploadSuccessConfirmHeader = آماده برای ارسال
uploadSvgAlt = بارگذاری
uploadSuccessTimingHeader = پیوند به پرونده شما بعد از ۱ بار دانلود یا ۲۴ ساعت حذف خواهد شد.
expireInfo = این پیوند به فایل شما پس از { $downloadCount } یا { $timespan } منقضی خواهد شد.
downloadCount = { $num ->
*[other] ۱ بارگذاری
}
timespanHours = { $num ->
*[other] ۱ ساعت
}
copyUrlFormLabelWithName = برای ارسال پرونده پیوند آن را رونوشت و به اشتراک بگذارید: { $filename }
copyUrlFormButton = رونوشت به کلیپ‌بورد
copiedUrl = رونوشت شد!

View File

@@ -1,4 +1,4 @@
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteSubtitle = un experimento web
siteFeedback = Reaction
@@ -39,29 +39,29 @@ copyUrlFormButton = Copiar al area de transferentia
copiedUrl = Copiate!
deleteFileButton = Deler le file
sendAnotherFileLink = Inviar un altere file
// Alternative text used on the download link/button (indicates an action).
# Alternative text used on the download link/button (indicates an action).
downloadAltText = Discargar
downloadsFileList = Discargamentos
// Used as header in a column indicating the amount of time left before a
// download link expires (e.g. "10h 5m")
# Used as header in a column indicating the amount of time left before a
# download link expires (e.g. "10h 5m")
timeFileList = Tempore
// Used as header in a column indicating the number of times a file has been
// downloaded
# Used as header in a column indicating the number of times a file has been
# downloaded
downloadFileName = Discargar { $filename }
downloadFileSize = ({ $size })
unlockInputLabel = Insere le contrasigno
unlockInputPlaceholder = Contrasigno
unlockButtonLabel = Disblocar
downloadFileTitle = Discargar le file cryptate
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
downloadMessage = Tu amico te invia un file per Firefox Send, un servicio que te permitte de compartir files per un ligamine secur, private e cryptate, que expira automaticamente pro te assecurar que tu datos non resta online per sempre.
// Text and title used on the download link/button (indicates an action).
# Text and title used on the download link/button (indicates an action).
downloadButtonLabel = Discargar
downloadNotification = Tu discargamento es completate.
downloadFinish = Discargamento completate
// This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
# This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
fileSizeProgress = ({ $partialSize } de { $totalSize })
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
sendYourFilesLink = Proba Firefox Send
downloadingPageProgress = Discargamento de { $filename } ({ $size })
downloadingPageMessage = Per favor lassa iste scheda aperte durante que nos prende tu file e lo decifra.
@@ -73,7 +73,7 @@ fileTooBig = Iste file es troppo grande pro lo cargar. Illo debe ser inferior a
linkExpiredAlt = Ligamine expirate
expiredPageHeader = Iste ligamine expirava o illo non existeva jammais!
notSupportedHeader = Tu navigator non es supportate
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
notSupportedDetail = Infelicemente iste navigator non supporta le nove technologias web que move Firefox Send. Tu besonia de probar un altere navigator. Nos recommenda Firefox!
notSupportedLink = Perque iste navigator non es supportate?
notSupportedOutdatedDetail = Infelicemente iste version de Firefox non supporta le nove technologias web que move Firefox Send. Tu besonia de actualisar tu navigator.
@@ -81,7 +81,7 @@ updateFirefox = Actualisar Firefox
downloadFirefoxButtonSub = Discargamento gratuite
uploadedFile = File
copyFileList = Copiar le URL
// expiryFileList is used as a column header
# expiryFileList is used as a column header
expiryFileList = Expira in
deleteFileList = Deler
nevermindButton = No, gratias
@@ -94,7 +94,7 @@ deletePopupCancel = Cancellar
deleteButtonHover = Deler
copyUrlHover = Copiar le URL
footerLinkLegal = Legal
// Test Pilot is a proper name and should not be localized.
# Test Pilot is a proper name and should not be localized.
footerLinkAbout = Re Test Pilot
footerLinkPrivacy = Confidentialitate
footerLinkTerms = Terminos
@@ -103,13 +103,17 @@ requirePasswordCheckbox = Requirer un contrasigno pro discargar iste file
addPasswordButton = Adder contrasigno
changePasswordButton = Cambiar
passwordTryAgain = Contrasigno incorrecte. Retenta.
// This label is followed by the password needed to download a file
passwordResult = Contrasigno: { $password }
reportIPInfringement = Reportar un violation de proprietate intellectual
javascriptRequired = Firefox Send require JavaScript
whyJavascript = Proque Firefox Send require JavaScript?
enableJavascript = Por favor activa JavaScript e tenta novemente.
// A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
# A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
expiresHoursMinutes = { $hours }h { $minutes }m
// A short representation of a countdown timer containing the number of minutes remaining as digits, example "56m"
# A short representation of a countdown timer containing the number of minutes remaining as digits, example "56m"
expiresMinutes = { $minutes }m
# A short status message shown when a password is successfully set
passwordIsSet = Configuration del contrasigno
# A short status message shown when the user enters a long password
maxPasswordLength = Maxime longor del contrasigno: { $length }
# A short status message shown when there was an error setting the password
passwordSetError = Iste contrasigno non pote ser definite

View File

@@ -1,4 +1,4 @@
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteSubtitle = eksperimen web
siteFeedback = Saran
@@ -27,10 +27,12 @@ uploadSuccessConfirmHeader = Siap untuk Dikirim
uploadSvgAlt = Unggah
uploadSuccessTimingHeader = Tautan ke berkas Anda akan berakhir setelah 1 unduhan atau dalam 24 jam.
expireInfo = Tautan ke berkas Anda akan kedaluwarsa setelah { $downloadCount } atau { $timespan }.
downloadCount = { $num ->
downloadCount =
{ $num ->
*[other] { $number } unduhan
}
timespanHours = { $num ->
timespanHours =
{ $num ->
*[other] { $number } jam
}
copyUrlFormLabelWithName = Salin dan bagikan tautan untuk mengirim berkas Anda: { $filename }
@@ -38,23 +40,29 @@ copyUrlFormButton = Salin ke papan klip
copiedUrl = Tersalin!
deleteFileButton = Hapus berkas
sendAnotherFileLink = Kirim berkas lain
// Alternative text used on the download link/button (indicates an action).
# Alternative text used on the download link/button (indicates an action).
downloadAltText = Unduh
downloadsFileList = Unduhan
# Used as header in a column indicating the amount of time left before a
# download link expires (e.g. "10h 5m")
timeFileList = Waktu
# Used as header in a column indicating the number of times a file has been
# downloaded
downloadFileName = Unduh { $filename }
downloadFileSize = ({ $size })
unlockInputLabel = Masukkan Sandi
unlockInputPlaceholder = Sandi
unlockButtonLabel = Buka
downloadFileTitle = Unduh Berkas Terenkripsi
// Firefox Send is a brand name and should not be localized.
# 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.
// Text and title used on the download link/button (indicates an action).
# Text and title used on the download link/button (indicates an action).
downloadButtonLabel = Unduh
downloadNotification = Unduhan Anda telah selesai.
downloadFinish = Unduhan Selesai
// This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
# This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
fileSizeProgress = ({ $partialSize } dari { $totalSize })
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
sendYourFilesLink = Coba Firefox Send
downloadingPageProgress = Mengunduh { $filename } ({ $size })
downloadingPageMessage = Sila biarkan tab ini terbuka sementara kami memproses berkas Anda dan mendekripsinya.
@@ -66,7 +74,7 @@ fileTooBig = Berkas terlalu besar untuk diunggah. Harus kurang dari { $size }.
linkExpiredAlt = 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.
# 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!
notSupportedLink = Mengapa peramban saya tidak didukung?
notSupportedOutdatedDetail = Sayangnya Firefox versi ini tidak mendukung teknologi web yang menggerakkan Firefox Send. Anda perlu memperbarui peramban Anda.
@@ -74,7 +82,7 @@ updateFirefox = Perbarui Firefox
downloadFirefoxButtonSub = Unduh Gratis
uploadedFile = Berkas
copyFileList = Salin URL
// expiryFileList is used as a column header
# expiryFileList is used as a column header
expiryFileList = Kedaluwarsa Pada
deleteFileList = Hapus
nevermindButton = Abaikan
@@ -87,14 +95,22 @@ deletePopupCancel = Batal
deleteButtonHover = Hapus
copyUrlHover = Salin URL
footerLinkLegal = Legal
// Test Pilot is a proper name and should not be localized.
# Test Pilot is a proper name and should not be localized.
footerLinkAbout = Tentang Test Pilot
footerLinkPrivacy = Privasi
footerLinkTerms = Ketentuan
footerLinkCookies = Kuki
requirePasswordCheckbox = Membutuhkan sandi untuk mengunduh berkas ini
addPasswordButton = Tambahkan Sandi
changePasswordButton = Ubah
passwordTryAgain = Sandi salah. Silakan coba lagi.
// This label is followed by the password needed to download a file
passwordResult = Sandi: { $password }
reportIPInfringement = Laporkan Pelanggaran IP
javascriptRequired = Firefox Send membutuhkan JavaScript.
whyJavascript = Mengapa Firefox Send membutuhkan JavaScript?
enableJavascript = Silakan aktifkan JavaScript dan coba lagi.
# A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
expiresHoursMinutes = { $hours }j { $minutes }m
# A short representation of a countdown timer containing the number of minutes remaining as digits, example "56m"
expiresMinutes = { $minutes }m
# A short status message shown when the user enters a long password
maxPasswordLength = Panjang sandi maksimal: { $length }

View File

@@ -26,10 +26,14 @@ uploadSuccessConfirmHeader = მზადაა გასაგზავნა
uploadSvgAlt = ატვირთვა
uploadSuccessTimingHeader = ფაილს ვადა გაუვა 1 ჩამოტვირთვის, ან 24 საათის მერე.
expireInfo = ფაილის ბმულს, ვადა გაუვა { $downloadCount }, ან { $timespan } მერე.
downloadCount = { $num ->
downloadCount =
{ $num ->
[one] 1 ჩამოტვირთვა
*[other] { $num } ჩამოტვირთვა
}
timespanHours = { $num ->
timespanHours =
{ $num ->
[one] 1 საათი
*[other] { $num } საათი
}
copyUrlFormLabelWithName = დააკოპირეთ და გააზიარეთ ბმული, ფაილის გასაგზავნად: { $filename }

View File

@@ -1,4 +1,4 @@
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteSubtitle = 웹 실험
siteFeedback = 사용자 의견
@@ -34,23 +34,29 @@ copyUrlFormButton = 클립보드에 복사
copiedUrl = 복사 완료!
deleteFileButton = 파일 삭제
sendAnotherFileLink = 다른 파일 보내기
// Alternative text used on the download link/button (indicates an action).
# Alternative text used on the download link/button (indicates an action).
downloadAltText = 다운로드
downloadsFileList = 다운로드
# Used as header in a column indicating the amount of time left before a
# download link expires (e.g. "10h 5m")
timeFileList = 남은 시간
# Used as header in a column indicating the number of times a file has been
# downloaded
downloadFileName = { $filename } 다운로드
downloadFileSize = ({ $size })
unlockInputLabel = 비밀번호 입력
unlockInputPlaceholder = 비밀번호
unlockButtonLabel = 잠금 해제
downloadFileTitle = 암호화된 파일 다운로드
// Firefox Send is a brand name and should not be localized.
# 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).
# Text and title used on the download link/button (indicates an action).
downloadButtonLabel = 다운로드
downloadNotification = 다운로드가 완료되었습니다.
downloadFinish = 다운로드 완료
// This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
# This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
fileSizeProgress = ({ $partialSize } / { $totalSize })
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
sendYourFilesLink = Firefox Send 써보기
downloadingPageProgress = { $filename } ({ $size }) 다운로드 중
downloadingPageMessage = 파일을 가져오고 복호화하는 동안 탭을 닫지 말아주세요.
@@ -62,7 +68,7 @@ fileTooBig = 파일의 크기가 너무 큽니다. { $size } 보다 작아야
linkExpiredAlt = 링크가 만료됨
expiredPageHeader = 이 링크는 만료되었거나 애초부터 존재하지 않았습니다!
notSupportedHeader = 이 브라우저는 지원되지 않습니다.
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
notSupportedDetail = 안타깝게도 이 브라우저는 Firefox Send에 사용되는 웹 기술을 지원하지 않습니다. 다른 브라우저로 다시 시도해주세요. Firefox를 추천합니다!
notSupportedLink = 왜 이 브라우저는 지원이 되지 않나요?
notSupportedOutdatedDetail = 안타깝게도 현재 브라우저 버전에서는 Firefox Send에 사용되는 웹 기술을 지원하지 않습니다. 브라우저 업데이트가 필요합니다.
@@ -70,7 +76,7 @@ updateFirefox = Firefox 업데이트
downloadFirefoxButtonSub = 무료 다운로드
uploadedFile = 파일
copyFileList = URL 복사
// expiryFileList is used as a column header
# expiryFileList is used as a column header
expiryFileList = 만료기한
deleteFileList = 삭제
nevermindButton = 괜찮습니다
@@ -83,14 +89,26 @@ deletePopupCancel = 아니오
deleteButtonHover = 삭제
copyUrlHover = URL 복사
footerLinkLegal = 법적 정보
// Test Pilot is a proper name and should not be localized.
# Test Pilot is a proper name and should not be localized.
footerLinkAbout = Test Pilot 정보
footerLinkPrivacy = 개인정보 보호
footerLinkTerms = 이용 약관
footerLinkCookies = 쿠키
requirePasswordCheckbox = 이 파일을 다운로드하려면 비밀번호가 필요함
addPasswordButton = 비밀번호 추가
changePasswordButton = 바꾸기
passwordTryAgain = 비밀번호가 맞지 않습니다. 다시 시도해 주세요.
// This label is followed by the password needed to download a file
passwordResult = 비밀번호: { $password }
reportIPInfringement = 지적 재산권 침해 신고
javascriptRequired = Firefox Send는 자바스크립트를 필요로 합니다
whyJavascript = 왜 Firefox Send에 자바스크립트가 필요하죠?
enableJavascript = 자바스크립트를 활성화하고 다시 시도해 주세요.
# A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
expiresHoursMinutes = { $hours }시간 { $minutes }분
# A short representation of a countdown timer containing the number of minutes remaining as digits, example "56m"
expiresMinutes = { $minutes }분
# A short status message shown when a password is successfully set
passwordIsSet = 비밀번호를 설정했습니다
# A short status message shown when the user enters a long password
maxPasswordLength = 최대 비밀번호 길이: { $length }
# A short status message shown when there was an error setting the password
passwordSetError = 이 비밀번호를 설정할 수 없었습니다

View File

@@ -8,7 +8,7 @@ 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 = Selecionar um ficheiro no seu computador
uploadPageBrowseButton1 = Selecione um ficheiro a enviar
uploadPageBrowseButton1 = Selecionar um ficheiro a carregar
uploadPageMultipleFilesAlert = Carregar múltiplos ficheiros ou uma pasta não é atualmente suportado.
uploadPageBrowseButtonTitle = Carregar ficheiro
uploadingPageProgress = A carregar { $filename } ({ $size })
@@ -26,7 +26,8 @@ uploadSuccessConfirmHeader = Pronto para enviar
uploadSvgAlt = Carregar
uploadSuccessTimingHeader = A ligação para o seu ficheiro irá expirar depois de 1 transferência ou em 24 horas.
expireInfo = A ligação para o seu ficheiro irá expirar depois de { $downloadCount } or { $timespan }.
downloadCount = { $num ->
downloadCount =
{ $num ->
[one] 1 transferência
*[other] { $num } transferências
}

View File

@@ -3,11 +3,11 @@ title = Firefox Send
siteSubtitle = un experiment web
siteFeedback = Feedback
uploadPageHeader = Partajare de fișiere privată și criptată
uploadPageExplainer = Trimite fișiere printr-un link sigur, privat și criptat care expiră automat pentru ca informațiile să rămână în siguranță.
uploadPageExplainer = Trimite fișiere printr-un link sigur, privat și criptat care expiră automat pentru a te asigura că lucrurile tale nu rămân online pentru totdeauna.
uploadPageLearnMore = Află mai multe
uploadPageDropMessage = Aruncă fișierul aici pentru a începe încărcarea.
uploadPageDropMessage = Trage fișierul aici pentru a începe încărcarea
uploadPageSizeMessage = Pentru a lucra mai ușor, recomandăm să păstrezi fișierul sub 1GB
uploadPageBrowseButton = Alege un fișier din calculator.
uploadPageBrowseButton = Selectează un fișier din calculator
uploadPageBrowseButton1 = Selectează un fișier pentru încărcare
uploadPageMultipleFilesAlert = Încărcarea mai multor fișiere deodată sau a dosarelor nu este suportată.
uploadPageBrowseButtonTitle = Încarcă fișier
@@ -17,25 +17,28 @@ verifyingFile = Se verifică...
encryptingFile = Se criptează…
decryptingFile = Se decriptează…
notifyUploadDone = Încărcarea s-a finalizat.
uploadingPageMessage = După ce fișierul tău este încărcat vei putea seta opțiuni de expirare.
uploadingPageCancel = Anulează încărcarea
uploadCancelNotification = Încărcarea a fost anulată.
uploadingPageLargeFileMessage = Stai calm! Acest fișier este mare. S-ar putea să dureze un timp încărcarea.
uploadingFileNotification = Notifică-mă când încărcarea este încheiată.
uploadSuccessConfirmHeader = Pregătit pentru trimitere
uploadSvgAlt = Încarcă
uploadSuccessTimingHeader = Linkul către fișierul tău va expira după 1 descărcare sau în 24 de ore.
expireInfo = Linkul la fișier va expira după { $downloadCount } sau { $timespan }.
downloadCount = { $num ->
uploadSuccessTimingHeader = Linkul către fișier va expira după 1 descărcare sau în 24 de ore.
expireInfo = Linkul către fișier va expira după { $downloadCount } sau { $timespan }.
downloadCount =
{ $num ->
[one] 1 descărcare
[few] { $num } descărcări
*[other] { $num } de descărcări
}
timespanHours = { $num ->
timespanHours =
{ $num ->
[one] 1 oră
[few] ore
*[other] de ore
[few] { $num } ore
*[other] { $num } de ore
}
copyUrlFormLabelWithName = Copiază și împărtășește linkul de la fișierul de trimis: { $filename }
copyUrlFormLabelWithName = Copiază și împărtășește linkul pentru a trimite fișierul: { $filename }
copyUrlFormButton = Copiază în clipboard
copiedUrl = Copiat!
deleteFileButton = Șterge fișierul
@@ -55,7 +58,7 @@ unlockInputPlaceholder = Parolă
unlockButtonLabel = Deblochează
downloadFileTitle = Descarcă fișierul criptat
# Firefox Send is a brand name and should not be localized.
downloadMessage = Un prieten îți trimite un fișier prin Firefox Send, un serviciu care îți permite să împărtășești un fișier printr-un link sigur, privat și criptat care expiră automat pentru a păstra informațiile tale online doar temporar.
downloadMessage = Un prieten îți trimite un fișier prin Firefox Send, un serviciu care îți permite să împărtășești un fișier printr-un link sigur, privat și criptat care expiră automat pentru a te asigura că lucrurile tale nu rămân online pentru totdeauna.
# Text and title used on the download link/button (indicates an action).
downloadButtonLabel = Descarcă
downloadNotification = Descărcarea s-a încheiat.
@@ -70,14 +73,14 @@ errorAltText = Eroare la încărcare
errorPageHeader = Ceva a mers prost!
errorPageMessage = A apărut o eroare la încărcarea fișierului.
errorPageLink = Trimite un alt fișier
fileTooBig = Acest fișier este prea mare. Trebuie să fie sub { $size }.
fileTooBig = Acest fișier este prea mare. Ar trebuie să fie sub { $size }.
linkExpiredAlt = Link expirat
expiredPageHeader = Acest link a expirat sau nu a existat de la bun început!
notSupportedHeader = Browserul tău nu este suportat.
# Firefox Send is a brand name and should not be localized.
notSupportedDetail = Din păcate acest browser nu suportă tehnologii web precum Firefox Send. Trebuie să încerci alt browser. Îți recomandăm Firefox!
notSupportedDetail = Din păcate, acest browser nu suportă tehnologiile web folosite de Firefox Send. Va trebui să încerci un alt browser. Îți recomandăm Firefox!
notSupportedLink = De ce browserul meu nu este suportat?
notSupportedOutdatedDetail = Din păcate această versiune de Firefox nu suportă tehnologiile web din spatele Firefox Sent. Îți recomandăm să actualizezi browserul.
notSupportedOutdatedDetail = Din păcate această versiune de Firefox nu suportă tehnologiile web din spatele Firefox Sent. Va trebui să actualizezi browserul.
updateFirefox = Actualizează Firefox
downloadFirefoxButtonSub = Descărcare gratuită
uploadedFile = Fișier
@@ -87,8 +90,8 @@ expiryFileList = Expiră în
deleteFileList = Șterge
nevermindButton = Uită
legalHeader = Termeni de utilizare și politica de confidențialitate
legalNoticeTestPilot = Firefox Send este momentan un experiment Test Pilot și supus <a>Termenilor de utilizare</a> Test Pilot și a <a>Politicii de confidențialitate</a>. Poți afla mai multe despre acest experiment <a>aici</a>.
legalNoticeMozilla = Folosirea site-ului Firefox Send mai este supusă <a>Politicii de confidențialitate pentru site-uri web</a> și a <a>Termenilor de folosire a site-urilor web</a>.
legalNoticeTestPilot = Firefox Send este în prezent un experiment Test Pilot și supus <a>Termenilor de utilizare a serviciului</a> și a <a>Politicii de confidențialitate</a> Test Pilot. Poți afla mai multe despre acest experiment și colectarea sa de date <a>aici</a>.
legalNoticeMozilla = Folosirea site-ului Firefox Send mai este supusă <a>Politicii de confidențialitate pentru site-uri web</a> și a <a>Termenilor de utilizare a site-urilor web</a>.
deletePopupText = Ștergi aceast fișier?
deletePopupYes = Da
deletePopupCancel = Renunță
@@ -105,3 +108,16 @@ addPasswordButton = Adaugă parolă
changePasswordButton = Modifică
passwordTryAgain = Parola este incorectă. Încearcă din nou.
reportIPInfringement = Raportează încălcarea proprietății intelectuale
javascriptRequired = Firefox Send are nevoie de JavaScript
whyJavascript = De ce are nevoie Firefox Send de JavaScript?
enableJavascript = Te rugăm să reactivezi JavaScript și să încerci din nou.
# A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
expiresHoursMinutes = { $hours }h { $minutes }m
# A short representation of a countdown timer containing the number of minutes remaining as digits, example "56m"
expiresMinutes = { $minutes } m
# A short status message shown when a password is successfully set
passwordIsSet = Parola a fost setată
# A short status message shown when the user enters a long password
maxPasswordLength = Lungime minimă a parolei: { $length }
# A short status message shown when there was an error setting the password
passwordSetError = Această parolă nu a putut fi setată

View File

@@ -26,15 +26,17 @@ uploadSuccessConfirmHeader = Готов к отправке
uploadSvgAlt = Загрузить
uploadSuccessTimingHeader = Ссылка на ваш файл станет недоступна после 1 загрузки файла или через 24 часа.
expireInfo = Ссылка на ваш файл станет недоступна после { $downloadCount } файла или через { $timespan }.
downloadCount = { $num ->
[one] { $number } загрузки
[few] { $number } загрузок
*[other] { $number } загрузок
downloadCount =
{ $num ->
[one] { $num } загрузка
[few] { $num } загрузки
*[other] { $num } загрузок
}
timespanHours = { $num ->
[one] { $number } час
[few] { $number } часа
*[other] { $number } часов
timespanHours =
{ $num ->
[one] { $num } час
[few] { $num } часа
*[other] { $num } часов
}
copyUrlFormLabelWithName = Скопировать и поделиться ссылкой на отправку вашего файла: { $filename }
copyUrlFormButton = Скопировать в буфер обмена

View File

@@ -1,4 +1,4 @@
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteSubtitle = జాల ప్రయోగం
siteFeedback = అభిప్రాయం
@@ -22,25 +22,42 @@ uploadingFileNotification = ఎగుమతి పూర్తయినప్ప
uploadSuccessConfirmHeader = పంపించడానికి సిద్ధంగా ఉంది
uploadSvgAlt = ఎగుమతి చేయండి
uploadSuccessTimingHeader = మీ ఫైలు లంకె గడువు 1 దిగుమతి తరువాత లేదా 24 గంటల తరువాత ముగుస్తుంది.
expireInfo = మీ ఫైలుకు లంకె { $downloadCount } లేదా { $timespan } తర్వాత గడువు అవుతుంది.
downloadCount =
{ $num ->
[one] 1 దింపుకోలు
*[other] { $num } దింపుకోళ్ళు
}
timespanHours =
{ $num ->
[one] 1 గంట
*[other] { $num } గంటలు
}
copyUrlFormLabelWithName = మీ ఫైల్ను పంపడానికి లంకెను నకలు చేయండి మరియు పంచండి: { $filename }
copyUrlFormButton = క్లిప్బోర్డ్కు నకలు చేయండి
copiedUrl = నకలు చేయబడింది!
deleteFileButton = ఫైలును తొలగించండి
sendAnotherFileLink = మరో ఫైలును పంపండి
// Alternative text used on the download link/button (indicates an action).
# Alternative text used on the download link/button (indicates an action).
downloadAltText = దిగుమతి
downloadsFileList = దింపుకోళ్ళు
# Used as header in a column indicating the amount of time left before a
# download link expires (e.g. "10h 5m")
timeFileList = సమయం
# Used as header in a column indicating the number of times a file has been
# downloaded
downloadFileName = దిగుమతి { $filename }
downloadFileSize = ({ $size })
unlockInputLabel = సంకేతపదాన్ని తెలపండి
unlockInputPlaceholder = సంకేతపదం
unlockButtonLabel = తాళం తీయి
// Text and title used on the download link/button (indicates an action).
# Text and title used on the download link/button (indicates an action).
downloadButtonLabel = దిగుమతి
downloadNotification = మీ దిగుమతి పూర్తయ్యింది.
downloadFinish = దిగుమతి పూర్తయింది
// This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
# This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
fileSizeProgress = { $totalSize }) యొక్క ({ $partialSize }
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
sendYourFilesLink = Firefox sendను ప్రయత్నించండి
downloadingPageProgress = దిగుమతిచేస్తున్నది { $filename } ({ $size })
errorAltText = ఎగుమతిలో లోపం
@@ -56,7 +73,7 @@ updateFirefox = Firefoxను నవీకరించు
downloadFirefoxButtonSub = ఉచిత దిగుమతులు
uploadedFile = దస్త్రం
copyFileList = URL నకలుతీయి
// expiryFileList is used as a column header
# expiryFileList is used as a column header
expiryFileList = ఇంతలో గడువుతీరును
deleteFileList = తొలగించు
nevermindButton = పర్వాలేదు
@@ -67,13 +84,26 @@ deletePopupCancel = రద్దుచేయి
deleteButtonHover = తొలగించు
copyUrlHover = URLను నకలు చేయండి
footerLinkLegal = చట్టపరమైన
// Test Pilot is a proper name and should not be localized.
# Test Pilot is a proper name and should not be localized.
footerLinkAbout = టెస్ట్ పైలట్ గురించి
footerLinkPrivacy = గోప్యత
footerLinkTerms = నియమాలు
footerLinkCookies = కుకీలు
requirePasswordCheckbox = ఈ ఫైల్ను దింపుకోటానికి సంకేతపదం అవసరం
addPasswordButton = సంకేతపదం జోడించండి
changePasswordButton = మార్చు
passwordTryAgain = సరికాని సంకేతపదం. మళ్ళీ ప్రయత్నించండి.
// This label is followed by the password needed to download a file
passwordResult = సంకేతపదం: { $password }
reportIPInfringement = మేధో సంపత్తి హక్కుల ఉల్లంఘనను నివేదించండి
javascriptRequired = Firefox Sendకి జావాస్క్రిప్టు కావాలి
whyJavascript = Firefox Sendకి జావాస్క్రిప్టు ఎందుకు కావాలి?
enableJavascript = జావాస్క్రిప్టు చేతనంచేసి మళ్ళీ ప్రయత్నించండి.
# A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
expiresHoursMinutes = { $hours }గం { $minutes }ని
# A short representation of a countdown timer containing the number of minutes remaining as digits, example "56m"
expiresMinutes = { $minutes }ని
# A short status message shown when a password is successfully set
passwordIsSet = సంకేతపదం అమరింది
# A short status message shown when the user enters a long password
maxPasswordLength = సంకేతపదం గరిష్ఠ పొడవు: { $length }
# A short status message shown when there was an error setting the password
passwordSetError = ఈ సంకేతపదం పెట్టలేకపోయాం

View File

@@ -27,8 +27,10 @@ uploadSvgAlt = Yükle
uploadSuccessTimingHeader = Dosyanız 1 kez indirildikten veya 24 saat geçtikten sonra linkiniz geçersiz olacaktır.
expireInfo = Dosyanızın bağlantısı { $downloadCount } sonra veya { $timespan } zaman aşımına uğrayacaktır.
downloadCount = { $num } indirme
timespanHours = { $num ->
*[one] { $num } saat
timespanHours =
{ $num ->
[one] 1 saat
*[other] { $num } saat
}
copyUrlFormLabelWithName = { $filename } dosyanızı başkasına göndermek için aşağıdaki linki kopyalayın.
copyUrlFormButton = Panoya kopyala

View File

@@ -1,4 +1,4 @@
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteSubtitle = Thử nghiệm trên web
siteFeedback = Phản hồi
@@ -25,24 +25,41 @@ uploadingFileNotification = Thông báo cho tôi khi tải lên hoàn tất.
uploadSuccessConfirmHeader = Đã sẵn sàng để Gửi
uploadSvgAlt = Tải lên
uploadSuccessTimingHeader = Liên kết đến tập tin của bạn sẽ hết hạn sau 1 lượt tải về hoặc trong 24 giờ.
downloadCount =
{ $num ->
*[other] lượt tải
}
timespanHours =
{ $num ->
*[other] giờ
}
copyUrlFormLabelWithName = Sao chép và chia sẻ liên kết để gửi tập tin của bạn: { $filename }
copyUrlFormButton = Sao chép vào vùng nhớ tạm
copiedUrl = Đã sao chép!
deleteFileButton = Xóa tập tin
sendAnotherFileLink = Gửi tập tin khác
// Alternative text used on the download link/button (indicates an action).
# Alternative text used on the download link/button (indicates an action).
downloadAltText = Tải về
# Used as header in a column indicating the amount of time left before a
# download link expires (e.g. "10h 5m")
timeFileList = Thời gian
# Used as header in a column indicating the number of times a file has been
# downloaded
downloadFileName = Tải về { $filename }
downloadFileSize = ({ $size })
// Firefox Send is a brand name and should not be localized.
unlockInputLabel = Nhập mật khẩu
unlockInputPlaceholder = Mật khẩu
unlockButtonLabel = Mở khóa
downloadFileTitle = Tải về tập tin được mã hóa
# Firefox Send is a brand name and should not be localized.
downloadMessage = Bạn của bạn đang gửi một tập tin thông qua Firefox Send, một dịch vụ cho phép bạn chia sẻ tập tin một cách an toàn, riêng tư, có liên kết được mã hóa và sẽ tự động hết hạn để chắc chắn rằng dữ liệu của bạn không nằm mãi mãi trên Internet.
// Text and title used on the download link/button (indicates an action).
# Text and title used on the download link/button (indicates an action).
downloadButtonLabel = Tải về
downloadNotification = Quá trình tải về đã hoàn tất.
downloadFinish = Tải về hoàn tất
// This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
# This message is displayed when uploading or downloading a file, e.g. "(1,3 MB of 10 MB)".
fileSizeProgress = ({ $partialSize } trong { $totalSize })
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
sendYourFilesLink = Dùng thử Firefox Send
downloadingPageProgress = Đang tải về { $filename } ({ $size })
downloadingPageMessage = Vui lòng giữ cửa sổ này mở trong khi chúng tôi lấy tập tin và giải mã chúng.
@@ -54,7 +71,7 @@ fileTooBig = Tập tin này quá lớn để tải lên. Kích thước tập ti
linkExpiredAlt = Liên kết đã hết hạn
expiredPageHeader = Liên kết này đã hết hạn hoặc chưa từng được sử dụng!
notSupportedHeader = Trình duyệt của bạn không được hỗ trợ.
// Firefox Send is a brand name and should not be localized.
# Firefox Send is a brand name and should not be localized.
notSupportedDetail = Thật không may trình duyệt này không hỗ trợ công nghệ đã tạo nên Firefox Send. Bạn cần thử với trình duyệt khác. Chúng tôi khuyên dùng Firefox!
notSupportedLink = Tại sao trình duyệt của tôi không được hỗ trợ?
notSupportedOutdatedDetail = Thật không may là phiên bản Firefox này không hỗ trợ công nghệ được sử dụng trong Firefox Send. Bạn cần cập nhật trình duyệt của bạn.
@@ -62,7 +79,7 @@ updateFirefox = Cập nhật Firefox
downloadFirefoxButtonSub = Tải về miễn phí
uploadedFile = Tập tin
copyFileList = Sao chép URL
// expiryFileList is used as a column header
# expiryFileList is used as a column header
expiryFileList = Hết hạn trong
deleteFileList = Xóa
nevermindButton = Đừng bận tâm
@@ -75,8 +92,23 @@ deletePopupCancel = Hủy bỏ
deleteButtonHover = Xóa
copyUrlHover = Sao chép URL
footerLinkLegal = Pháp lý
// Test Pilot is a proper name and should not be localized.
# Test Pilot is a proper name and should not be localized.
footerLinkAbout = Về Test Pilot
footerLinkPrivacy = Quyền riêng tư
footerLinkTerms = Điều khoản
footerLinkCookies = Cookies
requirePasswordCheckbox = Yêu cầu mật khẩu khi tải về tập tin này
addPasswordButton = Thêm mật khẩu
passwordTryAgain = Sai mật khẩu. Vui lòng thử lại.
reportIPInfringement = Báo cáo vi phạm
javascriptRequired = Firefox Send cần JavaScript
whyJavascript = Tại sao Firefox Send cần JavaScript?
enableJavascript = Vui lòng kích hoạt JavaScript và thử lại.
# A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
expiresHoursMinutes = { $hours } giờ { $minutes } phút
# A short representation of a countdown timer containing the number of minutes remaining as digits, example "56m"
expiresMinutes = { $minutes } phút
# A short status message shown when a password is successfully set
passwordIsSet = Đã đặt mật khẩu
# A short status message shown when the user enters a long password
maxPasswordLength = Độ dài mật khẩu tối đa: { $length }

View File

@@ -0,0 +1,10 @@
FROM ubuntu:xenial
RUN apt-get update && \
apt-get install -y python-pip python-dev && \
pip install tox
COPY . /integration
WORKDIR /integration
RUN tox --notest
CMD ["tox", "-e", "integration-tests"]

View File

@@ -0,0 +1,66 @@
# Integration Tests for [Firefox Send](https://send.firefox.com/).
## How to run the tests locally
### Clone the repository
If you have cloned this project already then you can skip this, otherwise you'll
need to clone this repo using Git. If you do not know how to clone a GitHub
repository, check out this [help page][git-clone] from GitHub.
If you think you would like to contribute to the tests by writing or maintaining
them in the future, it would be a good idea to create a fork of this repository
first, and then clone that. GitHub also has great instructions for
[forking a repository][git-fork].
### App Setup
Please view the README at the root directory of the project.
### Run the tests
Included in the docker-compose file is an image containing Firefox Nightly.
[tox][Tox] is our test environment manager and [pytest][pytest] is the test runner.
To run the tests, execute the commands below:
```sh
npm run build
npm run test-integration
```
### Adding a test
The tests are written in Python using a POM, or Page Object Model. The plugin we use for this is called [pypom][pypom]. Please read the documentation there for good examples on how to use the Page Object Model when writing tests.
The pytest plugin that we use for running tests has a number of advanced command line options available too. The full documentation for the plugin can be found [here][pytest-selenium].
### Watching a test run (within the docker container)
The tests are run on a live version of Firefox, but they are run headless. To access the container where the tests are run to view them follow these steps:
1. Make sure all of the containers are running:
```sh
docker-compose ps
```
If not start them detached:
```sh
docker-compose up -d
```
2. Open your favorite VNC viewer and type in `localhost:5900`.
3. The password is ```secret```.
4. The viewer should open a window with a Ubuntu logo. If that happens you are connected to the ```selenium-firefox``` image and if you start the test, you should see a Firefox window open and the tests running.
### Debugging a failure
Whether a test passes or fails will result in a HTML report being created. This report will have detailed information of the test run and if a test does fail, it will provide geckodriver logs, terminal logs, as well as a screenshot of the browser when the test failed. We use a pytest plugin called [pytest-html][pytest-html] to create this report. The report can be found at ```coverage/send-test.html```. It should be viewed within a browser.
[flake8]: http://flake8.pycqa.org/en/latest/
[git-clone]: https://help.github.com/articles/cloning-a-repository/
[git-fork]: https://help.github.com/articles/fork-a-repo/
[geckodriver]: https://github.com/mozilla/geckodriver/releases/tag/v0.19.1
[pypom]: http://pypom.readthedocs.io/en/latest/
[pytest]: https://docs.pytest.org/en/latest/
[pytest-html]: https://github.com/pytest-dev/pytest-html
[pytest-selenium]: http://pytest-selenium.readthedocs.org/
[Selenium]: http://selenium-python.readthedocs.io/index.html
[selenium-api]: http://selenium-python.readthedocs.io/locating-elements.html
[Tox]: http://tox.readthedocs.io/

View File

@@ -0,0 +1,76 @@
# -*- coding: utf-8 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
"""Configuration files for pytest."""
import pytest
import requests
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.util.retry import Retry
from pages.desktop.download import Download
from pages.desktop.home import Home
@pytest.fixture
def firefox_options(firefox_options, download_location_dir):
"""Firefox options."""
firefox_options.set_preference("browser.download.panel.shown", False)
firefox_options.set_preference(
"browser.helperApps.neverAsk.openFile", "text/plain")
firefox_options.set_preference(
"browser.helperApps.neverAsk.saveToDisk", "text/plain")
firefox_options.set_preference("browser.download.folderList", 2)
firefox_options.set_preference(
"browser.download.dir", "{0}".format(download_location_dir))
firefox_options.add_argument('-foreground')
firefox_options.log.level = 'trace'
return firefox_options
@pytest.fixture(scope='session', autouse=True)
def _verify_url(request, base_url):
"""Verifies the base URL"""
verify = request.config.option.verify_base_url
if base_url and verify:
session = requests.Session()
retries = Retry(backoff_factor=0.1,
status_forcelist=[500, 502, 503, 504])
session.mount(base_url, HTTPAdapter(max_retries=retries))
session.get(base_url, verify=False)
@pytest.fixture
def download_location_dir(tmpdir):
"""Directory for downloading sample file."""
return tmpdir.mkdir('test_download')
@pytest.fixture
def upload_location_dir(tmpdir):
"""Directory for uploading sample file."""
return tmpdir.mkdir('test_upload')
@pytest.fixture
def test_file(upload_location_dir):
"""Create test upload/download file."""
setattr(test_file, 'name', 'sample.txt')
setattr(test_file, 'location', upload_location_dir.join(test_file.name))
return test_file
@pytest.fixture
def download_file(upload_file):
"""Uploads and downloads a file"""
download = Download(upload_file.selenium, upload_file.file_url).open()
download.download_btn.click()
return download
@pytest.fixture
def upload_file(selenium, base_url, download_location_dir, test_file):
"""Upload file fixture."""
home = Home(selenium, base_url).open()
test_file.location.write('This is a test! This is a test!')
return home.upload_area("{0}".format(test_file.location.realpath()))

View File

View File

@@ -0,0 +1,41 @@
from pypom import Page, Region
from selenium.webdriver.common.by import By
class Base(Page):
"""Base object model."""
_url = '{base_url}'
_send_logo_locator = (By.CLASS_NAME, 'logo')
def __init__(self, selenium, base_url, locale='en-US', **kwargs):
super(Base, self).__init__(
selenium, base_url, locale=locale, timeout=20, **kwargs)
def wait_for_page_to_load(self):
self.wait.until(
lambda _: self.find_element(
*self._send_logo_locator).is_displayed())
return self
@property
def footer(self):
return self.Footer(self)
class Footer(Region):
_root_element = (By.CLASS_NAME, 'footer')
_legal_links = (By.CLASS_NAME, 'legalSection__link')
@property
def links(self):
return [self.Links(self, el) for el in self.find_elements(
*self._legal_links)]
class Links(Region):
@property
def name(self):
return self.root.text.split()[0]
def click(self):
self.root.click()

View File

@@ -0,0 +1,17 @@
from selenium.webdriver.common.by import By
from pages.desktop.base import Base
class Download(Base):
"""Download page object model."""
_download_button_locator = (By.CLASS_NAME, 'btn--download')
def wait_for_page_to_load(self):
self.wait.until(lambda _: self.download_btn.is_displayed())
@property
def download_btn(self):
"""Download button."""
return self.find_element(*self._download_button_locator)

View File

@@ -0,0 +1,26 @@
from selenium.webdriver.common.by import By
from pages.desktop.base import Base
class Home(Base):
"""Firefox Send Home page object model."""
_upload_area_locator = (By.ID, 'file-upload')
_upload_button_locator = (By.CLASS_NAME, 'btn--file')
@property
def upload_btn(self):
"""Upload button."""
return self.find_element(*self._upload_button_locator)
def upload_area(self, path, cancel=False):
"""Area that allows for drag and drop uploading.
Returns Progress Object.
"""
self.find_element(*self._upload_area_locator).send_keys(path)
from pages.desktop.progress import Progress
return Progress(
self.selenium, self.base_url).wait_for_page_to_load(
cancel_after_load=cancel)

View File

@@ -0,0 +1,25 @@
from selenium.webdriver.common.by import By
from pages.desktop.base import Base
class Progress(Base):
"""Progress page object model."""
_cancel_button = (By.ID, 'cancel-upload')
_progress_icon_locator = (By.CLASS_NAME, 'progress__bar')
def wait_for_page_to_load(self, cancel_after_load=False):
self.wait.until(
lambda _: self.find_element(
*self._progress_icon_locator).is_displayed())
if cancel_after_load:
self.cancel_btn.click()
return
from pages.desktop.share import Share
return Share(self.selenium, self.base_url).wait_for_page_to_load()
@property
def cancel_btn(self):
"""Cancel upload button."""
return self.find_element(*self._cancel_button)

View File

@@ -0,0 +1,22 @@
from selenium.webdriver.common.by import By
from pages.desktop.base import Base
class Share(Base):
"""SHare page object model."""
_share_page_locator = (By.CLASS_NAME, 'sharePage')
_share_url_locator = (By.ID, 'fileUrl')
def wait_for_page_to_load(self):
self.wait.until(
lambda _: self.find_element(
*self._share_page_locator).is_displayed())
return self
@property
def file_url(self):
"""File uploaded URL."""
return self.find_element(
*self._share_url_locator).get_property('value')

View File

@@ -0,0 +1,8 @@
selenium==3.12.0
flake8==3.5.0
flake8-isort==2.5
PyPOM==2.0.0
pytest==3.5.1
pytest-html==1.17.0
pytest-selenium==1.12.0
pytest-xdist==1.22.2

View File

@@ -0,0 +1,6 @@
"""Test files regarding downloads."""
def test_download(download_file, download_location_dir, test_file):
"""Test downloaded file matches uploaded file."""
assert download_location_dir.ensure(test_file.name)

View File

@@ -0,0 +1,14 @@
import pytest
from pages.desktop.base import Base
footer_links = ['mozilla', 'mozilla', 'about', 'legal', 'legal', 'cookies',
'report-infringement']
@pytest.mark.parametrize('i, name', enumerate(footer_links))
def test_legal_links(selenium, base_url, i, name):
"""Test links in footer load correct pages."""
page = Base(selenium, base_url).open()
page.footer.links[i].click()
assert name in selenium.current_url

View File

@@ -0,0 +1,6 @@
"""Test files regarding the upload progress pages."""
def test_progress(upload_file):
"""Test progress icon shows while uploading."""
assert upload_file

View File

@@ -0,0 +1,6 @@
"""Test files regarding uploading."""
def test_upload(upload_file):
"""Test file upload and creates URL."""
assert upload_file.file_url is not None

19
test/integration/tox.ini Executable file
View File

@@ -0,0 +1,19 @@
[tox]
envlist = integration-tests, flake8
skipsdist = True
[testenv]
skip_install = True
deps = -rrequirements.txt
commands =
pytest -v --verify-base-url --base-url {env:BASE_URL:http://web:1443} --driver Remote --capability browserName firefox --host selenium --html=/coverage/send-test.html --self-contained-html {posargs}
[testenv:flake8]
commands =
flake8 {posargs:.}
[flake8]
exclude = .eggs,.tox,docs,node_modules
[pytest]
sensitive_url = mozilla\.(com|org)