mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Platform agnostic error message (#37005)
Current error message has macOS specific language. We use this error message for all platforms.
This commit is contained in:
parent
4a4ac4380c
commit
25d65aed7b
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ const baseClass = "delete-software-modal";
|
|||
const DELETE_SW_USED_BY_POLICY_ERROR_MSG =
|
||||
"Couldn't delete. Policy automation uses this software. Please disable policy automation for this software and try again.";
|
||||
const DELETE_SW_INSTALLED_DURING_SETUP_ERROR_MSG =
|
||||
"Couldn't delete. This software is installed when new Macs boot. Please remove software in Controls > Setup experience and try again.";
|
||||
"Couldn't delete. This software is installed during new host setup. Please remove software in Controls > Setup experience and try again.";
|
||||
|
||||
interface IDeleteSoftwareModalProps {
|
||||
softwareId: number;
|
||||
|
|
|
|||
|
|
@ -1018,7 +1018,7 @@ WHERE
|
|||
|
||||
var (
|
||||
errDeleteInstallerWithAssociatedPolicy = &fleet.ConflictError{Message: "Couldn't delete. Policy automation uses this software. Please disable policy automation for this software and try again."}
|
||||
errDeleteInstallerInstalledDuringSetup = &fleet.ConflictError{Message: "Couldn't delete. This software is installed when new Macs boot. Please remove software in Controls > Setup experience and try again."}
|
||||
errDeleteInstallerInstalledDuringSetup = &fleet.ConflictError{Message: "Couldn't delete. This software is installed during new host setup. Please remove software in Controls > Setup experience and try again."}
|
||||
)
|
||||
|
||||
func (ds *Datastore) DeleteSoftwareInstaller(ctx context.Context, id uint) error {
|
||||
|
|
|
|||
Loading…
Reference in a new issue