Removing unused services, and making string translatable.
This commit is contained in:
parent
fb275d4b08
commit
cc907251f7
2 changed files with 6 additions and 2 deletions
|
|
@ -3699,3 +3699,7 @@ msgstr ""
|
||||||
#: www/views/includes/walletInfo.html:18
|
#: www/views/includes/walletInfo.html:18
|
||||||
msgid "{{wallet.m}}-of-{{wallet.n}}"
|
msgid "{{wallet.m}}-of-{{wallet.n}}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/js/controllers/amount.js:49
|
||||||
|
msgid "Address doesn\'t contain currency information, please make sure you are sending the correct currency."
|
||||||
|
msgstr ""
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('amountController', function($scope, $filter, $timeout, $ionicModal, $ionicScrollDelegate, $ionicHistory, storageService, walletService, gettextCatalog, platformInfo, lodash, configService, rateService, $stateParams, $window, $state, $log, txFormatService, ongoingProcess, popupService, bwcError, payproService, profileService, bitcore, amazonService, nodeWebkitService) {
|
angular.module('copayApp.controllers').controller('amountController', function($scope, $filter, $timeout, $ionicModal, $ionicScrollDelegate, $ionicHistory, walletService, gettextCatalog, platformInfo, lodash, configService, rateService, $stateParams, $window, $state, $log, txFormatService, ongoingProcess, popupService, profileService, nodeWebkitService) {
|
||||||
|
|
||||||
var _id;
|
var _id;
|
||||||
var unitToSatoshi;
|
var unitToSatoshi;
|
||||||
|
|
@ -46,7 +46,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
||||||
if (data.stateParams.noPrefix) {
|
if (data.stateParams.noPrefix) {
|
||||||
$scope.showWarningMessage = data.stateParams.noPrefix != 0;
|
$scope.showWarningMessage = data.stateParams.noPrefix != 0;
|
||||||
if ($scope.showWarningMessage) {
|
if ($scope.showWarningMessage) {
|
||||||
var message = 'Address doesn\'t contain currency information, please make sure you are sending the correct currency.';
|
var message = gettextCatalog.getString('Address doesn\'t contain currency information, please make sure you are sending the correct currency.');
|
||||||
popupService.showAlert('', message, function() {}, 'Ok');
|
popupService.showAlert('', message, function() {}, 'Ok');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue