mirror of
https://github.com/electron/electron.git
synced 2026-01-25 23:38:18 -05:00
MenuItem: Use 'Close Window' for 'close' role label
On OS X, the standard label that's used for the 'close' role is 'Close Window'. You can see this in the default macOS apps from Apple.
This commit is contained in:
@@ -7,7 +7,7 @@ const roles = {
|
||||
}
|
||||
},
|
||||
close: {
|
||||
label: 'Close',
|
||||
label: process.platform === 'darwin' ? 'Close Window' : 'Close',
|
||||
accelerator: 'CommandOrControl+W',
|
||||
windowMethod: 'close'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user