Clarify confusing messages. (#5935)

This commit is contained in:
Tomasz Drwięga 2017-06-28 09:35:25 +02:00 committed by Arkadiy Paronyan
parent c7a043b864
commit 944f9d7fb5
2 changed files with 8 additions and 8 deletions

View File

@ -20,10 +20,10 @@ export default {
},
status: {
consensus: {
capable: `Capable`,
capableUntil: `Capable until #{blockNumber}`,
incapableSince: `Incapable since #{blockNumber}`,
unknown: `Unknown capability`
capable: `Upgrade not required.`,
capableUntil: `Upgrade required before #{blockNumber}`,
incapableSince: `Upgrade required since #{blockNumber}`,
unknown: `Upgrade status is unknown.`
},
upgrade: `Upgrade`
}

View File

@ -68,7 +68,7 @@ class Status extends Component {
<div>
<FormattedMessage
id='application.status.consensus.capable'
defaultMessage='Capable'
defaultMessage='Upgrade not required.'
/>
</div>
);
@ -79,7 +79,7 @@ class Status extends Component {
<div>
<FormattedMessage
id='application.status.consensus.capableUntil'
defaultMessage='Capable until #{blockNumber}'
defaultMessage='Upgrade required before #{blockNumber}'
values={ {
blockNumber: upgradeStore.consensusCapability.capableUntil
} }
@ -93,7 +93,7 @@ class Status extends Component {
<div>
<FormattedMessage
id='application.status.consensus.incapableSince'
defaultMessage='Incapable since #{blockNumber}'
defaultMessage='Upgrade required since #{blockNumber}'
values={ {
blockNumber: upgradeStore.consensusCapability.incapableSince
} }
@ -106,7 +106,7 @@ class Status extends Component {
<div>
<FormattedMessage
id='application.status.consensus.unknown'
defaultMessage='Unknown capability'
defaultMessage='Upgrade status is unknown.'
/>
</div>
);