From 9c74a4387c7f2ab72b2e8cd77897e417b19422a8 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 29 Oct 2019 17:19:03 +0300 Subject: [PATCH] Refactoring caption for comments remove --- apps/common/main/lib/view/ReviewChanges.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/view/ReviewChanges.js b/apps/common/main/lib/view/ReviewChanges.js index f1bef9753..b76e67510 100644 --- a/apps/common/main/lib/view/ReviewChanges.js +++ b/apps/common/main/lib/view/ReviewChanges.js @@ -420,7 +420,7 @@ define([ if (me.btnCommentRemove) { var items = [ { - caption: me.txtCommentRemCurrent, + caption: config.canEditComments ? me.txtCommentRemCurrent : me.txtCommentRemMyCurrent, value: 'current' }, { @@ -658,6 +658,7 @@ define([ tipCommentRemCurrent: 'Remove current comments', tipCommentRem: 'Remove comments', txtCommentRemCurrent: 'Remove Current Comments', + txtCommentRemMyCurrent: 'Remove My Current Comments', txtCommentRemMy: 'Remove My Comments', txtCommentRemAll: 'Remove All Comments' }