reword managed user error

This commit is contained in:
Aine
2024-09-24 21:58:24 +03:00
parent e328380c77
commit 52a2f1c936
8 changed files with 12 additions and 10 deletions

View File

@@ -115,7 +115,7 @@ const UserPreventSelfDelete: React.FC<{ children: React.ReactNode; ownUserIsSele
notify(<Alert severity="error">{translate("resources.users.helper.erase_admin_error")}</Alert>);
ev.stopPropagation();
} else if (asManagedUserIsSelected) {
notify(<Alert severity="error">{translate("resources.users.helper.erase_managed_user_error")}</Alert>);
notify(<Alert severity="error">{translate("resources.users.helper.modify_managed_user_error")}</Alert>);
ev.stopPropagation();
}
};
@@ -308,7 +308,7 @@ const UserPasswordInput = props => {
}
return (
<PasswordInput {...props} helperText="resources.users.helper.erase_managed_user_error" disabled={asManagedUserIsSelected} />
<PasswordInput {...props} helperText="resources.users.helper.modify_managed_user_error" disabled={asManagedUserIsSelected} />
);
};