From 1e194ac11d37e03d1fd7fe63a439385cd04ee035 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 26 Oct 2017 16:05:05 +0300 Subject: [PATCH] [DE] Bug 36143 --- .../main/app/controller/Main.js | 27 ++++++++++++++++--- apps/documenteditor/main/locale/en.json | 11 ++++++++ apps/documenteditor/main/locale/ru.json | 2 ++ 3 files changed, 37 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 356aeba1d..a1653ddb6 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -132,7 +132,18 @@ define([ 'Diagram Title': this.txtDiagramTitle, 'X Axis': this.txtXAxis, 'Y Axis': this.txtYAxis, - 'Your text here': this.txtArt + 'Your text here': this.txtArt, + "Error! Bookmark not defined.": this.txtBookmarkError, + "above": this.txtAbove, + "below": this.txtBelow, + "on page ": this.txtOnPage, + "Header": this.txtHeader, + "Footer": this.txtFooter, + " -Section ": this.txtSection, + "First Page ": this.txtFirstPage, + "Even Page ": this.txtEvenPage, + "Odd Page ": this.txtOddPage, + "Same as Previous": this.txtSameAsPrev }; styleNames.forEach(function(item){ translate[item] = me.translationTable[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item; @@ -2147,8 +2158,18 @@ define([ txtStyle_Intense_Quote: 'Intense Quote', txtStyle_List_Paragraph: 'List Paragraph', saveTextText: 'Saving document...', - saveTitleText: 'Saving Document' - + saveTitleText: 'Saving Document', + txtBookmarkError: "Error! Bookmark not defined.", + txtAbove: "above", + txtBelow: "below", + txtOnPage: "on page ", + txtHeader: "Header", + txtFooter: "Footer", + txtSection: " -Section ", + txtFirstPage: "First Page ", + txtEvenPage: "Even Page ", + txtOddPage: "Odd Page ", + txtSameAsPrev: "Same as Previous" } })(), 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 f54a57fac..8802c80a2 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -376,6 +376,17 @@ "DE.Controllers.Main.txtStyle_Title": "Title", "DE.Controllers.Main.txtXAxis": "X Axis", "DE.Controllers.Main.txtYAxis": "Y Axis", + "DE.Controllers.Main.txtBookmarkError": "Error! Bookmark not defined.", + "DE.Controllers.Main.txtAbove": "above", + "DE.Controllers.Main.txtBelow": "below", + "DE.Controllers.Main.txtOnPage": "on page ", + "DE.Controllers.Main.txtHeader": "Header", + "DE.Controllers.Main.txtFooter": "Footer", + "DE.Controllers.Main.txtSection": " -Section ", + "DE.Controllers.Main.txtFirstPage": "First Page ", + "DE.Controllers.Main.txtEvenPage": "Even Page ", + "DE.Controllers.Main.txtOddPage": "Odd Page ", + "DE.Controllers.Main.txtSameAsPrev": "Same as Previous", "DE.Controllers.Main.unknownErrorText": "Unknown error.", "DE.Controllers.Main.unsupportedBrowserErrorText ": "Your browser is not supported.", "DE.Controllers.Main.uploadImageExtMessage": "Unknown image format.", diff --git a/apps/documenteditor/main/locale/ru.json b/apps/documenteditor/main/locale/ru.json index 38276cd66..ecccd31f8 100644 --- a/apps/documenteditor/main/locale/ru.json +++ b/apps/documenteditor/main/locale/ru.json @@ -350,6 +350,8 @@ "DE.Controllers.Main.txtStyle_Title": "Название", "DE.Controllers.Main.txtXAxis": "Ось X", "DE.Controllers.Main.txtYAxis": "Ось Y", + "DE.Controllers.Main.txtHeader": "Верхний колонтитул", + "DE.Controllers.Main.txtFooter": "Нижний колонтитул", "DE.Controllers.Main.unknownErrorText": "Неизвестная ошибка.", "DE.Controllers.Main.unsupportedBrowserErrorText ": "Ваш браузер не поддерживается.", "DE.Controllers.Main.uploadImageExtMessage": "Неизвестный формат изображения.",