i18n 'Secure session ended'
// FREEBIE
This commit is contained in:
parent
91083ab158
commit
52992a8f12
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@
|
|||
return messages.join(' ');
|
||||
}
|
||||
if (this.isEndSession()) {
|
||||
return 'Secure session ended.';
|
||||
return i18n('sessionEnded');
|
||||
}
|
||||
if (this.isIncoming() && this.hasKeyConflicts()) {
|
||||
return 'Received message with unknown identity key.';
|
||||
|
|
|
@ -174,7 +174,7 @@
|
|||
assert.equal(message.getDescription(), 'Updated the group. Title is now \'blerg\'. Bob joined the group.', 'Notes when there are multiple changes to group_updates properties.');
|
||||
|
||||
message = messages.add({flags: true});
|
||||
assert.equal(message.getDescription(), 'Secure session ended.');
|
||||
assert.equal(message.getDescription(), i18n('sessionEnded'));
|
||||
|
||||
message = messages.add({type: 'incoming', errors: [{name: 'OutgoingIdentityKeyError'}]});
|
||||
assert.equal(message.getDescription(), 'Received message with unknown identity key.');
|
||||
|
|
Loading…
Reference in a new issue