diff --git a/Yattee/Core/FileCommands.swift b/Yattee/Core/FileCommands.swift index f19ce161..ab5cf757 100644 --- a/Yattee/Core/FileCommands.swift +++ b/Yattee/Core/FileCommands.swift @@ -17,6 +17,14 @@ struct FileCommands: Commands { } .keyboardShortcut("o", modifiers: [.command]) } + #if os(macOS) + CommandGroup(replacing: .appSettings) { + Button(String(localized: "menu.app.settings")) { + NotificationCenter.default.post(name: .showSettings, object: nil) + } + .keyboardShortcut(",", modifiers: [.command]) + } + #endif } } #endif diff --git a/Yattee/Localizable.xcstrings b/Yattee/Localizable.xcstrings index 591dfd24..ccf8d67d 100644 --- a/Yattee/Localizable.xcstrings +++ b/Yattee/Localizable.xcstrings @@ -5142,6 +5142,16 @@ } } }, + "menu.app.settings" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Settings..." + } + } + } + }, "menu.file.openLink" : { "localizations" : { "en" : {