Commit f9613e3a authored by Julia Radzhabova's avatar Julia Radzhabova

File menu: Back to Document -> Close menu.

parent 379d61e7
...@@ -88,7 +88,7 @@ define([ ...@@ -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([ ...@@ -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 || {}));
}); });
...@@ -91,7 +91,7 @@ define([ ...@@ -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([ ...@@ -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 || {}));
}); });
...@@ -344,6 +344,7 @@ ...@@ -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...",
......
...@@ -78,7 +78,7 @@ define([ ...@@ -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([ ...@@ -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 || {}));
}); });
...@@ -528,6 +528,7 @@ ...@@ -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...",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment