Merge pull request #828 from ente-io/remove-elp-extension-for-live-photo
remove the use of elp extension
This commit is contained in:
commit
744e14ada6
|
@ -26,8 +26,6 @@ interface LivePhotoIdentifier {
|
||||||
size: number;
|
size: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ENTE_LIVE_PHOTO_FORMAT = 'elp';
|
|
||||||
|
|
||||||
const UNDERSCORE_THREE = '_3';
|
const UNDERSCORE_THREE = '_3';
|
||||||
|
|
||||||
const UNDERSCORE = '_';
|
const UNDERSCORE = '_';
|
||||||
|
@ -79,9 +77,7 @@ export function getLivePhotoSize(livePhotoAssets: LivePhotoAssets) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getLivePhotoName(livePhotoAssets: LivePhotoAssets) {
|
export function getLivePhotoName(livePhotoAssets: LivePhotoAssets) {
|
||||||
return `${
|
return livePhotoAssets.image.name;
|
||||||
splitFilenameAndExtension(livePhotoAssets.image.name)[0]
|
|
||||||
}.${ENTE_LIVE_PHOTO_FORMAT}`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function readLivePhoto(
|
export async function readLivePhoto(
|
||||||
|
|
|
@ -562,7 +562,7 @@ const englishConstants = {
|
||||||
),
|
),
|
||||||
|
|
||||||
LIVE_PHOTOS_DETECTED:
|
LIVE_PHOTOS_DETECTED:
|
||||||
'The photo and video files from your Live Photos have been merged into a single ELP file',
|
'The photo and video files from your Live Photos have been merged into a single file',
|
||||||
|
|
||||||
RETRY_FAILED: 'Retry failed uploads',
|
RETRY_FAILED: 'Retry failed uploads',
|
||||||
FAILED_UPLOADS: 'Failed uploads ',
|
FAILED_UPLOADS: 'Failed uploads ',
|
||||||
|
|
Loading…
Reference in a new issue