Skip to content

Commit

Permalink
Merge pull request #9521 from RocketChat/fix-otr-modal-title
Browse files Browse the repository at this point in the history
Fix: OTR modal title
  • Loading branch information
rodrigok authored Jan 26, 2018
2 parents 87bb46f + 4556d04 commit bfb333b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/rocketchat-otr/client/rocketchat.otr.room.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ RocketChat.OTR.Room = class {
}

modal.open({
title: `<i class='icon-key alert-icon success-color'></i>${ TAPi18n.__('OTR') }`,
title: TAPi18n.__('OTR'),
text: TAPi18n.__('Username_wants_to_start_otr_Do_you_want_to_accept', { username: user.username }),
html: true,
showCancelButton: true,
Expand Down Expand Up @@ -238,7 +238,7 @@ RocketChat.OTR.Room = class {
this.reset();
const user = Meteor.users.findOne(this.peerId);
modal.open({
title: `<i class='icon-key alert-icon success-color'></i>${ TAPi18n.__('OTR') }`,
title: TAPi18n.__('OTR'),
text: TAPi18n.__('Username_denied_the_OTR_session', { username: user.username }),
html: true
});
Expand All @@ -250,7 +250,7 @@ RocketChat.OTR.Room = class {
this.reset();
const user = Meteor.users.findOne(this.peerId);
modal.open({
title: `<i class='icon-key alert-icon success-color'></i>${ TAPi18n.__('OTR') }`,
title: TAPi18n.__('OTR'),
text: TAPi18n.__('Username_ended_the_OTR_session', { username: user.username }),
html: true
});
Expand Down

0 comments on commit bfb333b

Please sign in to comment.