From b84a38b99f7a44924708f8aef2a9e280657fce5c Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 25 Dec 2020 23:01:14 +0300 Subject: [PATCH] [DE mobile] Fix Bug 47977 --- .../mobile/app/controller/Main.js | 22 +++++++++++++++++-- apps/documenteditor/mobile/locale/en.json | 9 ++++++++ apps/documenteditor/mobile/locale/ru.json | 9 ++++++++ 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/mobile/app/controller/Main.js b/apps/documenteditor/mobile/app/controller/Main.js index 26bc4d8a1b..81837da666 100644 --- a/apps/documenteditor/mobile/app/controller/Main.js +++ b/apps/documenteditor/mobile/app/controller/Main.js @@ -110,7 +110,16 @@ define([ 'Y Axis': this.txtYAxis, 'Your text here': this.txtArt, 'Header': this.txtHeader, - 'Footer': this.txtFooter + 'Footer': this.txtFooter, + "above": this.txtAbove, + "below": this.txtBelow, + "on page ": this.txtOnPage + " ", + " -Section ": " " + this.txtSection + " ", + "First Page ": this.txtFirstPage + " ", + "Even Page ": this.txtEvenPage + " ", + "Odd Page ": this.txtOddPage + " ", + "Same as Previous": this.txtSameAsPrev, + "Current Document": this.txtCurrentDocument }; styleNames.forEach(function(item){ translate[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item; @@ -1598,7 +1607,16 @@ define([ errorSessionIdle: 'The document has not been edited for quite a long time. Please reload the page.', errorSessionToken: 'The connection to the server has been interrupted. Please reload the page.', warnLicenseLimitedRenewed: 'License needs to be renewed.
You have a limited access to document editing functionality.
Please contact your administrator to get full access', - warnLicenseLimitedNoAccess: 'License expired.
You have no access to document editing functionality.
Please contact your administrator.' + warnLicenseLimitedNoAccess: 'License expired.
You have no access to document editing functionality.
Please contact your administrator.', + txtAbove: "above", + txtBelow: "below", + txtOnPage: "on page", + txtSection: "-Section", + txtFirstPage: "First Page", + txtEvenPage: "Even Page", + txtOddPage: "Odd Page", + txtSameAsPrev: "Same as Previous", + txtCurrentDocument: "Current Document" } })(), DE.Controllers.Main || {})) }); \ No newline at end of file diff --git a/apps/documenteditor/mobile/locale/en.json b/apps/documenteditor/mobile/locale/en.json index 181bf15278..34a49ba069 100644 --- a/apps/documenteditor/mobile/locale/en.json +++ b/apps/documenteditor/mobile/locale/en.json @@ -298,6 +298,15 @@ "DE.Controllers.Main.warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only.
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.txtAbove": "above", + "DE.Controllers.Main.txtBelow": "below", + "DE.Controllers.Main.txtOddPage": "Odd Page", + "DE.Controllers.Main.txtOnPage": "on page", + "DE.Controllers.Main.txtSameAsPrev": "Same as Previous", + "DE.Controllers.Main.txtSection": "-Section", + "DE.Controllers.Main.txtEvenPage": "Even Page", + "DE.Controllers.Main.txtFirstPage": "First Page", + "DE.Controllers.Main.txtCurrentDocument": "Current Document", "DE.Controllers.Search.textNoTextFound": "Text not Found", "DE.Controllers.Search.textReplaceAll": "Replace All", "DE.Controllers.Settings.notcriticalErrorTitle": "Warning", diff --git a/apps/documenteditor/mobile/locale/ru.json b/apps/documenteditor/mobile/locale/ru.json index d05e6f0626..fc6d3e7c89 100644 --- a/apps/documenteditor/mobile/locale/ru.json +++ b/apps/documenteditor/mobile/locale/ru.json @@ -298,6 +298,15 @@ "DE.Controllers.Main.warnNoLicense": "Вы достигли лимита на одновременные подключения к редакторам %1. Этот документ будет открыт на просмотр.
Напишите в отдел продаж %1, чтобы обсудить индивидуальные условия лицензирования.", "DE.Controllers.Main.warnNoLicenseUsers": "Вы достигли лимита на одновременные подключения к редакторам %1.
Напишите в отдел продаж %1, чтобы обсудить индивидуальные условия лицензирования.", "DE.Controllers.Main.warnProcessRightsChange": "Вам было отказано в праве на редактирование этого файла.", + "DE.Controllers.Main.txtAbove": "выше", + "DE.Controllers.Main.txtBelow": "ниже", + "DE.Controllers.Main.txtCurrentDocument": "Текущий документ", + "DE.Controllers.Main.txtOddPage": "Нечетная страница", + "DE.Controllers.Main.txtOnPage": "на странице", + "DE.Controllers.Main.txtSameAsPrev": "Как в предыдущем", + "DE.Controllers.Main.txtSection": "-Раздел", + "DE.Controllers.Main.txtFirstPage": "Первая страница", + "DE.Controllers.Main.txtEvenPage": "Четная страница", "DE.Controllers.Search.textNoTextFound": "Текст не найден", "DE.Controllers.Search.textReplaceAll": "Заменить все", "DE.Controllers.Settings.notcriticalErrorTitle": "Внимание",