diff --git a/mac/Config/Config/DownloadCoordinator.swift b/mac/Config/Config/DownloadCoordinator.swift index 13b192fd69..8d54ad6062 100644 --- a/mac/Config/Config/DownloadCoordinator.swift +++ b/mac/Config/Config/DownloadCoordinator.swift @@ -83,7 +83,7 @@ public class DownloadCoordinator: NSObject, ObservableObject, WKNavigationDelega // if an installation is already in progress then stop another from starting if keymanSettings.isInstallationInProgress() { - print("download already in progress, download canceled") + print("installation already in progress, download canceled") self.loadPackageFailed = true self.loadFailureMessage = InstallPackageError.packageInstallationAlreadyInProgress.localizedDescription decisionHandler(.cancel) diff --git a/mac/KeymanSettings/Sources/KeymanSettings/SettingsContainer.swift b/mac/KeymanSettings/Sources/KeymanSettings/SettingsContainer.swift index 3088b4fbcc..7ed7ac5808 100644 --- a/mac/KeymanSettings/Sources/KeymanSettings/SettingsContainer.swift +++ b/mac/KeymanSettings/Sources/KeymanSettings/SettingsContainer.swift @@ -33,7 +33,7 @@ public enum InstallPackageError: LocalizedError { public var errorDescription: String? { switch self { - case .packageInstallationAlreadyInProgress: return "A package installatino is already in progress." + case .packageInstallationAlreadyInProgress: return "A package installation is already in progress." case .fontCopyError: return "There was an error copying the font." case .fontRegistrationError: return "There was an error registering the font." case .internalError: return "An internal error occurred." @@ -507,8 +507,7 @@ public class SettingsContainer : ObservableObject { } /** - * Creates a PackageInstallHelper instance to manage the state of the package being downloaded with the specified name. - * Returns a URL to the temporary location where the package is to be downloaded as a .kmp file. + * Creates a PackageInstallHelper instance to manage the state of the package being installed with the specified name. */ func preparePackageDrop(kmpFilename: String) -> PackageInstallHelper? { return PackageInstallHelper(filename: kmpFilename, packageRepo: self.packageRepository, installedPackages: self.installedPackages, isDownload: false)