From a7d898e2a1dd8b29d21c2b7aa757d096a7b9c773 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 7 Apr 2020 17:29:38 +0300 Subject: [PATCH] [DE] Add translation --- apps/documenteditor/main/app/controller/Main.js | 8 ++++++-- apps/documenteditor/main/locale/en.json | 2 ++ apps/documenteditor/main/locale/ru.json | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index a9eaa7219..ded2d0983 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -137,7 +137,9 @@ define([ "Error! Main Document Only.": this.txtMainDocOnly, "Error! Not a valid bookmark self-reference.": this.txtNotValidBookmark, "Error! No text of specified style in document.": this.txtNoText, - "Choose an item.": this.txtChoose + "Choose an item.": this.txtChoose, + "Enter a date.": this.txtEnterDate, + "Type equation here.": this.txtTypeEquation }; styleNames.forEach(function(item){ translate[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item; @@ -2566,7 +2568,9 @@ define([ errorCompare: 'The Compare documents feature is not available in the co-editing mode.', textConvertEquation: 'This equation was created with an old version of equation editor which is no longer supported. Converting this equation to Office Math ML format will make it editable.
Do you want to convert this equation?', textApplyAll: 'Apply to all equations', - textLearnMore: 'Learn More' + textLearnMore: 'Learn More', + txtEnterDate: 'Enter a date.', + txtTypeEquation: 'Type equation here.' } })(), 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 0fa26aa92..02c14530a 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -746,6 +746,8 @@ "DE.Controllers.Main.textConvertEquation": "This equation was created with an old version of equation editor which is no longer supported. Converting this equation to Office Math ML format will make it editable.
Do you want to convert this equation?", "DE.Controllers.Main.textApplyAll": "Apply to all equations", "DE.Controllers.Main.textLearnMore": "Learn More", + "DE.Controllers.Main.txtEnterDate": "Enter a date.", + "DE.Controllers.Main.txtTypeEquation": "Type equation here.", "DE.Controllers.Navigation.txtBeginning": "Beginning of document", "DE.Controllers.Navigation.txtGotoBeginning": "Go to the beginning of the document", "DE.Controllers.Statusbar.textHasChanges": "New changes have been tracked", diff --git a/apps/documenteditor/main/locale/ru.json b/apps/documenteditor/main/locale/ru.json index e65a6f651..609870a99 100644 --- a/apps/documenteditor/main/locale/ru.json +++ b/apps/documenteditor/main/locale/ru.json @@ -720,6 +720,8 @@ "DE.Controllers.Main.warnNoLicense": "Эта версия редакторов %1 имеет некоторые ограничения по количеству одновременных подключений к серверу документов.
Если требуется больше, рассмотрите вопрос о покупке коммерческой лицензии.", "DE.Controllers.Main.warnNoLicenseUsers": "Эта версия редакторов %1 имеет некоторые ограничения по числу одновременно работающих пользователей.
Если требуется больше, рассмотрите вопрос о покупке коммерческой лицензии.", "DE.Controllers.Main.warnProcessRightsChange": "Вам было отказано в праве на редактирование этого файла.", + "DE.Controllers.Main.txtEnterDate": "Место для ввода даты.", + "DE.Controllers.Main.txtTypeEquation": "Место для уравнения.", "DE.Controllers.Navigation.txtBeginning": "Начало документа", "DE.Controllers.Navigation.txtGotoBeginning": "Перейти в начало документа", "DE.Controllers.Statusbar.textHasChanges": "Отслежены новые изменения",