Clipboard empty message + translations
This commit is contained in:
parent
501e8ce738
commit
358ae5842c
2 changed files with 14 additions and 8 deletions
|
|
@ -2528,6 +2528,14 @@ msgstr ""
|
|||
msgid "Search or enter bitcoin address"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/controllers/tab-send.js:28
|
||||
msgid "Clipboard"
|
||||
msgstr ""
|
||||
|
||||
#: src/js/controllers/tab-send.js:29
|
||||
msgid "Your Clipboard is empty"
|
||||
msgstr ""
|
||||
|
||||
#: www/views/modals/search.html:16
|
||||
msgid "Search transactions"
|
||||
msgstr ""
|
||||
|
|
|
|||
|
|
@ -1,19 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('tabSendController', function($scope, $rootScope, $log, $timeout, $ionicScrollDelegate, addressbookService, profileService, lodash, $state, walletService, incomingData, popupService, platformInfo, bwcError, gettextCatalog, scannerService, configService, bitcoinCashJsService, $ionicNavBarDelegate, clipboardService) {
|
||||
angular.module('copayApp.controllers').controller('tabSendController', function($scope, $rootScope, $log, $timeout, $ionicScrollDelegate, addressbookService, profileService, lodash, $state, walletService, incomingData, popupService, platformInfo, bwcError, gettextCatalog, scannerService, configService, bitcoinCashJsService, $ionicPopup, $ionicNavBarDelegate, clipboardService) {
|
||||
var clipboardHasAddress = false;
|
||||
var clipboardHasContent = false;
|
||||
var originalList;
|
||||
$scope.displayBalanceAsFiat = true;
|
||||
$scope.walletSelectorTitleForce = true;
|
||||
|
||||
|
||||
|
||||
$scope.walletHide = function() {
|
||||
console.log("wallet HIDE");
|
||||
alert('test');
|
||||
};
|
||||
|
||||
$scope.addContact = function() {
|
||||
$state.go('tabs.settings').then(function() {
|
||||
$state.go('tabs.addressbook').then(function() {
|
||||
|
|
@ -30,6 +23,11 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
|||
});
|
||||
$scope.findContact($scope.formData.search);
|
||||
});
|
||||
} else {
|
||||
$ionicPopup.alert({
|
||||
title: gettextCatalog.getString('Clipboard'),
|
||||
template: gettextCatalog.getString('Your Clipboard is empty')
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue