mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 22:28:04 +00:00
refactor: local improve
This commit is contained in:
parent
302970dea5
commit
c0807c17f3
@ -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 });
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"Username": "用户名",
|
"Username": "用户名",
|
||||||
"Password": "密码",
|
"Password": "密码",
|
||||||
"type": "类型",
|
"type": "类型",
|
||||||
"DataSource": "数据源",
|
"Data source name": "数据源",
|
||||||
"Description": "描述",
|
"Description": "描述",
|
||||||
"Storage": "文件地址",
|
"Storage": "文件地址",
|
||||||
"Collections": "数据表",
|
"Collections": "数据表",
|
||||||
|
Loading…
Reference in New Issue
Block a user