diff --git a/loc/en.js b/loc/en.js index 2bb3a560..47bebfe1 100644 --- a/loc/en.js +++ b/loc/en.js @@ -167,4 +167,11 @@ module.exports = { passwords_do_not_match: 'Passwords do not match, try again', success: 'Success', }, + lnd: { + title: 'manage funds', + choose_source_wallet: 'Choose a source wallet', + refill_lnd_balance: 'Refill Lightning wallet balance', + refill: 'Refill', + withdraw: 'Withdraw', + }, }; diff --git a/loc/es.js b/loc/es.js index ded99e85..bdc2dc24 100644 --- a/loc/es.js +++ b/loc/es.js @@ -167,4 +167,11 @@ module.exports = { passwords_do_not_match: 'Passwords do not match, try again', success: 'Success', }, + lnd: { + title: 'manage funds', + choose_source_wallet: 'Choose a source wallet', + refill_lnd_balance: 'Refill Lightning wallet balance', + refill: 'Refill', + withdraw: 'Withdraw', + }, }; diff --git a/loc/pt_BR.js b/loc/pt_BR.js index 293e0368..8330dd03 100644 --- a/loc/pt_BR.js +++ b/loc/pt_BR.js @@ -167,4 +167,11 @@ module.exports = { passwords_do_not_match: 'Passwords não coincidem, tente novamente', success: 'Sucesso', }, + lnd: { + title: 'manage funds', + choose_source_wallet: 'Choose a source wallet', + refill_lnd_balance: 'Refill Lightning wallet balance', + refill: 'Refill', + withdraw: 'Withdraw', + }, }; diff --git a/loc/pt_PT.js b/loc/pt_PT.js index af2be785..20637b4d 100644 --- a/loc/pt_PT.js +++ b/loc/pt_PT.js @@ -167,4 +167,11 @@ module.exports = { passwords_do_not_match: 'Passwords não coincidem, tente novamente', success: 'Sucesso', }, + lnd: { + title: 'manage funds', + choose_source_wallet: 'Choose a source wallet', + refill_lnd_balance: 'Refill Lightning wallet balance', + refill: 'Refill', + withdraw: 'Withdraw', + }, }; diff --git a/loc/ru.js b/loc/ru.js index 09acdc41..bd941cc3 100644 --- a/loc/ru.js +++ b/loc/ru.js @@ -168,4 +168,11 @@ module.exports = { passwords_do_not_match: 'Пароли не совпадают, попробуйте еще раз', success: 'Операция успешна', }, + lnd: { + title: 'manage funds', + choose_source_wallet: 'Choose a source wallet', + refill_lnd_balance: 'Refill Lightning wallet balance', + refill: 'Refill', + withdraw: 'Withdraw', + }, }; diff --git a/loc/ua.js b/loc/ua.js index d1322042..82ecc111 100644 --- a/loc/ua.js +++ b/loc/ua.js @@ -169,4 +169,11 @@ module.exports = { passwords_do_not_match: 'Паролі не збігаються, спробуйте ще раз', success: 'Операція успішна', }, + lnd: { + title: 'manage funds', + choose_source_wallet: 'Choose a source wallet', + refill_lnd_balance: 'Refill Lightning wallet balance', + refill: 'Refill', + withdraw: 'Withdraw', + }, }; diff --git a/screen/lnd/manageFunds.js b/screen/lnd/manageFunds.js index d7f4cee5..c334e797 100644 --- a/screen/lnd/manageFunds.js +++ b/screen/lnd/manageFunds.js @@ -8,6 +8,7 @@ import PropTypes from 'prop-types'; import { LightningCustodianWallet } from '../../class/lightning-custodian-wallet'; /** @type {AppStorage} */ let BlueApp = require('../../BlueApp'); +let loc = require('../../loc'); let data = []; @@ -65,7 +66,7 @@ export default class ManageFunds extends Component { return ( - this.props.navigation.goBack()} /> + this.props.navigation.goBack()} /> {(() => { @@ -73,7 +74,7 @@ export default class ManageFunds extends Component { return ( { /** @type {LightningCustodianWallet} */ @@ -96,7 +97,7 @@ export default class ManageFunds extends Component { setTimeout(() => { console.log({ toAddress }); this.props.navigation.navigate('SendDetails', { - memo: 'Refill Lightning wallet balance', + memo: loc.lnd.refill_lnd_balance, fromSecret: wallet.getSecret(), address: toAddress, }); @@ -117,7 +118,7 @@ export default class ManageFunds extends Component { onPress={a => { this.setState({ isRefill: true }); }} - title={'Refill'} + title={loc.lnd.refill} /> { alert('Coming soon'); }} - title={'Withdraw'} + title={loc.lnd.withdraw} /> );