From 2062ffe9b3e211e5597cecf2f3b7edc58f758067 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 5 Jun 2020 12:11:14 +0300 Subject: [PATCH] [SSE] Add error c_oAscError.ID.PasteSlicerError --- apps/documenteditor/main/locale/en.json | 1 + apps/spreadsheeteditor/main/app/controller/Main.js | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index 038801aef..68b4b9770 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -752,6 +752,7 @@ "DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.", "DE.Controllers.Main.textHasMacros": "The file contains automatic macros.
Do you want to run macros?", "DE.Controllers.Main.textRemember": "Remember my choice", + "DE.Controllers.Main.errorPasteSlicerError": "Table slicers cannot be copied from one workbook to another.
Try again by selecting the entire table and the slicers.", "DE.Controllers.Navigation.txtBeginning": "Beginning of document", "DE.Controllers.Navigation.txtGotoBeginning": "Go to the beginning of the document", "DE.Controllers.Statusbar.textHasChanges": "New changes have been tracked", diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 7c52fa51d..f2b109f73 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -1499,6 +1499,9 @@ define([ config.msg = this.errorFTRangeIncludedOtherTables; break; + case Asc.c_oAscError.ID.PasteSlicerError: + config.msg = this.errorPasteSlicerError; + break; case Asc.c_oAscError.ID.RemoveDuplicates: config.iconCls = 'info'; @@ -2605,7 +2608,8 @@ define([ txtClearFilter: 'Clear Filter (Alt+C)', txtBlank: '(blank)', textHasMacros: 'The file contains automatic macros.
Do you want to run macros?', - textRemember: 'Remember my choice' + textRemember: 'Remember my choice', + errorPasteSlicerError: 'Table slicers cannot be copied from one workbook to another.
Try again by selecting the entire table and the slicers.' } })(), SSE.Controllers.Main || {})) });