add upload section for thumbnail generation failed files
This commit is contained in:
parent
f67e5e67d0
commit
541a1cec4b
|
@ -328,6 +328,18 @@ export default function UploadProgress(props: Props) {
|
|||
sectionTitle={constants.UNSUPPORTED_FILES}
|
||||
sectionInfo={constants.UNSUPPORTED_INFO}
|
||||
/>
|
||||
|
||||
<ResultSection
|
||||
filenames={props.filenames}
|
||||
fileUploadResultMap={fileUploadResultMap}
|
||||
fileUploadResult={
|
||||
FileUploadResults.UPLOADED_WITH_BLACK_THUMBNAIL
|
||||
}
|
||||
sectionTitle={
|
||||
constants.THUMBNAIL_GENERATION_FAILED_UPLOADS
|
||||
}
|
||||
sectionInfo={constants.TOO_LARGE_INFO}
|
||||
/>
|
||||
</Modal.Body>
|
||||
{props.uploadStage === UPLOAD_STAGES.FINISH && (
|
||||
<Modal.Footer style={{ border: 'none' }}>
|
||||
|
|
|
@ -557,6 +557,7 @@ const englishConstants = {
|
|||
RETRY_FAILED: 'retry failed uploads',
|
||||
FAILED_UPLOADS: 'failed uploads ',
|
||||
SKIPPED_FILES: 'ignored uploads',
|
||||
THUMBNAIL_GENERATION_FAILED_UPLOADS: 'thumbnail generation failed',
|
||||
UNSUPPORTED_FILES: 'unsupported files',
|
||||
SUCCESSFUL_UPLOADS: 'successful uploads',
|
||||
SKIPPED_INFO:
|
||||
|
@ -570,6 +571,8 @@ const englishConstants = {
|
|||
'these files were not uploaded as they exceed the maximum size limit for your storage plan',
|
||||
TOO_LARGE_INFO:
|
||||
'these files were not uploaded as they exceed our maximum file size limit',
|
||||
THUMBNAIL_GENERATION_FAILED_INFO:
|
||||
'Your video was uploaded, but unfortunately we could not generate the thumbnail and metadata for the file. You can re-upload the file using the ente website or our mobile apps if you wish to fix the thumbnail and the metadata',
|
||||
UPLOAD_TO_COLLECTION: 'upload to album',
|
||||
ARCHIVE: 'archive',
|
||||
ALL: 'all',
|
||||
|
|
Loading…
Reference in a new issue