diff --git a/src/config/locales/en-US.json b/src/config/locales/en-US.json index 63b2509bf..31fb8f8bc 100644 --- a/src/config/locales/en-US.json +++ b/src/config/locales/en-US.json @@ -292,6 +292,13 @@ "withdraw_steem": "Withdraw Steem", "withdraw_sbd": "Withdraw Steem Dollar", "delegate": "Delegate", - "power_down": "Power Down" + "power_down": "Power Down", + "account": "Account", + "destination_accounts": "Destination Account(s)", + "amount_information": "Drag the sliderto adjust to amount", + "save": "Save", + "percent": "Percentage", + "percent_information": "Percentage of power down to this account", + "auto_vests": "Automatically power up to the target account" } } diff --git a/src/screens/transfer/screen/powerDownScreen.js b/src/screens/transfer/screen/powerDownScreen.js index e0742bf79..319ef732f 100644 --- a/src/screens/transfer/screen/powerDownScreen.js +++ b/src/screens/transfer/screen/powerDownScreen.js @@ -198,11 +198,11 @@ class PowerDownView extends Component { this._renderDropdown(accounts, currentAccountName)} /> - Drag the sliderto adjust to amount + + {intl.formatMessage({ id: 'transfer.amount_information' })} + diff --git a/src/screens/transfer/screen/transferStyles.js b/src/screens/transfer/screen/transferStyles.js index 6d87977bb..ebdedcdb4 100644 --- a/src/screens/transfer/screen/transferStyles.js +++ b/src/screens/transfer/screen/transferStyles.js @@ -119,6 +119,7 @@ export default EStyleSheet.create({ informationText: { alignSelf: 'center', color: '$iconColor', + marginLeft: 5, }, spInformation: { backgroundColor: 'red', diff --git a/src/screens/transfer/screen/withdrawAccountModal.js b/src/screens/transfer/screen/withdrawAccountModal.js index a259f5de1..113c59c47 100644 --- a/src/screens/transfer/screen/withdrawAccountModal.js +++ b/src/screens/transfer/screen/withdrawAccountModal.js @@ -71,7 +71,7 @@ class WithdrawAccountModal extends Component { this._renderInput( intl.formatMessage({ id: 'transfer.to_placeholder' }), @@ -81,7 +81,7 @@ class WithdrawAccountModal extends Component { } /> this._renderInformationText(`${percent.toFixed(0)} %`)} /> @@ -98,11 +98,15 @@ class WithdrawAccountModal extends Component { }} /> - Drag the sliderto adjust to amount + + {intl.formatMessage({ id: 'transfer.percent_information' })} + this.setState({ autoPowerUp: !autoPowerUp })}> - Drag the sliderto adjust to amount + + {intl.formatMessage({ id: 'transfer.auto_vests' })} + handleOnSubmit(account, percent, autoPowerUp)} > - {intl.formatMessage({ id: 'transfer.next' })} + {intl.formatMessage({ id: 'transfer.save' })} );