only show in progress as header for INPROGRESS_METADATA_EXTRACTION

This commit is contained in:
Abhinav 2022-09-24 12:42:57 +05:30
parent d11a0b47bb
commit d367967651
2 changed files with 5 additions and 2 deletions

View file

@ -20,7 +20,9 @@ export const InProgressSection = () => {
return (
<UploadProgressSection>
<UploadProgressSectionTitle expandIcon={<ExpandMoreIcon />}>
{constants.INPROGRESS_UPLOADS}
{uploadStage === UPLOAD_STAGES.EXTRACTING_METADATA
? constants.INPROGRESS_METADATA_EXTRACTION
: constants.INPROGRESS_UPLOADS}
</UploadProgressSectionTitle>
<UploadProgressSectionContent>
{hasLivePhotos && (

View file

@ -544,7 +544,8 @@ const englishConstants = {
'Skipped these as there are files with matching names in the same album',
UNSUPPORTED_INFO: 'ente does not support these file formats yet',
BLOCKED_UPLOADS: 'Blocked uploads',
INPROGRESS_UPLOADS: 'In progress',
INPROGRESS_METADATA_EXTRACTION: 'In progress',
INPROGRESS_UPLOADS: 'Uploads in progress',
TOO_LARGE_UPLOADS: 'Large files',
LARGER_THAN_AVAILABLE_STORAGE_UPLOADS: 'Insufficient storage',
LARGER_THAN_AVAILABLE_STORAGE_INFO: