From efa7c5e0f7dd3659458b448ebec15e434d6a7ecc Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 6 Dec 2022 13:29:15 +0300 Subject: [PATCH] [DE] Fix translation --- apps/documenteditor/main/app/controller/DocProtection.js | 4 ++-- apps/documenteditor/main/app/view/DocProtection.js | 3 ++- apps/documenteditor/main/locale/en.json | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/controller/DocProtection.js b/apps/documenteditor/main/app/controller/DocProtection.js index 58a482d5a..d277d95cb 100644 --- a/apps/documenteditor/main/app/controller/DocProtection.js +++ b/apps/documenteditor/main/app/controller/DocProtection.js @@ -138,10 +138,10 @@ define([ props = me.api.asc_getDocumentProtection(); if (props && props.asc_getIsPassword()) { var win = new Common.Views.OpenDialog({ - title: me.view.txtWBUnlockTitle, + title: me.view.txtUnlockTitle, closable: true, type: Common.Utils.importTextType.DRM, - txtOpenFile: me.view.txtWBUnlockDescription, + txtOpenFile: me.view.txtDocUnlockDescription, validatePwd: false, maxPasswordLength: 15, handler: function (result, value) { diff --git a/apps/documenteditor/main/app/view/DocProtection.js b/apps/documenteditor/main/app/view/DocProtection.js index 757cd7912..81bf01e1f 100644 --- a/apps/documenteditor/main/app/view/DocProtection.js +++ b/apps/documenteditor/main/app/view/DocProtection.js @@ -141,7 +141,8 @@ define([ txtDocProtectedComment: 'Document is protected.
You may only insert comments to this document.', txtDocProtectedForms: 'Document is protected.
You may only fill in forms in this document.', hintProtectDoc: 'Protect document', - txtDocUnlockDescription: 'Enter a password to unprotect document' + txtDocUnlockDescription: 'Enter a password to unprotect document', + txtUnlockTitle: 'Unprotect Document' } }()), DE.Views.DocProtection || {})); }); \ No newline at end of file diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index 933521890..1568d33e0 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -1632,6 +1632,7 @@ "DE.Views.DocProtection.txtDocProtectedTrack": "Document is protected.
You may edit this document, but all changes will be tracked.", "DE.Views.DocProtection.txtDocProtectedView": "Document is protected.
You may only view this document.", "DE.Views.DocProtection.txtDocUnlockDescription": "Enter a password to unprotect document", + "DE.Views.DocProtection.txtUnlockTitle": "Unprotect Document", "DE.Views.DocProtection.txtProtectDoc": "Protect Document", "DE.Views.DocumentHolder.aboveText": "Above", "DE.Views.DocumentHolder.addCommentText": "Add comment",