diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js
index 8655a8abf..e874bb100 100644
--- a/apps/spreadsheeteditor/main/app/controller/Main.js
+++ b/apps/spreadsheeteditor/main/app/controller/Main.js
@@ -1692,6 +1692,10 @@ define([
config.msg = this.errorPivotWithoutUnderlying;
break;
+ case Asc.c_oAscError.ID.ChangeOnProtectedSheet:
+ config.msg = this.errorChangeOnProtectedSheet;
+ break;
+
default:
config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id);
break;
@@ -2952,7 +2956,8 @@ define([
errorPivotWithoutUnderlying: 'The Pivot Table report was saved without the underlying data.
Use the \'Refresh\' button to update the report.',
txtQuarter: 'Qtr',
txtOr: '%1 or %2',
- 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?',
+ errorChangeOnProtectedSheet: 'The cell or chart you are trying to change is on a protected sheet.
To make a change, unprotect the sheet. You might be requested to enter a password.'
}
})(), SSE.Controllers.Main || {}))
});
diff --git a/apps/spreadsheeteditor/mobile/locale/en.json b/apps/spreadsheeteditor/mobile/locale/en.json
index afedbcdc0..5a1bb9c8c 100644
--- a/apps/spreadsheeteditor/mobile/locale/en.json
+++ b/apps/spreadsheeteditor/mobile/locale/en.json
@@ -164,7 +164,8 @@
"errorFrmlMaxTextLength": "Text values in formulas are limited to 255 characters.
Use the CONCATENATE function or concatenation operator (&)",
"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.",
- "errorDataValidate":"The value you entered is not valid.
A user has restricted values that can be entered into this cell."
+ "errorDataValidate":"The value you entered is not valid.
A user has restricted values that can be entered into this cell.",
+ "errorChangeOnProtectedSheet": "The cell or chart you are trying to change is on a protected sheet.
To make a change, unprotect the sheet."
},
"ContextMenu": {
"menuViewComment": "View Comment",
diff --git a/apps/spreadsheeteditor/mobile/src/controller/Error.jsx b/apps/spreadsheeteditor/mobile/src/controller/Error.jsx
index 340da6739..484e6ef1a 100644
--- a/apps/spreadsheeteditor/mobile/src/controller/Error.jsx
+++ b/apps/spreadsheeteditor/mobile/src/controller/Error.jsx
@@ -298,6 +298,10 @@ const ErrorController = inject('storeAppOptions')(({storeAppOptions, LoadingDocu
case Asc.c_oAscError.ID.UpdateVersion:
config.msg = _t.errorUpdateVersionOnDisconnect;
break;
+
+ case Asc.c_oAscError.ID.ChangeOnProtectedSheet:
+ config.msg = _t.errorChangeOnProtectedSheet;
+ break;
default:
config.msg = _t.errorDefaultMessage.replace('%1', id);