refactor: local translate (#3396)

This commit is contained in:
katherinehhh 2024-01-16 11:31:03 +08:00 committed by GitHub
parent 8530da7c23
commit bc927af640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -201,6 +201,7 @@
"Actions": "操作", "Actions": "操作",
"Update": "更新", "Update": "更新",
"Update record": "更新数据", "Update record": "更新数据",
"Unnamed":"未命名",
"View": "查看", "View": "查看",
"View record": "查看数据", "View record": "查看数据",
"Refresh": "刷新", "Refresh": "刷新",

View File

@ -65,7 +65,7 @@ export const pageTabSettings = new SchemaSettings({
const { t } = useTranslation(); const { t } = useTranslation();
const { schema } = useSchemaToolbar(); const { schema } = useSchemaToolbar();
return { return {
title: 'Delete', title: t('Delete'),
eventKey: 'remove', eventKey: 'remove',
onClick() { onClick() {
modal.confirm({ modal.confirm({