From 671096914343656df41d42c6adce685217486bda Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Mon, 3 Apr 2023 13:10:24 +0530 Subject: [PATCH] Rename 'Edit Object..' context menu back to 'Properties...'. #4734 --- docs/en_US/connect_to_server.rst | 2 +- docs/en_US/menu_bar.rst | 2 +- docs/en_US/tree_control.rst | 2 +- web/pgadmin/browser/static/js/node.js | 2 +- web/regression/feature_utils/locators.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en_US/connect_to_server.rst b/docs/en_US/connect_to_server.rst index 53446e64b..57d836ce9 100644 --- a/docs/en_US/connect_to_server.rst +++ b/docs/en_US/connect_to_server.rst @@ -45,4 +45,4 @@ communicate. For detailed information about a specific error message, please see the :ref:`Connection Error ` help page. To review or modify connection details, right-click on the name of the server, -and select *Edit Object...* from the context menu. +and select *Properties...* from the context menu. diff --git a/docs/en_US/menu_bar.rst b/docs/en_US/menu_bar.rst index d478d6b7a..5a9e5ffdb 100644 --- a/docs/en_US/menu_bar.rst +++ b/docs/en_US/menu_bar.rst @@ -64,7 +64,7 @@ following options (in alphabetical order): +-----------------------------+--------------------------------------------------------------------------------------------------------------------------+ | *Drop Cascade* | Click to delete the currently selected object and all dependent objects from the server. | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------+ -| *Edit Object...* | Click to review or modify the currently selected object's properties. | +| *Properties...* | Click to review or modify the currently selected object's properties. | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------+ | *Refresh* | Click to refresh the currently selected object. | +-----------------------------+--------------------------------------------------------------------------------------------------------------------------+ diff --git a/docs/en_US/tree_control.rst b/docs/en_US/tree_control.rst index 571ae8773..0a15d5ba9 100644 --- a/docs/en_US/tree_control.rst +++ b/docs/en_US/tree_control.rst @@ -63,7 +63,7 @@ following selections (options appear in alphabetical order): +---------------------------+---------------------------------------------------------------------------------------------------------------------------+ | *Maintenance...* | Click to open the :ref:`Maintenance... ` dialog to VACUUM, ANALYZE, REINDEX, or CLUSTER. | +---------------------------+---------------------------------------------------------------------------------------------------------------------------+ -| *Edit Object...* | Click to review or modify the currently selected object's properties. | +| *Properties...* | Click to review or modify the currently selected object's properties. | +---------------------------+---------------------------------------------------------------------------------------------------------------------------+ | *Refresh...* | Click to refresh the currently selected object. | +---------------------------+---------------------------------------------------------------------------------------------------------------------------+ diff --git a/web/pgadmin/browser/static/js/node.js b/web/pgadmin/browser/static/js/node.js index 6fcd2a7e6..97bca296f 100644 --- a/web/pgadmin/browser/static/js/node.js +++ b/web/pgadmin/browser/static/js/node.js @@ -123,7 +123,7 @@ define('pgadmin.browser.node', [ applies: ['object', 'context'], callback: 'show_obj_properties', priority: 999, - label: gettext('Edit Object...'), + label: gettext('Properties...'), data: { 'action': 'edit', }, diff --git a/web/regression/feature_utils/locators.py b/web/regression/feature_utils/locators.py index a3335b4cc..b3fcec630 100644 --- a/web/regression/feature_utils/locators.py +++ b/web/regression/feature_utils/locators.py @@ -40,7 +40,7 @@ class NavMenuLocators: object_menu_css = "button[data-label='Object']" - edit_obj_css = "li[data-label='Edit Object...']" + edit_obj_css = "li[data-label='Properties...']" backup_obj_css = "li[data-label='Backup...']"