diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js
index f52ad272d2..48e5cf1031 100644
--- a/apps/spreadsheeteditor/main/app/controller/Main.js
+++ b/apps/spreadsheeteditor/main/app/controller/Main.js
@@ -1894,6 +1894,10 @@ define([
config.maxwidth = 400;
break;
+ case Asc.c_oAscError.ID.CannotUseCommandProtectedSheet:
+ config.msg = this.errorCannotUseCommandProtectedSheet;
+ break;
+
default:
config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id);
break;
@@ -3447,7 +3451,8 @@ define([
textFormulaFilledAllRowsWithEmpty: 'Formula filled first {0} rows. Filling other empty rows may take a few minutes.',
textFormulaFilledFirstRowsOtherIsEmpty: 'Formula filled only first {0} rows by memory save reason. Other rows in this sheet don\'t have data.',
textFormulaFilledFirstRowsOtherHaveData: 'Formula filled only first {0} rows have data by memory save reason. There are other {1} rows have data in this sheet. You can fill them manually.',
- textReconnect: 'Connection is restored'
+ textReconnect: 'Connection is restored',
+ errorCannotUseCommandProtectedSheet: 'You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password.'
}
})(), SSE.Controllers.Main || {}))
});
diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json
index 7bf81a28a7..d0dbcab7f6 100644
--- a/apps/spreadsheeteditor/main/locale/en.json
+++ b/apps/spreadsheeteditor/main/locale/en.json
@@ -650,6 +650,7 @@
"SSE.Controllers.Main.errorAutoFilterHiddenRange": "The operation cannot be performed because the area contains filtered cells.
Please unhide the filtered elements and try again.",
"SSE.Controllers.Main.errorBadImageUrl": "Image URL is incorrect",
"SSE.Controllers.Main.errorCannotUngroup": "Cannot ungroup. To start an outline, select the detail rows or columns and group them.",
+ "SSE.Controllers.Main.errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password.",
"SSE.Controllers.Main.errorChangeArray": "You cannot change part of an array.",
"SSE.Controllers.Main.errorChangeFilteredRange": "This will change a filtered range on your worksheet.
To complete this task, please remove AutoFilters.",
"SSE.Controllers.Main.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.",
diff --git a/apps/spreadsheeteditor/mobile/locale/az.json b/apps/spreadsheeteditor/mobile/locale/az.json
index 967564cacd..c7b2e75916 100644
--- a/apps/spreadsheeteditor/mobile/locale/az.json
+++ b/apps/spreadsheeteditor/mobile/locale/az.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Naməlum xəta.",
"uploadImageExtMessage": "Naməlum təsvir formatı.",
"uploadImageFileCountMessage": "Heç bir təsvir yüklənməyib.",
- "uploadImageSizeMessage": "Təsvir çox böyükdür. Maksimum ölçü 25 MB-dır."
+ "uploadImageSizeMessage": "Təsvir çox böyükdür. Maksimum ölçü 25 MB-dır.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Parol",
diff --git a/apps/spreadsheeteditor/mobile/locale/be.json b/apps/spreadsheeteditor/mobile/locale/be.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/be.json
+++ b/apps/spreadsheeteditor/mobile/locale/be.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/bg.json b/apps/spreadsheeteditor/mobile/locale/bg.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/bg.json
+++ b/apps/spreadsheeteditor/mobile/locale/bg.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/ca.json b/apps/spreadsheeteditor/mobile/locale/ca.json
index f1eb11c9e4..3f399c4246 100644
--- a/apps/spreadsheeteditor/mobile/locale/ca.json
+++ b/apps/spreadsheeteditor/mobile/locale/ca.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Error desconegut.",
"uploadImageExtMessage": "Format d'imatge desconegut.",
"uploadImageFileCountMessage": "No s'ha carregat cap imatge.",
- "uploadImageSizeMessage": "La imatge és massa gran. La mida màxima és de 25 MB."
+ "uploadImageSizeMessage": "La imatge és massa gran. La mida màxima és de 25 MB.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Contrasenya",
diff --git a/apps/spreadsheeteditor/mobile/locale/cs.json b/apps/spreadsheeteditor/mobile/locale/cs.json
index abd2dd5622..884e67571f 100644
--- a/apps/spreadsheeteditor/mobile/locale/cs.json
+++ b/apps/spreadsheeteditor/mobile/locale/cs.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Neznámá chyba.",
"uploadImageExtMessage": "Neznámý formát obrázku.",
"uploadImageFileCountMessage": "Nenahrány žádné obrázky.",
- "uploadImageSizeMessage": "Obrázek je příliš velký. Maximální velikost je 25 MB."
+ "uploadImageSizeMessage": "Obrázek je příliš velký. Maximální velikost je 25 MB.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Heslo",
diff --git a/apps/spreadsheeteditor/mobile/locale/da.json b/apps/spreadsheeteditor/mobile/locale/da.json
index b53f47d1ff..baeaa6e6ac 100644
--- a/apps/spreadsheeteditor/mobile/locale/da.json
+++ b/apps/spreadsheeteditor/mobile/locale/da.json
@@ -232,7 +232,8 @@
"textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
"unknownErrorText": "Unknown error.",
"uploadImageExtMessage": "Unknown image format.",
- "uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB."
+ "uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Kodeord",
diff --git a/apps/spreadsheeteditor/mobile/locale/de.json b/apps/spreadsheeteditor/mobile/locale/de.json
index e86f959c01..1dede951ec 100644
--- a/apps/spreadsheeteditor/mobile/locale/de.json
+++ b/apps/spreadsheeteditor/mobile/locale/de.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Unbekannter Fehler.",
"uploadImageExtMessage": "Unbekanntes Bildformat.",
"uploadImageFileCountMessage": "Keine Bilder hochgeladen.",
- "uploadImageSizeMessage": "Die maximal zulässige Bildgröße von 25 MB ist überschritten."
+ "uploadImageSizeMessage": "Die maximal zulässige Bildgröße von 25 MB ist überschritten.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Passwort",
diff --git a/apps/spreadsheeteditor/mobile/locale/el.json b/apps/spreadsheeteditor/mobile/locale/el.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/el.json
+++ b/apps/spreadsheeteditor/mobile/locale/el.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/en.json b/apps/spreadsheeteditor/mobile/locale/en.json
index 8522483994..c27c7540f5 100644
--- a/apps/spreadsheeteditor/mobile/locale/en.json
+++ b/apps/spreadsheeteditor/mobile/locale/en.json
@@ -174,6 +174,7 @@
"errorAutoFilterDataRange": "The operation could not be done for the selected range of cells.
Select a uniform data range inside or outside the table and try again.",
"errorAutoFilterHiddenRange": "The operation cannot be performed because the area contains filtered cells.
Please, unhide the filtered elements and try again.",
"errorBadImageUrl": "Image URL is incorrect",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password.",
"errorChangeArray": "You cannot change part of an array.",
"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.",
"errorConnectToServer": "Can't save this doc. Check your connection settings or contact your admin.
When you click the 'OK' button, you will be prompted to download the document.",
diff --git a/apps/spreadsheeteditor/mobile/locale/es.json b/apps/spreadsheeteditor/mobile/locale/es.json
index e18465f003..2920c19310 100644
--- a/apps/spreadsheeteditor/mobile/locale/es.json
+++ b/apps/spreadsheeteditor/mobile/locale/es.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Error desconocido.",
"uploadImageExtMessage": "Formato de imagen desconocido.",
"uploadImageFileCountMessage": "No hay imágenes subidas.",
- "uploadImageSizeMessage": "La imagen es demasiado grande. El tamaño máximo es de 25 MB."
+ "uploadImageSizeMessage": "La imagen es demasiado grande. El tamaño máximo es de 25 MB.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Contraseña",
diff --git a/apps/spreadsheeteditor/mobile/locale/fr.json b/apps/spreadsheeteditor/mobile/locale/fr.json
index c9a9ef3810..754c633d3c 100644
--- a/apps/spreadsheeteditor/mobile/locale/fr.json
+++ b/apps/spreadsheeteditor/mobile/locale/fr.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Erreur inconnue.",
"uploadImageExtMessage": "Format d'image inconnu.",
"uploadImageFileCountMessage": "Aucune image chargée.",
- "uploadImageSizeMessage": "L'image est trop grande. La taille limite est de 25 Mo."
+ "uploadImageSizeMessage": "L'image est trop grande. La taille limite est de 25 Mo.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Mot de passe",
diff --git a/apps/spreadsheeteditor/mobile/locale/gl.json b/apps/spreadsheeteditor/mobile/locale/gl.json
index e011e08f07..42036de3d7 100644
--- a/apps/spreadsheeteditor/mobile/locale/gl.json
+++ b/apps/spreadsheeteditor/mobile/locale/gl.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Erro descoñecido.",
"uploadImageExtMessage": "Formato de imaxe descoñecido.",
"uploadImageFileCountMessage": "Non hai imaxes subidas.",
- "uploadImageSizeMessage": "A imaxe é demasiado grande. O tamaño máximo é de 25 MB."
+ "uploadImageSizeMessage": "A imaxe é demasiado grande. O tamaño máximo é de 25 MB.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Contrasinal",
diff --git a/apps/spreadsheeteditor/mobile/locale/hu.json b/apps/spreadsheeteditor/mobile/locale/hu.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/hu.json
+++ b/apps/spreadsheeteditor/mobile/locale/hu.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/it.json b/apps/spreadsheeteditor/mobile/locale/it.json
index 43c1933a86..b976fafe70 100644
--- a/apps/spreadsheeteditor/mobile/locale/it.json
+++ b/apps/spreadsheeteditor/mobile/locale/it.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Errore sconosciuto.",
"uploadImageExtMessage": "Formato d'immagine sconosciuto.",
"uploadImageFileCountMessage": "Nessuna immagine caricata.",
- "uploadImageSizeMessage": "L'immagine è troppo grande. La dimensione massima è 25 MB."
+ "uploadImageSizeMessage": "L'immagine è troppo grande. La dimensione massima è 25 MB.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Password",
diff --git a/apps/spreadsheeteditor/mobile/locale/ja.json b/apps/spreadsheeteditor/mobile/locale/ja.json
index b0efab131d..0bf38ffdbb 100644
--- a/apps/spreadsheeteditor/mobile/locale/ja.json
+++ b/apps/spreadsheeteditor/mobile/locale/ja.json
@@ -232,7 +232,8 @@
"unknownErrorText": "不明なエラー",
"uploadImageExtMessage": "不明なイメージ形式",
"uploadImageFileCountMessage": "アップロードしたイメージがない",
- "uploadImageSizeMessage": "イメージのサイズの上限が超えさせました。サイズの上限が25MB。"
+ "uploadImageSizeMessage": "イメージのサイズの上限が超えさせました。サイズの上限が25MB。",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "パスワード",
diff --git a/apps/spreadsheeteditor/mobile/locale/ko.json b/apps/spreadsheeteditor/mobile/locale/ko.json
index 8bb5fca902..a36d863d07 100644
--- a/apps/spreadsheeteditor/mobile/locale/ko.json
+++ b/apps/spreadsheeteditor/mobile/locale/ko.json
@@ -232,7 +232,8 @@
"unknownErrorText": "알 수 없는 오류.",
"uploadImageExtMessage": "알수 없는 이미지 형식입니다.",
"uploadImageFileCountMessage": "이미지가 업로드되지 않았습니다.",
- "uploadImageSizeMessage": "이미지 크기 제한을 초과했습니다."
+ "uploadImageSizeMessage": "이미지 크기 제한을 초과했습니다.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "암호",
diff --git a/apps/spreadsheeteditor/mobile/locale/lo.json b/apps/spreadsheeteditor/mobile/locale/lo.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/lo.json
+++ b/apps/spreadsheeteditor/mobile/locale/lo.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/lv.json b/apps/spreadsheeteditor/mobile/locale/lv.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/lv.json
+++ b/apps/spreadsheeteditor/mobile/locale/lv.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/nb.json b/apps/spreadsheeteditor/mobile/locale/nb.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/nb.json
+++ b/apps/spreadsheeteditor/mobile/locale/nb.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/nl.json b/apps/spreadsheeteditor/mobile/locale/nl.json
index 8e2f673efb..fc8bc2aa63 100644
--- a/apps/spreadsheeteditor/mobile/locale/nl.json
+++ b/apps/spreadsheeteditor/mobile/locale/nl.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Onbekende fout.",
"uploadImageExtMessage": "Onbekende afbeeldingsindeling.",
"uploadImageFileCountMessage": "Geen afbeeldingen geüpload.",
- "uploadImageSizeMessage": "De afbeelding is te groot. De maximale grootte is 25MB."
+ "uploadImageSizeMessage": "De afbeelding is te groot. De maximale grootte is 25MB.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Wachtwoord",
diff --git a/apps/spreadsheeteditor/mobile/locale/pl.json b/apps/spreadsheeteditor/mobile/locale/pl.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/pl.json
+++ b/apps/spreadsheeteditor/mobile/locale/pl.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/pt.json b/apps/spreadsheeteditor/mobile/locale/pt.json
index 9577e32c9e..6226f41819 100644
--- a/apps/spreadsheeteditor/mobile/locale/pt.json
+++ b/apps/spreadsheeteditor/mobile/locale/pt.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Erro desconhecido.",
"uploadImageExtMessage": "Formato de imagem desconhecido.",
"uploadImageFileCountMessage": "Sem imagens carregadas.",
- "uploadImageSizeMessage": "Tamanho limite máximo da imagem excedido. O tamanho máximo é de 25 MB."
+ "uploadImageSizeMessage": "Tamanho limite máximo da imagem excedido. O tamanho máximo é de 25 MB.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Senha",
diff --git a/apps/spreadsheeteditor/mobile/locale/ro.json b/apps/spreadsheeteditor/mobile/locale/ro.json
index 426abf40f6..4d8d686c03 100644
--- a/apps/spreadsheeteditor/mobile/locale/ro.json
+++ b/apps/spreadsheeteditor/mobile/locale/ro.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Eroare necunoscută.",
"uploadImageExtMessage": "Format de imagine nerecunoscut.",
"uploadImageFileCountMessage": "Nicio imagine nu a fost încărcată.",
- "uploadImageSizeMessage": "Imaginea este prea mare. Limita de dimensiune este de 25 MB."
+ "uploadImageSizeMessage": "Imaginea este prea mare. Limita de dimensiune este de 25 MB.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Parola",
diff --git a/apps/spreadsheeteditor/mobile/locale/ru.json b/apps/spreadsheeteditor/mobile/locale/ru.json
index c58e6bbcce..1761a4970d 100644
--- a/apps/spreadsheeteditor/mobile/locale/ru.json
+++ b/apps/spreadsheeteditor/mobile/locale/ru.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Неизвестная ошибка.",
"uploadImageExtMessage": "Неизвестный формат рисунка.",
"uploadImageFileCountMessage": "Ни одного рисунка не загружено.",
- "uploadImageSizeMessage": "Слишком большой рисунок. Максимальный размер - 25 MB."
+ "uploadImageSizeMessage": "Слишком большой рисунок. Максимальный размер - 25 MB.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Пароль",
diff --git a/apps/spreadsheeteditor/mobile/locale/sk.json b/apps/spreadsheeteditor/mobile/locale/sk.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/sk.json
+++ b/apps/spreadsheeteditor/mobile/locale/sk.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/sl.json b/apps/spreadsheeteditor/mobile/locale/sl.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/sl.json
+++ b/apps/spreadsheeteditor/mobile/locale/sl.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/tr.json b/apps/spreadsheeteditor/mobile/locale/tr.json
index 40da7d7caa..4978af5dae 100644
--- a/apps/spreadsheeteditor/mobile/locale/tr.json
+++ b/apps/spreadsheeteditor/mobile/locale/tr.json
@@ -232,7 +232,8 @@
"unknownErrorText": "Bilinmeyen hata.",
"uploadImageExtMessage": "Bilinmeyen resim formatı.",
"uploadImageFileCountMessage": "Resim yüklenmedi.",
- "uploadImageSizeMessage": "Görüntü çok büyük. Maksimum boyut 25 MB'dir."
+ "uploadImageSizeMessage": "Görüntü çok büyük. Maksimum boyut 25 MB'dir.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "Şifre",
diff --git a/apps/spreadsheeteditor/mobile/locale/uk.json b/apps/spreadsheeteditor/mobile/locale/uk.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/uk.json
+++ b/apps/spreadsheeteditor/mobile/locale/uk.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/vi.json b/apps/spreadsheeteditor/mobile/locale/vi.json
index af4afc7afd..2e69766260 100644
--- a/apps/spreadsheeteditor/mobile/locale/vi.json
+++ b/apps/spreadsheeteditor/mobile/locale/vi.json
@@ -232,7 +232,8 @@
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
"errorLoadingFont": "Fonts are not loaded.
Please contact your Document Server administrator.",
"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.",
- "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization."
+ "textErrorPasswordIsNotCorrect": "The password you supplied is not correct.
Verify that the CAPS LOCK key is off and be sure to use the correct capitalization.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"applyChangesTextText": "Loading data...",
diff --git a/apps/spreadsheeteditor/mobile/locale/zh.json b/apps/spreadsheeteditor/mobile/locale/zh.json
index c529d7c524..c346031872 100644
--- a/apps/spreadsheeteditor/mobile/locale/zh.json
+++ b/apps/spreadsheeteditor/mobile/locale/zh.json
@@ -232,7 +232,8 @@
"unknownErrorText": "未知错误。",
"uploadImageExtMessage": "未知图像格式。",
"uploadImageFileCountMessage": "没有图片上传",
- "uploadImageSizeMessage": "图片太大了。最大允许的大小是 25 MB."
+ "uploadImageSizeMessage": "图片太大了。最大允许的大小是 25 MB.",
+ "errorCannotUseCommandProtectedSheet": "You cannot use this command on a protected sheet. To use this command, unprotect the sheet.
You might be requested to enter a password."
},
"LongActions": {
"advDRMPassword": "密码",
diff --git a/apps/spreadsheeteditor/mobile/src/controller/Error.jsx b/apps/spreadsheeteditor/mobile/src/controller/Error.jsx
index e8dafe2f4a..9b5c0deeef 100644
--- a/apps/spreadsheeteditor/mobile/src/controller/Error.jsx
+++ b/apps/spreadsheeteditor/mobile/src/controller/Error.jsx
@@ -314,6 +314,10 @@ const ErrorController = inject('storeAppOptions')(({storeAppOptions, LoadingDocu
config.msg = t('Error.textErrorPasswordIsNotCorrect');
break;
+ case Asc.c_oAscError.ID.CannotUseCommandProtectedSheet:
+ config.msg = t('Error.errorCannotUseCommandProtectedSheet');
+ break;
+
default:
config.msg = _t.errorDefaultMessage.replace('%1', id);
break;