From 0c09284b3a50a14b167c8171ef6f4ade6d6a33ed Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 24 Aug 2021 14:52:58 +0300 Subject: [PATCH] For Bug 51561 --- apps/documenteditor/main/app/view/FileMenuPanels.js | 8 ++++---- apps/documenteditor/main/locale/en.json | 3 ++- apps/presentationeditor/main/app/view/FileMenuPanels.js | 8 ++++---- apps/presentationeditor/main/locale/en.json | 3 ++- apps/spreadsheeteditor/main/app/view/FileMenuPanels.js | 8 ++++---- apps/spreadsheeteditor/main/locale/en.json | 3 ++- 6 files changed, 18 insertions(+), 15 deletions(-) diff --git a/apps/documenteditor/main/app/view/FileMenuPanels.js b/apps/documenteditor/main/app/view/FileMenuPanels.js index aa1f254a3..fdcd5f5bb 100644 --- a/apps/documenteditor/main/app/view/FileMenuPanels.js +++ b/apps/documenteditor/main/app/view/FileMenuPanels.js @@ -873,7 +873,7 @@ define([ '
', '', '
', - '
<%= scope.fromBlankText %>
', + '
<%= scope.txtBlank %>
', '', '<% _.each(docs, function(item, index) { %>', '
', @@ -901,7 +901,7 @@ define([ scope: this, docs: this.options[0].docs })); - var docs=[{title: this.fromBlankText}].concat(this.options[0].docs); + var docs=[{title: this.txtBlank}].concat(this.options[0].docs); var thumbsElm= this.$el.find('.thumb-wrap, .blank-document'); _.each(thumbsElm, function (tmb, index){ $(tmb).find('.title').tooltip({ @@ -936,8 +936,8 @@ define([ this.menu.fireEvent('create:new', [this.menu, e.currentTarget.attributes['template'].value]); }, - fromBlankText : 'From Blank', - txtCreateNew : 'Create New' + txtBlank: 'Blank document', + txtCreateNew: 'Create New' }, DE.Views.FileMenuPanels.CreateNew || {})); DE.Views.FileMenuPanels.DocumentInfo = Common.UI.BaseView.extend(_.extend({ diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index 6eeda0052..6aeaba2ed 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -1650,12 +1650,13 @@ "DE.Views.FileMenu.btnSettingsCaption": "Advanced Settings...", "DE.Views.FileMenu.btnToEditCaption": "Edit Document", "DE.Views.FileMenu.textDownload": "Download", - "DE.Views.FileMenuPanels.CreateNew.fromBlankText": "From Blank", + "del_DE.Views.FileMenuPanels.CreateNew.fromBlankText": "From Blank", "del_DE.Views.FileMenuPanels.CreateNew.fromTemplateText": "From Template", "del_DE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Create a new blank text document which you will be able to style and format after it is created during the editing. Or choose one of the templates to start a document of a certain type or purpose where some styles have already been pre-applied.", "del_DE.Views.FileMenuPanels.CreateNew.newDocumentText": "New Text Document", "del_DE.Views.FileMenuPanels.CreateNew.noTemplatesText": "There are no templates", "DE.Views.FileMenuPanels.CreateNew.txtCreateNew": "Create New", + "DE.Views.FileMenuPanels.CreateNew.txtBlank": "Blank Document", "DE.Views.FileMenuPanels.DocumentInfo.okButtonText": "Apply", "DE.Views.FileMenuPanels.DocumentInfo.txtAddAuthor": "Add Author", "DE.Views.FileMenuPanels.DocumentInfo.txtAddText": "Add Text", diff --git a/apps/presentationeditor/main/app/view/FileMenuPanels.js b/apps/presentationeditor/main/app/view/FileMenuPanels.js index 5dbd7a3d0..aa15bb4a4 100644 --- a/apps/presentationeditor/main/app/view/FileMenuPanels.js +++ b/apps/presentationeditor/main/app/view/FileMenuPanels.js @@ -771,7 +771,7 @@ define([ '
', '', '
', - '
<%= scope.fromBlankText %>
', + '
<%= scope.txtBlank %>
', '
', '<% _.each(docs, function(item, index) { %>', '
', @@ -799,7 +799,7 @@ define([ scope: this, docs: this.options[0].docs })); - var docs=[{title: this.fromBlankText}].concat(this.options[0].docs); + var docs=[{title: this.txtBlank}].concat(this.options[0].docs); var thumbsElm= this.$el.find('.thumb-wrap, .blank-document'); _.each(thumbsElm, function (tmb, index){ $(tmb).find('.title').tooltip({ @@ -834,8 +834,8 @@ define([ this.menu.fireEvent('create:new', [this.menu, e.currentTarget.attributes['template'].value]); }, - fromBlankText : 'From Blank', - txtCreateNew : 'Create New' + txtBlank: 'Blank presentation', + txtCreateNew: 'Create New' }, PE.Views.FileMenuPanels.CreateNew || {})); PE.Views.FileMenuPanels.DocumentInfo = Common.UI.BaseView.extend(_.extend({ diff --git a/apps/presentationeditor/main/locale/en.json b/apps/presentationeditor/main/locale/en.json index 467ce8ada..b714d992d 100644 --- a/apps/presentationeditor/main/locale/en.json +++ b/apps/presentationeditor/main/locale/en.json @@ -1313,12 +1313,13 @@ "PE.Views.FileMenu.btnSaveCopyAsCaption": "Save Copy as...", "PE.Views.FileMenu.btnSettingsCaption": "Advanced Settings...", "PE.Views.FileMenu.btnToEditCaption": "Edit Presentation", - "PE.Views.FileMenuPanels.CreateNew.fromBlankText": "From Blank", + "del_PE.Views.FileMenuPanels.CreateNew.fromBlankText": "From Blank", "del_PE.Views.FileMenuPanels.CreateNew.fromTemplateText": "From Template", "del_PE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Create a new blank presentation which you will be able to style and format after it is created during the editing. Or choose one of the templates to start a presentation of a certain type or purpose where some styles have already been pre-applied.", "del_PE.Views.FileMenuPanels.CreateNew.newDocumentText": "New Presentation", "del_PE.Views.FileMenuPanels.CreateNew.noTemplatesText": "There are no templates", "PE.Views.FileMenuPanels.CreateNew.txtCreateNew": "Create New", + "PE.Views.FileMenuPanels.CreateNew.txtBlank": "Blank Presentation", "PE.Views.FileMenuPanels.DocumentInfo.okButtonText": "Apply", "PE.Views.FileMenuPanels.DocumentInfo.txtAddAuthor": "Add Author", "PE.Views.FileMenuPanels.DocumentInfo.txtAddText": "Add Text", diff --git a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js index 5781b5197..4be10465e 100644 --- a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js +++ b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js @@ -1738,7 +1738,7 @@ define([ '
', '', '
', - '
<%= scope.fromBlankText %>
', + '
<%= scope.txtBlank %>
', '
', '<% _.each(docs, function(item, index) { %>', '
', @@ -1766,7 +1766,7 @@ define([ scope: this, docs: this.options[0].docs })); - var docs=[{title: this.fromBlankText}].concat(this.options[0].docs); + var docs=[{title: this.txtBlank}].concat(this.options[0].docs); var thumbsElm= this.$el.find('.thumb-wrap, .blank-document'); _.each(thumbsElm, function (tmb, index){ $(tmb).find('.title').tooltip({ @@ -1801,8 +1801,8 @@ define([ this.menu.fireEvent('create:new', [this.menu, e.currentTarget.attributes['template'].value]); }, - fromBlankText : 'From Blank', - txtCreateNew : 'Create New' + txtBlank: 'Blank spreadsheet', + txtCreateNew: 'Create New' }, SSE.Views.FileMenuPanels.CreateNew || {})); SSE.Views.FileMenuPanels.DocumentInfo = Common.UI.BaseView.extend(_.extend({ diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index 9c04930f8..fb1f59c9b 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -2007,11 +2007,12 @@ "SSE.Views.FileMenu.btnSettingsCaption": "Advanced Settings...", "SSE.Views.FileMenu.btnToEditCaption": "Edit Spreadsheet", "SSE.Views.FileMenu.btnHistoryCaption": "Version History", - "SSE.Views.FileMenuPanels.CreateNew.fromBlankText": "From Blank", + "del_SSE.Views.FileMenuPanels.CreateNew.fromBlankText": "From Blank", "del_SSE.Views.FileMenuPanels.CreateNew.fromTemplateText": "From Template", "del_SSE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Create a new blank spreadsheet which you will be able to style and format after it is created during the editing. Or choose one of the templates to start a spreadsheet of a certain type or purpose where some styles have already been pre-applied.", "del_SSE.Views.FileMenuPanels.CreateNew.newDocumentText": "New Spreadsheet", "SSE.Views.FileMenuPanels.CreateNew.txtCreateNew": "Create New", + "SSE.Views.FileMenuPanels.CreateNew.txtBlank": "Blank Spreadsheet", "SSE.Views.FileMenuPanels.DocumentInfo.okButtonText": "Apply", "SSE.Views.FileMenuPanels.DocumentInfo.txtAddAuthor": "Add Author", "SSE.Views.FileMenuPanels.DocumentInfo.txtAddText": "Add Text",