From e692aa4f222144d87a8e910f6b25c71a8d522ab2 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 16 Nov 2020 23:03:20 +0300 Subject: [PATCH] [DE] Fix Bug 47445 --- apps/documenteditor/main/app/view/NoteSettingsDialog.js | 7 ++++--- apps/documenteditor/main/locale/en.json | 1 + apps/documenteditor/main/locale/ru.json | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/view/NoteSettingsDialog.js b/apps/documenteditor/main/app/view/NoteSettingsDialog.js index 95ab45313..72c78ec91 100644 --- a/apps/documenteditor/main/app/view/NoteSettingsDialog.js +++ b/apps/documenteditor/main/app/view/NoteSettingsDialog.js @@ -191,11 +191,11 @@ define([ menuStyle: 'min-width: 150px;', editable: false, data: [ - { displayValue: this.textSectEnd, value: Asc.c_oAscFootnotePos.SectEnd }, - { displayValue: this.textPageBottom, value: Asc.c_oAscFootnotePos.PageBottom } + { displayValue: this.textSectEnd, value: Asc.c_oAscEndnotePos.SectEnd }, + { displayValue: this.textDocEnd, value: Asc.c_oAscEndnotePos.DocEnd } ] }); - this.cmbEndnote.setValue(Asc.c_oAscFootnotePos.PageBottom); + this.cmbEndnote.setValue(Asc.c_oAscEndnotePos.DocEnd); this.cmbFormat = new Common.UI.ComboBox({ el: $('#note-settings-combo-format'), @@ -503,6 +503,7 @@ define([ textInsert: 'Insert', textCustom: 'Custom Mark', textSectEnd: 'End of section', + textDocEnd: 'End of document', textEndnote: 'Endnote' }, DE.Views.NoteSettingsDialog || {})) diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index 51fc7ca6f..2a7322436 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -1926,6 +1926,7 @@ "DE.Views.NoteSettingsDialog.textNumFormat": "Number Format", "DE.Views.NoteSettingsDialog.textPageBottom": "Bottom of page", "DE.Views.NoteSettingsDialog.textSectEnd": "End of section", + "DE.Views.NoteSettingsDialog.textDocEnd": "End of document", "DE.Views.NoteSettingsDialog.textSection": "Current section", "DE.Views.NoteSettingsDialog.textStart": "Start at", "DE.Views.NoteSettingsDialog.textTextBottom": "Below text", diff --git a/apps/documenteditor/main/locale/ru.json b/apps/documenteditor/main/locale/ru.json index a38345c21..469501354 100644 --- a/apps/documenteditor/main/locale/ru.json +++ b/apps/documenteditor/main/locale/ru.json @@ -1930,6 +1930,7 @@ "DE.Views.NoteSettingsDialog.textStart": "Начать с", "DE.Views.NoteSettingsDialog.textTextBottom": "Под текстом", "DE.Views.NoteSettingsDialog.textTitle": "Параметры сносок", + "DE.Views.NoteSettingsDialog.textDocEnd": "В конце документа", "DE.Views.NotesRemoveDialog.textEnd": "Удалить все концевые сноски", "DE.Views.NotesRemoveDialog.textFoot": "Удалить все обычные сноски", "DE.Views.NotesRemoveDialog.textTitle": "Удалить сноски",