Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: context menu bugs (#3279)
Nivedina268cab11e5a
diff --git a/packages/hoppscotch-common/locales/en.json b/packages/hoppscotch-common/locales/en.jsonindex 34ed67138..90a91a830 100644--- a/packages/hoppscotch-common/locales/en.json+++ b/packages/hoppscotch-common/locales/en.json@@ -159,8 +159,8 @@},"context_menu": {"set_environment_variable": "Set as variable",- "add_parameter": "Add to parameter",- "open_link_in_new_tab": "Open link in new tab"+ "add_parameters": "Add to parameters",+ "open_request_in_new_tab": "Open request in new tab"},"count": {"header": "Header {count}",diff --git a/packages/hoppscotch-common/src/services/context-menu/menu/parameter.menu.ts b/packages/hoppscotch-common/src/services/context-menu/menu/parameter.menu.tsindex ecb468ced..e07a5024e 100644--- a/packages/hoppscotch-common/src/services/context-menu/menu/parameter.menu.ts+++ b/packages/hoppscotch-common/src/services/context-menu/menu/parameter.menu.ts@@ -114,7 +114,7 @@ export class ParameterMenuService extends Service implements ContextMenu {id: "environment",text: {type: "text",- text: this.t("context_menu.add_parameter"),+ text: this.t("context_menu.add_parameters"),},icon: markRaw(IconArrowDownRight),action: () => {diff --git a/packages/hoppscotch-common/src/services/context-menu/menu/url.menu.ts b/packages/hoppscotch-common/src/services/context-menu/menu/url.menu.tsindex fcec234ce..1bf3fb35a 100644--- a/packages/hoppscotch-common/src/services/context-menu/menu/url.menu.ts+++ b/packages/hoppscotch-common/src/services/context-menu/menu/url.menu.ts@@ -70,7 +70,7 @@ export class URLMenuService extends Service implements ContextMenu {id: "link-tab",text: {type: "text",- text: this.t("context_menu.open_link_in_new_tab"),+ text: this.t("context_menu.open_request_in_new_tab"),},icon: markRaw(IconCopyPlus),action: () => {