When there are multiple tabs, the window menu would look like:

Where General is the preferences window title. However, I feel it's not clear enough to the user that General mean the preferences window. Also, what if the main window has a name that is the same or close to the preferences tab name. That would be confusing.
When there's no tabs, the HIG says that the window title should be the app name and then Preferences, but that can look weird:

The macOS Human Interface Guidelines doesn't say anything about this.
My preference would be to use Preferences — General for the title in the Window menu when there are multiple tabs, and Preferences when there's none.
Xcode uses this convention:

Changing the title of only the "Window" menu items is possible with:
NSApp.changeWindowsItem(window, title: "Preferences — General", filename: false)
Thoughts?
When there are multiple tabs, the window menu would look like:
Where
Generalis the preferences window title. However, I feel it's not clear enough to the user thatGeneralmean the preferences window. Also, what if the main window has a name that is the same or close to the preferences tab name. That would be confusing.When there's no tabs, the HIG says that the window title should be the app name and then
Preferences, but that can look weird:The macOS Human Interface Guidelines doesn't say anything about this.
My preference would be to use
Preferences — Generalfor the title in the Window menu when there are multiple tabs, andPreferenceswhen there's none.Xcode uses this convention:

Changing the title of only the "Window" menu items is possible with:
Thoughts?