-
{name}
-
- {address}
-
-
-
-
-
-
-
- )
+ )
+ }
handleSort = (option: SelectOption) => {
this.setState({ sorting: option })
diff --git a/app/components/CreateImportSplitWalletForm/CreateImportSplitWalletForm.jsx b/app/components/CreateImportSplitWalletForm/CreateImportSplitWalletForm.jsx
index d3d2f0967..004e425c4 100644
--- a/app/components/CreateImportSplitWalletForm/CreateImportSplitWalletForm.jsx
+++ b/app/components/CreateImportSplitWalletForm/CreateImportSplitWalletForm.jsx
@@ -3,6 +3,8 @@ import React, { Fragment } from 'react'
import { wallet } from '@cityofzion/neon-js'
import { withRouter } from 'react-router-dom'
import { cloneDeep } from 'lodash-es'
+import { IntlShape, injectIntl, FormattedMessage } from 'react-intl'
+
import PasswordInput from '../Inputs/PasswordInput'
import StyledReactSelect from '../Inputs/StyledReactSelect/StyledReactSelect'
import TextInput from '../Inputs/TextInput'
@@ -18,6 +20,7 @@ type Props = {
authenticated: boolean,
accounts: Object,
showErrorNotification: Object => any,
+ intl: IntlShape,
}
type State = {
@@ -150,8 +153,11 @@ class CreateImportSplitWalletForm extends React.Component
{
submitButtonDisabled,
} = this.state
- const instructions =
- 'The Split Key import option allows users to create a new NEO account by combining the private key of an existing account with a separate private key.'
+ const { intl } = this.props
+
+ const instructions = intl.formatMessage({
+ id: 'splitKeyWalletInstructions',
+ })
if (this.state.step === 2) {
return (
@@ -165,21 +171,33 @@ class CreateImportSplitWalletForm extends React.Component {
this.setState({ walletName: e.target.value })}
- label="Wallet Name"
- placeholder="Enter your new split key wallet name..."
+ label={intl.formatMessage({
+ id: 'walletCreationWalletNamePlaceholder',
+ })}
+ placeholder={intl.formatMessage({
+ id: 'splitKeyWalletNamePlaceholder',
+ })}
/>
@@ -199,7 +217,7 @@ class CreateImportSplitWalletForm extends React.Component
{
primary
disabled={this.isStep2Disabled()}
>
- Import Wallet
+
@@ -213,12 +231,14 @@ class CreateImportSplitWalletForm extends React.Component {