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:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user