Nomenclature changes:

1. Rename "Properties..." context menu option of object to "Edit Object...".
2. Rename "Browser" tree to "Object Explorer". #4734
This commit is contained in:
Aditya Toshniwal
2023-03-28 22:20:14 +05:30
committed by GitHub
parent 05f3efbc97
commit 9924fae378
47 changed files with 80 additions and 84 deletions

View File

@@ -47,10 +47,10 @@ def register_browser_preferences(self):
self.preference.register(
'display', 'browser_tree_state_save_interval',
gettext("Browser tree state saving interval"), 'integer',
gettext("Object explorer tree state saving interval"), 'integer',
30, category_label=PREF_LABEL_DISPLAY,
help_str=gettext(
'Browser tree state saving interval in seconds. '
'Object explorer state saving interval in seconds. '
'Use -1 to disable the tree saving mechanism.'
)
)
@@ -139,7 +139,7 @@ def register_browser_preferences(self):
self.preference.register(
'keyboard_shortcuts',
'browser_tree',
gettext('Browser tree'),
gettext('Object Explorer'),
'keyboardshortcut',
{
'alt': True,
@@ -425,7 +425,7 @@ def register_browser_preferences(self):
self.preference.register(
'keyboard_shortcuts',
'sub_menu_refresh',
gettext('Refresh browser tree'),
gettext('Refresh object explorer'),
'keyboardshortcut',
{
'alt': False,

View File

@@ -768,7 +768,7 @@
}
},
{
"name": "Error while updating the new compound trigger id in browser tree",
"name": "Error while updating the new compound trigger id in object explorer",
"url": "/browser/compound_trigger/obj/",
"is_positive_test": false,
"mocking_required": true,

View File

@@ -143,7 +143,7 @@ export default class DatabaseSchema extends BaseUISchema {
id: 'is_template', label: gettext('Template?'),
type: 'switch', group: gettext('Definition'),
mode: ['properties', 'edit', 'create'], readonly: function(state) {return (state.is_sys_obj); },
helpMessage: gettext('Note: When the preferences setting \'show template databases\' is set to false, then template databases won\'t be displayed in the browser tree.'),
helpMessage: gettext('Note: When the preferences setting \'show template databases\' is set to false, then template databases won\'t be displayed in the object explorer.'),
helpMessageMode: ['edit', 'create'],
},{
id: 'datallowconn', label: gettext('Allow connections?'),

View File

@@ -79,14 +79,14 @@ define('pgadmin.node.server', [
applies: ['tools', 'context'], callback: 'reload_configuration',
category: 'reload', priority: 10, label: gettext('Reload Configuration'),
enable : 'enable_reload_config',data: {
data_disabled: gettext('Please select a server from the browser tree to reload the configuration files.'),
data_disabled: gettext('Please select a server from the object explorer to reload the configuration files.'),
},
},{
name: 'restore_point', node: 'server', module: this,
applies: ['tools', 'context'], callback: 'restore_point',
category: 'restore', priority: 7, label: gettext('Add Named Restore Point...'),
enable : 'is_applicable',data: {
data_disabled: gettext('Please select any server from the browser tree to Add Named Restore Point.'),
data_disabled: gettext('Please select any server from the object explorer to Add Named Restore Point.'),
},
},{
name: 'change_password', node: 'server', module: this,

View File

@@ -197,7 +197,7 @@ define('pgadmin.browser', [
// Panel to keep the left hand browser tree
'browser': new pgAdmin.Browser.Panel({
name: 'browser',
title: gettext('Browser'),
title: gettext('Object Explorer'),
showTitle: true,
isCloseable: false,
isPrivate: true,

View File

@@ -123,7 +123,7 @@ define('pgadmin.browser.node', [
applies: ['object', 'context'],
callback: 'show_obj_properties',
priority: 999,
label: gettext('Properties...'),
label: gettext('Edit Object...'),
data: {
'action': 'edit',
},