mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Flask-Babel 0.11+ compatibility. Fixes #1496
This commit is contained in:
@@ -159,7 +159,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
|
||||
return false;
|
||||
|
||||
alertify.confirm(
|
||||
S('{{ _('Are you sure you want to truncate table - %%s ?') }}').sprintf(d.label).value(),
|
||||
S('{{ _('Are you sure you want to truncate table %s?') }}').sprintf(d.label).value(),
|
||||
function (e) {
|
||||
if (e) {
|
||||
var data = d;
|
||||
@@ -208,7 +208,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
|
||||
return false;
|
||||
|
||||
alertify.confirm(
|
||||
S('{{ _('Are you sure you want to reset table statistics - %%s ?') }}').sprintf(d.label).value(),
|
||||
S('{{ _('Are you sure you want to reset table statistics for %s?') }}').sprintf(d.label).value(),
|
||||
function (e) {
|
||||
if (e) {
|
||||
var data = d;
|
||||
|
||||
@@ -110,7 +110,7 @@ function($, _, S, pgAdmin, pgBrowser, Alertify) {
|
||||
|
||||
Alertify.confirm(
|
||||
'{{ _('Disconnect the database') }}',
|
||||
S('{{ _('Are you sure you want to disconnect the database - %%s ?') }}').sprintf(d.label).value(),
|
||||
S('{{ _('Are you sure you want to disconnect the database - %s?') }}').sprintf(d.label).value(),
|
||||
function(evt) {
|
||||
var data = d;
|
||||
$.ajax({
|
||||
|
||||
Reference in New Issue
Block a user