diff --git a/Xcodes/XcodesApp.swift b/Xcodes/XcodesApp.swift index 7340ea2..cfdb3af 100644 --- a/Xcodes/XcodesApp.swift +++ b/Xcodes/XcodesApp.swift @@ -123,10 +123,10 @@ class AppDelegate: NSObject, NSApplicationDelegate { } func localizeString(_ key: String, comment: String = "") -> String { -// if #available(macOS 12, *) { -// return String(localized: String.LocalizationValue(key)) -// } else { + if #available(macOS 12, *) { + return String(localized: String.LocalizationValue(key)) + } else { return NSLocalizedString(key, comment: comment) -// } + } }