add translation keys for errors

This commit is contained in:
David Benqué
2019-12-19 10:09:39 +00:00
parent ceb7fc4f66
commit c6e7b5d552
2 changed files with 3 additions and 3 deletions

View File

@@ -1173,7 +1173,7 @@ define([
sframeChan.query('Q_ANON_GET_PREVIEW_CONTENT', { seeds: seeds }, waitFor(function (err, json) {
if (json && json.error) {
// err === DELETED: different message?
$(errorBlock).text(Messages.error + json.error).show(); // XXX
$(errorBlock).text(Messages.team_inviteInvalidLinkError).show();
waitFor.abort();
$div.empty();
return;