From adccdece7cb3e85d3983cd59f9e92f94cacc875c Mon Sep 17 00:00:00 2001 From: Junyi Date: Thu, 22 Feb 2024 13:41:36 +0800 Subject: [PATCH] docs(plugin-snapshot-field): adjust description (#3551) --- .../@nocobase/plugin-snapshot-field/src/client/interface.ts | 2 +- .../@nocobase/plugin-snapshot-field/src/locale/zh-CN.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugins/@nocobase/plugin-snapshot-field/src/client/interface.ts b/packages/plugins/@nocobase/plugin-snapshot-field/src/client/interface.ts index a7ee08e4ca..83cc045ec6 100644 --- a/packages/plugins/@nocobase/plugin-snapshot-field/src/client/interface.ts +++ b/packages/plugins/@nocobase/plugin-snapshot-field/src/client/interface.ts @@ -100,7 +100,7 @@ export const snapshot: IField = { type: 'object', group: 'advanced', title: `{{t('Snapshot', {ns: '${NAMESPACE}'})}}`, - description: `{{t('When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.', {ns: '${NAMESPACE}'})}}`, + description: `{{t('When adding a new record, create a snapshot for its relational record and save in the new record. The snapshot will not be updated when the relational record is updated.', {ns: '${NAMESPACE}'})}}`, default: { type: 'snapshot', // name, diff --git a/packages/plugins/@nocobase/plugin-snapshot-field/src/locale/zh-CN.json b/packages/plugins/@nocobase/plugin-snapshot-field/src/locale/zh-CN.json index fe941984d0..72bf3316ef 100644 --- a/packages/plugins/@nocobase/plugin-snapshot-field/src/locale/zh-CN.json +++ b/packages/plugins/@nocobase/plugin-snapshot-field/src/locale/zh-CN.json @@ -2,7 +2,7 @@ "Detail": "详情", "Snapshot": "快照", "Add block": "创建区块", - "When adding a new record, create a snapshot for its relational record and save in the current record. The snapshot is not updated when the record is subsequently updated.": "在添加数据时,为它的关系数据创建快照,并保存在当前的数据中。后续更新数据时,快照不再更新。", + "When adding a new record, create a snapshot for its relational record and save in the new record. The snapshot will not be updated when the relational record is updated.": "在添加数据时,为它的关系数据创建快照,并保存在当前的数据中。关系数据更新时,快照不会更新。", "View record": "查看数据", "Allow linking to multiple records": "允许关联多条记录", "The association field to snapshot": "快照目标关系字段",