From 639063145e653904710f27ba829cac5531d516af Mon Sep 17 00:00:00 2001 From: Danny Colin Date: Wed, 14 Jun 2023 16:10:35 -0400 Subject: [PATCH] Fix missing translations for the context menu --- src/_locales | 2 +- src/js/background/assignManager.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/_locales b/src/_locales index 1b944a2..fa5fb49 160000 --- a/src/_locales +++ b/src/_locales @@ -1 +1 @@ -Subproject commit 1b944a2cbd8577c8ca928729ff1439dd30ce8269 +Subproject commit fa5fb497bd4e5c9b7d69407ee593b853cf839009 diff --git a/src/js/background/assignManager.js b/src/js/background/assignManager.js index 058329a..f67c29a 100644 --- a/src/js/background/assignManager.js +++ b/src/js/background/assignManager.js @@ -678,7 +678,7 @@ window.assignManager = { } browser.contextMenus.create({ id: menuId, - title: "Always Open in This Container", + title: browser.i18n.getMessage("alwaysOpenSiteInContainer"), checked, type: "checkbox", contexts: ["all"], @@ -692,13 +692,13 @@ window.assignManager = { browser.contextMenus.create({ id: this.MENU_HIDE_ID, - title: "Hide This Container", + title: browser.i18n.getMessage("hideThisContainer"), contexts: ["all"], }); browser.contextMenus.create({ id: this.MENU_MOVE_ID, - title: "Move Tabs to a New Window", + title: browser.i18n.getMessage("moveTabsToANewWindow"), contexts: ["all"], }); },