diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js
index a3ebb1274..7f02a4144 100644
--- a/apps/spreadsheeteditor/main/app/controller/Main.js
+++ b/apps/spreadsheeteditor/main/app/controller/Main.js
@@ -1475,6 +1475,10 @@ define([
config.msg = this.errorFrmlMaxTextLength;
break;
+ case Asc.c_oAscError.ID.FrmlMaxReference:
+ config.msg = this.errorFrmlMaxReference;
+ break;
+
case Asc.c_oAscError.ID.DataValidate:
var icon = errData ? errData.asc_getErrorStyle() : undefined;
if (icon!==undefined) {
@@ -2619,7 +2623,8 @@ define([
textHasMacros: 'The file contains automatic macros.
Do you want to run macros?',
textRemember: 'Remember my choice',
errorPasteSlicerError: 'Table slicers cannot be copied from one workbook to another.
Try again by selecting the entire table and the slicers.',
- errorFrmlMaxLength: 'You cannot add this formula as its length exceeded the allowed number of characters.
Please edit it and try again.'
+ errorFrmlMaxLength: 'You cannot add this formula as its length exceeded the allowed number of characters.
Please edit it and try again.',
+ errorFrmlMaxReference: 'You cannot enter this formula because it has too many values,
cell references, and/or names.'
}
})(), SSE.Controllers.Main || {}))
});
diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json
index 20e405775..a9bc1a6ae 100644
--- a/apps/spreadsheeteditor/main/locale/en.json
+++ b/apps/spreadsheeteditor/main/locale/en.json
@@ -501,6 +501,7 @@
"SSE.Controllers.Main.errorFormulaParsing": "Internal error while parsing the formula.",
"SSE.Controllers.Main.errorFrmlMaxTextLength": "Text values in formulas are limited to 255 characters.
Use the CONCATENATE function or concatenation operator (&).",
"SSE.Controllers.Main.errorFrmlWrongReferences": "The function refers to a sheet that does not exist.
Please check the data and try again.",
+ "SSE.Controllers.Main.errorFrmlMaxReference": "You cannot enter this formula because it has too many values,
cell references, and/or names.",
"SSE.Controllers.Main.errorFTChangeTableRangeError": "Operation could not be completed for the selected cell range.
Select a range so that the first table row was on the same row
and the resulting table overlapped the current one.",
"SSE.Controllers.Main.errorFTRangeIncludedOtherTables": "Operation could not be completed for the selected cell range.
Select a range which does not include other tables.",
"SSE.Controllers.Main.errorInvalidRef": "Enter a correct name for the selection or a valid reference to go to.",
diff --git a/apps/spreadsheeteditor/mobile/app/controller/Main.js b/apps/spreadsheeteditor/mobile/app/controller/Main.js
index 8d67a7be5..9866f7357 100644
--- a/apps/spreadsheeteditor/mobile/app/controller/Main.js
+++ b/apps/spreadsheeteditor/mobile/app/controller/Main.js
@@ -1100,6 +1100,10 @@ define([
config.msg = this.errorFrmlMaxLength;
break;
+ case Asc.c_oAscError.ID.FrmlMaxReference:
+ config.msg = this.errorFrmlMaxReference;
+ break;
+
default:
config.msg = this.errorDefaultMessage.replace('%1', id);
break;
@@ -1736,7 +1740,8 @@ define([
textRemember: 'Remember my choice',
textYes: 'Yes',
textNo: 'No',
- errorFrmlMaxLength: 'You cannot add this formula as its length exceeded the allowed number of characters.
Please edit it and try again.'
+ errorFrmlMaxLength: 'You cannot add this formula as its length exceeded the allowed number of characters.
Please edit it and try again.',
+ errorFrmlMaxReference: 'You cannot enter this formula because it has too many values,
cell references, and/or names.'
}
})(), SSE.Controllers.Main || {}))
});
\ No newline at end of file
diff --git a/apps/spreadsheeteditor/mobile/locale/en.json b/apps/spreadsheeteditor/mobile/locale/en.json
index 9ccc48fec..b4f7b9260 100644
--- a/apps/spreadsheeteditor/mobile/locale/en.json
+++ b/apps/spreadsheeteditor/mobile/locale/en.json
@@ -173,6 +173,7 @@
"SSE.Controllers.Main.errorFormulaParsing": "Internal error while parsing the formula.",
"SSE.Controllers.Main.errorFrmlMaxTextLength": "Text values in formulas are limited to 255 characters.
Use the CONCATENATE function or concatenation operator (&).",
"SSE.Controllers.Main.errorFrmlWrongReferences": "The function refers to a sheet that does not exist.
Please check the data and try again.",
+ "SSE.Controllers.Main.errorFrmlMaxReference": "You cannot enter this formula because it has too many values,
cell references, and/or names.",
"SSE.Controllers.Main.errorInvalidRef": "Enter a correct name for the selection or a valid reference to go to.",
"SSE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor",
"SSE.Controllers.Main.errorKeyExpire": "Key descriptor expired",