Strings for translation.

This commit is contained in:
Brendon Duncan 2018-08-02 10:20:03 +12:00
commit 438ab94404
3 changed files with 29 additions and 4 deletions

View file

@ -3703,3 +3703,28 @@ msgstr ""
#: www/views/review.html:4 #: www/views/review.html:4
msgid "Review Transaction" msgid "Review Transaction"
msgstr "" msgstr ""
#: www/views/review.html:14
msgid "You are sending"
msgstr ""
#: www/views/review.html:22
msgid "From:"
msgstr ""
#: www/views/review.html:36
msgid "To:"
msgstr ""
#: www/views/review.html:53
msgid "Add personal note"
msgstr ""
#: www/views/review.html:57
msgid "Personal note:"
msgstr ""
#: www/views/review.html:69
msgid "Less than 1 cent"
msgstr ""

View file

@ -7,6 +7,8 @@ angular
function reviewController(configService, gettextCatalog, profileService, $scope, txFormatService) { function reviewController(configService, gettextCatalog, profileService, $scope, txFormatService) {
var vm = this; var vm = this;
vm.feeCrypto = '';
vm.feeFiat = '';
vm.origin = { vm.origin = {
balanceAmount: '', balanceAmount: '',
balanceCurrency: '', balanceCurrency: '',
@ -49,9 +51,6 @@ function reviewController(configService, gettextCatalog, profileService, $scope,
if (err) { if (err) {
$log.err('Error getting config.', err); $log.err('Error getting config.', err);
} else { } else {
console.log('Got config.');
//config = configCache;
// Use this later if have time
priceDisplayIsFiat = config.wallet.settings.priceDisplay === 'fiat'; priceDisplayIsFiat = config.wallet.settings.priceDisplay === 'fiat';
vm.origin.currencyColor = originWallet.coin === 'btc' ? config.bitcoinWalletColor : config.bitcoinCashWalletColor; vm.origin.currencyColor = originWallet.coin === 'btc' ? config.bitcoinWalletColor : config.bitcoinCashWalletColor;
} }

View file

@ -11,6 +11,7 @@
ng-init="memoExpanded = false"> ng-init="memoExpanded = false">
<div class="header"> <div class="header">
<div class="content"> <div class="content">
<p translate>You are sending</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>
@ -49,7 +50,7 @@
ng-class="{ 'expand-content-revealed': memoExpanded }" ng-class="{ 'expand-content-revealed': memoExpanded }"
ng-click="memoExpanded = !memoExpanded"> ng-click="memoExpanded = !memoExpanded">
<img src="img/icon-bookmark.svg" class="action-icon"> <img src="img/icon-bookmark.svg" class="action-icon">
<span class="action-text">Add a personal note</span> <span class="action-text">Add personal note</span>
</div> </div>
<div class="card card-gutter-compact expand-content" <div class="card card-gutter-compact expand-content"
ng-class="{ 'expand-content-revealed': memoExpanded }"> ng-class="{ 'expand-content-revealed': memoExpanded }">