From c3f759d13a7930efa5ddcd9805ff7476562a9251 Mon Sep 17 00:00:00 2001 From: feitianbubu Date: Sat, 18 Jul 2026 10:59:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(i18n):=20=E5=A5=97=E9=A4=90=E6=9C=89?= =?UTF-8?q?=E6=95=88=E6=9C=9F=E8=A1=A8=E5=A4=B4=E4=B8=8E=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E5=8E=BB=E6=8E=89=E5=86=99=E6=AD=BB=E7=9A=84?= =?UTF-8?q?"=E5=A4=A9"=EF=BC=8C=E4=B8=8E=E5=8A=A8=E6=80=81=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/i18n/locales/en/misc.ts | 4 ++-- frontend/src/i18n/locales/zh/misc.ts | 4 ++-- frontend/src/views/admin/orders/AdminPaymentPlansView.vue | 2 +- frontend/src/views/admin/orders/PlanEditDialog.vue | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/i18n/locales/en/misc.ts b/frontend/src/i18n/locales/en/misc.ts index d0f35b36db..eae9d237d0 100644 --- a/frontend/src/i18n/locales/en/misc.ts +++ b/frontend/src/i18n/locales/en/misc.ts @@ -550,7 +550,7 @@ export default { currencyHint: 'Display-only 3-letter ISO currency code shown next to the price; leave empty to hide, does not affect billing', subscriptionCnyPayPreview: 'CNY channel charge preview: {amount}', subscriptionCnyPayPreviewWithFee: '({feeRate}% fee included: {total})', - validityDays: 'Validity (days)', + validity: 'Validity', validityUnit: 'Validity Unit', sortOrder: 'Sort Order', forSale: 'For Sale', @@ -588,7 +588,7 @@ export default { selectGroup: 'Select a group', groupRequired: 'Please select a subscription group', priceRequired: 'Price must be greater than 0', - validityDaysRequired: 'Validity days must be greater than 0', + validityRequired: 'Validity must be greater than 0', groupMissing: 'Missing', groupInfo: 'Group Info', platform: 'Platform', diff --git a/frontend/src/i18n/locales/zh/misc.ts b/frontend/src/i18n/locales/zh/misc.ts index f9b975974d..31247608d7 100644 --- a/frontend/src/i18n/locales/zh/misc.ts +++ b/frontend/src/i18n/locales/zh/misc.ts @@ -574,7 +574,7 @@ export default { currencyHint: '仅用于价格展示的 ISO 三字母币种码,留空不展示,不影响实际扣款', subscriptionCnyPayPreview: 'CNY 通道实扣预览:{amount}', subscriptionCnyPayPreviewWithFee: '(含 {feeRate}% 手续费:{total})', - validityDays: '有效期(天)', + validity: '有效期', validityUnit: '有效期单位', sortOrder: '排序', forSale: '上架状态', @@ -612,7 +612,7 @@ export default { selectGroup: '请选择分组', groupRequired: '请选择订阅分组', priceRequired: '价格必须大于 0', - validityDaysRequired: '有效期天数必须大于 0', + validityRequired: '有效期必须大于 0', groupMissing: '缺失', groupInfo: '分组信息', platform: '平台', diff --git a/frontend/src/views/admin/orders/AdminPaymentPlansView.vue b/frontend/src/views/admin/orders/AdminPaymentPlansView.vue index eb4f39a312..17a17a5f18 100644 --- a/frontend/src/views/admin/orders/AdminPaymentPlansView.vue +++ b/frontend/src/views/admin/orders/AdminPaymentPlansView.vue @@ -142,7 +142,7 @@ const planColumns = computed((): Column[] => [ { key: 'name', label: t('payment.admin.planName') }, { key: 'group_id', label: t('payment.admin.group') }, { key: 'price', label: t('payment.admin.price') }, - { key: 'validity_days', label: t('payment.admin.validityDays') }, + { key: 'validity_days', label: t('payment.admin.validity') }, { key: 'for_sale', label: t('payment.admin.forSale') }, { key: 'sort_order', label: t('payment.admin.sortOrder') }, { key: 'actions', label: t('common.actions') }, diff --git a/frontend/src/views/admin/orders/PlanEditDialog.vue b/frontend/src/views/admin/orders/PlanEditDialog.vue index 0ddc4cab6a..7535ebc560 100644 --- a/frontend/src/views/admin/orders/PlanEditDialog.vue +++ b/frontend/src/views/admin/orders/PlanEditDialog.vue @@ -48,7 +48,7 @@
-
+