Translate strings for mobile messages
This commit is contained in:
parent
6b4f3835c5
commit
d6977b798f
2 changed files with 11 additions and 11 deletions
|
|
@ -59,7 +59,7 @@
|
||||||
<div class="rect4"></div>
|
<div class="rect4"></div>
|
||||||
<div class="rect5"></div>
|
<div class="rect5"></div>
|
||||||
</div>
|
</div>
|
||||||
{{home.onGoingProcess|translate}}...
|
{{home.onGoingProcess}}...
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -375,7 +375,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
//if txp has required signatures then broadcast it
|
//if txp has required signatures then broadcast it
|
||||||
var txpHasRequiredSignatures = txpsi.status == 'accepted';
|
var txpHasRequiredSignatures = txpsi.status == 'accepted';
|
||||||
if (txpHasRequiredSignatures) {
|
if (txpHasRequiredSignatures) {
|
||||||
self.setOngoingProcess(gettext('Broadcasting transaction'));
|
self.setOngoingProcess(gettextCatalog.getString('Broadcasting transaction'));
|
||||||
$scope.loading = true;
|
$scope.loading = true;
|
||||||
fc.broadcastTxProposal(txpsi, function(err, txpsb, memo) {
|
fc.broadcastTxProposal(txpsi, function(err, txpsb, memo) {
|
||||||
self.setOngoingProcess();
|
self.setOngoingProcess();
|
||||||
|
|
@ -404,7 +404,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.reject = function(txp) {
|
$scope.reject = function(txp) {
|
||||||
self.setOngoingProcess(gettext('Rejecting payment'));
|
self.setOngoingProcess(gettextCatalog.getString('Rejecting payment'));
|
||||||
$scope.loading = true;
|
$scope.loading = true;
|
||||||
$scope.error = null;
|
$scope.error = null;
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
|
|
@ -424,7 +424,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
|
|
||||||
|
|
||||||
$scope.remove = function(txp) {
|
$scope.remove = function(txp) {
|
||||||
self.setOngoingProcess(gettext('Deleting payment'));
|
self.setOngoingProcess(gettextCatalog.getString('Deleting payment'));
|
||||||
$scope.loading = true;
|
$scope.loading = true;
|
||||||
$scope.error = null;
|
$scope.error = null;
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
|
|
@ -445,7 +445,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.broadcast = function(txp) {
|
$scope.broadcast = function(txp) {
|
||||||
self.setOngoingProcess(gettext('Broadcasting Payment'));
|
self.setOngoingProcess(gettextCatalog.getString('Broadcasting Payment'));
|
||||||
$scope.loading = true;
|
$scope.loading = true;
|
||||||
$scope.error = null;
|
$scope.error = null;
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
|
|
@ -869,7 +869,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
self.setOngoingProcess(gettext('Creating transaction'));
|
self.setOngoingProcess(gettextCatalog.getString('Creating transaction'));
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
var paypro = self._paypro;
|
var paypro = self._paypro;
|
||||||
var address, amount;
|
var address, amount;
|
||||||
|
|
@ -935,9 +935,9 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
var fc = profileService.focusedClient;
|
var fc = profileService.focusedClient;
|
||||||
|
|
||||||
if (fc.isPrivKeyExternal() && fc.getPrivKeyExternalSourceName() == 'ledger') {
|
if (fc.isPrivKeyExternal() && fc.getPrivKeyExternalSourceName() == 'ledger') {
|
||||||
self.setOngoingProcess(gettext('Requesting Ledger Wallet to sign'));
|
self.setOngoingProcess(gettextCatalog.getString('Requesting Ledger Wallet to sign'));
|
||||||
} else {
|
} else {
|
||||||
self.setOngoingProcess(gettext('Signing payment'));
|
self.setOngoingProcess(gettextCatalog.getString('Signing payment'));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -956,7 +956,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
}
|
}
|
||||||
|
|
||||||
if (signedTx.status == 'accepted') {
|
if (signedTx.status == 'accepted') {
|
||||||
self.setOngoingProcess(gettext('Broadcasting transaction'));
|
self.setOngoingProcess(gettextCatalog.getString('Broadcasting transaction'));
|
||||||
fc.broadcastTxProposal(signedTx, function(err, btx, memo) {
|
fc.broadcastTxProposal(signedTx, function(err, btx, memo) {
|
||||||
self.setOngoingProcess();
|
self.setOngoingProcess();
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
@ -1085,7 +1085,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
var satToUnit = 1 / this.unitToSatoshi;
|
var satToUnit = 1 / this.unitToSatoshi;
|
||||||
var self = this;
|
var self = this;
|
||||||
/// Get information of payment if using Payment Protocol
|
/// Get information of payment if using Payment Protocol
|
||||||
self.setOngoingProcess(gettext('Fetching Payment Information'));
|
self.setOngoingProcess(gettextCatalog.getString('Fetching Payment Information'));
|
||||||
|
|
||||||
$log.debug('Fetch PayPro Request...', uri);
|
$log.debug('Fetch PayPro Request...', uri);
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
|
|
@ -1274,7 +1274,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
this.sendAll = function() {
|
this.sendAll = function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
self.error = null;
|
self.error = null;
|
||||||
self.setOngoingProcess(gettext('Getting fee'));
|
self.setOngoingProcess(gettextCatalog.getString('Calculating fee'));
|
||||||
$rootScope.$emit('Local/SetFeeSendMax', function(currentFeePerKb, availableMaxBalance, feeToSendMaxStr) {
|
$rootScope.$emit('Local/SetFeeSendMax', function(currentFeePerKb, availableMaxBalance, feeToSendMaxStr) {
|
||||||
self.setOngoingProcess();
|
self.setOngoingProcess();
|
||||||
if (lodash.isNull(currentFeePerKb)) {
|
if (lodash.isNull(currentFeePerKb)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue