mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 02:12:30 +01:00
Merge branch 'master' of github.com:mifi/lossless-cut
This commit is contained in:
commit
3206ba3868
@ -210,7 +210,7 @@ const Stream = memo(({ filePath, stream, onToggle, batchSetCopyStreamIds, copySt
|
||||
</td>
|
||||
|
||||
<td style={{ display: 'flex', justifyContent: 'flex-end' }}>
|
||||
<IconButton icon={InfoSignIcon} onClick={() => onInfoClick(stream, t('Track {{num}} info', { num: stream.index + 1 }))} appearance="minimal" iconSize={18} />
|
||||
<IconButton icon={InfoSignIcon} title={t('Track {{num}} info', { num: stream.index + 1 })} onClick={() => onInfoClick(stream, t('Track {{num}} info', { num: stream.index + 1 }))} appearance="minimal" iconSize={18} />
|
||||
|
||||
<Popover
|
||||
position={Position.BOTTOM_LEFT}
|
||||
@ -254,12 +254,12 @@ const FileHeading = ({ path, formatData, chapters, onTrashClick, onEditClick, se
|
||||
|
||||
<div style={{ flexGrow: 1 }} />
|
||||
|
||||
<IconButton icon={InfoSignIcon} onClick={() => onInfoClick(formatData, t('File info'))} appearance="minimal" iconSize={18} />
|
||||
<IconButton icon={InfoSignIcon} title={t('File info')} onClick={() => onInfoClick(formatData, t('File info'))} appearance="minimal" iconSize={18} />
|
||||
{chapters && chapters.length > 0 && <IconButton icon={BookIcon} onClick={() => onInfoClick(chapters, t('Chapters'))} appearance="minimal" iconSize={18} />}
|
||||
{onEditClick && <IconButton icon={EditIcon} onClick={onEditClick} appearance="minimal" iconSize={18} />}
|
||||
{onEditClick && <IconButton icon={EditIcon} title={t('Edit file metadata')} onClick={onEditClick} appearance="minimal" iconSize={18} />}
|
||||
{onTrashClick && <IconButton icon={TrashIcon} onClick={onTrashClick} appearance="minimal" iconSize={18} />}
|
||||
<IconButton iconSize={18} color="#52BD95" icon={FaCheckCircle} onClick={() => setCopyAllStreams(true)} appearance="minimal" />
|
||||
<IconButton iconSize={18} color="#D14343" icon={FaBan} onClick={() => setCopyAllStreams(false)} appearance="minimal" />
|
||||
<IconButton iconSize={18} color="#52BD95" icon={FaCheckCircle} title={t('Keep all tracks')} onClick={() => setCopyAllStreams(true)} appearance="minimal" />
|
||||
<IconButton iconSize={18} color="#D14343" icon={FaBan} title={t('Discard all tracks')} onClick={() => setCopyAllStreams(false)} appearance="minimal" />
|
||||
{onExtractAllStreamsPress && <IconButton iconSize={16} title={t('Export each track as individual files')} icon={ForkIcon} onClick={onExtractAllStreamsPress} appearance="minimal" />}
|
||||
</div>
|
||||
);
|
||||
@ -333,7 +333,7 @@ const StreamsSelector = memo(({
|
||||
|
||||
return (
|
||||
<>
|
||||
<p style={{ margin: '.5em 1em' }}>{t('Click to select which tracks to keep when exporting:')}</p>
|
||||
<p style={{ margin: '.5em 2em .5em 1em' }}>{t('Click to select which tracks to keep when exporting:')}</p>
|
||||
|
||||
<div style={fileStyle}>
|
||||
{/* We only support editing main file metadata for now */}
|
||||
|
Loading…
Reference in New Issue
Block a user