Merge pull request #818 from ONLYOFFICE/fix/bugfix

[DE] Fix Bug 49734
This commit is contained in:
Julia Radzhabova 2021-04-20 00:33:19 +03:00 committed by GitHub
commit 3b819e33e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View file

@ -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 || {}))
});

View file

@ -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.<br>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",