From 8919a88461cf297883e0dd164e5aab5b8536b055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?cls=5F=E5=AE=81=E6=B3=A2=E6=9C=AC=E6=9C=BA?= <908705107@qq.com> Date: Wed, 10 Jun 2026 18:33:46 +0800 Subject: [PATCH] Trim locale and notification payload --- .../notification/NotificationDrawer.vue | 99 +------------------ web/apps/web-ele/src/layouts/basic.vue | 73 +++----------- web/apps/web-ele/src/locales/index.ts | 12 --- web/apps/web-ele/src/router/routes/core.ts | 2 +- .../src/views/_core/file-preview/index.vue | 25 +++-- 5 files changed, 35 insertions(+), 176 deletions(-) diff --git a/web/apps/web-ele/src/components/notification/NotificationDrawer.vue b/web/apps/web-ele/src/components/notification/NotificationDrawer.vue index d58e99a..d579763 100644 --- a/web/apps/web-ele/src/components/notification/NotificationDrawer.vue +++ b/web/apps/web-ele/src/components/notification/NotificationDrawer.vue @@ -1,5 +1,4 @@ @@ -119,7 +127,7 @@ onMounted(() => { - {{ $t('file-manager.download') }} + {{ FILE_DOWNLOAD_TEXT }} @@ -130,7 +138,7 @@ onMounted(() => {

- {{ $t('file-manager.previewFailed') }} + {{ FILE_PREVIEW_FAILED }}

{{ errorMsg }} @@ -152,16 +160,17 @@ onMounted(() => {

{{ textContent }}
+ >{{ textContent }}

- {{ $t('file-manager.previewNotSupported') }} + {{ FILE_PREVIEW_NOT_SUPPORTED }}

- {{ $t('file-manager.download') }} + {{ FILE_DOWNLOAD_TEXT }}