2016-12-19 13:17:28 +01:00
|
|
|
// Copyright 2015, 2016 Parity Technologies (UK) Ltd.
|
|
|
|
// This file is part of Parity.
|
|
|
|
|
|
|
|
// Parity is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
|
|
|
// Parity is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
|
|
|
|
export default {
|
2016-12-29 19:48:39 +01:00
|
|
|
noFile: (
|
2016-12-19 13:17:28 +01:00
|
|
|
<FormattedMessage
|
|
|
|
id='createAccount.error.noFile'
|
2016-12-29 19:48:39 +01:00
|
|
|
defaultMessage='select a valid wallet file to import' />
|
|
|
|
),
|
2016-12-19 13:17:28 +01:00
|
|
|
|
2016-12-29 19:48:39 +01:00
|
|
|
noKey: (
|
2016-12-19 13:17:28 +01:00
|
|
|
<FormattedMessage
|
|
|
|
id='createAccount.error.noKey'
|
2016-12-29 19:48:39 +01:00
|
|
|
defaultMessage='you need to provide the raw private key' />
|
|
|
|
),
|
2016-12-19 13:17:28 +01:00
|
|
|
|
2016-12-29 19:48:39 +01:00
|
|
|
noMatchPassword: (
|
2016-12-19 13:17:28 +01:00
|
|
|
<FormattedMessage
|
|
|
|
id='createAccount.error.noMatchPassword'
|
2016-12-29 19:48:39 +01:00
|
|
|
defaultMessage='the supplied passwords does not match' />
|
|
|
|
),
|
2016-12-19 13:17:28 +01:00
|
|
|
|
2016-12-29 19:48:39 +01:00
|
|
|
noName: (
|
2016-12-19 13:17:28 +01:00
|
|
|
<FormattedMessage
|
|
|
|
id='createAccount.error.noName'
|
2016-12-29 19:48:39 +01:00
|
|
|
defaultMessage='you need to specify a valid name for the account' />
|
|
|
|
),
|
2016-12-19 13:17:28 +01:00
|
|
|
|
2016-12-29 19:48:39 +01:00
|
|
|
invalidKey: (
|
2016-12-19 13:17:28 +01:00
|
|
|
<FormattedMessage
|
|
|
|
id='createAccount.error.invalidKey'
|
|
|
|
defaultMessage='the raw key needs to be hex, 64 characters in length and contain the prefix "0x"' />
|
2016-12-29 19:48:39 +01:00
|
|
|
)
|
2016-12-19 13:17:28 +01:00
|
|
|
};
|