i18n 'Secure session ended'

// FREEBIE
pull/749/head
2-4601 9 years ago committed by lilia
parent 91083ab158
commit 52992a8f12

@ -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…
Cancel
Save