From 79605f1871902d0e48598eb4d1db70b6c1811a85 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 19 Apr 2021 22:40:42 +0300 Subject: [PATCH] [DE] Fix Bug 49734 --- apps/documenteditor/main/app/controller/Main.js | 11 ++++++++--- apps/documenteditor/main/locale/en.json | 3 +++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 96f6202c9..1fcd28c04 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -102,7 +102,7 @@ define([ var me = this, styleNames = ['Normal', 'No Spacing', 'Heading 1', 'Heading 2', 'Heading 3', 'Heading 4', 'Heading 5', 'Heading 6', 'Heading 7', 'Heading 8', 'Heading 9', 'Title', 'Subtitle', 'Quote', 'Intense Quote', 'List Paragraph', 'footnote text', - 'Caption'], + 'Caption', 'endnote text'], translate = { 'Series': this.txtSeries, 'Diagram Title': this.txtDiagramTitle, @@ -142,7 +142,9 @@ define([ "Enter a date": this.txtEnterDate, "Type equation here": this.txtTypeEquation, "Click to load image": this.txtClickToLoad, - "No table of figures entries found.": this.txtNoTableOfFigures + "No table of figures entries found.": this.txtNoTableOfFigures, + "table of figures": this.txtTableOfFigures, + "TOC Heading": this.txtTOCHeading }; styleNames.forEach(function(item){ translate[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item; @@ -2838,7 +2840,10 @@ define([ textGuest: 'Guest', errorSubmit: 'Submit failed.', txtClickToLoad: 'Click to load image', - txtNoTableOfFigures: "No table of figures entries found." + txtNoTableOfFigures: "No table of figures entries found.", + txtTableOfFigures: 'Table of figures', + txtStyle_endnote_text: 'Endnote Text', + txtTOCHeading: 'TOC Heading' } })(), DE.Controllers.Main || {})) }); \ No newline at end of file diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index 48c156baf..82d98cfe0 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -843,6 +843,9 @@ "DE.Controllers.Main.warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only.
Contact %1 sales team for personal upgrade terms.", "DE.Controllers.Main.warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.", "DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.", + "DE.Controllers.Main.txtTableOfFigures": "Table of figures", + "DE.Controllers.Main.txtStyle_endnote_text": "Endnote Text", + "DE.Controllers.Main.txtTOCHeading": "TOC Heading", "DE.Controllers.Navigation.txtBeginning": "Beginning of document", "DE.Controllers.Navigation.txtGotoBeginning": "Go to the beginning of the document", "DE.Controllers.Statusbar.textHasChanges": "New changes have been tracked",