mac/menu: rename Preferences to Settings for consistency with macOS

This commit is contained in:
der richter 2024-03-03 15:46:34 +01:00
parent ad0573ff8e
commit 035906dad5
1 changed files with 4 additions and 4 deletions

View File

@ -82,15 +82,15 @@ class MenuBar: NSObject {
Config(name: "About mpv", action: #selector(about), target: self),
Config(name: "separator"),
Config(
name: "Preferences…",
name: "Settings…",
key: ",",
action: #selector(preferences(_:)),
action: #selector(settings(_:)),
target: self,
file: "mpv.conf"
),
Config(
name: "Keyboard Shortcuts Config…",
action: #selector(preferences(_:)),
action: #selector(settings(_:)),
target: self,
file: "input.conf"
),
@ -295,7 +295,7 @@ class MenuBar: NSObject {
])
}
@objc func preferences(_ menuItem: NSMenuItem) {
@objc func settings(_ menuItem: NSMenuItem) {
guard let menuConfig = getConfigFromMenu(menuItem: menuItem),
let fileName = menuConfig.file else { return }
let configPaths: [URL] = [