From da81282143045192402ee95e1108bc527a08839b Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Mon, 9 Oct 2017 11:30:01 -0300 Subject: [PATCH] MeLi: Fix typos --- src/js/controllers/buyMercadoLibre.js | 12 ++++++------ www/views/buyMercadoLibre.html | 4 ++-- www/views/modals/mercadolibre-card-details.html | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/js/controllers/buyMercadoLibre.js b/src/js/controllers/buyMercadoLibre.js index 9df04fbc9..5ac73ac00 100644 --- a/src/js/controllers/buyMercadoLibre.js +++ b/src/js/controllers/buyMercadoLibre.js @@ -54,7 +54,7 @@ angular.module('copayApp.controllers').controller('buyMercadoLibreController', f var statusChangeHandler = function(processName, showName, isOn) { $log.debug('statusChangeHandler: ', processName, showName, isOn); - if (processName == 'Comprando Vale-presente' && !isOn) { + if (processName == 'Comprando Vale-Presente' && !isOn) { $scope.sendStatus = 'success'; $timeout(function() { $scope.$digest(); @@ -174,14 +174,14 @@ angular.module('copayApp.controllers').controller('buyMercadoLibreController', f $log.debug("creating gift card " + count); if (err) { $scope.sendStatus = ''; - ongoingProcess.set('Comprando Vale-presente', false, statusChangeHandler); + ongoingProcess.set('Comprando Vale-Presente', false, statusChangeHandler); giftCard = {}; giftCard.status = 'FAILURE'; } if (giftCard && giftCard.cardStatus && (giftCard.cardStatus != 'active' && giftCard.cardStatus != 'inactive' && giftCard.cardStatus != 'expired')) { $scope.sendStatus = ''; - ongoingProcess.set('Comprando Vale-presente', false, statusChangeHandler); + ongoingProcess.set('Comprando Vale-Presente', false, statusChangeHandler); giftCard = {}; giftCard.status = 'FAILURE'; } @@ -205,7 +205,7 @@ angular.module('copayApp.controllers').controller('buyMercadoLibreController', f newData['uuid'] = dataSrc.uuid; mercadoLibreService.savePendingGiftCard(newData, null, function(err) { - ongoingProcess.set('Comprando Vale-presente', false, statusChangeHandler); + ongoingProcess.set('Comprando Vale-Presente', false, statusChangeHandler); $log.debug("Saving new gift card with status: " + newData.status); $scope.mlGiftCard = newData; }); @@ -311,10 +311,10 @@ angular.module('copayApp.controllers').controller('buyMercadoLibreController', f return; } - ongoingProcess.set('Comprando Vale-presente', true, statusChangeHandler); + ongoingProcess.set('Comprando Vale-Presente', true, statusChangeHandler); publishAndSign($scope.wallet, createdTx, function() {}, function(err, txSent) { if (err) { - ongoingProcess.set('Comprando Vale-presente', false, statusChangeHandler); + ongoingProcess.set('Comprando Vale-Presente', false, statusChangeHandler); showError(gettextCatalog.getString('Could not send transaction'), err); return; } diff --git a/www/views/buyMercadoLibre.html b/www/views/buyMercadoLibre.html index f45d1cb32..69b1f4fd6 100644 --- a/www/views/buyMercadoLibre.html +++ b/www/views/buyMercadoLibre.html @@ -16,7 +16,7 @@
- Vales-Presente do Mercado Livre Brasil + Vale-Presente do Mercado Livre Brasil
{{amountUnitStr}}
@@ -39,7 +39,7 @@ Details
- Gift card + Gift Card {{amount | currency:'$ ':2}} {{currencyIsoCode}} diff --git a/www/views/modals/mercadolibre-card-details.html b/www/views/modals/mercadolibre-card-details.html index c051d3355..f0bf38b85 100644 --- a/www/views/modals/mercadolibre-card-details.html +++ b/www/views/modals/mercadolibre-card-details.html @@ -20,7 +20,7 @@
{{card.pin}}