File menu: Back to Document -> Close menu.

This commit is contained in:
Julia Radzhabova 2016-10-05 16:33:10 +03:00
parent 379d61e759
commit f9613e3a3c
5 changed files with 11 additions and 6 deletions

View file

@ -88,7 +88,7 @@ define([
new Common.UI.MenuItem({ new Common.UI.MenuItem({
el : $('#fm-btn-return',this.el), el : $('#fm-btn-return',this.el),
action : 'back', action : 'back',
caption : this.btnReturnCaption, caption : this.btnCloseMenuCaption,
canFocused: false canFocused: false
}), }),
new Common.UI.MenuItem({ new Common.UI.MenuItem({
@ -329,6 +329,7 @@ define([
btnHistoryCaption : 'Versions History', btnHistoryCaption : 'Versions History',
btnSaveAsCaption : 'Save as', btnSaveAsCaption : 'Save as',
textDownload : 'Download', textDownload : 'Download',
btnRenameCaption : 'Rename...' btnRenameCaption : 'Rename...',
btnCloseMenuCaption : 'Close Menu'
}, DE.Views.FileMenu || {})); }, DE.Views.FileMenu || {}));
}); });

View file

@ -91,7 +91,7 @@ define([
new Common.UI.MenuItem({ new Common.UI.MenuItem({
el : $('#fm-btn-return',this.el), el : $('#fm-btn-return',this.el),
action : 'back', action : 'back',
caption : this.btnReturnCaption, caption : this.btnCloseMenuCaption,
canFocused: false canFocused: false
}), }),
new Common.UI.MenuItem({ new Common.UI.MenuItem({
@ -324,6 +324,7 @@ define([
btnBackCaption : 'Go to Documents', btnBackCaption : 'Go to Documents',
btnSettingsCaption : 'Advanced Settings...', btnSettingsCaption : 'Advanced Settings...',
btnSaveAsCaption : 'Save as', btnSaveAsCaption : 'Save as',
btnRenameCaption : 'Rename...' btnRenameCaption : 'Rename...',
btnCloseMenuCaption : 'Close Menu'
}, PE.Views.FileMenu || {})); }, PE.Views.FileMenu || {}));
}); });

View file

@ -344,6 +344,7 @@
"PE.Views.DocumentPreview.txtPrev": "Previous Slide", "PE.Views.DocumentPreview.txtPrev": "Previous Slide",
"PE.Views.FileMenu.btnAboutCaption": "About", "PE.Views.FileMenu.btnAboutCaption": "About",
"PE.Views.FileMenu.btnBackCaption": "Go to Documents", "PE.Views.FileMenu.btnBackCaption": "Go to Documents",
"PE.Views.FileMenu.btnCloseMenuCaption": "Close Menu",
"PE.Views.FileMenu.btnCreateNewCaption": "Create New", "PE.Views.FileMenu.btnCreateNewCaption": "Create New",
"PE.Views.FileMenu.btnDownloadCaption": "Download as...", "PE.Views.FileMenu.btnDownloadCaption": "Download as...",
"PE.Views.FileMenu.btnHelpCaption": "Help...", "PE.Views.FileMenu.btnHelpCaption": "Help...",

View file

@ -78,7 +78,7 @@ define([
new Common.UI.MenuItem({ new Common.UI.MenuItem({
el : $('#fm-btn-return',this.el), el : $('#fm-btn-return',this.el),
action : 'back', action : 'back',
caption : this.btnReturnCaption, caption : this.btnCloseMenuCaption,
canFocused: false canFocused: false
}), }),
new Common.UI.MenuItem({ new Common.UI.MenuItem({
@ -300,6 +300,7 @@ define([
btnBackCaption : 'Go to Documents', btnBackCaption : 'Go to Documents',
btnSettingsCaption : 'Advanced Settings...', btnSettingsCaption : 'Advanced Settings...',
btnSaveAsCaption : 'Save as', btnSaveAsCaption : 'Save as',
btnRenameCaption : 'Rename...' btnRenameCaption : 'Rename...',
btnCloseMenuCaption : 'Close Menu'
}, SSE.Views.FileMenu || {})); }, SSE.Views.FileMenu || {}));
}); });

View file

@ -528,6 +528,7 @@
"SSE.Views.DocumentHolder.txtWidth": "Width", "SSE.Views.DocumentHolder.txtWidth": "Width",
"SSE.Views.DocumentHolder.vertAlignText": "Vertical Alignment", "SSE.Views.DocumentHolder.vertAlignText": "Vertical Alignment",
"SSE.Views.FileMenu.btnBackCaption": "Go to Documents", "SSE.Views.FileMenu.btnBackCaption": "Go to Documents",
"SSE.Views.FileMenu.btnCloseMenuCaption": "Close Menu",
"SSE.Views.FileMenu.btnCreateNewCaption": "Create New", "SSE.Views.FileMenu.btnCreateNewCaption": "Create New",
"SSE.Views.FileMenu.btnDownloadCaption": "Download as...", "SSE.Views.FileMenu.btnDownloadCaption": "Download as...",
"SSE.Views.FileMenu.btnHelpCaption": "Help...", "SSE.Views.FileMenu.btnHelpCaption": "Help...",