From d35106868407f889fe297a6252f57e0dd5db1927 Mon Sep 17 00:00:00 2001 From: Matt Kiazyk Date: Mon, 13 Jun 2022 19:34:07 -0500 Subject: [PATCH] Fix Minimum version supported alert to show proper message --- Xcodes/Frontend/MainWindow.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xcodes/Frontend/MainWindow.swift b/Xcodes/Frontend/MainWindow.swift index 42de1da..9bd23d0 100644 --- a/Xcodes/Frontend/MainWindow.swift +++ b/Xcodes/Frontend/MainWindow.swift @@ -156,7 +156,7 @@ struct MainWindow: View { case let .checkMinSupportedVersion(xcode, deviceVersion): return Alert( title: Text("Alert.MinSupported.Title"), - message: Text(String(format: "Alert.MinSupported.Message", xcode.version.descriptionWithoutBuildMetadata, xcode.requiredMacOSVersion ?? "", deviceVersion)), + message: Text(String(format: localizeString("Alert.MinSupported.Message"), xcode.version.descriptionWithoutBuildMetadata, xcode.requiredMacOSVersion ?? "", deviceVersion)), primaryButton: .default( Text("Install"), action: {