If formats selection enabled: Show "select format" string in button
(instead of start)
This commit is contained in:
@@ -335,7 +335,7 @@ export default function Home({ socket }: Props) {
|
|||||||
disabled={url === ''}
|
disabled={url === ''}
|
||||||
onClick={() => settings.formatSelection ? sendUrlFormatSelection() : sendUrl()}
|
onClick={() => settings.formatSelection ? sendUrlFormatSelection() : sendUrl()}
|
||||||
>
|
>
|
||||||
{i18n.t('startButton')}
|
{settings.formatSelection ? i18n.t('selectFormatButton') : i18n.t('startButton')}
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item>
|
<Grid item>
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ languages:
|
|||||||
urlInput: YouTube or other supported service video URL
|
urlInput: YouTube or other supported service video URL
|
||||||
statusTitle: Status
|
statusTitle: Status
|
||||||
statusReady: Ready
|
statusReady: Ready
|
||||||
|
selectFormatButton: Select format
|
||||||
startButton: Start
|
startButton: Start
|
||||||
abortAllButton: Abort All
|
abortAllButton: Abort All
|
||||||
updateBinButton: Update yt-dlp binary
|
updateBinButton: Update yt-dlp binary
|
||||||
|
|||||||
Reference in New Issue
Block a user