mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
feat: updates
This commit is contained in:
parent
ce757215a3
commit
c1cd31840e
86 changed files with 1048 additions and 778 deletions
|
|
@ -13,7 +13,7 @@ function Player() {
|
|||
}
|
||||
|
||||
function FindTrackOnYouTube() {
|
||||
const { t } = useTranslation()
|
||||
const { t, i18n } = useTranslation()
|
||||
|
||||
const { enableFindTrackOnYouTube, httpProxyForYouTube } = useSnapshot(settings)
|
||||
|
||||
|
|
@ -21,12 +21,18 @@ function FindTrackOnYouTube() {
|
|||
<div>
|
||||
<BlockTitle>{t`settings.player-youtube-unlock`}</BlockTitle>
|
||||
<BlockDescription>
|
||||
Find alternative track on YouTube if not available on NetEase.
|
||||
{t`settings.player-find-alternative-track-on-youtube-if-not-available-on-netease`}
|
||||
{i18n.language === 'zh-CN' && (
|
||||
<>
|
||||
<br />
|
||||
此功能需要开启 Clash for Windows 的 TUN Mode 或 ClashX Pro 的增强模式。
|
||||
</>
|
||||
)}
|
||||
</BlockDescription>
|
||||
|
||||
{/* Switch */}
|
||||
<Option>
|
||||
<OptionText>Enable YouTube Unlock </OptionText>
|
||||
<OptionText>Enable YouTube Unlock</OptionText>
|
||||
<Switch
|
||||
enabled={enableFindTrackOnYouTube}
|
||||
onChange={value => (settings.enableFindTrackOnYouTube = value)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue