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:
parent
729b84f2ca
commit
d6a7ced32c
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ const roles = {
|
|||
}
|
||||
},
|
||||
close: {
|
||||
label: 'Close',
|
||||
label: process.platform === 'darwin' ? 'Close Window' : 'Close',
|
||||
accelerator: 'CommandOrControl+W',
|
||||
windowMethod: 'close'
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue