If formats selection enabled: Show "select format" string in button

(instead of start)
This commit is contained in:
Stefan Schlott
2023-02-04 12:24:42 +01:00
parent 1f6d6d7839
commit 75c6c84c5c
2 changed files with 2 additions and 1 deletions

View File

@@ -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>

View File

@@ -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