diff --git a/frontend/src/hooks/useModal.ts b/frontend/src/hooks/useModal.ts index 12ef5c9bc8..7a65b9287f 100644 --- a/frontend/src/hooks/useModal.ts +++ b/frontend/src/hooks/useModal.ts @@ -45,7 +45,7 @@ export default function useModal() { hideCancel: false, okButtonProps: { status: 'danger' }, titleAlign: 'start', - modalClass: `ms-usemodal ms-usemodal-warning ms-usemodal-${'small'} ms-usemodal--warning`, + modalClass: `ms-usemodal ms-usemodal-warning ms-usemodal-small ms-usemodal--warning`, ...options, }), }; diff --git a/frontend/src/views/setting/system/organizationAndProject/locale/en-US.ts b/frontend/src/views/setting/system/organizationAndProject/locale/en-US.ts index a070d82e18..36a722b601 100644 --- a/frontend/src/views/setting/system/organizationAndProject/locale/en-US.ts +++ b/frontend/src/views/setting/system/organizationAndProject/locale/en-US.ts @@ -36,4 +36,11 @@ export default { 'system.organization.projectCount': 'Project({count})', 'system.organization.projectName': 'Project({name})', 'system.project.name': 'Project name', + 'system.organization.userName': 'Name', + 'system.organization.email': 'Email', + 'system.organization.phone': 'Phone', + 'system.organization.addSuccess': 'Add success', + 'system.organization.deleteName': 'Are you sure to delete {name}', + 'system.organization.deleteTip': + 'Delete the organization and delete the project data under that organization together. Please be cautious!', };