diff --git a/frontend/src/upload.js b/frontend/src/upload.js index 31df86ca9..842797606 100644 --- a/frontend/src/upload.js +++ b/frontend/src/upload.js @@ -467,10 +467,8 @@ $(document).ready(function() { popupDiv.classList.add('popup'); const $popupMessage = $('
', { class: 'popup-message' }); $popupMessage.attr('data-l10n-id', 'deletePopupText'); - const $popupDelSpan = $('', { class: 'popup-yes' }); $popupDelSpan.attr('data-l10n-id', 'deletePopupYes'); - const $popupNvmSpan = $('', { class: 'popup-no' }); $popupNvmSpan.attr('data-l10n-id', 'deletePopupCancel'); diff --git a/l10n.toml b/l10n.toml new file mode 100644 index 000000000..531ad8fdd --- /dev/null +++ b/l10n.toml @@ -0,0 +1,12 @@ +# 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/. + +basepath = "." + +[env] + l = "{l10n_base}/public/locales/{locale}/" + +[[paths]] + reference = "public/locales/en-US/**" + l10n = "{l}**" diff --git a/public/locales/send.en-US.ftl b/public/locales/en-US/send.ftl similarity index 65% rename from public/locales/send.en-US.ftl rename to public/locales/en-US/send.ftl index 5e57d6d5d..c67fa3829 100644 --- a/public/locales/send.en-US.ftl +++ b/public/locales/en-US/send.ftl @@ -1,98 +1,95 @@ +// Firefox Send is a brand name and should not be localized. title = Firefox Send siteSubtitle = web experiment siteFeedback = Feedback - uploadPageHeader = Private, Encrypted File Sharing uploadPageExplainer = Send files through a safe, private, and encrypted link that automatically expires to ensure your stuff does not remain online forever. - uploadPageLearnMore = Learn more uploadPageDropMessage = Drop your file here to start uploading uploadPageSizeMessage = For the most reliable operation, it’s best to keep your file under 1GB 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. - uploadPageBrowseButtonTitle = Upload file - uploadingPageHeader = Uploading Your File -importingFile = Importing... -verifyingFile = Verifying... -encryptingFile = Encrypting... -decryptingFile = Decrypting... - +importingFile = Importing… +verifyingFile = Verifying… +encryptingFile = Encrypting… +decryptingFile = Decrypting… notifyUploadDone = Your upload has finished. - - uploadingPageMessage = Once your file uploads you will be able to set expiry options. uploadingPageCancel = Cancel upload - .title = {uploadingPageCancel} + .title = Cancel upload 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 a while to upload. Sit tight! uploadingFileNotification = Notify me when the upload is complete. uploadSuccessConfirmHeader = Ready to Send - -uploadSvgAlt.alt = Upload - - -//Note the spec suggests that this string is editable. That feature will not appear at Launch +uploadSvgAlt + .alt = Upload 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: 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 - .title = {copyUrlFormButton} - + .title = Copy to clipboard copiedUrl = Copied! - +// Note: Title text for button should be the same. deleteFileButton = Delete file - .title = {deleteFileButton} + .title = Delete file +// Note: Title text for button should be the same. sendAnotherFileLink = Send another file - .title = {sendAnotherFileLink} - -downloadAltText.alt = Download -downloadFileName = Download { $filename } + .title = Send another file +// Alternative text used on the download link/button (indicates an action). +downloadAltText + .alt = Download +downloadFileName = Download { $filename } downloadFileSize = ({ $size }) +// Firefox Send is a brand name and should not be localized. 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. +// Text and title used on the download link/button (indicates an action). downloadButtonLabel = Download - .title = {downloadButtonLabel} + .title = Download downloadNotification = Your download has completed. downloadFinish = Download Complete - +// Firefox Send is a brand name and should not be localized. Title text for button should be the same. sendYourFilesLink = Try Firefox Send - .title = {sendYourFilesLink} + .title = Try Firefox Send downloadingPageProgress = Downloading { $filename } ({ $size }) 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! errorPageMessage = There has been an error uploading the file. errorPageLink = Send another file - fileTooBig = That file is too big to upload. It should be less than { $size }. - -linkExpiredAlt.alt = Link expired +linkExpiredAlt + .alt = Link expired expiredPageHeader = This link has expired or never existed in the first place! 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! +// Firefox Send is a brand name and should not be localized. +notSupportedDetail = Unfortunately this browser does not support the web technology that powers Firefox Send. You’ll need to try another browser. We recommend Firefox! downloadFirefoxButtonSub = Free Download - +uploadedFile = File +copyFileList = Copy URL +// expiryFileList is used as a column header +expiryFileList = Expires In +deleteFileList = Delete +nevermindButton = Never mind +deleteButtonHover + .title = Delete +copyUrlHover + .title = Copy URL legalHeader = Terms & Privacy legalNoticeTestPilot = Firefox Send is currently a Test Pilot experiment, and subject to the Test Pilot Terms of Service and Privacy Notice. You can learn more about this experiment and its data collection here. legalNoticeMozilla = Use of the Firefox Send website is also subject to Mozilla’s Websites Privacy Notice and Websites Terms of Use. - -sentFilesTitle1 = File -sentFilesTitle2 = Copy URL -sentFilesTitle3 = Expires In -sentFilesTitle4 = Delete - deletePopupText = Delete this file? deletePopupYes = Yes deletePopupCancel = Cancel -deleteButtonHover.title = {sentFilesTitle4} -copyUrlHover.title = {sentFilesTitle2} - +deleteButtonHover + .title = Delete +copyUrlHover + .title = Copy URL footerLinkLegal = Legal +// Test Pilot is a proper name and should not be localized. footerLinkAbout = About Test Pilot footerLinkPrivacy = Privacy footerLinkTerms = Terms diff --git a/views/index.handlebars b/views/index.handlebars index 47a77a6f3..527f54c44 100644 --- a/views/index.handlebars +++ b/views/index.handlebars @@ -21,10 +21,10 @@ - - - - + + + + @@ -55,7 +55,7 @@