From ca5016db77fcc21d78bd76b10ceb711bab7b99ba Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 25 Apr 2017 15:19:25 +0300 Subject: [PATCH] [SSE] Added error LockedCellPivot. --- apps/spreadsheeteditor/main/app/controller/Main.js | 5 +++++ apps/spreadsheeteditor/main/locale/en.json | 1 + 2 files changed, 6 insertions(+) diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 23a70090f..dbbc2bf8d 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -1190,6 +1190,10 @@ define([ config.msg = this.errorAccessDeny; break; + case Asc.c_oAscError.ID.LockedCellPivot: + config.msg = this.errorLockedCellPivot; + break; + default: config.msg = this.errorDefaultMessage.replace('%1', id); break; @@ -2113,6 +2117,7 @@ define([ errorAccessDeny: 'You are trying to perform an action you do not have rights for.
Please contact your Document Server administrator.', titleServerVersion: 'Editor updated', errorServerVersion: 'The editor version has been updated. The page will be reloaded to apply the changes.', + errorLockedCellPivot: 'You cannot change data inside a pivot table.', txtAccent: 'Accent', txtStyle_Normal: 'Normal', txtStyle_Heading_1: 'Heading 1', diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index 04af79cc9..1922dcb9b 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -278,6 +278,7 @@ "SSE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor", "SSE.Controllers.Main.errorKeyExpire": "Key descriptor expired", "SSE.Controllers.Main.errorLockedAll": "The operation could not be done as the sheet has been locked by another user.", + "SSE.Controllers.Main.errorLockedCellPivot": "You cannot change data inside a pivot table.", "SSE.Controllers.Main.errorLockedWorksheetRename": "The sheet cannot be renamed at the moment as it is being renamed by another user", "SSE.Controllers.Main.errorMoveRange": "Cannot change part of a merged cell", "SSE.Controllers.Main.errorOpenWarning": "The length of one of the formulas in the file exceeded
the allowed number of characters and it was removed.",