diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/table/js/table.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/table/js/table.js index bf6b76f..62e31c7 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/table/js/table.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/table/js/table.js @@ -165,7 +165,8 @@ function($, _, S, pgAdmin, pgBrowser, alertify) { return false; alertify.confirm( - S('{{ _('Are you sure you want to truncate table %s?') }}').sprintf(d.label).value(), + '{{ _('Truncate Table') }}', + S('{{ _('Are you sure you want to truncate table "%%s"?') }}').sprintf(d.label).value(), function (e) { if (e) { var data = d; @@ -200,8 +201,9 @@ function($, _, S, pgAdmin, pgBrowser, alertify) { t.unload(i); } }); - } - }); + }}, + function() {} + ); }, reset_table_stats: function(args) { var input = args || {}, @@ -215,7 +217,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) { alertify.confirm( '{{ _('Reset statistics') }}', - S('{{ _('Are you sure you want to reset the statistics for table %s?') }}').sprintf(d._label).value(), + S('{{ _('Are you sure you want to reset the statistics for table "%%s"?') }}').sprintf(d._label).value(), function (e) { if (e) { var data = d;