From b59d512fe5e42280f93451d79f8cf614cbed3a2c Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Fri, 22 Jan 2021 15:05:26 +0530 Subject: [PATCH] Rename plugins menu to tools menu --- app/menus/menu.ts | 4 ++-- app/menus/menus/{plugins.ts => tools.ts} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename app/menus/menus/{plugins.ts => tools.ts} (95%) diff --git a/app/menus/menu.ts b/app/menus/menu.ts index 5cbfe703..a924f15e 100644 --- a/app/menus/menu.ts +++ b/app/menus/menu.ts @@ -7,7 +7,7 @@ import {icon} from '../config/paths'; import viewMenu from './menus/view'; import shellMenu from './menus/shell'; import editMenu from './menus/edit'; -import pluginsMenu from './menus/plugins'; +import toolsMenu from './menus/tools'; import windowMenu from './menus/window'; import helpMenu from './menus/help'; import darwinMenu from './menus/darwin'; @@ -64,7 +64,7 @@ export const createMenu = ( shellMenu(commandKeys, execCommand), editMenu(commandKeys, execCommand), viewMenu(commandKeys, execCommand), - pluginsMenu(commandKeys, execCommand), + toolsMenu(commandKeys, execCommand), windowMenu(commandKeys, execCommand), helpMenu(commandKeys, showAbout) ]; diff --git a/app/menus/menus/plugins.ts b/app/menus/menus/tools.ts similarity index 95% rename from app/menus/menus/plugins.ts rename to app/menus/menus/tools.ts index f23a2e5c..843d3d35 100644 --- a/app/menus/menus/plugins.ts +++ b/app/menus/menus/tools.ts @@ -5,10 +5,10 @@ export default ( execCommand: (command: string, focusedWindow?: BrowserWindow) => void ): MenuItemConstructorOptions => { return { - label: 'Plugins', + label: 'Tools', submenu: [ { - label: 'Update', + label: 'Update plugins', accelerator: commands['plugins:update'], click() { execCommand('plugins:update');