diff --git a/packages/core/client/src/locale/zh_CN.ts b/packages/core/client/src/locale/zh_CN.ts index b35195343..652ba4728 100644 --- a/packages/core/client/src/locale/zh_CN.ts +++ b/packages/core/client/src/locale/zh_CN.ts @@ -477,7 +477,7 @@ export default { 'Please select collection first': '请先选择数据表', 'Only update records matching conditions': '只更新满足条件的数据', 'Fields that are not assigned a value will be set to the default value, and those that do not have a default value are set to null.': '未被赋值的字段将被设置为默认值,没有默认值的设置为空值。', - 'Confirm': '确认', - 'Form value changed tip': '数据更新未保存,确定要退出吗?', + 'Unsaved changes': '未保存修改', + 'Are you sure you don\'t want to save?': '你确定不保存修改吗?', 'Dragging': '拖拽中', } diff --git a/packages/core/client/src/schema-component/antd/action/Action.Drawer.tsx b/packages/core/client/src/schema-component/antd/action/Action.Drawer.tsx index 3a4247974..6596c2f82 100644 --- a/packages/core/client/src/schema-component/antd/action/Action.Drawer.tsx +++ b/packages/core/client/src/schema-component/antd/action/Action.Drawer.tsx @@ -27,8 +27,8 @@ export const ActionDrawer: ComposedActionDrawer = observer((props) => { return; } AntdModal.confirm({ - title: t('Confirm'), - content: t('Form value changed tip'), + title: t('Unsaved changes'), + content: t("Are you sure you don't want to save?"), async onOk() { setFormValueChanged(false); setVisible(false);