mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
REF: added localization strings
This commit is contained in:
parent
dd1df64a14
commit
3573496e9e
24 changed files with 211 additions and 7 deletions
|
@ -226,4 +226,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -225,4 +225,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -230,4 +230,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -229,4 +229,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -227,4 +227,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -230,4 +230,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -229,4 +229,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -229,4 +229,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -224,4 +224,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -226,4 +226,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -229,4 +229,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -228,4 +228,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -227,4 +227,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -230,4 +230,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -231,4 +231,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -230,4 +230,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -231,4 +231,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -227,4 +227,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -227,4 +227,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -227,4 +227,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -231,4 +231,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -221,4 +221,13 @@ module.exports = {
|
|||
"Please take a moment to write down this mnemonic phrase on a piece of paper. It's your backup you can use to restore the wallet on other device. You can use Electrum wallet on desktop (https://electrum.org/) to restore the same wallet.",
|
||||
ok: 'OK, I wrote this down!',
|
||||
},
|
||||
lndViewInvoice: {
|
||||
wasnt_paid_and_expired: 'This invoice was not paid for and has expired',
|
||||
has_been_paid: 'This invoice has been paid for',
|
||||
please_pay: 'Please pay',
|
||||
sats: 'sats',
|
||||
for: 'For:',
|
||||
additional_info: 'Additional Information',
|
||||
open_direct_channel: 'Open direct channel with this node:',
|
||||
},
|
||||
};
|
||||
|
|
|
@ -57,7 +57,7 @@ export default class LNDViewAdditionalInvoiceInformation extends Component {
|
|||
logoBackgroundColor={BlueApp.settings.brandingColor}
|
||||
/>
|
||||
<BlueSpacing20 />
|
||||
<BlueText>Open direct channel with this node:</BlueText>
|
||||
<BlueText>{loc.lndViewInvoice.open_direct_channel}</BlueText>
|
||||
<BlueCopyTextToClipboard text={this.state.walletInfo.uris[0]} />
|
||||
</View>
|
||||
<View style={{ marginBottom: 25 }}>
|
||||
|
|
|
@ -155,7 +155,7 @@ export default class LNDViewInvoice extends Component {
|
|||
>
|
||||
<Icon name="check" size={50} type="font-awesome" color="#0f5cc0" />
|
||||
</View>
|
||||
<BlueText>This invoice has been paid for</BlueText>
|
||||
<BlueText>{loc.lndViewInvoice.has_been_paid}</BlueText>
|
||||
{invoice.payment_preimage && typeof invoice.payment_preimage === 'string' && (
|
||||
<View style={{ position: 'absolute', bottom: 0 }}>
|
||||
<BlueButton
|
||||
|
@ -192,7 +192,7 @@ export default class LNDViewInvoice extends Component {
|
|||
>
|
||||
<Icon name="times" size={50} type="font-awesome" color="#0f5cc0" />
|
||||
</View>
|
||||
<BlueText>This invoice was not paid for and has expired</BlueText>
|
||||
<BlueText>{loc.lndViewInvoice.wasnt_paid_and_expired}</BlueText>
|
||||
</View>
|
||||
</SafeBlueArea>
|
||||
);
|
||||
|
@ -201,7 +201,7 @@ export default class LNDViewInvoice extends Component {
|
|||
return (
|
||||
<SafeBlueArea style={{ flex: 1 }}>
|
||||
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
|
||||
<BlueText>'This invoice has been paid for.'</BlueText>
|
||||
<BlueText>{loc.lndViewInvoice.has_been_paid}</BlueText>
|
||||
</View>
|
||||
</SafeBlueArea>
|
||||
);
|
||||
|
@ -233,9 +233,15 @@ export default class LNDViewInvoice extends Component {
|
|||
</View>
|
||||
|
||||
<BlueSpacing20 />
|
||||
{invoice && invoice.amt && <BlueText>Please pay {invoice.amt} sats</BlueText>}
|
||||
{invoice && invoice.amt && (
|
||||
<BlueText>
|
||||
{loc.lndViewInvoice.please_pay} {invoice.amt} {loc.lndViewInvoice.sats}
|
||||
</BlueText>
|
||||
)}
|
||||
{invoice && invoice.hasOwnProperty('description') && invoice.description.length > 0 && (
|
||||
<BlueText>For: {invoice.description}</BlueText>
|
||||
<BlueText>
|
||||
{loc.lndViewInvoice.for} {invoice.description}
|
||||
</BlueText>
|
||||
)}
|
||||
<BlueCopyTextToClipboard text={this.state.invoice.payment_request} />
|
||||
|
||||
|
@ -261,7 +267,7 @@ export default class LNDViewInvoice extends Component {
|
|||
color: BlueApp.settings.buttonTextColor,
|
||||
}}
|
||||
onPress={() => this.props.navigation.navigate('LNDViewAdditionalInvoiceInformation', { fromWallet: this.state.fromWallet })}
|
||||
title="Additional Information"
|
||||
title={loc.lndViewInvoice.additional_info}
|
||||
/>
|
||||
</View>
|
||||
<BlueSpacing20 />
|
||||
|
|
Loading…
Add table
Reference in a new issue