Add c_oAscError.ID.CannotChangeFormulaArray error

This commit is contained in:
Julia Radzhabova 2019-02-14 16:53:39 +03:00
parent 6ce15a04d9
commit 9023b1a66d
4 changed files with 14 additions and 2 deletions

View file

@ -1346,6 +1346,10 @@ define([
config.msg = (this.appOptions.isDesktopApp && this.appOptions.isOffline) ? this.errorEditingSaveas : this.errorEditingDownloadas;
break;
case Asc.c_oAscError.ID.CannotChangeFormulaArray:
config.msg = this.errorChangeArray;
break;
default:
config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id);
break;
@ -2467,7 +2471,8 @@ define([
txtShape_curvedConnector3WithTwoArrows: 'Curved Double-Arrow Connector',
txtShape_spline: 'Curve',
txtShape_polyline1: 'Scribble',
txtShape_polyline2: 'Freeform'
txtShape_polyline2: 'Freeform',
errorChangeArray: 'You cannot change part of an array.'
}
})(), SSE.Controllers.Main || {}))
});

View file

@ -399,6 +399,7 @@
"SSE.Controllers.Main.errorAutoFilterDataRange": "The operation could not be done for the selected range of cells.<br>Select a uniform data range different from the existing one and try again.",
"SSE.Controllers.Main.errorAutoFilterHiddenRange": "The operation cannot be performed because the area contains filtered cells.<br>Please unhide the filtered elements and try again.",
"SSE.Controllers.Main.errorBadImageUrl": "Image URL is incorrect",
"SSE.Controllers.Main.errorChangeArray": "You cannot change part of an array.",
"SSE.Controllers.Main.errorCoAuthoringDisconnect": "Server connection lost. The document cannot be edited right now.",
"SSE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>",
"SSE.Controllers.Main.errorCopyMultiselectArea": "This command cannot be used with multiple selections.<br>Select a single range and try again.",

View file

@ -977,6 +977,10 @@ define([
config.msg = this.errorDataEncrypted;
break;
case Asc.c_oAscError.ID.CannotChangeFormulaArray:
config.msg = this.errorChangeArray;
break;
default:
config.msg = this.errorDefaultMessage.replace('%1', id);
break;
@ -1535,7 +1539,8 @@ define([
errorCopyMultiselectArea: 'This command cannot be used with multiple selections.<br>Select a single range and try again.',
errorPrintMaxPagesCount: 'Unfortunately, its not possible to print more than 1500 pages at once in the current version of the program.<br>This restriction will be eliminated in upcoming releases.',
closeButtonText: 'Close File',
scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.'
scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.',
errorChangeArray: 'You cannot change part of an array.'
}
})(), SSE.Controllers.Main || {}))
});

View file

@ -115,6 +115,7 @@
"SSE.Controllers.Main.errorAutoFilterDataRange": "The operation could not be done for the selected range of cells.<br>Select a uniform data range different from the existing one and try again.",
"SSE.Controllers.Main.errorAutoFilterHiddenRange": "The operation cannot be performed because the area contains filtered cells.<br>Please unhide the filtered elements and try again.",
"SSE.Controllers.Main.errorBadImageUrl": "Image URL is incorrect",
"SSE.Controllers.Main.errorChangeArray": "You cannot change part of an array.",
"SSE.Controllers.Main.errorCoAuthoringDisconnect": "Server connection lost. The document cannot be edited right now.",
"SSE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>",
"SSE.Controllers.Main.errorCopyMultiselectArea": "This command cannot be used with multiple selections.<br>Select a single range and try again.",