From ffdff0a70aaa7710b08754c97146a848641718c5 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 15 Dec 2022 14:39:00 +0300 Subject: [PATCH] [SSE] Change import from xml menu item --- apps/spreadsheeteditor/main/app/view/DataTab.js | 12 +++--------- apps/spreadsheeteditor/main/locale/en.json | 1 + 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/DataTab.js b/apps/spreadsheeteditor/main/app/view/DataTab.js index d1dcf40c0..bd48c26a4 100644 --- a/apps/spreadsheeteditor/main/app/view/DataTab.js +++ b/apps/spreadsheeteditor/main/app/view/DataTab.js @@ -310,17 +310,12 @@ define([ me.btnDataFromText.updateHint(me.tipDataFromText); me.btnDataFromText.menu && me.btnDataFromText.setMenu(new Common.UI.Menu({ - // style: 'max-width: 300px;', items: [ { caption: me.mniFromFile, value: 'file' }, { caption: me.mniFromUrl, value: 'url' }, - // { caption: '--'}, + { caption: '--'}, { caption: me.mniFromXMLFile, - value: 'xml', - hint: me.mniFromXMLFileDesc - // description: me.mniFromXMLFileDesc, - // template:_.template('
<%= caption %>
' + - // '
') + value: 'xml' } // { caption: me.mniImageFromStorage, value: 'storage'} ] @@ -410,8 +405,7 @@ define([ mniFromUrl: 'Get Data from URL', capDataExternalLinks: 'External Links', tipExternalLinks: 'View other files this spreadsheet is linked to', - mniFromXMLFile: 'From Local XML', - mniFromXMLFileDesc: 'Only Spreadsheet Xml 2003 format is supported' + mniFromXMLFile: 'From Local XML' } }()), SSE.Views.DataTab || {})); }); diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index 1ecb7098f..2ca3d8668 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -1030,6 +1030,7 @@ "SSE.Controllers.Main.textTryQuickPrint": "You have selected Quick print: the entire document will be printed on the last selected or default printer.
Do you want to continue?", "SSE.Controllers.Main.textTryUndoRedo": "The Undo/Redo functions are disabled for the Fast co-editing mode.
Click the 'Strict mode' button to switch to the Strict co-editing mode to edit the file without other users interference and send your changes only after you save them. You can switch between the co-editing modes using the editor Advanced settings.", "SSE.Controllers.Main.textTryUndoRedoWarn": "The Undo/Redo functions are disabled for the Fast co-editing mode.", + "SSE.Controllers.Main.errorConvertXml": "An error has occurred while opening the file.
Only Spreadsheet Xml 2003 format is supported.", "SSE.Controllers.Main.textUndo": "Undo", "SSE.Controllers.Main.textYes": "Yes", "SSE.Controllers.Main.titleLicenseExp": "License expired",