diff --git a/packages/plugins/@hera/plugin-audit-logs/src/client/locale/index.ts b/packages/plugins/@hera/plugin-audit-logs/src/client/locale/index.ts index 799a97370..03f966a1a 100644 --- a/packages/plugins/@hera/plugin-audit-logs/src/client/locale/index.ts +++ b/packages/plugins/@hera/plugin-audit-logs/src/client/locale/index.ts @@ -1,7 +1,7 @@ import { i18n, tval as nTval } from '@nocobase/client'; import { useTranslation } from 'react-i18next'; -export const NAMESPACE = 'audit-logs'; +export const NAMESPACE = '@hera/plugin-audit-logs'; export function lang(key: string) { return i18n.t(key, { ns: NAMESPACE }); diff --git a/packages/plugins/@hera/plugin-audit-logs/src/locale/en-US.json b/packages/plugins/@hera/plugin-audit-logs/src/locale/en-US.json index 0163236a7..52ab661de 100644 --- a/packages/plugins/@hera/plugin-audit-logs/src/locale/en-US.json +++ b/packages/plugins/@hera/plugin-audit-logs/src/locale/en-US.json @@ -25,6 +25,7 @@ "Details of changes": "Details of changes", "Details": "Details", "Display fields": "Display fields", + "Display association fields": "Display association fields", "Enable actions": "Enable actions", "Field display name": "Field display name", "Field value changes": "Field value changes", diff --git a/packages/plugins/@hera/plugin-audit-logs/src/locale/zh-CN.json b/packages/plugins/@hera/plugin-audit-logs/src/locale/zh-CN.json index 006b91b19..73aa73b72 100644 --- a/packages/plugins/@hera/plugin-audit-logs/src/locale/zh-CN.json +++ b/packages/plugins/@hera/plugin-audit-logs/src/locale/zh-CN.json @@ -24,6 +24,7 @@ "Delete": "删除", "Details of changes": "变化详情", "Details": "详情", + "Display association fields": "显示关联字段", "Display fields": "显示字段", "Enable actions": "启用的操作", "Field display name": "字段显示名称",