[DE] Show warning when filling starts

This commit is contained in:
Julia Radzhabova
2025-02-20 21:13:46 +03:00
parent 0eba7ec71c
commit 2fb8ea18d8
2 changed files with 6 additions and 0 deletions

View File

@ -1944,12 +1944,17 @@ define([
},
onStartFilling: function(disconnect) {
this._isFillInitiator = true;
disconnect ? this.api.asc_DisconnectEveryone() : this.onDisconnectEveryone();
},
onDisconnectEveryone: function() {
Common.NotificationCenter.trigger('doc:mode-apply', 'view', true, true);
appHeader.onStartFilling();
!this._isFillInitiator && Common.UI.warning({
msg : this.warnStartFilling,
buttons: ['ok']
});
},
applyModeCommonElements: function() {

View File

@ -1316,6 +1316,7 @@
"DE.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.",
"DE.Controllers.Main.warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
"DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
"DE.Controllers.Main.warnStartFilling": "Form filling is in progress.<br>File editing is not currently available.",
"DE.Controllers.Navigation.txtBeginning": "Beginning of document",
"DE.Controllers.Navigation.txtGotoBeginning": "Go to the beginning of the document",
"DE.Controllers.Print.textMarginsLast": "Last Custom",