[SSE] Add warning when add cell watches
This commit is contained in:
parent
39914c9d22
commit
c5669995c6
|
@ -2344,6 +2344,18 @@ define([
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
win.show();
|
win.show();
|
||||||
|
} else if (id == Asc.c_oAscConfirm.ConfirmAddCellWatches) {
|
||||||
|
Common.UI.warning({
|
||||||
|
title: this.notcriticalErrorTitle,
|
||||||
|
msg: Common.Utils.String.format(this.confirmAddCellWatches, data),
|
||||||
|
buttons: ['yes', 'no'],
|
||||||
|
primary: 'yes',
|
||||||
|
callback: _.bind(function(btn) {
|
||||||
|
if (apiCallback) {
|
||||||
|
apiCallback(btn === 'yes');
|
||||||
|
}
|
||||||
|
}, this)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -3598,7 +3610,9 @@ define([
|
||||||
textReconnect: 'Connection is restored',
|
textReconnect: 'Connection is restored',
|
||||||
errorCannotUseCommandProtectedSheet: 'You cannot use this command on a protected sheet. To use this command, unprotect the sheet.<br>You might be requested to enter a password.',
|
errorCannotUseCommandProtectedSheet: 'You cannot use this command on a protected sheet. To use this command, unprotect the sheet.<br>You might be requested to enter a password.',
|
||||||
textRequestMacros: 'A macro makes a request to URL. Do you want to allow the request to the %1?',
|
textRequestMacros: 'A macro makes a request to URL. Do you want to allow the request to the %1?',
|
||||||
textRememberMacros: 'Remember my choice for all macros'
|
textRememberMacros: 'Remember my choice for all macros',
|
||||||
|
confirmAddCellWatches: 'This action will add {0} cell watches.<br>Do you want to continue?'
|
||||||
|
|
||||||
}
|
}
|
||||||
})(), SSE.Controllers.Main || {}))
|
})(), SSE.Controllers.Main || {}))
|
||||||
});
|
});
|
||||||
|
|
|
@ -1105,6 +1105,7 @@
|
||||||
"SSE.Controllers.Main.warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only.<br>Contact %1 sales team for personal upgrade terms.",
|
"SSE.Controllers.Main.warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only.<br>Contact %1 sales team for personal upgrade terms.",
|
||||||
"SSE.Controllers.Main.warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
"SSE.Controllers.Main.warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||||
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||||
|
"SSE.Controllers.Main.confirmAddCellWatches": "This action will add {0} cell watches.<br>Do you want to continue?",
|
||||||
"SSE.Controllers.Print.strAllSheets": "All Sheets",
|
"SSE.Controllers.Print.strAllSheets": "All Sheets",
|
||||||
"SSE.Controllers.Print.textFirstCol": "First column",
|
"SSE.Controllers.Print.textFirstCol": "First column",
|
||||||
"SSE.Controllers.Print.textFirstRow": "First row",
|
"SSE.Controllers.Print.textFirstRow": "First row",
|
||||||
|
|
Loading…
Reference in a new issue