2017-01-25 18:51:41 +01:00
|
|
|
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
|
2016-12-19 13:17:28 +01:00
|
|
|
// 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 {
|
2017-02-20 16:40:01 +01:00
|
|
|
duplicateName: (
|
|
|
|
<FormattedMessage
|
|
|
|
id='errors.duplicateName'
|
|
|
|
defaultMessage='the name already exists'
|
|
|
|
/>
|
|
|
|
),
|
|
|
|
|
2016-12-29 19:48:39 +01:00
|
|
|
noFile: (
|
2016-12-19 13:17:28 +01:00
|
|
|
<FormattedMessage
|
2017-02-20 16:40:01 +01:00
|
|
|
id='errors.noFile'
|
2017-01-18 13:05:01 +01:00
|
|
|
defaultMessage='select a valid wallet file to import'
|
|
|
|
/>
|
2016-12-29 19:48:39 +01:00
|
|
|
),
|
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
|
2017-02-20 16:40:01 +01:00
|
|
|
id='errors.noKey'
|
2017-01-18 13:05:01 +01:00
|
|
|
defaultMessage='you need to provide the raw private key'
|
|
|
|
/>
|
2016-12-29 19:48:39 +01:00
|
|
|
),
|
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
|
2017-02-20 16:40:01 +01:00
|
|
|
id='errors.noMatchPassword'
|
2017-01-18 13:05:01 +01:00
|
|
|
defaultMessage='the supplied passwords does not match'
|
|
|
|
/>
|
2016-12-29 19:48:39 +01:00
|
|
|
),
|
2016-12-19 13:17:28 +01:00
|
|
|
|
2017-06-13 11:02:38 +02:00
|
|
|
noMatchBackupPhrase: (
|
|
|
|
<FormattedMessage
|
|
|
|
id='errors.noMatchBackupPhrase'
|
|
|
|
defaultMessage='the supplied recovery phrase does not match'
|
|
|
|
/>
|
|
|
|
),
|
|
|
|
|
|
|
|
noMatchPhraseBackedUp: (
|
|
|
|
<FormattedMessage
|
|
|
|
id='errors.noMatchPhraseBackedUp'
|
|
|
|
defaultMessage='type "I have written down the phrase"'
|
|
|
|
/>
|
|
|
|
),
|
|
|
|
|
2016-12-29 19:48:39 +01:00
|
|
|
noName: (
|
2016-12-19 13:17:28 +01:00
|
|
|
<FormattedMessage
|
2017-02-20 16:40:01 +01:00
|
|
|
id='errors.noName'
|
|
|
|
defaultMessage='you need to specify a valid name'
|
2017-01-18 13:05:01 +01:00
|
|
|
/>
|
2016-12-29 19:48:39 +01:00
|
|
|
),
|
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
|
2017-02-20 16:40:01 +01:00
|
|
|
id='errors.invalidKey'
|
2017-01-18 13:05:01 +01:00
|
|
|
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
|
|
|
)
|
2017-06-13 11:02:38 +02:00
|
|
|
|
2016-12-19 13:17:28 +01:00
|
|
|
};
|