fix wording on error text

This commit is contained in:
Javier 2016-02-10 15:32:29 -03:00
commit c67d6ff80d

View file

@ -1095,14 +1095,14 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
self.paymentExpired = false;
self.timeToExpire = time;
var countDown = $interval(function() {
self.timeToExpire--;
if (self.timeToExpire <= Math.floor(Date.now() / 1000)) {
self.paymentExpired = true;
self.timeToExpire = null;
self._paypro = null;
self.error = gettext('Cannot send the payment: time to sign expired');
self.error = gettext('Cannot sign: The payment request has expired');
$interval.cancel(countDown);
}
self.timeToExpire--;
}, 1000);
};