Skip to content

Commit

Permalink
[SSE] Goal seek: add locked cell error
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaSvinareva committed Oct 13, 2023
1 parent 492afe3 commit 6c86e52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/spreadsheeteditor/main/app/controller/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2084,6 +2084,10 @@ define([
config.msg = this.errorProtectedRange;
break;

case Asc.c_oAscError.ID.LockedCellGoalSeek:
config.msg = this.errorLockedCellGoalSeek;
break;

default:
config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id);
break;
Expand Down Expand Up @@ -3854,7 +3858,8 @@ define([
txtSheet: 'Sheet',
txtNone: 'None',
warnLicenseAnonymous: 'Access denied for anonymous users. This document will be opened for viewing only.',
txtSlicer: 'Slicer'
txtSlicer: 'Slicer',
errorLockedCellGoalSeek: 'One of the cells involved in the goal seek process has been modified by another user.'
}
})(), SSE.Controllers.Main || {}))
});
1 change: 1 addition & 0 deletions apps/spreadsheeteditor/main/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,7 @@
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
"SSE.Controllers.Main.txtNone": "None",
"SSE.Controllers.Main.txtSlicer": "Slicer",
"SSE.Controllers.Main.errorLockedCellGoalSeek": "One of the cells involved in the goal seek process has been modified by another user.",
"SSE.Controllers.PivotTable.strSheet": "Sheet",
"SSE.Controllers.Print.strAllSheets": "All Sheets",
"SSE.Controllers.Print.textFirstCol": "First column",
Expand Down

0 comments on commit 6c86e52

Please sign in to comment.