[SSE] Change import from xml menu item

This commit is contained in:
Julia Radzhabova 2022-12-15 14:39:00 +03:00
parent 91b9b2ce0c
commit ffdff0a70a
2 changed files with 4 additions and 9 deletions

View file

@ -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('<a id="<%= id %>" tabindex="-1" type="menuitem"><div><%= caption %></div>' +
// '<label style="display: block;color: #a5a5a5;cursor: pointer;white-space: normal;"><%= options.description %></label></a>')
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 || {}));
});

View file

@ -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.<br>Do you want to continue?",
"SSE.Controllers.Main.textTryUndoRedo": "The Undo/Redo functions are disabled for the Fast co-editing mode.<br>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.<br>Only Spreadsheet Xml 2003 format is supported.",
"SSE.Controllers.Main.textUndo": "Undo",
"SSE.Controllers.Main.textYes": "Yes",
"SSE.Controllers.Main.titleLicenseExp": "License expired",