From b030adf18335a96794fa5c68739f742eab19a29d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Rodriguez=20V=C3=A9lez?= Date: Sun, 17 Oct 2021 10:57:16 -0400 Subject: [PATCH] FIX: Localize string --- loc/en.json | 1 + screen/send/details.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/loc/en.json b/loc/en.json index 2bd02741f..162d31df9 100644 --- a/loc/en.json +++ b/loc/en.json @@ -185,6 +185,7 @@ "header": "Receive" }, "send": { + "provided_address_is_invoice": "This address appears to be for a Lightning invoice. Please, go to your Lightning wallet in order to make a payment for this invoice.", "broadcastButton": "Broadcast", "broadcastError": "Error", "broadcastNone": "Insert Transaction Hex", diff --git a/screen/send/details.js b/screen/send/details.js index eea1b91c0..7dacee264 100644 --- a/screen/send/details.js +++ b/screen/send/details.js @@ -453,8 +453,7 @@ const SendDetails = () => { } else if (transaction.address) { const address = transaction.address.trim().toLowerCase(); if (address.startsWith('lnb') || address.startsWith('lightning:lnb')) { - error = - 'This address appears to be for a Lightning invoice. Please, go to your Lightning wallet in order to make a payment for this invoice.'; + error = loc.send.provided_address_is_invoice; console.log('validation error'); } }