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

@ -3702,4 +3702,29 @@ msgstr ""
#: www/views/review.html:4
msgid "Review Transaction"
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) {
var vm = this;
vm.feeCrypto = '';
vm.feeFiat = '';
vm.origin = {
balanceAmount: '',
balanceCurrency: '',
@ -49,9 +51,6 @@ function reviewController(configService, gettextCatalog, profileService, $scope,
if (err) {
$log.err('Error getting config.', err);
} else {
console.log('Got config.');
//config = configCache;
// Use this later if have time
priceDisplayIsFiat = config.wallet.settings.priceDisplay === 'fiat';
vm.origin.currencyColor = originWallet.coin === 'btc' ? config.bitcoinWalletColor : config.bitcoinCashWalletColor;
}

View file

@ -11,6 +11,7 @@
ng-init="memoExpanded = false">
<div class="header">
<div class="content">
<p translate>You are sending</p>
<p class="large">{{vm.primaryAmount}} {{vm.primaryCurrency}}</amount></p>
<p ng-show="vm.secondaryAmount">{{vm.secondaryAmount}} {{vm.secondaryCurrency}}</p>
</div>
@ -49,7 +50,7 @@
ng-class="{ 'expand-content-revealed': memoExpanded }"
ng-click="memoExpanded = !memoExpanded">
<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 class="card card-gutter-compact expand-content"
ng-class="{ 'expand-content-revealed': memoExpanded }">