From dcedc8a5ffe7d90a1cebe2870e925244ec62f1cd Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 27 Apr 2021 14:21:33 +0400 Subject: [PATCH] Localize electrum limit error. fixes #442 --- .../app/components/address/address.component.html | 11 +++++++---- frontend/src/locale/messages.xlf | 12 ++++++++++-- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/components/address/address.component.html b/frontend/src/app/components/address/address.component.html index 612412afc..393791a80 100644 --- a/frontend/src/app/components/address/address.component.html +++ b/frontend/src/app/components/address/address.component.html @@ -114,10 +114,13 @@
Error loading address data.
- {{ error.error }} - -

- Consider viewing this address on the official Mempool website instead: + {{ error.error }} + + + The number of transactions on this address exceeds the Electrum server limit +

+ Consider viewing this address on the official Mempool website instead: +

https://mempool.space/address/{{ addressString }}
diff --git a/frontend/src/locale/messages.xlf b/frontend/src/locale/messages.xlf index 41d2ddcf6..9f619f44a 100644 --- a/frontend/src/locale/messages.xlf +++ b/frontend/src/locale/messages.xlf @@ -1023,7 +1023,7 @@ src/app/components/transaction/transaction.component.ts - 51 + 53 @@ -1385,11 +1385,19 @@ address.error.loading-address-data + + The number of transactions on this address exceeds the Electrum server limit Consider viewing this address on the official Mempool website instead: + + src/app/components/address/address.component.html + 120,123 + + Electrum server limit exceeded error + Confidential src/app/components/address/address.component.html - 134,136 + 137,139 src/app/components/amount/amount.component.html