finished localizations except for download.js

This commit is contained in:
Abhinav Adduri 2017-07-18 15:46:44 -07:00
parent 45eccc1cad
commit 7ed30f497b
8 changed files with 546 additions and 2461 deletions

View file

@ -1,4 +1,3 @@
<div class="send-logo">
<img src="/resources/send_logo.svg"/>
<img src="/resources/send_logo_type.svg"/>
@ -8,24 +7,25 @@
{{#if filename}}
<div id="download-page-one">
<div class="title">
Download <span id="dl-filename">{{{filename}}}</span> ({{{filesize}}})
</div>
<div class="description">
Your friend is sending you a file with Firefox Send, a service that allows you to share files with a safe, private, and encrypted link that automatically expires to ensure your stuff does not remain online forever.
<span id="dl-filename"
data-l10n-id="downloadFileName"
data-l10n-args='{"filename": "{{{filename}}}"}'></span>
<span data-l10n-id="downloadFileSize"
data-l10n-args='{"size": "{{{filesize}}}"}'></span>
</div>
<div class="description" data-l10n-id="downloadMessage"></div>
<img src="/resources/illustration_download.svg" id="download-img" alt="Download"/>
<div>
<button id="download-btn" title="Download">Download</button>
<button id="download-btn" data-l10n-id="downloadButtonLabel"></button>
</div>
</div>
<div id="download-progress">
<div class="title">
Downloading {{{filename}}} ({{{filesize}}})
</div>
<div class="description">
Please leave this tab open while we fetch your file and decrypt it.
<div class="title"
data-l10n-id="downloadingPageProgress"
data-l10n-args='{"filename": "{{{filename}}}", "size": "{{{filesize}}}"}'>
</div>
<div class="description" data-l10n-id="downloadingPageMessage"></div>
<!-- progress bar here -->
<div class="progress-bar" id="dl-progress">
<div class="percentage">
@ -38,23 +38,15 @@
</div>
</div>
<div class="send-new" title="Try Firefox Send">
Try Firefox Send
</div>
<div class="send-new" data-l10n-id="sendYourFilesLink"></div>
{{else}}
<div class="title">
This link has expired or never existed in the first place.
</div>
<div class="title" data-l10n-id="expiredPageHeader"></div>
<div class="share-window">
<img src="/resources/illustration_expired.svg" id="expired-img" alt="Link expired" />
</div>
<div class="expired-description">
Send files through a safe, private, and encrypted link that automatically expires to ensure your stuff does not remain online forever.
</div>
<div class="send-new" title="Try Firefox Send">
Try Firefox Send
</div>
<div class="expired-description" data-l10n-id="uploadPageExplainer"></div>
<div class="send-new" data-l10n-id="sendYourFilesLink"></div>
{{/if}}
</div>
</div>