mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
String improvements.
This commit is contained in:
parent
72f6353561
commit
2a2374329e
@ -358,9 +358,9 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) {
|
|||||||
**/
|
**/
|
||||||
var mode = p.$container.attr('action-mode');
|
var mode = p.$container.attr('action-mode');
|
||||||
if (mode) {
|
if (mode) {
|
||||||
var msg = '{{ _('Are you sure wish to stop editing the properties of the %%s - "%%s"?') }}';
|
var msg = '{{ _('Are you sure want to stop editing the properties of the %%s - "%%s"?') }}';
|
||||||
if (args.action == 'edit') {
|
if (args.action == 'edit') {
|
||||||
msg = '{{ _('Are you sure wish to reset the current changes, and reopen the panel for %%s - "%%s"?') }}';
|
msg = '{{ _('Are you sure want to reset the current changes and reopen the panel for %%s - "%%s"?') }}';
|
||||||
}
|
}
|
||||||
|
|
||||||
Alertify.confirm(
|
Alertify.confirm(
|
||||||
@ -429,7 +429,7 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) {
|
|||||||
if (!(_.isFunction(obj.canDropCascade) ?
|
if (!(_.isFunction(obj.canDropCascade) ?
|
||||||
obj.canDropCascade.apply(obj, [d, i]) : obj.canDropCascade)) {
|
obj.canDropCascade.apply(obj, [d, i]) : obj.canDropCascade)) {
|
||||||
Alertify.notify(
|
Alertify.notify(
|
||||||
S('The %s - "%s" can not be dropped!')
|
S('The %s "%s" can not be dropped!')
|
||||||
.sprintf(obj.label, d.label).value(),
|
.sprintf(obj.label, d.label).value(),
|
||||||
'error',
|
'error',
|
||||||
10
|
10
|
||||||
@ -444,7 +444,7 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) {
|
|||||||
if (!(_.isFunction(obj.canDrop) ?
|
if (!(_.isFunction(obj.canDrop) ?
|
||||||
obj.canDrop.apply(obj, [d, i]) : obj.canDrop)) {
|
obj.canDrop.apply(obj, [d, i]) : obj.canDrop)) {
|
||||||
Alertify.notify(
|
Alertify.notify(
|
||||||
S('The %s - "%s" can not be dropped!')
|
S('The %s "%s" can not be dropped!')
|
||||||
.sprintf(obj.label, d.label).value(),
|
.sprintf(obj.label, d.label).value(),
|
||||||
'error', 10
|
'error', 10
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user