From cac9307e8c99c14bb50e51758864c984b756a095 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 8 Feb 2021 18:31:00 +0300 Subject: [PATCH] [DE] Fix translation --- apps/documenteditor/main/app/view/TableOfContentsSettings.js | 5 +++-- apps/documenteditor/main/locale/en.json | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/main/app/view/TableOfContentsSettings.js b/apps/documenteditor/main/app/view/TableOfContentsSettings.js index 1a93e6bb0..c26730f04 100644 --- a/apps/documenteditor/main/app/view/TableOfContentsSettings.js +++ b/apps/documenteditor/main/app/view/TableOfContentsSettings.js @@ -224,7 +224,7 @@ define([ this.chLinks = new Common.UI.CheckBox({ el: $('#tableofcontents-chb-links'), - labelText: this.strLinks, + labelText: (this.type==1) ? this.strLinksOF : this.strLinks, value: 'checked' }); this.chLinks.on('change', _.bind(function(field, newValue, oldValue, eOpts){ @@ -905,7 +905,8 @@ define([ textTable: 'Table', txtDistinctive: 'Distinctive', txtCentered: 'Centered', - txtFormal: 'Formal' + txtFormal: 'Formal', + strLinksOF: 'Format table of figures as links' }, DE.Views.TableOfContentsSettings || {})) }); \ No newline at end of file diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index fa8681cd2..f9af7c742 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -2219,6 +2219,7 @@ "DE.Views.TableOfContentsSettings.strAlign": "Right align page numbers", "DE.Views.TableOfContentsSettings.strFullCaption": "Include label and number", "DE.Views.TableOfContentsSettings.strLinks": "Format Table of Contents as links", + "DE.Views.TableOfContentsSettings.strLinksOF": "Format table of figures as links", "DE.Views.TableOfContentsSettings.strShowPages": "Show page numbers", "DE.Views.TableOfContentsSettings.textBuildTable": "Build table of contents from", "DE.Views.TableOfContentsSettings.textBuildTableOF": "Build table of figures from",