From 91ca746c2701b181aaa685a13c914b74bff05a3f Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 20 Jan 2021 15:52:34 +0000 Subject: [PATCH] Fix menu text (the Query tool option doesn't open a dialogue, so should not have ...). --- web/pgadmin/browser/static/js/collection.js | 2 +- web/pgadmin/browser/static/js/node.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/pgadmin/browser/static/js/collection.js b/web/pgadmin/browser/static/js/collection.js index 034b25c18..d412d67ad 100644 --- a/web/pgadmin/browser/static/js/collection.js +++ b/web/pgadmin/browser/static/js/collection.js @@ -53,7 +53,7 @@ define([ pgAdmin.Browser.add_menus([{ name: 'show_query_tool', node: this.type, module: this, applies: ['context'], callback: 'show_query_tool', - priority: 998, label: gettext('Query Tool...'), + priority: 998, label: gettext('Query Tool'), icon: 'pg-font-icon icon-query-tool', }]); diff --git a/web/pgadmin/browser/static/js/node.js b/web/pgadmin/browser/static/js/node.js index 9c5560ca0..12226fe2f 100644 --- a/web/pgadmin/browser/static/js/node.js +++ b/web/pgadmin/browser/static/js/node.js @@ -196,7 +196,7 @@ define('pgadmin.browser.node', [ applies: ['context'], callback: 'show_query_tool', priority: 998, - label: gettext('Query Tool...'), + label: gettext('Query Tool'), icon: 'pg-font-icon icon-query-tool', enable: enable, }]);