Remove more exclamation marks from error messages.

This commit is contained in:
Alexander Lakhin
2017-11-01 15:18:07 +00:00
committed by Dave Page
parent 635d944e03
commit 23d431fb54
22 changed files with 35 additions and 35 deletions

View File

@@ -94,7 +94,7 @@ blueprint = DebuggerModule(MODULE_NAME, __name__)
@blueprint.route("/", endpoint='index')
@login_required
def index():
return bad_request(errormsg=gettext("This URL cannot be called directly!"))
return bad_request(errormsg=gettext("This URL cannot be called directly."))
@blueprint.route("/js/debugger.js")

View File

@@ -129,7 +129,7 @@ def check_precondition(f):
# If DB not connected then return error to browser
if not server_info['conn'].connected():
return precondition_required(
gettext("Connection to the server has been lost!")
gettext("Connection to the server has been lost.")
)
# Set template path for sql scripts

View File

@@ -152,7 +152,7 @@ class IEMessage(IProcessDesc):
@blueprint.route("/")
@login_required
def index():
return bad_request(errormsg=_("This URL cannot be called directly!"))
return bad_request(errormsg=_("This URL cannot be called directly."))
@blueprint.route("/js/import_export.js")

View File

@@ -147,7 +147,7 @@ class Message(IProcessDesc):
@login_required
def index():
return bad_request(
errormsg=_("This URL cannot be called directly!")
errormsg=_("This URL cannot be called directly.")
)

View File

@@ -193,7 +193,7 @@ def create_restore_job(sid):
if _file is None:
return make_json_response(
success=0,
errormsg=_("File couldn't be found!")
errormsg=_("File could not be found.")
)
# Fetch the server details like hostname, port, roles etc

View File

@@ -67,7 +67,7 @@ class ObjectRegistry(ABCMeta):
return (ObjectRegistry.registry[name])(**kwargs)
raise NotImplementedError(
gettext("This feature has not been implemented for object type '{0}'!").format(name)
gettext("This feature has not been implemented for object type '{0}'.").format(name)
)

View File

@@ -3150,7 +3150,7 @@ define('tools.querytool', [
self.trigger(
'pgadmin-sqleditor:loading-icon:show',
gettext("Initializing the query execution!")
gettext("Initializing query execution...")
);
$("#btn-flash").prop('disabled', true);