update string constant name for fix large thumbnail

This commit is contained in:
Abhinav 2021-11-03 16:05:01 +05:30
parent e052da48ff
commit 51923850cb
2 changed files with 6 additions and 5 deletions

View file

@ -189,7 +189,8 @@ export default function FixLargeThumbnails(props: Props) {
display: 'flex', display: 'flex',
justifyContent: 'space-around', justifyContent: 'space-around',
}}> }}>
{fixState === FIX_STATE.NOT_STARTED ? ( {fixState === FIX_STATE.NOT_STARTED ||
fixState === FIX_STATE.FIX_LATER ? (
<Button <Button
block block
variant={'outline-secondary'} variant={'outline-secondary'}
@ -197,7 +198,7 @@ export default function FixLargeThumbnails(props: Props) {
updateFixState(FIX_STATE.FIX_LATER); updateFixState(FIX_STATE.FIX_LATER);
props.hide(); props.hide();
}}> }}>
{constants.FIX_LATER} {constants.FIX_THUMBNAIL_LATER}
</Button> </Button>
) : ( ) : (
<Button <Button
@ -217,7 +218,7 @@ export default function FixLargeThumbnails(props: Props) {
block block
variant={'outline-success'} variant={'outline-success'}
onClick={() => startFix()}> onClick={() => startFix()}>
{constants.FIX} {constants.FIX_THUMBNAIL}
</Button> </Button>
</> </>
)} )}

View file

@ -579,8 +579,8 @@ const englishConstants = {
SORT_BY_COLLECTION_NAME: 'album name', SORT_BY_COLLECTION_NAME: 'album name',
FIX_LARGE_THUMBNAILS: 'compress thumbnails', FIX_LARGE_THUMBNAILS: 'compress thumbnails',
THUMBNAIL_REPLACED: 'thumbnails compressed', THUMBNAIL_REPLACED: 'thumbnails compressed',
FIX: 'compress', FIX_THUMBNAIL: 'compress',
FIX_LATER: 'compress later', FIX_THUMBNAIL_LATER: 'compress later',
REPLACE_THUMBNAIL_NOT_STARTED: () => ( REPLACE_THUMBNAIL_NOT_STARTED: () => (
<> <>
some of your videos thumbnails can be compressed to save space. some of your videos thumbnails can be compressed to save space.