refactor: local improve

This commit is contained in:
katherinehhh 2024-01-22 22:06:41 +08:00
parent 302970dea5
commit c0807c17f3
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import { i18n } from '@nocobase/client'; import { i18n } from '@nocobase/client';
export const NAMESPACE = 'database-connections'; export const NAMESPACE = 'data-source-manager';
export function lang(key: string, options = {}) { export function lang(key: string, options = {}) {
return i18n.t(key, { ...options, ns: NAMESPACE }); return i18n.t(key, { ...options, ns: NAMESPACE });

View File

@ -11,7 +11,7 @@
"Username": "用户名", "Username": "用户名",
"Password": "密码", "Password": "密码",
"type": "类型", "type": "类型",
"DataSource": "数据源", "Data source name": "数据源",
"Description": "描述", "Description": "描述",
"Storage": "文件地址", "Storage": "文件地址",
"Collections": "数据表", "Collections": "数据表",