Merge pull request #35 from Skyr/show-selectformat-button

If formats selection enabled: Show "select format" string in button
This commit is contained in:
Marco
2023-02-08 17:54:25 +01:00
committed by GitHub
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