fix(subscribe-card): i18n paused/pending state labels (#478)

This commit is contained in:
InfinityPacer
2026-05-25 10:47:23 +08:00
committed by GitHub
parent 1c5773444e
commit abbce2644a
4 changed files with 8 additions and 2 deletions

View File

@@ -82,10 +82,10 @@ const isBestVersion = computed(() => isEnabledFlag(props.media?.best_version) &&
const rightBottomStateDisplay = computed(() => {
if (subscribeState.value === 'S') {
return { icon: 'mdi-pause-circle', label: '已暂停' }
return { icon: 'mdi-pause-circle', label: t('subscribe.cardStatePaused') }
}
if (subscribeState.value === 'P') {
return { icon: 'mdi-clock', label: '待定中' }
return { icon: 'mdi-clock', label: t('subscribe.cardStatePending') }
}
return null
})

View File

@@ -993,6 +993,8 @@ export default {
notStarted: 'Not Started',
pending: 'Pending',
paused: 'Paused',
cardStatePaused: 'Paused',
cardStatePending: 'Pending',
selectedCount: 'Selected {count}/{total} items',
noSelectedItems: 'Please select subscriptions to operate',
batchEnable: 'Batch Enable',

View File

@@ -988,6 +988,8 @@ export default {
notStarted: '未开始',
pending: '待定',
paused: '暂停',
cardStatePaused: '已暂停',
cardStatePending: '待定中',
selectedCount: '已选择 {count}/{total} 项',
noSelectedItems: '请先选择要操作的订阅',
batchEnable: '批量启用',

View File

@@ -988,6 +988,8 @@ export default {
notStarted: '未開始',
pending: '待定',
paused: '暫停',
cardStatePaused: '已暫停',
cardStatePending: '待定中',
selectedCount: '已選擇 {count}/{total} 項',
noSelectedItems: '請先選擇要操作的訂閱',
batchEnable: '批量啟用',