Refactoring caption for comments remove

This commit is contained in:
Julia Radzhabova 2019-10-29 17:19:03 +03:00
parent fbb8c0c110
commit 9c74a4387c

View file

@ -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'
}