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) { if (me.btnCommentRemove) {
var items = [ var items = [
{ {
caption: me.txtCommentRemCurrent, caption: config.canEditComments ? me.txtCommentRemCurrent : me.txtCommentRemMyCurrent,
value: 'current' value: 'current'
}, },
{ {
@ -658,6 +658,7 @@ define([
tipCommentRemCurrent: 'Remove current comments', tipCommentRemCurrent: 'Remove current comments',
tipCommentRem: 'Remove comments', tipCommentRem: 'Remove comments',
txtCommentRemCurrent: 'Remove Current Comments', txtCommentRemCurrent: 'Remove Current Comments',
txtCommentRemMyCurrent: 'Remove My Current Comments',
txtCommentRemMy: 'Remove My Comments', txtCommentRemMy: 'Remove My Comments',
txtCommentRemAll: 'Remove All Comments' txtCommentRemAll: 'Remove All Comments'
} }