From abbce2644ac85ee3a9d0a26d5ada853ff08d3f09 Mon Sep 17 00:00:00 2001 From: InfinityPacer <160988576+InfinityPacer@users.noreply.github.com> Date: Mon, 25 May 2026 10:47:23 +0800 Subject: [PATCH] fix(subscribe-card): i18n paused/pending state labels (#478) --- src/components/cards/SubscribeCard.vue | 4 ++-- src/locales/en-US.ts | 2 ++ src/locales/zh-CN.ts | 2 ++ src/locales/zh-TW.ts | 2 ++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/cards/SubscribeCard.vue b/src/components/cards/SubscribeCard.vue index 423c441f..69257dfe 100644 --- a/src/components/cards/SubscribeCard.vue +++ b/src/components/cards/SubscribeCard.vue @@ -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 }) diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index ecf33dfc..e90893fe 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -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', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index b17cae81..bca78172 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -988,6 +988,8 @@ export default { notStarted: '未开始', pending: '待定', paused: '暂停', + cardStatePaused: '已暂停', + cardStatePending: '待定中', selectedCount: '已选择 {count}/{total} 项', noSelectedItems: '请先选择要操作的订阅', batchEnable: '批量启用', diff --git a/src/locales/zh-TW.ts b/src/locales/zh-TW.ts index 716952c1..acca1e7d 100644 --- a/src/locales/zh-TW.ts +++ b/src/locales/zh-TW.ts @@ -988,6 +988,8 @@ export default { notStarted: '未開始', pending: '待定', paused: '暫停', + cardStatePaused: '已暫停', + cardStatePending: '待定中', selectedCount: '已選擇 {count}/{total} 項', noSelectedItems: '請先選擇要操作的訂閱', batchEnable: '批量啟用',