mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-23 03:31:56 +00:00
i18n: Change menu according to system locale.
This commit is contained in:
committed by
Akash Nimare
parent
d521f533f0
commit
c78ea51ec9
@@ -171,7 +171,7 @@ class AppMenu {
|
||||
}
|
||||
}
|
||||
}, {
|
||||
label: 'Auto hide Menu bar',
|
||||
label: t.__('Auto hide Menu bar'),
|
||||
checked: ConfigUtil.getConfigItem('autoHideMenubar', false),
|
||||
visible: process.platform !== 'darwin',
|
||||
click(_item: any, focusedWindow: any) {
|
||||
@@ -414,7 +414,6 @@ class AppMenu {
|
||||
|
||||
getOtherTpl(props: any): Electron.MenuItemConstructorOptions[] {
|
||||
const { tabs, activeTabIndex, enableMenu } = props;
|
||||
|
||||
return [{
|
||||
label: t.__('File'),
|
||||
submenu: [{
|
||||
|
Reference in New Issue
Block a user