Clarify confusing messages. (#5935)
This commit is contained in:
parent
c7a043b864
commit
944f9d7fb5
@ -20,10 +20,10 @@ export default {
|
|||||||
},
|
},
|
||||||
status: {
|
status: {
|
||||||
consensus: {
|
consensus: {
|
||||||
capable: `Capable`,
|
capable: `Upgrade not required.`,
|
||||||
capableUntil: `Capable until #{blockNumber}`,
|
capableUntil: `Upgrade required before #{blockNumber}`,
|
||||||
incapableSince: `Incapable since #{blockNumber}`,
|
incapableSince: `Upgrade required since #{blockNumber}`,
|
||||||
unknown: `Unknown capability`
|
unknown: `Upgrade status is unknown.`
|
||||||
},
|
},
|
||||||
upgrade: `Upgrade`
|
upgrade: `Upgrade`
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@ class Status extends Component {
|
|||||||
<div>
|
<div>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='application.status.consensus.capable'
|
id='application.status.consensus.capable'
|
||||||
defaultMessage='Capable'
|
defaultMessage='Upgrade not required.'
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@ -79,7 +79,7 @@ class Status extends Component {
|
|||||||
<div>
|
<div>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='application.status.consensus.capableUntil'
|
id='application.status.consensus.capableUntil'
|
||||||
defaultMessage='Capable until #{blockNumber}'
|
defaultMessage='Upgrade required before #{blockNumber}'
|
||||||
values={ {
|
values={ {
|
||||||
blockNumber: upgradeStore.consensusCapability.capableUntil
|
blockNumber: upgradeStore.consensusCapability.capableUntil
|
||||||
} }
|
} }
|
||||||
@ -93,7 +93,7 @@ class Status extends Component {
|
|||||||
<div>
|
<div>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='application.status.consensus.incapableSince'
|
id='application.status.consensus.incapableSince'
|
||||||
defaultMessage='Incapable since #{blockNumber}'
|
defaultMessage='Upgrade required since #{blockNumber}'
|
||||||
values={ {
|
values={ {
|
||||||
blockNumber: upgradeStore.consensusCapability.incapableSince
|
blockNumber: upgradeStore.consensusCapability.incapableSince
|
||||||
} }
|
} }
|
||||||
@ -106,7 +106,7 @@ class Status extends Component {
|
|||||||
<div>
|
<div>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='application.status.consensus.unknown'
|
id='application.status.consensus.unknown'
|
||||||
defaultMessage='Unknown capability'
|
defaultMessage='Upgrade status is unknown.'
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user