Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
translate 2fa backup strings
  • Loading branch information
ChristophWurst authored Sep 6, 2016
commit ea6562aa571539c7126388ce96417d7edfa1b285
4 changes: 2 additions & 2 deletions apps/twofactor_backupcodes/js/settingsview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down