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
+2 -2
View File
@@ -82,10 +82,10 @@ const isBestVersion = computed(() => isEnabledFlag(props.media?.best_version) &&
const rightBottomStateDisplay = computed(() => { const rightBottomStateDisplay = computed(() => {
if (subscribeState.value === 'S') { if (subscribeState.value === 'S') {
return { icon: 'mdi-pause-circle', label: '已暂停' } return { icon: 'mdi-pause-circle', label: t('subscribe.cardStatePaused') }
} }
if (subscribeState.value === 'P') { if (subscribeState.value === 'P') {
return { icon: 'mdi-clock', label: '待定中' } return { icon: 'mdi-clock', label: t('subscribe.cardStatePending') }
} }
return null return null
}) })
+2
View File
@@ -993,6 +993,8 @@ export default {
notStarted: 'Not Started', notStarted: 'Not Started',
pending: 'Pending', pending: 'Pending',
paused: 'Paused', paused: 'Paused',
cardStatePaused: 'Paused',
cardStatePending: 'Pending',
selectedCount: 'Selected {count}/{total} items', selectedCount: 'Selected {count}/{total} items',
noSelectedItems: 'Please select subscriptions to operate', noSelectedItems: 'Please select subscriptions to operate',
batchEnable: 'Batch Enable', batchEnable: 'Batch Enable',
+2
View File
@@ -988,6 +988,8 @@ export default {
notStarted: '未开始', notStarted: '未开始',
pending: '待定', pending: '待定',
paused: '暂停', paused: '暂停',
cardStatePaused: '已暂停',
cardStatePending: '待定中',
selectedCount: '已选择 {count}/{total} 项', selectedCount: '已选择 {count}/{total} 项',
noSelectedItems: '请先选择要操作的订阅', noSelectedItems: '请先选择要操作的订阅',
batchEnable: '批量启用', batchEnable: '批量启用',
+2
View File
@@ -988,6 +988,8 @@ export default {
notStarted: '未開始', notStarted: '未開始',
pending: '待定', pending: '待定',
paused: '暫停', paused: '暫停',
cardStatePaused: '已暫停',
cardStatePending: '待定中',
selectedCount: '已選擇 {count}/{total} 項', selectedCount: '已選擇 {count}/{total} 項',
noSelectedItems: '請先選擇要操作的訂閱', noSelectedItems: '請先選擇要操作的訂閱',
batchEnable: '批量啟用', batchEnable: '批量啟用',