Replace all occurrences of "can not" with "cannot".

This commit is contained in:
Jonas Thelemann
2017-04-05 13:38:14 +01:00
committed by Dave Page
parent 85db82c7f4
commit 65f21a8cd7
32 changed files with 59 additions and 59 deletions

View File

@@ -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")

View File

@@ -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)

View File

@@ -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")

View File

@@ -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!")
)

View File

@@ -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")

View File

@@ -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")