diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/__init__.py index 04d2432..49c953c 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/__init__.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/__init__.py @@ -580,8 +580,7 @@ It may have been removed by another user. return make_json_response( status=410, success=0, - errormsg=res + '\n' + - 'Operation failed while running create statement' + errormsg=res ) # we need oid to to add object in tree at browser, diff --git a/web/pgadmin/browser/static/js/node.js b/web/pgadmin/browser/static/js/node.js index 9a5b894..2beadf9 100644 --- a/web/pgadmin/browser/static/js/node.js +++ b/web/pgadmin/browser/static/js/node.js @@ -1153,10 +1153,8 @@ define( error: function(m, jqxhr) { Alertify.pgNotifier( "error", jqxhr, - S( - gettext("Error saving properties: %s") - ).sprintf(jqxhr.statusText).value() - ); + gettext("Error saving properties") + ); // Hide progress cursor $('.obj_properties').removeClass('show_progress'); diff --git a/web/pgadmin/tools/grant_wizard/static/js/grant_wizard.js b/web/pgadmin/tools/grant_wizard/static/js/grant_wizard.js index 61b0eda..4898f7f 100644 --- a/web/pgadmin/tools/grant_wizard/static/js/grant_wizard.js +++ b/web/pgadmin/tools/grant_wizard/static/js/grant_wizard.js @@ -1089,10 +1089,8 @@ define([ error: function(m, jqxhr) { alertify.pgNotifier( "error", jqxhr, - S( - gettext("Error saving properties: %s") - ).sprintf(jqxhr.statusText).value() - ); + gettext("Error saving properties") + ); // Release wizard objects self.releaseObjects();