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": "数据表",