BitPay wording

This commit is contained in:
Gabriel Bazán 2017-06-06 11:04:16 -03:00
parent a0e273059e
commit 8b25f65063
4 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,7 @@ angular.module('copayApp.controllers').controller('bitpayCardIntroController', f
var pairingReason = gettextCatalog.getString('add your BitPay Visa card(s)');
bitpayAccountService.pair(pairData, pairingReason, function(err, paired, apiContext) {
if (err) {
popupService.showAlert(gettextCatalog.getString('Error pairing Bitpay Account'), err);
popupService.showAlert(gettextCatalog.getString('Error pairing BitPay Account'), err);
return;
}
if (paired) {
@ -64,7 +64,7 @@ angular.module('copayApp.controllers').controller('bitpayCardIntroController', f
var startPairBitPayAccount = function() {
var url = 'https://bitpay.com/visa/dashboard/add-to-bitpay-wallet-confirm';
externalLinkService.open(url);
externalLinkService.open(url);
};
var showAccountSelector = function() {

View File

@ -7,7 +7,7 @@ angular.module('copayApp.services').factory('bitpayCardService', function($log,
$log.error(msg);
var error = (e && e.data && e.data.error) ? e.data.error : msg;
return error;
};
};
var _processTransactions = function(invoices, history) {
invoices = invoices ||  [];
@ -56,7 +56,7 @@ angular.module('copayApp.services').factory('bitpayCardService', function($log,
var n = {};
if (!x.eid || !x.id || !x.lastFourDigits || !x.token) {
$log.warn('BAD data from Bitpay card' + JSON.stringify(x));
$log.warn('BAD data from BitPay card' + JSON.stringify(x));
return;
}

View File

@ -85,7 +85,7 @@ angular.module('copayApp.services').factory('openURLService', function($rootScop
$log.debug('Registering Browser handlers base:' + base);
navigator.registerProtocolHandler('bitcoin', url, 'Copay Bitcoin Handler');
navigator.registerProtocolHandler('web+copay', url, 'Copay Wallet Handler');
navigator.registerProtocolHandler('web+bitpay', url, 'Bitpay Wallet Handler');
navigator.registerProtocolHandler('web+bitpay', url, 'BitPay Wallet Handler');
}
}
};

View File

@ -1,8 +1,8 @@
<ion-modal-view>
<ion-content ng-controller="bitpayCardConfirmationController">
<div class="text-center">
<h1 class="text-center m20b p20h" translate>Are you sure you would like to log out of your Bitpay Card account?</h1>
<p class="text-gray p20h" translate>You will need to log back for fill in your Bitpay Card.</p>
<h1 class="text-center m20b p20h" translate>Are you sure you would like to log out of your BitPay Card account?</h1>
<p class="text-gray p20h" translate>You will need to log back for fill in your BitPay Card.</p>
<div class="row">
<div class="col">
<button class="button button-block button-stable" ng-click="cancel()" translate>