mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed Typos
This commit is contained in:
@@ -1479,7 +1479,7 @@ class ServerNode(PGChildNodeView):
|
||||
If Yes, connect the server and return connection.
|
||||
If No, Raise HTTP error and ask for the password.
|
||||
|
||||
In case of 'Save Password' request from user, excrypted Pasword
|
||||
In case of 'Save Password' request from user, excrypted Password
|
||||
will be stored in the respected server database and
|
||||
establish the connection OR just connect the server and do not
|
||||
store the password.
|
||||
|
||||
@@ -97,7 +97,7 @@ class EdbFuncModule(CollectionNodeModule):
|
||||
"""
|
||||
Register preferences for this module.
|
||||
"""
|
||||
# Add the node informaton for browser, not in respective
|
||||
# Add the node information for browser, not in respective
|
||||
# node preferences
|
||||
self.browser_preference = Preferences.module('browser')
|
||||
self.pref_show_system_objects = self.browser_preference.preference(
|
||||
@@ -665,7 +665,7 @@ class EdbProcModule(CollectionNodeModule):
|
||||
"""
|
||||
Register preferences for this module.
|
||||
"""
|
||||
# Add the node informaton for browser, not in respective
|
||||
# Add the node information for browser, not in respective
|
||||
# node preferences
|
||||
self.browser_preference = Preferences.module('browser')
|
||||
self.pref_show_system_objects = self.browser_preference.preference(
|
||||
|
||||
@@ -42,7 +42,7 @@ define('pgadmin.node.package', [
|
||||
hasSQL: true,
|
||||
hasDepends: true,
|
||||
Init: function() {
|
||||
/* Avoid mulitple registration of menus */
|
||||
/* Avoid multiple registration of menus */
|
||||
if (this.initialized)
|
||||
return;
|
||||
|
||||
|
||||
@@ -618,7 +618,7 @@ class ColumnsView(PGChildNodeView, DataTypeReader):
|
||||
"""
|
||||
Convert acl coming from client to required db parsing format.
|
||||
:param data: Data.
|
||||
:param old_data: old data for comparision and get name.
|
||||
:param old_data: old data for Comparison and get name.
|
||||
"""
|
||||
# If name is not present in data then
|
||||
# we will fetch it from old data, we also need schema & table name
|
||||
|
||||
@@ -66,7 +66,7 @@ define('pgadmin.node.database', [
|
||||
},
|
||||
width: '700px',
|
||||
Init: function() {
|
||||
/* Avoid mulitple registration of menus */
|
||||
/* Avoid multiple registration of menus */
|
||||
if (this.initialized)
|
||||
return;
|
||||
|
||||
|
||||
@@ -638,7 +638,7 @@ rolmembership:{
|
||||
def check_precondition(action=None):
|
||||
"""
|
||||
This function will behave as a decorator which will checks the status
|
||||
of the database connection for the maintainance database of the server,
|
||||
of the database connection for the maintenance database of the server,
|
||||
beforeexecuting rest of the operation for the wrapped function. It will
|
||||
also attach manager, conn (maintenance connection for the server) as
|
||||
properties of the instance.
|
||||
|
||||
@@ -78,7 +78,7 @@ define('pgadmin.node.role', [
|
||||
return gettext('Group Role') + ' - ' + d.label;
|
||||
},
|
||||
Init: function() {
|
||||
/* Avoid mulitple registration of menus */
|
||||
/* Avoid multiple registration of menus */
|
||||
if (this.initialized)
|
||||
return;
|
||||
|
||||
|
||||
@@ -516,7 +516,7 @@ class TablespaceView(PGChildNodeView):
|
||||
|
||||
def get_sql(self, gid, sid, data, tsid=None):
|
||||
"""
|
||||
This function will genrate sql from model/properties data
|
||||
This function will generate sql from model/properties data
|
||||
"""
|
||||
required_args = [
|
||||
'name'
|
||||
|
||||
@@ -47,7 +47,7 @@ define('pgadmin.node.tablespace', [
|
||||
hasStatistics: true,
|
||||
statsPrettifyFields: [gettext('Size')],
|
||||
Init: function() {
|
||||
/* Avoid mulitple registration of menus */
|
||||
/* Avoid multiple registration of menus */
|
||||
if (this.initialized)
|
||||
return;
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class ServerType():
|
||||
|
||||
Create an instance of this class to define new type of the server support,
|
||||
In order to define new type of instance, you may want to override this
|
||||
class with overriden function - instanceOf for type checking for
|
||||
class with overridden function - instanceOf for type checking for
|
||||
identification based on the version.
|
||||
"""
|
||||
registry = dict()
|
||||
|
||||
Reference in New Issue
Block a user