diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 8752a11d2..bbac3ac3e 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -148,7 +148,8 @@ define([ "Odd Page ": this.txtOddPage, "Same as Previous": this.txtSameAsPrev, "Current Document": this.txtCurrentDocument, - "No table of contents entries found.": this.txtNoTableOfContents + "No table of contents entries found.": this.txtNoTableOfContents, + "Table of Contents": this.txtTableOfContents }; styleNames.forEach(function(item){ translate[item] = me.translationTable[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item; @@ -2243,6 +2244,7 @@ define([ txtCurrentDocument: "Current Document", warnNoLicenseUsers: 'This version of ONLYOFFICE Editors has certain limitations for concurrent users.
If you need more please consider upgrading your current license or purchasing a commercial one.', txtNoTableOfContents: "No table of contents entries found.", + txtTableOfContents: "Table of Contents", errorForceSave: "An error occurred while saving the file. Please use the 'Download as' option to save the file to your computer hard drive or try again later." } })(), DE.Controllers.Main || {})) diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index f5e2b80ba..6c2b68c69 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -398,6 +398,7 @@ "DE.Controllers.Main.txtMath": "Math", "DE.Controllers.Main.txtNeedSynchronize": "You have updates", "DE.Controllers.Main.txtNoTableOfContents": "No table of contents entries found.", + "DE.Controllers.Main.txtTableOfContents": "Table of Contents", "DE.Controllers.Main.txtOddPage": "Odd Page ", "DE.Controllers.Main.txtOnPage": "on page ", "DE.Controllers.Main.txtRectangles": "Rectangles",