mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-11 03:32:33 -08:00
fix: menu item not translated
This commit is contained in:
parent
f144a0056e
commit
8917dd95bf
1 changed files with 4 additions and 4 deletions
|
|
@ -469,24 +469,24 @@ export class Window implements IWindowService {
|
|||
// TODO: restore updater options here
|
||||
this.menuService.insertMenu('TiddlyGit', [
|
||||
{
|
||||
label: i18n.t('ContextMenu.About'),
|
||||
label: () => i18n.t('ContextMenu.About'),
|
||||
click: async () => await this.open(WindowNames.about),
|
||||
},
|
||||
{ type: 'separator' },
|
||||
{
|
||||
label: i18n.t('ContextMenu.Preferences'),
|
||||
label: () => i18n.t('ContextMenu.Preferences'),
|
||||
click: async () => await this.open(WindowNames.preferences),
|
||||
accelerator: 'CmdOrCtrl+,',
|
||||
},
|
||||
{ type: 'separator' },
|
||||
{
|
||||
label: i18n.t('ContextMenu.Notifications'),
|
||||
label: () => i18n.t('ContextMenu.Notifications'),
|
||||
click: async () => await this.open(WindowNames.notifications),
|
||||
accelerator: 'CmdOrCtrl+Shift+N',
|
||||
},
|
||||
{ type: 'separator' },
|
||||
{
|
||||
label: i18n.t('Preference.ClearBrowsingData'),
|
||||
label: () => i18n.t('Preference.ClearBrowsingData'),
|
||||
click: () => ipcMain.emit('request-clear-browsing-data'),
|
||||
},
|
||||
{ type: 'separator' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue