From 429f0ee1f70045498d89214bbdbb32760b0eb895 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 10 Jan 2022 15:03:47 +0300 Subject: [PATCH] [SSE] Fix Bug 54808 --- apps/spreadsheeteditor/main/app/controller/Main.js | 7 ++++++- apps/spreadsheeteditor/main/locale/en.json | 1 + apps/spreadsheeteditor/mobile/locale/az.json | 3 ++- apps/spreadsheeteditor/mobile/locale/be.json | 3 ++- apps/spreadsheeteditor/mobile/locale/bg.json | 3 ++- apps/spreadsheeteditor/mobile/locale/ca.json | 3 ++- apps/spreadsheeteditor/mobile/locale/cs.json | 3 ++- apps/spreadsheeteditor/mobile/locale/da.json | 3 ++- apps/spreadsheeteditor/mobile/locale/de.json | 3 ++- apps/spreadsheeteditor/mobile/locale/el.json | 3 ++- apps/spreadsheeteditor/mobile/locale/en.json | 1 + apps/spreadsheeteditor/mobile/locale/es.json | 3 ++- apps/spreadsheeteditor/mobile/locale/fr.json | 3 ++- apps/spreadsheeteditor/mobile/locale/gl.json | 3 ++- apps/spreadsheeteditor/mobile/locale/hu.json | 3 ++- apps/spreadsheeteditor/mobile/locale/it.json | 3 ++- apps/spreadsheeteditor/mobile/locale/ja.json | 3 ++- apps/spreadsheeteditor/mobile/locale/ko.json | 3 ++- apps/spreadsheeteditor/mobile/locale/lo.json | 3 ++- apps/spreadsheeteditor/mobile/locale/lv.json | 3 ++- apps/spreadsheeteditor/mobile/locale/nb.json | 3 ++- apps/spreadsheeteditor/mobile/locale/nl.json | 3 ++- apps/spreadsheeteditor/mobile/locale/pl.json | 3 ++- apps/spreadsheeteditor/mobile/locale/pt.json | 3 ++- apps/spreadsheeteditor/mobile/locale/ro.json | 3 ++- apps/spreadsheeteditor/mobile/locale/ru.json | 3 ++- apps/spreadsheeteditor/mobile/locale/sk.json | 3 ++- apps/spreadsheeteditor/mobile/locale/sl.json | 3 ++- apps/spreadsheeteditor/mobile/locale/tr.json | 3 ++- apps/spreadsheeteditor/mobile/locale/uk.json | 3 ++- apps/spreadsheeteditor/mobile/locale/vi.json | 3 ++- apps/spreadsheeteditor/mobile/locale/zh.json | 3 ++- apps/spreadsheeteditor/mobile/src/controller/Error.jsx | 4 ++++ 33 files changed, 70 insertions(+), 30 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index f52ad272d..48e5cf103 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 7bf81a28a..d0dbcab7f 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 967564cac..c7b2e7591 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 af4afc7af..2e6976626 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 af4afc7af..2e6976626 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 f1eb11c9e..3f399c424 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 abd2dd562..884e67571 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 b53f47d1f..baeaa6e6a 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 e86f959c0..1dede951e 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 af4afc7af..2e6976626 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 852248399..c27c7540f 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 e18465f00..2920c1931 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 c9a9ef381..754c633d3 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 e011e08f0..42036de3d 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 af4afc7af..2e6976626 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 43c1933a8..b976fafe7 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 b0efab131..0bf38ffdb 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 8bb5fca90..a36d863d0 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 af4afc7af..2e6976626 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 af4afc7af..2e6976626 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 af4afc7af..2e6976626 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 8e2f673ef..fc8bc2aa6 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 af4afc7af..2e6976626 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 9577e32c9..6226f4181 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 426abf40f..4d8d686c0 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 c58e6bbcc..1761a4970 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 af4afc7af..2e6976626 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 af4afc7af..2e6976626 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 40da7d7ca..4978af5da 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 af4afc7af..2e6976626 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 af4afc7af..2e6976626 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 c529d7c52..c34603187 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 e8dafe2f4..9b5c0deee 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;