diff --git a/src/js/controllers/confirm.js b/src/js/controllers/confirm.js index f688ed3fc..d475a4364 100644 --- a/src/js/controllers/confirm.js +++ b/src/js/controllers/confirm.js @@ -60,7 +60,7 @@ angular.module('copayApp.controllers').controller('confirmController', function( function setNoWallet(msg) { $scope.wallet = null; - $scope.noWalletMessage = gettextCatalog.getString(msg); + $scope.noWalletMessage = msg; $log.warn('Not ready to make the payment:' + msg); $timeout(function() { $scope.$apply(); @@ -80,7 +80,7 @@ angular.module('copayApp.controllers').controller('confirmController', function( }); if (!$scope.wallets || !$scope.wallets.length) { - setNoWallet('No wallets available'); + setNoWallet(gettextCatalog.getString('No wallets available')); return cb(); } @@ -109,7 +109,7 @@ angular.module('copayApp.controllers').controller('confirmController', function( return cb('Could not update any wallet'); if (lodash.isEmpty(filteredWallets)) { - setNoWallet('Insufficent funds'); + setNoWallet(gettextCatalog.getString('Insufficient funds')); } $scope.wallets = lodash.clone(filteredWallets); return cb(); @@ -272,7 +272,7 @@ angular.module('copayApp.controllers').controller('confirmController', function( $log.debug('Send max info', sendMaxInfo); if (tx.sendMax && sendMaxInfo.amount == 0) { - setNoWallet('Insufficent funds'); + setNoWallet(gettextCatalog.getString('Insufficient funds')); popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('Not enough funds for fee')); return cb('no_funds'); } diff --git a/www/views/confirm.html b/www/views/confirm.html index d638f57bf..a2b85ad88 100644 --- a/www/views/confirm.html +++ b/www/views/confirm.html @@ -61,7 +61,7 @@ {{tx.toAddress}} - + From
@@ -107,7 +107,7 @@ {{buttonText}} diff --git a/www/views/customAmount.html b/www/views/customAmount.html index 902671d63..f9d5aafb7 100644 --- a/www/views/customAmount.html +++ b/www/views/customAmount.html @@ -10,9 +10,9 @@ @@ -23,7 +23,7 @@
-
+
Address @@ -43,7 +43,7 @@ {{wallet.name}}
-
Receive in
+
Receive in