mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 08:06:43 +08:00
feat: update plugin market settings UI layout and refine localization strings
This commit is contained in:
@@ -123,6 +123,7 @@ onMounted(() => {
|
|||||||
<div class="plugin-market-input mb-4">
|
<div class="plugin-market-input mb-4">
|
||||||
<VTextField
|
<VTextField
|
||||||
v-model="newRepoUrl"
|
v-model="newRepoUrl"
|
||||||
|
density="compact"
|
||||||
:placeholder="t('dialog.pluginMarketSetting.urlPlaceholder')"
|
:placeholder="t('dialog.pluginMarketSetting.urlPlaceholder')"
|
||||||
prepend-inner-icon="mdi-link-plus"
|
prepend-inner-icon="mdi-link-plus"
|
||||||
clearable
|
clearable
|
||||||
@@ -140,8 +141,20 @@ onMounted(() => {
|
|||||||
<VListItem class="py-2">
|
<VListItem class="py-2">
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<div class="d-flex align-center me-2">
|
<div class="d-flex align-center me-2">
|
||||||
<VBtn icon="mdi-chevron-up" size="x-small" variant="text" @click="moveUp(index)" :disabled="index === 0" />
|
<VBtn
|
||||||
<VBtn icon="mdi-chevron-down" size="x-small" variant="text" @click="moveDown(index)" :disabled="index === repoList.length - 1" />
|
icon="mdi-chevron-up"
|
||||||
|
size="x-small"
|
||||||
|
variant="text"
|
||||||
|
@click="moveUp(index)"
|
||||||
|
:disabled="index === 0"
|
||||||
|
/>
|
||||||
|
<VBtn
|
||||||
|
icon="mdi-chevron-down"
|
||||||
|
size="x-small"
|
||||||
|
variant="text"
|
||||||
|
@click="moveDown(index)"
|
||||||
|
:disabled="index === repoList.length - 1"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -185,7 +198,12 @@ onMounted(() => {
|
|||||||
</VCardText>
|
</VCardText>
|
||||||
<VCardActions>
|
<VCardActions>
|
||||||
<VSpacer />
|
<VSpacer />
|
||||||
<VBtn @click="saveHandle" prepend-icon="mdi-content-save-check" class="px-5 me-3" :disabled="repoList.length === 0">
|
<VBtn
|
||||||
|
@click="saveHandle"
|
||||||
|
prepend-icon="mdi-content-save-check"
|
||||||
|
class="px-5 me-3"
|
||||||
|
:disabled="repoList.length === 0"
|
||||||
|
>
|
||||||
{{ t('dialog.pluginMarketSetting.save') }}
|
{{ t('dialog.pluginMarketSetting.save') }}
|
||||||
</VBtn>
|
</VBtn>
|
||||||
</VCardActions>
|
</VCardActions>
|
||||||
@@ -204,7 +222,7 @@ onMounted(() => {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 0;
|
min-block-size: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugin-market-input {
|
.plugin-market-input {
|
||||||
@@ -212,8 +230,8 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.plugin-market-list-wrap {
|
.plugin-market-list-wrap {
|
||||||
overflow-y: auto;
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 0;
|
min-block-size: 0;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -2248,7 +2248,7 @@ export default {
|
|||||||
repoUrl: 'Plugin Repository URL',
|
repoUrl: 'Plugin Repository URL',
|
||||||
repoPlaceholder: 'Format: https://github.com/jxxghp/MoviePilot-Plugins/,https://github.com/xxxx/xxxxxx/',
|
repoPlaceholder: 'Format: https://github.com/jxxghp/MoviePilot-Plugins/,https://github.com/xxxx/xxxxxx/',
|
||||||
repoHint: 'Multiple URLs separated by lines, only Github repositories are supported',
|
repoHint: 'Multiple URLs separated by lines, only Github repositories are supported',
|
||||||
urlPlaceholder: 'Enter plugin repository URL and press Enter to add',
|
urlPlaceholder: 'Enter plugin repository URL',
|
||||||
noRepos: 'No plugin repository URLs',
|
noRepos: 'No plugin repository URLs',
|
||||||
invalidUrl: 'Please enter a valid URL',
|
invalidUrl: 'Please enter a valid URL',
|
||||||
duplicateUrl: 'This URL already exists',
|
duplicateUrl: 'This URL already exists',
|
||||||
|
|||||||
@@ -2219,7 +2219,7 @@ export default {
|
|||||||
repoUrl: '插件仓库地址',
|
repoUrl: '插件仓库地址',
|
||||||
repoPlaceholder: '格式:https://github.com/jxxghp/MoviePilot-Plugins/,https://github.com/xxxx/xxxxxx/',
|
repoPlaceholder: '格式:https://github.com/jxxghp/MoviePilot-Plugins/,https://github.com/xxxx/xxxxxx/',
|
||||||
repoHint: '多个地址使用换行分隔,仅支持Github仓库',
|
repoHint: '多个地址使用换行分隔,仅支持Github仓库',
|
||||||
urlPlaceholder: '输入插件仓库地址后按回车添加',
|
urlPlaceholder: '输入插件仓库地址',
|
||||||
noRepos: '暂无插件仓库地址',
|
noRepos: '暂无插件仓库地址',
|
||||||
invalidUrl: '请输入有效的URL地址',
|
invalidUrl: '请输入有效的URL地址',
|
||||||
duplicateUrl: '该地址已存在',
|
duplicateUrl: '该地址已存在',
|
||||||
|
|||||||
@@ -316,7 +316,8 @@ export default {
|
|||||||
settingTabs: {
|
settingTabs: {
|
||||||
system: {
|
system: {
|
||||||
title: '系統',
|
title: '系統',
|
||||||
description: '基礎設置、下載器(Qbittorrent、Transmission)、媒體服務器(Emby、Jellyfin、Plex、飛牛影視、綠聯影視)',
|
description:
|
||||||
|
'基礎設置、下載器(Qbittorrent、Transmission)、媒體服務器(Emby、Jellyfin、Plex、飛牛影視、綠聯影視)',
|
||||||
},
|
},
|
||||||
directory: {
|
directory: {
|
||||||
title: '存儲 & 目錄',
|
title: '存儲 & 目錄',
|
||||||
@@ -1428,8 +1429,8 @@ export default {
|
|||||||
fanartEnableHint: '使用 fanart.tv 的圖片數據',
|
fanartEnableHint: '使用 fanart.tv 的圖片數據',
|
||||||
fanartLang: 'Fanart語言',
|
fanartLang: 'Fanart語言',
|
||||||
fanartLangHint: '設定Fanart圖片的語言偏好,多選時按優先級順序排列',
|
fanartLangHint: '設定Fanart圖片的語言偏好,多選時按優先級順序排列',
|
||||||
recognizePluginFirst: "優先使用插件識別",
|
recognizePluginFirst: '優先使用插件識別',
|
||||||
recognizePluginFirstHint: "優先調用插件識別媒體信息,若插件命中則不再調用原生識別",
|
recognizePluginFirstHint: '優先調用插件識別媒體信息,若插件命中則不再調用原生識別',
|
||||||
githubProxy: 'Github加速代理',
|
githubProxy: 'Github加速代理',
|
||||||
githubProxyPlaceholder: '留空表示不使用代理',
|
githubProxyPlaceholder: '留空表示不使用代理',
|
||||||
githubProxyHint: '使用代理加速Github訪問速度',
|
githubProxyHint: '使用代理加速Github訪問速度',
|
||||||
@@ -1544,7 +1545,7 @@ export default {
|
|||||||
skipDesc: '跳過刮削,不生成該文件',
|
skipDesc: '跳過刮削,不生成該文件',
|
||||||
missingOnlyDesc: '僅在缺失時刮削,已存在則保持不變',
|
missingOnlyDesc: '僅在缺失時刮削,已存在則保持不變',
|
||||||
overwriteDesc: '始終刮削,已存在則覆蓋',
|
overwriteDesc: '始終刮削,已存在則覆蓋',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
site: {
|
site: {
|
||||||
siteSync: '站點同步',
|
siteSync: '站點同步',
|
||||||
@@ -2220,7 +2221,7 @@ export default {
|
|||||||
repoUrl: '插件倉庫地址',
|
repoUrl: '插件倉庫地址',
|
||||||
repoPlaceholder: '格式:https://github.com/jxxghp/MoviePilot-Plugins/,https://github.com/xxxx/xxxxxx/',
|
repoPlaceholder: '格式:https://github.com/jxxghp/MoviePilot-Plugins/,https://github.com/xxxx/xxxxxx/',
|
||||||
repoHint: '多個地址使用换行分隔,僅支援Github倉庫',
|
repoHint: '多個地址使用换行分隔,僅支援Github倉庫',
|
||||||
urlPlaceholder: '輸入插件倉庫地址後按回車新增',
|
urlPlaceholder: '輸入插件倉庫地址',
|
||||||
noRepos: '暫無插件倉庫地址',
|
noRepos: '暫無插件倉庫地址',
|
||||||
invalidUrl: '請輸入有效的URL地址',
|
invalidUrl: '請輸入有效的URL地址',
|
||||||
duplicateUrl: '該地址已存在',
|
duplicateUrl: '該地址已存在',
|
||||||
|
|||||||
Reference in New Issue
Block a user