Docs/update add and remove signer labels (#1844)

* docs: update labels for add signer tool

* docs: fix remove signer labels

* chore: consistent capitalisation

* style: formating

Co-authored-by: Dexter <dexter.edwards93@gmail.com>
This commit is contained in:
candida-d 2022-10-24 18:27:20 +01:00 committed by GitHub
parent 786b85fde2
commit e2d4a6d0eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 7 deletions

View File

@ -76,7 +76,9 @@ export const AddSignerForm = () => {
<FormGroup
label={t('Add signer')}
labelFor="add-signer-input"
labelDescription={t('Public key of the signer to add')}
labelDescription={t(
'Node ID of the signer to add to the multisig control'
)}
className="max-w-xl"
>
<div className="grid grid-cols-[1fr,auto] gap-2">
@ -97,7 +99,7 @@ export const AddSignerForm = () => {
{error && (
<InputError intent="danger">
{error?.message.includes('InvalidArgument')
? t('Invalid node id')
? t('Invalid node ID')
: error?.message}
</InputError>
)}

View File

@ -76,7 +76,9 @@ export const RemoveSignerForm = () => {
<FormGroup
label={t('Remove signer')}
labelFor="remove-signer-input"
labelDescription={t('Public key of the signer to remove')}
labelDescription={t(
'Node ID of the signer to remove from the multisig control'
)}
className="max-w-xl"
>
<div className="grid grid-cols-[1fr,auto] gap-2">
@ -97,15 +99,13 @@ export const RemoveSignerForm = () => {
{error && (
<InputError intent="danger">
{error?.message.includes('InvalidArgument')
? t('Invalid node id')
? t('Invalid node ID')
: error?.message}
</InputError>
)}
{bundleNotFound && !error && (
<InputError intent="danger">
{t(
'Bundle was not found, are you sure this validator needs to be removed?'
)}
{t('Bundle was not found, confirm the node ID is correct')}
</InputError>
)}
</div>