fix: use i18n for aria labels on the enter display name button

pull/3083/head
William Grant 10 months ago
parent 8d8a25a965
commit 1e16be1be0

@ -127,7 +127,7 @@ export const CreateAccount = () => {
<OnboardDescription>{window.i18n('displayNameDescription')}</OnboardDescription>
<SpacerLG />
<SessionInput
ariaLabel={'Enter display name'}
ariaLabel={window.i18n('enterDisplayName')}
autoFocus={true}
disableOnBlurEvent={true}
type="text"

@ -265,7 +265,7 @@ export const RestoreAccount = () => {
<OnboardDescription>{window.i18n('displayNameErrorNew')}</OnboardDescription>
<SpacerLG />
<SessionInput
ariaLabel="Enter display name"
ariaLabel={window.i18n('enterDisplayName')}
autoFocus={true}
disableOnBlurEvent={true}
type="text"

Loading…
Cancel
Save