mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-29 20:17:36 +08:00
feat(subscribe): 更新下拉菜单项并添加媒体详情和文件统计本地化字符串
This commit is contained in:
@@ -290,22 +290,6 @@ const dropdownItems = computed(() => [
|
|||||||
click: searchSubscribe,
|
click: searchSubscribe,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: t('common.details'),
|
|
||||||
value: 3,
|
|
||||||
props: {
|
|
||||||
prependIcon: 'mdi-information-outline',
|
|
||||||
click: viewMediaDetail,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: t('common.files'),
|
|
||||||
value: 4,
|
|
||||||
props: {
|
|
||||||
prependIcon: 'mdi-file-document-outline',
|
|
||||||
click: viewSubscribeFiles,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: subscribeState.value === 'S' ? t('common.enable') : t('common.pause'),
|
title: subscribeState.value === 'S' ? t('common.enable') : t('common.pause'),
|
||||||
value: 5,
|
value: 5,
|
||||||
@@ -334,6 +318,22 @@ const dropdownItems = computed(() => [
|
|||||||
},
|
},
|
||||||
show: props.media?.type === '电视剧',
|
show: props.media?.type === '电视剧',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: t('subscribe.mediaDetail'),
|
||||||
|
value: 3,
|
||||||
|
props: {
|
||||||
|
prependIcon: 'mdi-information-outline',
|
||||||
|
click: viewMediaDetail,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: t('subscribe.fileStatistics'),
|
||||||
|
value: 4,
|
||||||
|
props: {
|
||||||
|
prependIcon: 'mdi-file-document-outline',
|
||||||
|
click: viewSubscribeFiles,
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: t('common.unsubscribe'),
|
title: t('common.unsubscribe'),
|
||||||
value: 8,
|
value: 8,
|
||||||
|
|||||||
@@ -1141,6 +1141,8 @@ export default {
|
|||||||
paused: 'Paused',
|
paused: 'Paused',
|
||||||
cardStatePaused: 'Paused',
|
cardStatePaused: 'Paused',
|
||||||
cardStatePending: 'Pending',
|
cardStatePending: 'Pending',
|
||||||
|
mediaDetail: 'Media Details',
|
||||||
|
fileStatistics: 'File Statistics',
|
||||||
sortTitle: 'Sort',
|
sortTitle: 'Sort',
|
||||||
sort: {
|
sort: {
|
||||||
custom: 'Custom',
|
custom: 'Custom',
|
||||||
|
|||||||
@@ -1134,6 +1134,8 @@ export default {
|
|||||||
paused: '暂停',
|
paused: '暂停',
|
||||||
cardStatePaused: '已暂停',
|
cardStatePaused: '已暂停',
|
||||||
cardStatePending: '待定中',
|
cardStatePending: '待定中',
|
||||||
|
mediaDetail: '媒体详情',
|
||||||
|
fileStatistics: '文件统计',
|
||||||
sortTitle: '排序',
|
sortTitle: '排序',
|
||||||
sort: {
|
sort: {
|
||||||
custom: '自定义',
|
custom: '自定义',
|
||||||
|
|||||||
Reference in New Issue
Block a user