From bd2556c8b9f1b5af250bdd7bb409119326b4f791 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 7 Aug 2019 14:29:15 +0300 Subject: [PATCH] [SSE] Update translation for header/footer --- apps/spreadsheeteditor/main/app/controller/Main.js | 8 +++++--- apps/spreadsheeteditor/main/locale/en.json | 1 + apps/spreadsheeteditor/main/locale/ru.json | 4 ++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 941fc455e..5b87b2b4a 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -134,8 +134,9 @@ define([ 'Table': this.txtTable, 'Print_Area': this.txtPrintArea, 'Confidential': this.txtConfidential, - 'Prepared by': this.txtPreparedBy, - 'Page': this.txtPage + 'Prepared by ': this.txtPreparedBy + ' ', + 'Page': this.txtPage, + 'Page %1 of %2': this.txtPageOf }; styleNames.forEach(function(item){ translate[item] = me.translationTable[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item; @@ -2410,7 +2411,8 @@ define([ errorDataValidate: 'The value you entered is not valid.
A user has restricted values that can be entered into this cell.', txtConfidential: 'Confidential', txtPreparedBy: 'Prepared by', - txtPage: 'Page' + txtPage: 'Page', + txtPageOf: 'Page %1 of %2' } })(), SSE.Controllers.Main || {})) }); diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index 76d605821..e6e7d1b0d 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -745,6 +745,7 @@ "SSE.Controllers.Main.txtConfidential": "Confidential", "SSE.Controllers.Main.txtPreparedBy": "Prepared by", "SSE.Controllers.Main.txtPage": "Page", + "SSE.Controllers.Main.txtPageOf": "Page %1 of %2", "SSE.Controllers.Print.strAllSheets": "All Sheets", "SSE.Controllers.Print.textWarning": "Warning", "SSE.Controllers.Print.txtCustom": "Custom", diff --git a/apps/spreadsheeteditor/main/locale/ru.json b/apps/spreadsheeteditor/main/locale/ru.json index 751136989..a54d10028 100644 --- a/apps/spreadsheeteditor/main/locale/ru.json +++ b/apps/spreadsheeteditor/main/locale/ru.json @@ -741,6 +741,10 @@ "SSE.Controllers.Main.warnNoLicense": "Эта версия редакторов ONLYOFFICE имеет некоторые ограничения по количеству одновременных подключений к серверу документов.
Если требуется больше, рассмотрите вопрос о покупке коммерческой лицензии.", "SSE.Controllers.Main.warnNoLicenseUsers": "Эта версия редакторов %1 имеет некоторые ограничения по числу одновременно работающих пользователей.
Если требуется больше, рассмотрите вопрос о покупке коммерческой лицензии.", "SSE.Controllers.Main.warnProcessRightsChange": "Вам было отказано в праве на редактирование этого файла.", + "SSE.Controllers.Main.txtPage": "Страница", + "SSE.Controllers.Main.txtConfidential": "Конфиденциально", + "SSE.Controllers.Main.txtPreparedBy": "Подготовил:", + "SSE.Controllers.Main.txtPageOf": "Страница %1 из %2", "SSE.Controllers.Print.strAllSheets": "Все листы", "SSE.Controllers.Print.textWarning": "Предупреждение", "SSE.Controllers.Print.txtCustom": "Пользовательская",