fix: trnslations

This commit is contained in:
Timothy Z. 2026-01-22 12:25:20 +02:00 committed by GitHub
parent e11366b374
commit cf0ff1f4ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,14 +128,14 @@ const Stream = ({ className, videoId, videoReleased, addonName, name, descriptio
.then(() => { .then(() => {
toast.show({ toast.show({
type: 'success', type: 'success',
title: t('PLAYER_COPY_DOWNLOAD_SUCCESS'), title: t('PLAYER_COPY_DOWNLOAD_LINK_SUCCESS'),
timeout: 4000 timeout: 4000
}); });
}) })
.catch(() => { .catch(() => {
toast.show({ toast.show({
type: 'error', type: 'error',
title: t('PLAYER_COPY_DOWNLOAD_ERROR'), title: t('PLAYER_COPY_DOWNLOAD_LINK_ERROR'),
timeout: 4000, timeout: 4000,
}); });
}); });
@ -223,9 +223,9 @@ const Stream = ({ className, videoId, videoReleased, addonName, name, descriptio
} }
{ {
downloadLink && downloadLink &&
<Button className={styles['context-menu-option-container']} title={t('CTX_DOWNLOAD_STREAM_LINK')} onClick={copyDownloadLink}> <Button className={styles['context-menu-option-container']} title={t('CTX_DOWNLOAD_VIDEO')} onClick={copyDownloadLink}>
<Icon className={styles['menu-icon']} name={'download'} /> <Icon className={styles['menu-icon']} name={'download'} />
<div className={styles['context-menu-option-label']}>{t('CTX_COPY_DOWNLOAD_LINK')}</div> <div className={styles['context-menu-option-label']}>{t('CTX_COPY_VIDEO_DOWNLOAD_LINK')}</div>
</Button> </Button>
} }
</div> </div>