From dd9771e7502d887a2ba0b8cb0da8653aa6729ffd Mon Sep 17 00:00:00 2001 From: Josh Dague Date: Thu, 17 Sep 2020 18:25:02 -0700 Subject: [PATCH] add mnemonic to context menu --- src/_locales/en/messages.json | 5 +++++ src/background/main.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index 6a88136..5e0e103 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -9,6 +9,11 @@ "description": "Description of the extension." }, + "contextMenuLabel": { + "message": "Web &Archives", + "description": "Main context menu label." + }, + "engineName_google_short": { "message": "Google", "description": "Short name of the search engine." diff --git a/src/background/main.js b/src/background/main.js index 62ec608..b0e84ef 100644 --- a/src/background/main.js +++ b/src/background/main.js @@ -109,7 +109,7 @@ async function createMenu(options) { createMenuItem({ id: 'par-1', - title: getText('extensionName'), + title: getText('contextMenuLabel'), contexts });