mirror of https://github.com/BTCPrivate/copay.git
BitPay wording
This commit is contained in:
parent
a0e273059e
commit
8b25f65063
|
@ -11,7 +11,7 @@ angular.module('copayApp.controllers').controller('bitpayCardIntroController', f
|
||||||
var pairingReason = gettextCatalog.getString('add your BitPay Visa card(s)');
|
var pairingReason = gettextCatalog.getString('add your BitPay Visa card(s)');
|
||||||
bitpayAccountService.pair(pairData, pairingReason, function(err, paired, apiContext) {
|
bitpayAccountService.pair(pairData, pairingReason, function(err, paired, apiContext) {
|
||||||
if (err) {
|
if (err) {
|
||||||
popupService.showAlert(gettextCatalog.getString('Error pairing Bitpay Account'), err);
|
popupService.showAlert(gettextCatalog.getString('Error pairing BitPay Account'), err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (paired) {
|
if (paired) {
|
||||||
|
|
|
@ -56,7 +56,7 @@ angular.module('copayApp.services').factory('bitpayCardService', function($log,
|
||||||
var n = {};
|
var n = {};
|
||||||
|
|
||||||
if (!x.eid || !x.id || !x.lastFourDigits || !x.token) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ angular.module('copayApp.services').factory('openURLService', function($rootScop
|
||||||
$log.debug('Registering Browser handlers base:' + base);
|
$log.debug('Registering Browser handlers base:' + base);
|
||||||
navigator.registerProtocolHandler('bitcoin', url, 'Copay Bitcoin Handler');
|
navigator.registerProtocolHandler('bitcoin', url, 'Copay Bitcoin Handler');
|
||||||
navigator.registerProtocolHandler('web+copay', url, 'Copay Wallet 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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<ion-modal-view>
|
<ion-modal-view>
|
||||||
<ion-content ng-controller="bitpayCardConfirmationController">
|
<ion-content ng-controller="bitpayCardConfirmationController">
|
||||||
<div class="text-center">
|
<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>
|
<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>
|
<p class="text-gray p20h" translate>You will need to log back for fill in your BitPay Card.</p>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<button class="button button-block button-stable" ng-click="cancel()" translate>
|
<button class="button button-block button-stable" ng-click="cancel()" translate>
|
||||||
|
|
Loading…
Reference in New Issue