mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-04 12:18:10 +01:00
FIX: Localize string
This commit is contained in:
parent
8a007ca763
commit
b030adf183
2 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue