From ed774bf62de53172eff8c58976387a382f2ce2c4 Mon Sep 17 00:00:00 2001 From: wangsijie Date: Thu, 22 Aug 2024 17:50:26 +0800 Subject: [PATCH] fix(console): change PAT and app secrets phrases (#6504) --- .../EndpointsAndCredentials/index.tsx | 8 ++------ .../components/PersonalAccessTokens/index.tsx | 8 ++------ .../en/translation/admin-console/application-details.ts | 1 + .../locales/en/translation/admin-console/user-details.ts | 2 ++ vite.shared.config.ts | 6 +++--- 5 files changed, 10 insertions(+), 15 deletions(-) diff --git a/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/EndpointsAndCredentials/index.tsx b/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/EndpointsAndCredentials/index.tsx index 09f880b62..7adff1e77 100644 --- a/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/EndpointsAndCredentials/index.tsx +++ b/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/EndpointsAndCredentials/index.tsx @@ -208,14 +208,10 @@ function EndpointsAndCredentials({ {secretsData.length === 0 && !secrets.error ? ( <> -
- {t('organizations.empty_placeholder', { - entity: t('application_details.application_secret').toLowerCase(), - })} -
+
{t('application_details.secrets.empty')}