mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Remove more exclamation marks from error messages.
This commit is contained in:
committed by
Dave Page
parent
635d944e03
commit
23d431fb54
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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.")
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user