1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 13:13:00 +01:00

refactored ftl file

This commit is contained in:
Abhinav Adduri 2017-07-20 15:47:59 -07:00
parent 8d419072d7
commit 2c77d94af7
4 changed files with 31 additions and 27 deletions

View File

@ -321,7 +321,7 @@ $(document).ready(function() {
popupDiv.classList.add('popup'); popupDiv.classList.add('popup');
const popupDelSpan = document.createElement('span'); const popupDelSpan = document.createElement('span');
$(popupDelSpan).addClass('del-file'); $(popupDelSpan).addClass('del-file');
$(popupDelSpan).attr('data-l10n-id', 'sentFilesTitle4'); $(popupDelSpan).attr('data-l10n-id', 'deleteFileList');
const popupNvmSpan = document.createElement('span'); const popupNvmSpan = document.createElement('span');
$(popupNvmSpan).addClass('nvm'); $(popupNvmSpan).addClass('nvm');

View File

@ -7,7 +7,7 @@ uploadPageLearnMore = Learn more
uploadPageDropMessage = Drop your file here to start uploading uploadPageDropMessage = Drop your file here to start uploading
uploadPageSizeMessage = For the most reliable operation, its best to keep your file under 1GB uploadPageSizeMessage = For the most reliable operation, its best to keep your file under 1GB
uploadPageBrowseButton = Select a file on your computer uploadPageBrowseButton = Select a file on your computer
.title = {uploadPageBrowseButtonTitle} .title = Select a file on your computer
uploadPageMultipleFilesAlert = Uploading multiple files or a folder is currently not supported. uploadPageMultipleFilesAlert = Uploading multiple files or a folder is currently not supported.
uploadPageBrowseButtonTitle = Upload file uploadPageBrowseButtonTitle = Upload file
@ -19,66 +19,70 @@ notifyUploadDone = Your upload has finished.
uploadingPageMessage = Once your file uploads you will be able to set expiry options. uploadingPageMessage = Once your file uploads you will be able to set expiry options.
uploadingPageCancel = Cancel upload uploadingPageCancel = Cancel upload
.title = {uploadingPageCancel} .title = Cancel upload
uploadCancelNotification = Your upload was cancelled. uploadCancelNotification = Your upload was cancelled.
uploadingPageLargeFileMessage = This file is large and may take awhile to upload. Sit tight! uploadingPageLargeFileMessage = This file is large and may take awhile to upload. Sit tight!
uploadingFileNotification = Notify me when the upload is complete. uploadingFileNotification = Notify me when the upload is complete.
uploadSuccessConfirmHeader = Ready to Send uploadSuccessConfirmHeader = Ready to Send
uploadSvgAlt.alt = Upload uploadSvgAlt
.alt = Upload
//Note the spec suggests that this string is editable. That feature will not appear at Launch
uploadSuccessTimingHeader = The link to your file will expire after 1 download or in 24 hours. uploadSuccessTimingHeader = The link to your file will expire after 1 download or in 24 hours.
copyUrlFormLabel = Copy and share the link to send your file: copyUrlFormLabel = Copy and share the link to send your file:
copyUrlFormLabelWithName = Copy and share the link to send your file: { $filename } copyUrlFormLabelWithName = Copy and share the link to send your file: { $filename }
// Note: Title text for button should be the same // Note: Title text for button should be the same
copyUrlFormButton = Copy to clipboard copyUrlFormButton = Copy to clipboard
.title = {copyUrlFormButton} .title = Copy to clipboard
copiedUrl = Copied! copiedUrl = Copied!
deleteFileButton = Delete file deleteFileButton = Delete file
.title = {deleteFileButton} .title = Delete file
sendAnotherFileLink = Send another file sendAnotherFileLink = Send another file
.title = {sendAnotherFileLink} .title = Send another file
downloadAltText.alt = Download downloadAltText
.alt = Download
downloadFileName = Download { $filename } downloadFileName = Download { $filename }
downloadFileSize = ({ $size }) downloadFileSize = ({ $size })
downloadMessage = 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. downloadMessage = 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.
downloadButtonLabel = Download downloadButtonLabel = Download
.title = {downloadButtonLabel} .title = Download
downloadNotification = Your download has completed. downloadNotification = Your download has completed.
downloadFinish = Download Complete downloadFinish = Download Complete
sendYourFilesLink = Try Firefox Send sendYourFilesLink = Try Firefox Send
.title = {sendYourFilesLink} .title = Try Firefox Send
downloadingPageProgress = Downloading { $filename } ({ $size }) downloadingPageProgress = Downloading { $filename } ({ $size })
downloadingPageMessage = Please leave this tab open while we fetch your file and decrypt it. downloadingPageMessage = Please leave this tab open while we fetch your file and decrypt it.
errorAltText.alt = Upload error errorAltText
.alt = Upload error
errorPageHeader = Something went wrong! errorPageHeader = Something went wrong!
errorPageMessage = There has been an error uploading the file. errorPageMessage = There has been an error uploading the file.
errorPageLink = Send another file errorPageLink = Send another file
linkExpiredAlt.alt = Link expired linkExpiredAlt
.alt = Link expired
expiredPageHeader = This link has expired or never existed in the first place! expiredPageHeader = This link has expired or never existed in the first place!
notSupportedHeader = Your browser is not supported. notSupportedHeader = Your browser is not supported.
notSupportedDetail = Unfortunately this browser does not support the web technology that powers Firefox Send. You'll need to try another browser. We recommend Firefox! notSupportedDetail = Unfortunately this browser does not support the web technology that powers Firefox Send. You'll need to try another browser. We recommend Firefox!
downloadFirefoxButtonSub = Free Download downloadFirefoxButtonSub = Free Download
sentFilesTitle1 = File uploadedFile = File
sentFilesTitle2 = Copy URL copyFileList = Copy URL
sentFilesTitle3 = Expires In expiryFileList = Expires In
sentFilesTitle4 = Delete deleteFileList = Delete
nevermindButton = Nevermind nevermindButton = Nevermind
deleteButtonHover.title = {sentFilesTitle4}
copyUrlHover.title = {sentFilesTitle2} deleteButtonHover
.title = Delete
copyUrlHover
.title = Copy URL
footerLinkLegal = Legal footerLinkLegal = Legal
footerLinkAbout = About Test Pilot footerLinkAbout = About Test Pilot

View File

@ -20,10 +20,10 @@
<thead> <thead>
<tr> <tr>
<!-- htmllint attr-bans="false" --> <!-- htmllint attr-bans="false" -->
<th width="35%" data-l10n-id="sentFilesTitle1"></th> <th width="35%" data-l10n-id="uploadedFile"></th>
<th width="25%" data-l10n-id="sentFilesTitle2"></th> <th width="25%" data-l10n-id="copyFileList"></th>
<th width="21%" data-l10n-id="sentFilesTitle3"></th> <th width="21%" data-l10n-id="expiryFileList"></th>
<th width="12%" data-l10n-id="sentFilesTitle4"></th> <th width="12%" data-l10n-id="deleteFileList"></th>
<!-- htmllint tag-bans="$previous" --> <!-- htmllint tag-bans="$previous" -->
</tr> </tr>
</thead> </thead>

View File

@ -9,7 +9,7 @@
<meta name="defaultLanguage" content="en-US"> <meta name="defaultLanguage" content="en-US">
<meta name="availableLanguages" content="en-US"> <meta name="availableLanguages" content="en-US">
<link rel="localization" href="/locales/send.{locale}.ftl"> <link rel="localization" href="/locales/{locale}/send.ftl">
<script defer src="/l20n/dist/web/l20n.js"></script> <script defer src="/l20n/dist/web/l20n.js"></script>
</head> </head>
<body> <body>