feat(client): translation

This commit is contained in:
chenos 2022-05-04 19:42:49 +08:00
parent 914600209a
commit 33a99d91b8
2 changed files with 4 additions and 4 deletions

View File

@ -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': '拖拽中',
}

View File

@ -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);