translate 2fa backup strings
This commit is contained in:
parent
c57976879c
commit
ea6562aa57
|
@ -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 backup codes');
|
||||
window.open(url, t('twofactor_backupcodes', 'Nextcloud backup codes'));
|
||||
window.print();
|
||||
window.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue