mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat: UNM 设置页面 l10n (#1578)
* feat: UNM 设置页面 l10n * update translate * update
This commit is contained in:
parent
a9b05d66a6
commit
21c7b5ae44
5 changed files with 142 additions and 23 deletions
|
|
@ -178,6 +178,34 @@ export default {
|
||||||
exit: 'Exit',
|
exit: 'Exit',
|
||||||
minimizeToTray: 'Minimize to tray',
|
minimizeToTray: 'Minimize to tray',
|
||||||
},
|
},
|
||||||
|
unm: {
|
||||||
|
enable: 'Enable',
|
||||||
|
audioSource: {
|
||||||
|
title: 'Audio Sources',
|
||||||
|
},
|
||||||
|
enableFlac: {
|
||||||
|
title: 'Enable FLAC Sources',
|
||||||
|
desc: 'To take effect, it may be required to clear the cache after enabling this function.',
|
||||||
|
},
|
||||||
|
searchMode: {
|
||||||
|
title: 'Audio Search Mode',
|
||||||
|
fast: 'Speed Priority',
|
||||||
|
order: 'Order Priority',
|
||||||
|
},
|
||||||
|
cookie: {
|
||||||
|
joox: 'Cookie for Joox use',
|
||||||
|
qq: 'Cookie for QQ use',
|
||||||
|
desc1: 'Click here for the configuration instruction. ',
|
||||||
|
desc2: 'Leave empty to pick up the default value',
|
||||||
|
},
|
||||||
|
ytdl: 'The youtube-dl Executable File for YtDl',
|
||||||
|
proxy: {
|
||||||
|
title: 'Proxy Server for UNM',
|
||||||
|
desc1:
|
||||||
|
'The proxy server to use for requesting services such as YouTube',
|
||||||
|
desc2: 'Leave empty to pick up the default value',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
contextMenu: {
|
contextMenu: {
|
||||||
play: 'Play',
|
play: 'Play',
|
||||||
|
|
|
||||||
|
|
@ -172,6 +172,34 @@ export default {
|
||||||
exit: 'Exit',
|
exit: 'Exit',
|
||||||
minimizeToTray: 'Küçült',
|
minimizeToTray: 'Küçült',
|
||||||
},
|
},
|
||||||
|
unm: {
|
||||||
|
enable: 'Enable',
|
||||||
|
audioSource: {
|
||||||
|
title: 'Audio Sources',
|
||||||
|
},
|
||||||
|
enableFlac: {
|
||||||
|
title: 'Enable FLAC Sources',
|
||||||
|
desc: 'To take effect, it may be required to clear the cache after enabling this function.',
|
||||||
|
},
|
||||||
|
searchMode: {
|
||||||
|
title: 'Audio Search Mode',
|
||||||
|
fast: 'Speed Priority',
|
||||||
|
order: 'Order Priority',
|
||||||
|
},
|
||||||
|
cookie: {
|
||||||
|
joox: 'Cookie for Joox use',
|
||||||
|
qq: 'Cookie for QQ use',
|
||||||
|
desc1: 'Click here for the configuration instruction. ',
|
||||||
|
desc2: 'Leave empty to pick up the default value',
|
||||||
|
},
|
||||||
|
ytdl: 'The youtube-dl Executable File for YtDl',
|
||||||
|
proxy: {
|
||||||
|
title: 'Proxy Server for UNM',
|
||||||
|
desc1:
|
||||||
|
'The proxy server to use for requesting services such as YouTube',
|
||||||
|
desc2: 'Leave empty to pick up the default value',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
contextMenu: {
|
contextMenu: {
|
||||||
play: 'Oynat',
|
play: 'Oynat',
|
||||||
|
|
|
||||||
|
|
@ -179,6 +179,33 @@ export default {
|
||||||
exit: '退出',
|
exit: '退出',
|
||||||
minimizeToTray: '最小化到托盘',
|
minimizeToTray: '最小化到托盘',
|
||||||
},
|
},
|
||||||
|
unm: {
|
||||||
|
enable: '启用',
|
||||||
|
audioSource: {
|
||||||
|
title: '备选音源',
|
||||||
|
},
|
||||||
|
enableFlac: {
|
||||||
|
title: '启用 FLAC',
|
||||||
|
desc: '启用后需要清除歌曲缓存才能生效',
|
||||||
|
},
|
||||||
|
searchMode: {
|
||||||
|
title: '音源搜索模式',
|
||||||
|
fast: '速度优先',
|
||||||
|
order: '顺序优先',
|
||||||
|
},
|
||||||
|
cookie: {
|
||||||
|
joox: 'Joox 引擎的 Cookie',
|
||||||
|
qq: 'QQ 引擎的 Cookie',
|
||||||
|
desc1: '设置说明请参见此处',
|
||||||
|
desc2: ',留空则不进行相关设置',
|
||||||
|
},
|
||||||
|
ytdl: 'YtDl 引擎要使用的 youtube-dl 可执行文件',
|
||||||
|
proxy: {
|
||||||
|
title: '用于 UNM 的代理服务器',
|
||||||
|
desc1: '请求如 YouTube 音源服务时要使用的代理服务器',
|
||||||
|
desc2: '留空则不进行相关设置',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
contextMenu: {
|
contextMenu: {
|
||||||
play: '播放',
|
play: '播放',
|
||||||
|
|
|
||||||
|
|
@ -176,6 +176,33 @@ export default {
|
||||||
exit: '退出',
|
exit: '退出',
|
||||||
minimizeToTray: '最小化到工作列角落',
|
minimizeToTray: '最小化到工作列角落',
|
||||||
},
|
},
|
||||||
|
unm: {
|
||||||
|
enable: '啟用',
|
||||||
|
audioSource: {
|
||||||
|
title: '備選音源',
|
||||||
|
},
|
||||||
|
enableFlac: {
|
||||||
|
title: '啟用 FLAC',
|
||||||
|
desc: '啟用後需要清除歌曲快取才能生效',
|
||||||
|
},
|
||||||
|
searchMode: {
|
||||||
|
title: '音源搜尋模式',
|
||||||
|
fast: '速度優先',
|
||||||
|
order: '順序優先',
|
||||||
|
},
|
||||||
|
cookie: {
|
||||||
|
joox: 'Joox 引擎的 Cookie',
|
||||||
|
qq: 'QQ 引擎的 Cookie',
|
||||||
|
desc1: '設定說明請參見此處',
|
||||||
|
desc2: ',留空則不進行相關設定',
|
||||||
|
},
|
||||||
|
ytdl: 'YtDl 引擎要使用的 youtube-dl 執行檔',
|
||||||
|
proxy: {
|
||||||
|
title: '用於 UNM 的 Proxy 伺服器',
|
||||||
|
desc1: '請求如 YouTube 音源服務時要使用的 Proxy 伺服器',
|
||||||
|
desc2: '留空則不進行相關設定',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
contextMenu: {
|
contextMenu: {
|
||||||
play: '播放',
|
play: '播放',
|
||||||
|
|
|
||||||
|
|
@ -223,11 +223,11 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<section v-if="isElectron" class="unm-configuration">
|
<section v-if="isElectron" class="unm-configuration">
|
||||||
<h3>UnblockNeteaseMusic 设置</h3>
|
<h3>UnblockNeteaseMusic</h3>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="title"
|
<div class="title"
|
||||||
>激活
|
>{{ $t('settings.unm.enable') }}
|
||||||
<a
|
<a
|
||||||
href="https://github.com/UnblockNeteaseMusic/server"
|
href="https://github.com/UnblockNeteaseMusic/server"
|
||||||
target="blank"
|
target="blank"
|
||||||
|
|
@ -250,7 +250,9 @@
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="title"> 备选音源 </div>
|
<div class="title">
|
||||||
|
{{ $t('settings.unm.audioSource.title') }}
|
||||||
|
</div>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
音源的具体代号
|
音源的具体代号
|
||||||
<a
|
<a
|
||||||
|
|
@ -274,8 +276,10 @@
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="title"> 激活无损音质 (FLAC) </div>
|
<div class="title"> {{ $t('settings.unm.enableFlac.title') }} </div>
|
||||||
<div class="description"> 设置后需要清掉快取才能生效。 </div>
|
<div class="description">
|
||||||
|
{{ $t('settings.unm.enableFlac.desc') }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<div class="toggle">
|
<div class="toggle">
|
||||||
|
|
@ -291,26 +295,30 @@
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="title"> 音源搜索模式 </div>
|
<div class="title"> {{ $t('settings.unm.searchMode.title') }} </div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<select v-model="unmSearchMode">
|
<select v-model="unmSearchMode">
|
||||||
<option value="fast-first"> 速度优先,不论顺序 </option>
|
<option value="fast-first">
|
||||||
<option value="order-first"> 顺序优先,不论速度 </option>
|
{{ $t('settings.unm.searchMode.fast') }}
|
||||||
|
</option>
|
||||||
|
<option value="order-first">
|
||||||
|
{{ $t('settings.unm.searchMode.order') }}
|
||||||
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="title"> Joox 引擎的 Cookie </div>
|
<div class="title">{{ $t('settings.unm.cookie.joox') }}</div>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<a
|
<a
|
||||||
href="https://github.com/UnblockNeteaseMusic/server-rust/tree/main/engines#joox-cookie-設定說明"
|
href="https://github.com/UnblockNeteaseMusic/server-rust/tree/main/engines#joox-cookie-設定說明"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>设置说明请参见此处。</a
|
>{{ $t('settings.unm.cookie.desc1') }}
|
||||||
>
|
</a>
|
||||||
留空则不进行相关设置。
|
{{ $t('settings.unm.cookie.desc2') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
|
|
@ -324,14 +332,14 @@
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="title"> QQ 引擎的 Cookie </div>
|
<div class="title"> {{ $t('settings.unm.cookie.qq') }} </div>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<a
|
<a
|
||||||
href="https://github.com/UnblockNeteaseMusic/server-rust/tree/main/engines#qq-cookie-設定說明"
|
href="https://github.com/UnblockNeteaseMusic/server-rust/tree/main/engines#qq-cookie-設定說明"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>设置说明请参见此处。</a
|
>{{ $t('settings.unm.cookie.desc1') }}
|
||||||
>
|
</a>
|
||||||
留空则不进行相关设置。
|
{{ $t('settings.unm.cookie.desc2') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
|
|
@ -345,13 +353,14 @@
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="title"> YtDl 引擎要使用的 youtube-dl 运行档 </div>
|
<div class="title"> {{ $t('settings.unm.ytdl') }} </div>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<a
|
<a
|
||||||
href="https://github.com/UnblockNeteaseMusic/server-rust/tree/main/engines#ytdlexe-設定說明"
|
href="https://github.com/UnblockNeteaseMusic/server-rust/tree/main/engines#ytdlexe-設定說明"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>设置说明请参见此处。</a
|
>{{ $t('settings.unm.cookie.desc1') }}
|
||||||
>留空则不进行相关设置。
|
</a>
|
||||||
|
{{ $t('settings.unm.cookie.desc2') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
|
|
@ -365,17 +374,17 @@
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="title"> 用于 UNM 的 Proxy 服务器 </div>
|
<div class="title"> {{ $t('settings.unm.proxy.title') }} </div>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
请求如 YouTube 音源服务时要使用的 Proxy 服务器。<br />
|
{{ $t('settings.unm.proxy.desc1') }}<br />
|
||||||
留空则不进行相关设置。
|
{{ $t('settings.unm.proxy.desc2') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<input
|
<input
|
||||||
v-model="unmProxyUri"
|
v-model="unmProxyUri"
|
||||||
class="text-input margin-right-0"
|
class="text-input margin-right-0"
|
||||||
placeholder="例 https://192.168.11.45"
|
placeholder="ex. https://192.168.11.45"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue