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

View file

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