From 6f56d82f1c6f748d33ad16649f3d75a96a5d4c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E7=99=BB=E5=B1=B1?= Date: Mon, 9 Jun 2025 10:28:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E5=AF=B9=E8=B1=A1?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=95=8C=E9=9D=A2=EF=BC=8C=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=B3=95=E5=BE=8B=E4=BF=9D=E7=95=99=E5=92=8C=E4=BF=9D=E7=95=99?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E7=9A=84=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E5=8F=8A=E5=9B=BD=E9=99=85=E5=8C=96=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/object/info.vue | 14 +++++++++++--- i18n/locales/en-US.json | 3 ++- i18n/locales/zh-CN.json | 3 ++- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/components/object/info.vue b/components/object/info.vue index 5ca0a1d..d5c9804 100644 --- a/components/object/info.vue +++ b/components/object/info.vue @@ -44,8 +44,10 @@ {{ object?.LastModified }} - + + + {{ t("Disabled") }} + + - {{ t("Retention Type") + ": " + retentionMode }} + {{ t("Retention Mode") + ": " + (retentionMode ? retentionMode : t("None")) }} - + {{ t("Retention RetainUntilDate") + ": " + retainUntilDate }} diff --git a/i18n/locales/en-US.json b/i18n/locales/en-US.json index f054987..09e4620 100644 --- a/i18n/locales/en-US.json +++ b/i18n/locales/en-US.json @@ -333,5 +333,6 @@ "Retention Update Success": "Retention Update Success", "Retention Update Failed": "Retention Update Failed", "Retention RetainUntilDate Placeholder": "Retention RetainUntilDate Placeholder", - "Retention RetainUntilDate Clear": "Retention RetainUntilDate Clear" + "Retention RetainUntilDate Clear": "Retention RetainUntilDate Clear", + "None": "None" } diff --git a/i18n/locales/zh-CN.json b/i18n/locales/zh-CN.json index 8a0597a..4303be9 100644 --- a/i18n/locales/zh-CN.json +++ b/i18n/locales/zh-CN.json @@ -525,5 +525,6 @@ "Retention Update Success": "保留更新成功", "Retention Update Failed": "保留更新失败", "Retention RetainUntilDate Placeholder": "请输入保留至日期", - "Retention RetainUntilDate Clear": "清除保留至日期" + "Retention RetainUntilDate Clear": "清除保留至日期", + "None": "未设置" }