From a53b3dfdcb26a8b6a96642d7bb8ba0a23a34082a Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 20 Jul 2021 16:24:05 +0300 Subject: [PATCH] [SSE] For bug 51398 --- apps/spreadsheeteditor/main/app/controller/Main.js | 12 +++++++++++- apps/spreadsheeteditor/main/locale/en.json | 3 +++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 347b68ff7..f0cea524e 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -1692,6 +1692,14 @@ define([ config.msg = this.errorPivotWithoutUnderlying; break; + case Asc.c_oAscError.ID.SingleColumnOrRowError: + config.msg = this.errorSingleColumnOrRowError; + break; + + case Asc.c_oAscError.ID.LocationOrDataRangeError: + config.msg = this.errorLocationOrDataRangeError; + break; + default: config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id); break; @@ -2965,7 +2973,9 @@ define([ txtQuarter: 'Qtr', txtOr: '%1 or %2', errorLang: 'The interface language is not loaded.
Please contact your Document Server administrator.', - confirmReplaceFormulaInTable: 'Formulas in the header row will be removed and converted to static text.
Do you want to continue?' + confirmReplaceFormulaInTable: 'Formulas in the header row will be removed and converted to static text.
Do you want to continue?', + errorSingleColumnOrRowError: 'Location reference is not valid because the cells are not all in the same column or row.
Select cells that are all in a single column or row.', + errorLocationOrDataRangeError: 'The reference for the location or data range is not valid.' } })(), SSE.Controllers.Main || {})) }); diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index c4b9ea495..7d96a150e 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -685,6 +685,8 @@ "SSE.Controllers.Main.errorWrongBracketsCount": "An error in the entered formula.
Wrong number of brackets is used.", "SSE.Controllers.Main.errorWrongOperator": "An error in the entered formula. Wrong operator is used.
Please correct the error.", "SSE.Controllers.Main.errRemDuplicates": "Duplicate values found and deleted: {0}, unique values left: {1}.", + "SSE.Controllers.Main.errorSingleColumnOrRowError": "Location reference is not valid because the cells are not all in the same column or row.
Select cells that are all in a single column or row.", + "SSE.Controllers.Main.errorLocationOrDataRangeError": "The reference for the location or data range is not valid.", "SSE.Controllers.Main.leavePageText": "You have unsaved changes in this spreadsheet. Click 'Stay on this Page' then 'Save' to save them. Click 'Leave this Page' to discard all the unsaved changes.", "SSE.Controllers.Main.leavePageTextOnClose": "All unsaved changes in this spreadsheet will be lost.
Click \"Cancel\" then \"Save\" to save them. Click \"OK\" to discard all the unsaved changes.", "SSE.Controllers.Main.loadFontsTextText": "Loading data...", @@ -1920,6 +1922,7 @@ "SSE.Views.DocumentHolder.txtUngroup": "Ungroup", "SSE.Views.DocumentHolder.txtWidth": "Width", "SSE.Views.DocumentHolder.vertAlignText": "Vertical Alignment", + "SSE.Views.DocumentHolder.txtCondFormat": "Conditional Formatting", "SSE.Views.FieldSettingsDialog.strLayout": "Layout", "SSE.Views.FieldSettingsDialog.strSubtotals": "Subtotals", "SSE.Views.FieldSettingsDialog.textReport": "Report Form",