diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 056d1a953f..9b4235cb9d 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -2085,6 +2085,15 @@ define([ config.msg = this.errorProtectedRange; break; + case Asc.c_oAscError.ID.TraceDependentsNoFormulas: + config.msg = this.errorDependentsNoFormulas; + break; + + case Asc.c_oAscError.ID.TracePrecedentsNoValidReference: + config.msg = this.errorPrecedentsNoValidRef; + config.maxwidth = 600; + break; + default: config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id); break; @@ -3879,7 +3888,9 @@ define([ txtInfo: 'Info', confirmReplaceHFPicture: 'Only one picture can be inserted in each section of the header.
Press \"Replace\" to replace existing picture.
Press \"Keep\" to keep existing picture.', textReplace: 'Replace', - textKeep: 'Keep' + textKeep: 'Keep', + errorDependentsNoFormulas: 'The Trace Dependents command found no formulas that refer to the active cell.', + errorPrecedentsNoValidRef: 'The Trace Precedents command requires that the active cell contain a formula which includes a valid references.' } })(), SSE.Controllers.Main || {})) }); diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index 56cccca66a..481ec44916 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -1031,6 +1031,8 @@ "SSE.Controllers.Main.errorWrongOperator": "An error in the entered formula. Wrong operator is used.
Please correct the error.", "SSE.Controllers.Main.errorWrongPassword": "The password you supplied is not correct.", "SSE.Controllers.Main.errRemDuplicates": "Duplicate values found and deleted: {0}, unique values left: {1}.", + "SSE.Controllers.Main.errorDependentsNoFormulas": "The Trace Dependents command found no formulas that refer to the active cell.", + "SSE.Controllers.Main.errorPrecedentsNoValidRef": "The Trace Precedents command requires that the active cell contain a formula which includes a valid references.", "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...",