From c0807c17f363f883c0ad7716f37c83468eb3df53 Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Mon, 22 Jan 2024 22:06:41 +0800 Subject: [PATCH] refactor: local improve --- .../plugin-data-source-manager/src/client/locale/index.ts | 2 +- .../@nocobase/plugin-data-source-manager/src/locale/zh-CN.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugins/@nocobase/plugin-data-source-manager/src/client/locale/index.ts b/packages/plugins/@nocobase/plugin-data-source-manager/src/client/locale/index.ts index f447cf077d..57c92f1eda 100644 --- a/packages/plugins/@nocobase/plugin-data-source-manager/src/client/locale/index.ts +++ b/packages/plugins/@nocobase/plugin-data-source-manager/src/client/locale/index.ts @@ -1,6 +1,6 @@ import { i18n } from '@nocobase/client'; -export const NAMESPACE = 'database-connections'; +export const NAMESPACE = 'data-source-manager'; export function lang(key: string, options = {}) { return i18n.t(key, { ...options, ns: NAMESPACE }); diff --git a/packages/plugins/@nocobase/plugin-data-source-manager/src/locale/zh-CN.json b/packages/plugins/@nocobase/plugin-data-source-manager/src/locale/zh-CN.json index 90e1870763..fea37f9e20 100644 --- a/packages/plugins/@nocobase/plugin-data-source-manager/src/locale/zh-CN.json +++ b/packages/plugins/@nocobase/plugin-data-source-manager/src/locale/zh-CN.json @@ -11,7 +11,7 @@ "Username": "用户名", "Password": "密码", "type": "类型", - "DataSource": "数据源", + "Data source name": "数据源", "Description": "描述", "Storage": "文件地址", "Collections": "数据表",