From f9613e3a3ca5e3fc02574da042899a8e8f41c4ba Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 5 Oct 2016 16:33:10 +0300 Subject: [PATCH] File menu: Back to Document -> Close menu. --- apps/documenteditor/main/app/view/FileMenu.js | 5 +++-- apps/presentationeditor/main/app/view/FileMenu.js | 5 +++-- apps/presentationeditor/main/locale/en.json | 1 + apps/spreadsheeteditor/main/app/view/FileMenu.js | 5 +++-- apps/spreadsheeteditor/main/locale/en.json | 1 + 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/apps/documenteditor/main/app/view/FileMenu.js b/apps/documenteditor/main/app/view/FileMenu.js index a72af2cb7..7187d1305 100644 --- a/apps/documenteditor/main/app/view/FileMenu.js +++ b/apps/documenteditor/main/app/view/FileMenu.js @@ -88,7 +88,7 @@ define([ new Common.UI.MenuItem({ el : $('#fm-btn-return',this.el), action : 'back', - caption : this.btnReturnCaption, + caption : this.btnCloseMenuCaption, canFocused: false }), new Common.UI.MenuItem({ @@ -329,6 +329,7 @@ define([ btnHistoryCaption : 'Versions History', btnSaveAsCaption : 'Save as', textDownload : 'Download', - btnRenameCaption : 'Rename...' + btnRenameCaption : 'Rename...', + btnCloseMenuCaption : 'Close Menu' }, DE.Views.FileMenu || {})); }); diff --git a/apps/presentationeditor/main/app/view/FileMenu.js b/apps/presentationeditor/main/app/view/FileMenu.js index 5a1b07935..46b94f94b 100644 --- a/apps/presentationeditor/main/app/view/FileMenu.js +++ b/apps/presentationeditor/main/app/view/FileMenu.js @@ -91,7 +91,7 @@ define([ new Common.UI.MenuItem({ el : $('#fm-btn-return',this.el), action : 'back', - caption : this.btnReturnCaption, + caption : this.btnCloseMenuCaption, canFocused: false }), new Common.UI.MenuItem({ @@ -324,6 +324,7 @@ define([ btnBackCaption : 'Go to Documents', btnSettingsCaption : 'Advanced Settings...', btnSaveAsCaption : 'Save as', - btnRenameCaption : 'Rename...' + btnRenameCaption : 'Rename...', + btnCloseMenuCaption : 'Close Menu' }, PE.Views.FileMenu || {})); }); diff --git a/apps/presentationeditor/main/locale/en.json b/apps/presentationeditor/main/locale/en.json index a21988b1c..d44929f8b 100644 --- a/apps/presentationeditor/main/locale/en.json +++ b/apps/presentationeditor/main/locale/en.json @@ -344,6 +344,7 @@ "PE.Views.DocumentPreview.txtPrev": "Previous Slide", "PE.Views.FileMenu.btnAboutCaption": "About", "PE.Views.FileMenu.btnBackCaption": "Go to Documents", + "PE.Views.FileMenu.btnCloseMenuCaption": "Close Menu", "PE.Views.FileMenu.btnCreateNewCaption": "Create New", "PE.Views.FileMenu.btnDownloadCaption": "Download as...", "PE.Views.FileMenu.btnHelpCaption": "Help...", diff --git a/apps/spreadsheeteditor/main/app/view/FileMenu.js b/apps/spreadsheeteditor/main/app/view/FileMenu.js index 5772c7d6c..69577f294 100644 --- a/apps/spreadsheeteditor/main/app/view/FileMenu.js +++ b/apps/spreadsheeteditor/main/app/view/FileMenu.js @@ -78,7 +78,7 @@ define([ new Common.UI.MenuItem({ el : $('#fm-btn-return',this.el), action : 'back', - caption : this.btnReturnCaption, + caption : this.btnCloseMenuCaption, canFocused: false }), new Common.UI.MenuItem({ @@ -300,6 +300,7 @@ define([ btnBackCaption : 'Go to Documents', btnSettingsCaption : 'Advanced Settings...', btnSaveAsCaption : 'Save as', - btnRenameCaption : 'Rename...' + btnRenameCaption : 'Rename...', + btnCloseMenuCaption : 'Close Menu' }, SSE.Views.FileMenu || {})); }); diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index 9bde2e447..c5900342b 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -528,6 +528,7 @@ "SSE.Views.DocumentHolder.txtWidth": "Width", "SSE.Views.DocumentHolder.vertAlignText": "Vertical Alignment", "SSE.Views.FileMenu.btnBackCaption": "Go to Documents", + "SSE.Views.FileMenu.btnCloseMenuCaption": "Close Menu", "SSE.Views.FileMenu.btnCreateNewCaption": "Create New", "SSE.Views.FileMenu.btnDownloadCaption": "Download as...", "SSE.Views.FileMenu.btnHelpCaption": "Help...",