mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Replace all occurrences of "can not" with "cannot".
This commit is contained in:
committed by
Dave Page
parent
85db82c7f4
commit
65f21a8cd7
@@ -168,7 +168,7 @@ class BackupMessage(IProcessDesc):
|
||||
@blueprint.route("/")
|
||||
@login_required
|
||||
def index():
|
||||
return bad_request(errormsg=_("This URL can not be called directly."))
|
||||
return bad_request(errormsg=_("This URL cannot be called directly."))
|
||||
|
||||
|
||||
@blueprint.route("/backup.js")
|
||||
|
@@ -75,7 +75,7 @@ blueprint = DebuggerModule(MODULE_NAME, __name__)
|
||||
@blueprint.route("/")
|
||||
@login_required
|
||||
def index():
|
||||
return bad_request(errormsg=gettext("This URL can not be called directly!"))
|
||||
return bad_request(errormsg=gettext("This URL cannot be called directly!"))
|
||||
|
||||
|
||||
@blueprint.route("/js/debugger.js")
|
||||
@@ -190,7 +190,7 @@ def init_function(node_type, sid, did, scid, fid, trid=None):
|
||||
if r_set['rows'][0]:
|
||||
# Function with a colon in the name cannot be debugged.
|
||||
# If this is an EDB wrapped function, no debugging allowed
|
||||
# Function with return type "trigger" can not be debugged.
|
||||
# Function with return type "trigger" cannot be debugged.
|
||||
if ":" in r_set['rows'][0]['name']:
|
||||
ret_status = False
|
||||
msg = gettext("Functions with a colon in the name cannot be debugged.")
|
||||
@@ -230,7 +230,7 @@ def init_function(node_type, sid, did, scid, fid, trid=None):
|
||||
ret_status = False
|
||||
msg = gettext("The function/procedure cannot be debugged")
|
||||
|
||||
# Return the response that function can not be debug...
|
||||
# Return the response that function cannot be debug...
|
||||
if not ret_status:
|
||||
current_app.logger.debug(msg)
|
||||
return internal_server_error(msg)
|
||||
|
@@ -138,7 +138,7 @@ class IEMessage(IProcessDesc):
|
||||
@blueprint.route("/")
|
||||
@login_required
|
||||
def index():
|
||||
return bad_request(errormsg=_("This URL can not be called directly!"))
|
||||
return bad_request(errormsg=_("This URL cannot be called directly!"))
|
||||
|
||||
|
||||
@blueprint.route("/js/import_export.js")
|
||||
|
@@ -140,7 +140,7 @@ class Message(IProcessDesc):
|
||||
@login_required
|
||||
def index():
|
||||
return bad_request(
|
||||
errormsg=_("This URL can not be called directly!")
|
||||
errormsg=_("This URL cannot be called directly!")
|
||||
)
|
||||
|
||||
|
||||
|
@@ -122,7 +122,7 @@ class RestoreMessage(IProcessDesc):
|
||||
@blueprint.route("/")
|
||||
@login_required
|
||||
def index():
|
||||
return bad_request(errormsg=_("This URL can not be called directly."))
|
||||
return bad_request(errormsg=_("This URL cannot be called directly."))
|
||||
|
||||
|
||||
@blueprint.route("/restore.js")
|
||||
|
@@ -96,7 +96,7 @@ def validate_user(data):
|
||||
@blueprint.route("/")
|
||||
@login_required
|
||||
def index():
|
||||
return bad_request(errormsg=_("This URL can not be called directly."))
|
||||
return bad_request(errormsg=_("This URL cannot be called directly."))
|
||||
|
||||
|
||||
@blueprint.route("/user_management.js")
|
||||
|
Reference in New Issue
Block a user