Merge pull request #1279 from nextcloud/2fa-backup-codes-typo
fix 2fa backup codes typo
This commit is contained in:
commit
8c974589bd
|
@ -103,13 +103,13 @@
|
|||
this._codes = data.codes;
|
||||
this.render();
|
||||
}.bind(this)).fail(function () {
|
||||
OC.Notification.showTemporary('An error occurred while generating your backup codes');
|
||||
OC.Notification.showTemporary(t('twofactor_backupcodes', 'An error occurred while generating your backup codes'));
|
||||
$('#generate-backup-codes').removeClass('icon-loading-small');
|
||||
});
|
||||
},
|
||||
_onPrintBackupCodes: function () {
|
||||
var url = this._getDownloadDataHref();
|
||||
window.open(url, 'Nextcloud backpu codes');
|
||||
window.open(url, t('twofactor_backupcodes', 'Nextcloud backup codes'));
|
||||
window.print();
|
||||
window.close();
|
||||
}
|
||||
|
@ -117,4 +117,4 @@
|
|||
|
||||
OC.Settings.TwoFactorBackupCodes.View = View;
|
||||
|
||||
})(OC, Handlebars, $, _);
|
||||
})(OC, Handlebars, $, _);
|
||||
|
|
Loading…
Reference in New Issue