-
Notifications
You must be signed in to change notification settings - Fork 1.6k
refactored ftl file #269
refactored ftl file #269
Changes from 6 commits
2c77d94
47fd387
8ebfaf9
28e496f
b123b73
168a711
eb73dbf
330da9b
4065bbc
10d489f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}**" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// Firefox Send is a brand name and should not be localized. | ||
title = Firefox Send | ||
|
||
uploadPageHeader = Private, Encrypted File Sharing | ||
|
@@ -7,7 +8,7 @@ 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 | ||
|
@@ -19,68 +20,82 @@ 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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 4 spaces indentation There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed. |
||
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 } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's the difference between these two strings? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you show me a screenshot of these two strings? I'm not sure I understand how and when they would be used, e.g. the first has a colon because it's followed by something? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
// 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} | ||
.title = Send another file | ||
|
||
downloadAltText.alt = Download | ||
// Alternative text used on the download link/button (indicates an action). | ||
downloadAltText | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this an alt text on a button or link? We need a comment to explain it's an action, not a noun There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's an alt text on an svg element. I'll go ahead and add in a comment. |
||
.alt = Download | ||
downloadFileName = Download { $filename } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One space before = There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed, thanks! |
||
|
||
downloadFileSize = ({ $size }) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where does size come from and how it's formatted? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The file size comes in from the server and is rendered through handlebars to the ftl file. It's a string in a human readable format, i.e. 12 Mb. |
||
// 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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs a note in case Firefox Send should not be localized |
||
.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 | ||
|
||
|
||
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 | ||
|
||
|
||
sentFilesTitle1 = File | ||
sentFilesTitle2 = Copy URL | ||
sentFilesTitle3 = Expires In | ||
sentFilesTitle4 = Delete | ||
uploadedFile = File | ||
copyFileList = Copy URL | ||
// expiryFileList is used as a column header | ||
expiryFileList = Expires In | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How is this string used? It smells of contenation There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is this string followed by? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, can you add a comment explaining that? As simple as // expiryFileList is used as a column header P.S. I'm in EU timezone, I'll probably catch up next week with this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure thing. Thanks for all the suggestions! |
||
deleteFileList = Delete | ||
nevermindButton = Never mind | ||
|
||
nevermindButton = Nevermind | ||
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 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you actually need the string on the entity, or only on the title attribute? If it's the former, this should be
Same question for similar strings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need the string on the entity as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. @mathjazz is this going to work without issues in Pontoon?