summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2016-09-06 12:52:44 +0200
committerGitHub <noreply@github.com>2016-09-06 12:52:44 +0200
commitea6562aa571539c7126388ce96417d7edfa1b285 (patch)
tree79376639384cb923c0fca87ed84949893e85c196 /apps
parentc57976879c33230104e87016b7ebac11cc38ef77 (diff)
downloadnextcloud-server-ea6562aa571539c7126388ce96417d7edfa1b285.tar.gz
nextcloud-server-ea6562aa571539c7126388ce96417d7edfa1b285.zip
translate 2fa backup strings
Diffstat (limited to 'apps')
-rw-r--r--apps/twofactor_backupcodes/js/settingsview.js4
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();
}