mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 01:42:41 +08:00
[SE] Handle errors for trace dependents
This commit is contained in:
@ -2085,6 +2085,15 @@ define([
|
|||||||
config.msg = this.errorProtectedRange;
|
config.msg = this.errorProtectedRange;
|
||||||
break;
|
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:
|
default:
|
||||||
config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id);
|
config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id);
|
||||||
break;
|
break;
|
||||||
@ -3879,7 +3888,9 @@ define([
|
|||||||
txtInfo: 'Info',
|
txtInfo: 'Info',
|
||||||
confirmReplaceHFPicture: 'Only one picture can be inserted in each section of the header.<br>Press \"Replace\" to replace existing picture.<br>Press \"Keep\" to keep existing picture.',
|
confirmReplaceHFPicture: 'Only one picture can be inserted in each section of the header.<br>Press \"Replace\" to replace existing picture.<br>Press \"Keep\" to keep existing picture.',
|
||||||
textReplace: 'Replace',
|
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 || {}))
|
})(), SSE.Controllers.Main || {}))
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1031,6 +1031,8 @@
|
|||||||
"SSE.Controllers.Main.errorWrongOperator": "An error in the entered formula. Wrong operator is used.<br>Please correct the error.",
|
"SSE.Controllers.Main.errorWrongOperator": "An error in the entered formula. Wrong operator is used.<br>Please correct the error.",
|
||||||
"SSE.Controllers.Main.errorWrongPassword": "The password you supplied is not correct.",
|
"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.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.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.<br> Click \"Cancel\" then \"Save\" to save them. Click \"OK\" to discard all the unsaved changes.",
|
"SSE.Controllers.Main.leavePageTextOnClose": "All unsaved changes in this spreadsheet will be lost.<br> Click \"Cancel\" then \"Save\" to save them. Click \"OK\" to discard all the unsaved changes.",
|
||||||
"SSE.Controllers.Main.loadFontsTextText": "Loading data...",
|
"SSE.Controllers.Main.loadFontsTextText": "Loading data...",
|
||||||
|
|||||||
Reference in New Issue
Block a user