[SSE] Add Asc.c_oAscError.ID.MultiCellsInTablesFormulaArray error

This commit is contained in:
Julia Radzhabova 2019-02-22 14:32:13 +03:00
parent 68d82a0217
commit 9b23955172
2 changed files with 16 additions and 7 deletions

View file

@ -164,12 +164,19 @@ define([
if (isvalid == Asc.c_oAscError.ID.No)
return true;
else {
if (isvalid == Asc.c_oAscError.ID.AutoFilterDataRangeError) {
Common.UI.warning({msg: this.errorAutoFilterDataRange});
} else if (isvalid == Asc.c_oAscError.ID.FTChangeTableRangeError) {
Common.UI.warning({msg: this.errorFTChangeTableRangeError});
} else if (isvalid == Asc.c_oAscError.ID.FTRangeIncludedOtherTables) {
Common.UI.warning({msg: this.errorFTRangeIncludedOtherTables});
switch (isvalid) {
case Asc.c_oAscError.ID.AutoFilterDataRangeError:
Common.UI.warning({msg: this.errorAutoFilterDataRange});
break;
case Asc.c_oAscError.ID.FTChangeTableRangeError:
Common.UI.warning({msg: this.errorFTChangeTableRangeError});
break;
case Asc.c_oAscError.ID.FTRangeIncludedOtherTables:
Common.UI.warning({msg: this.errorFTRangeIncludedOtherTables});
break;
case Asc.c_oAscError.ID.MultiCellsInTablesFormulaArray:
Common.UI.warning({msg: this.errorMultiCellFormula});
break;
}
}
return false;
@ -212,6 +219,7 @@ define([
txtInvalidRange: 'ERROR! Invalid cells range',
errorAutoFilterDataRange: 'The operation could not be done for the selected range of cells.<br>Select a uniform data range inside or outside the table and try again.',
errorFTChangeTableRangeError: 'Operation could not be completed for the selected cell range.<br>Select a range so that the first table row was on the same row<br>and the resulting table overlapped the current one.',
errorFTRangeIncludedOtherTables: 'Operation could not be completed for the selected cell range.<br>Select a range which does not include other tables.'
errorFTRangeIncludedOtherTables: 'Operation could not be completed for the selected cell range.<br>Select a range which does not include other tables.',
errorMultiCellFormula: 'Multi-cell array formulas are not allowed in tables.'
}, SSE.Views.TableOptionsDialog || {}))
});

View file

@ -1959,6 +1959,7 @@
"SSE.Views.TableOptionsDialog.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.Views.TableOptionsDialog.errorFTChangeTableRangeError": "Operation could not be completed for the selected cell range.<br>Select a range so that the first table row was on the same row<br>and the resulting table overlapped the current one.",
"SSE.Views.TableOptionsDialog.errorFTRangeIncludedOtherTables": "Operation could not be completed for the selected cell range.<br>Select a range which does not include other tables.",
"SSE.Views.TableOptionsDialog.errorMultiCellFormula": "Multi-cell array formulas are not allowed in tables.",
"SSE.Views.TableOptionsDialog.textCancel": "Cancel",
"SSE.Views.TableOptionsDialog.txtEmpty": "This field is required",
"SSE.Views.TableOptionsDialog.txtFormat": "Create table",