Update translations for controllers and services

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-29 19:19:10 -03:00
commit cbf3d7cceb
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
22 changed files with 564 additions and 195 deletions

View file

@ -2,7 +2,7 @@
'use strict';
angular.module('copayApp.controllers').controller('backupController',
function($rootScope, $scope, $timeout, backupService, profileService, isMobile, isCordova, notification, go) {
function($rootScope, $scope, $timeout, backupService, profileService, isMobile, isCordova, notification, go, gettext) {
this.isSafari = isMobile.Safari();
this.isCordova = isCordova;
this.error = null;
@ -14,7 +14,7 @@ angular.module('copayApp.controllers').controller('backupController',
this.downloadWalletBackup = function() {
backupService.walletDownload(this.password, function() {
$rootScope.$emit('Local/BackupDone');
notification.success('Backup created', 'Encrypted backup file saved');
notification.success(gettext('Backup created'), gettext('Encrypted backup file saved'));
go.walletHome();
});
};