update strings

This commit is contained in:
Abhinav 2021-11-17 13:05:41 +05:30
parent 29ecff60d6
commit d15cef404d
2 changed files with 6 additions and 3 deletions

View file

@ -77,7 +77,10 @@ export default function FixCreationTime(props: Props) {
show={props.isOpen}
onHide={props.hide}
attributes={{
title: constants.FIX_CREATION_TIME,
title:
fixState === FIX_STATE.RUNNING
? constants.FIX_CREATION_TIME_IN_PROGRESS
: constants.FIX_CREATION_TIME,
staticBackdrop: true,
nonClosable: true,
}}>

View file

@ -597,17 +597,17 @@ const englishConstants = {
<>could not compress some of your thumbnails, please retry</>
),
FIX_CREATION_TIME: 'fix time',
FIX_CREATION_TIME_IN_PROGRESS: 'fixing time',
CREATION_TIME_UPDATED: `file time updated`,
UPDATE_CREATION_TIME_NOT_STARTED: () => (
<>update file time with values from EXIF</>
<>do you want to fix time with the values found in EXIF</>
),
UPDATE_CREATION_TIME_COMPLETED: () => <>successfully updated all files</>,
UPDATE_CREATION_TIME_COMPLETED_WITH_ERROR: () => (
<>file time updation failed for some files, please retry</>
),
FIX_CREATION_TIME_LATER: 'update later',
FILE_NAME_CHARACTER_LIMIT: '100 characters max',
};