i18n 'Secure session ended'

// FREEBIE
This commit is contained in:
2-4601 2016-04-23 20:25:59 +03:00 committed by lilia
parent 91083ab158
commit 52992a8f12
2 changed files with 2 additions and 2 deletions

View file

@ -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.';

View file

@ -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.');