From f4c27e4c26603039cfc2f65b9d691c7463a5404c Mon Sep 17 00:00:00 2001 From: softsimon Date: Sat, 5 Dec 2020 00:16:23 +0700 Subject: [PATCH] i18n: Added X of X transaction. Flipped collapse/expand --- .../components/address/address.component.html | 6 ++- .../app/dashboard/dashboard.component.html | 4 +- frontend/src/locale/messages.xlf | 42 ++++++++++--------- 3 files changed, 30 insertions(+), 22 deletions(-) diff --git a/frontend/src/app/components/address/address.component.html b/frontend/src/app/components/address/address.component.html index 7109c21e3..35a02bf38 100644 --- a/frontend/src/app/components/address/address.component.html +++ b/frontend/src/app/components/address/address.component.html @@ -43,7 +43,11 @@
-

{{ (transactions?.length | number) || '?' }} of {{ txCount | number }} transactions

+

+   + {{ (transactions?.length | number) || '?' }} of {{ txCount | number }} transaction + {{ (transactions?.length | number) || '?' }} of {{ txCount | number }} transactions +

diff --git a/frontend/src/app/dashboard/dashboard.component.html b/frontend/src/app/dashboard/dashboard.component.html index c4f2ba5a7..3f0f0bcd2 100644 --- a/frontend/src/app/dashboard/dashboard.component.html +++ b/frontend/src/app/dashboard/dashboard.component.html @@ -128,8 +128,8 @@ diff --git a/frontend/src/locale/messages.xlf b/frontend/src/locale/messages.xlf index 1952899fc..121429c7b 100644 --- a/frontend/src/locale/messages.xlf +++ b/frontend/src/locale/messages.xlf @@ -532,7 +532,7 @@ src/app/components/address/address.component.html - 112 + 116 src/app/components/asset/asset.component.html @@ -703,10 +703,6 @@ src/app/components/block/block.component.html 85 - - src/app/components/address/address.component.html - 46 - src/app/components/mempool-blocks/mempool-blocks.component.html 14 @@ -768,19 +764,27 @@ address.balance - - of + + of transaction src/app/components/address/address.component.html - 46 + 48 - shared.of + X of X Address Transaction + + + of transactions + + src/app/components/address/address.component.html + 49 + + X of X Address Transactions (Plural) Error loading address data. src/app/components/address/address.component.html - 101 + 105 address.error.loading-address-data @@ -1636,22 +1640,22 @@ dashboard.latest-transactions.USD - - Collapse - - src/app/dashboard/dashboard.component.html - 131 - - dashboard.collapse - Expand src/app/dashboard/dashboard.component.html - 132 + 131 dashboard.expand + + Collapse + + src/app/dashboard/dashboard.component.html + 132 + + dashboard.collapse + Mempool size