Translations additions + some (s)css + review transaction changes
This commit is contained in:
parent
aacc80ea21
commit
f49e8725e8
6 changed files with 34 additions and 20 deletions
|
|
@ -2651,6 +2651,7 @@ msgid "You can receive bitcoin from any wallet or service."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: www/views/tab-send.html:72
|
#: www/views/tab-send.html:72
|
||||||
|
#: www/views/shapeshift.html:23
|
||||||
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
|
msgid "To get started, you'll need to create a bitcoin wallet and get some bitcoin."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
@ -3116,6 +3117,18 @@ msgstr ""
|
||||||
msgid "Start ShapeShift"
|
msgid "Start ShapeShift"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: www/views/shapeshift.html:30
|
||||||
|
msgid "Exchange your BTC to BCH in minutes."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: www/views/shapeshift.html:30
|
||||||
|
msgid "To start the process you need to add funds to your wallet."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: www/views/shapeshift.html:30
|
||||||
|
msgid "he process is fast and you will receive the exchanged amount in your wallet."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: www/views/shapeshift.html:34
|
#: www/views/shapeshift.html:34
|
||||||
msgid "This service is provided by the third-party ShapeShift, who will charge a small fee for the service. The fee will be shown before you start the transaction."
|
msgid "This service is provided by the third-party ShapeShift, who will charge a small fee for the service. The fee will be shown before you start the transaction."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
@ -3720,10 +3733,14 @@ msgstr ""
|
||||||
msgid "Review Transaction"
|
msgid "Review Transaction"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: www/views/review.html:14
|
#: src/js/controllers/review.controller.js:36
|
||||||
msgid "You are sending"
|
msgid "You are sending"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/js/controllers/review.controller.js:66
|
||||||
|
msgid "You are shifting"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: www/views/review.html:22
|
#: www/views/review.html:22
|
||||||
msgid "From:"
|
msgid "From:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ angular
|
||||||
.module('copayApp.controllers')
|
.module('copayApp.controllers')
|
||||||
.controller('reviewController', reviewController);
|
.controller('reviewController', reviewController);
|
||||||
|
|
||||||
function reviewController(addressbookService, configService, profileService, $log, $scope, txFormatService) {
|
function reviewController(addressbookService, configService, gettextCatalog, profileService, $log, $scope, txFormatService) {
|
||||||
var vm = this;
|
var vm = this;
|
||||||
|
|
||||||
vm.destination = {
|
vm.destination = {
|
||||||
|
|
@ -33,6 +33,7 @@ function reviewController(addressbookService, configService, profileService, $lo
|
||||||
vm.secondaryAmount = '';
|
vm.secondaryAmount = '';
|
||||||
vm.secondaryCurrency = '';
|
vm.secondaryCurrency = '';
|
||||||
vm.thirdParty = false;
|
vm.thirdParty = false;
|
||||||
|
vm.sendingTitle = gettextCatalog.getString('You are sending');
|
||||||
|
|
||||||
var config = null;
|
var config = null;
|
||||||
var coin = '';
|
var coin = '';
|
||||||
|
|
@ -62,6 +63,7 @@ function reviewController(addressbookService, configService, profileService, $lo
|
||||||
vm.thirdParty = JSON.parse(data.stateParams.thirdParty); // Parse stringified JSON-object
|
vm.thirdParty = JSON.parse(data.stateParams.thirdParty); // Parse stringified JSON-object
|
||||||
if (vm.thirdParty) {
|
if (vm.thirdParty) {
|
||||||
if (vm.thirdParty.id === 'shapeshift') {
|
if (vm.thirdParty.id === 'shapeshift') {
|
||||||
|
vm.sendingTitle = gettextCatalog.getString('You are shifting');
|
||||||
if (!vm.thirdParty.data) {
|
if (!vm.thirdParty.data) {
|
||||||
vm.thirdParty.data = {};
|
vm.thirdParty.data = {};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,8 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 92px;
|
bottom: 92px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.shapeshift-banner {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
#shapeshift {
|
#shapeshift {
|
||||||
.swap-image {
|
.swap-image {
|
||||||
width: 70%;
|
width: auto;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
|
max-height: 25vh;
|
||||||
}
|
}
|
||||||
.empty-case {
|
.empty-case {
|
||||||
@include empty-case();
|
@include empty-case();
|
||||||
|
|
@ -17,5 +18,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.header.shapeshift {
|
.header.shapeshift {
|
||||||
background: #243F5D;
|
background: url(../img/shapeshiftbg.jpg) center center no-repeat #28394d;
|
||||||
|
opacity: 0.99;
|
||||||
}
|
}
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
<div ng-if="vm.thirdParty && vm.thirdParty.id === 'shapeshift'" ng-include="'views/thirdparty/shapeshift-header.html'"></div>
|
<div ng-if="vm.thirdParty && vm.thirdParty.id === 'shapeshift'" ng-include="'views/thirdparty/shapeshift-header.html'"></div>
|
||||||
<div class="header" ng-class="vm.thirdParty.id">
|
<div class="header" ng-class="vm.thirdParty.id">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p translate>You are sending</p>
|
<p>{{vm.sendingTitle}}</p>
|
||||||
<p class="large">{{vm.primaryAmount}} {{vm.primaryCurrency}}</amount></p>
|
<p class="large">{{vm.primaryAmount}} {{vm.primaryCurrency}}</amount></p>
|
||||||
<p ng-show="vm.secondaryAmount">{{vm.secondaryAmount}} {{vm.secondaryCurrency}}</p>
|
<p ng-show="vm.secondaryAmount">{{vm.secondaryAmount}} {{vm.secondaryCurrency}}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -84,13 +84,13 @@
|
||||||
|
|
||||||
<click-to-accept
|
<click-to-accept
|
||||||
ng-click="approve(tx, wallet, statusChangeHandler)"
|
ng-click="approve(tx, wallet, statusChangeHandler)"
|
||||||
ng-if="(!isCordova || isWindowsPhoneApp) && wallet"
|
ng-if="(!isCordova || isWindowsPhoneApp)"
|
||||||
click-send-status="sendStatus"
|
click-send-status="sendStatus"
|
||||||
is-disabled="!wallet">
|
is-disabled="!wallet">
|
||||||
{{buttonText}}
|
{{buttonText}}
|
||||||
</click-to-accept>
|
</click-to-accept>
|
||||||
<slide-to-accept
|
<slide-to-accept
|
||||||
ng-if="isCordova && !isWindowsPhoneApp && wallet"
|
ng-if="isCordova && !isWindowsPhoneApp"
|
||||||
slide-on-confirm="approve(tx, wallet, statusChangeHandler)"
|
slide-on-confirm="approve(tx, wallet, statusChangeHandler)"
|
||||||
slide-send-status="sendStatus"
|
slide-send-status="sendStatus"
|
||||||
is-disabled="!wallet">
|
is-disabled="!wallet">
|
||||||
|
|
@ -104,14 +104,4 @@
|
||||||
<span ng-show="wallet.m > 1 && (wallet.canSign() || wallet.isPrivKeyExternal())" translate>Proposal Created</span>
|
<span ng-show="wallet.m > 1 && (wallet.canSign() || wallet.isPrivKeyExternal())" translate>Proposal Created</span>
|
||||||
<span ng-show="!wallet.canSign() && !wallet.isPrivKeyExternal()" translate>Transaction Created</span>
|
<span ng-show="!wallet.canSign() && !wallet.isPrivKeyExternal()" translate>Transaction Created</span>
|
||||||
</slide-to-accept-success>
|
</slide-to-accept-success>
|
||||||
|
|
||||||
<wallet-selector
|
|
||||||
wallet-selector-title="walletSelectorTitle"
|
|
||||||
wallet-selector-wallets="wallets"
|
|
||||||
wallet-selector-selected-wallet="wallet"
|
|
||||||
wallet-selector-show="walletSelector"
|
|
||||||
wallet-selector-on-select="onWalletSelect"
|
|
||||||
wallet-selector-display-balance-as-fiat="displayBalanceAsFiat">
|
|
||||||
</wallet-selector>
|
|
||||||
|
|
||||||
</ion-view>
|
</ion-view>
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,11 @@
|
||||||
<img class="swap-image" src="img/shapeshift_swap.png"/>
|
<img class="swap-image" src="img/shapeshift_swap.png"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="subtitle">
|
<div class="subtitle">
|
||||||
|
<p translate>Exchange your BTC to BCH in minutes.</p>
|
||||||
<div ng-show="!walletsWithFunds.length">
|
<div ng-show="!walletsWithFunds.length">
|
||||||
<p translate>Before exchanging your BTC to BCH, you will need to add funds to your wallet.</p>
|
<p translate>To start the process you need to add funds to your wallet.</p>
|
||||||
<p translate>You can receive Bitcoin from any wallet or service.</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div ng-show="walletsWithFunds.length">
|
<div ng-show="walletsWithFunds.length">
|
||||||
<p translate>Using Shapeshift will allow you to exchange your BTC for BCH.</p>
|
|
||||||
<p translate>The process is fast and you will receive the exchanged amount in your wallet.</p>
|
<p translate>The process is fast and you will receive the exchanged amount in your wallet.</p>
|
||||||
</div>
|
</div>
|
||||||
<div ng-show="!hasWallets" translate>To get started, you'll need to create a bitcoin wallet and get some bitcoin.</div>
|
<div ng-show="!hasWallets" translate>To get started, you'll need to create a bitcoin wallet and get some bitcoin.</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue