diff options
Diffstat (limited to 'apps/twofactor_backupcodes')
-rw-r--r-- | apps/twofactor_backupcodes/js/settingsview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/twofactor_backupcodes/js/settingsview.js b/apps/twofactor_backupcodes/js/settingsview.js index a8f12d3f534..224f5f4797f 100644 --- a/apps/twofactor_backupcodes/js/settingsview.js +++ b/apps/twofactor_backupcodes/js/settingsview.js @@ -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(); } |