diff --git a/src/components/login/LoginCard.tsx b/src/components/login/LoginCard.tsx index 15755683..628f239d 100644 --- a/src/components/login/LoginCard.tsx +++ b/src/components/login/LoginCard.tsx @@ -88,13 +88,13 @@ export const LoginCard = ({ )} - {/*TODO: i18n */}Welcome to Jam + {t('login.title')} {listWalletsLoading ? ( <> > ) : wallets && wallets.length > 0 ? ( - {/*TODO: i18n */}Select a wallet and enter your password to continue. + {t('login.subtitle')} ) : undefined} {enableOnboardingDialog ? ( setShowOnboarding(true)}> diff --git a/src/components/login/LoginForm.tsx b/src/components/login/LoginForm.tsx index 298c8a6c..78804ac9 100644 --- a/src/components/login/LoginForm.tsx +++ b/src/components/login/LoginForm.tsx @@ -98,7 +98,7 @@ export const LoginFormComponent = ({ void doOnSubmit(event)} className={cn('flex flex-col gap-4', className)} noValidate> - {/* TODO: i18n */}Wallet + {t('login.label_wallet')} setValue('walletFileName', val, { shouldValidate: true })} value={values.walletFileName ?? ''} @@ -109,7 +109,9 @@ export const LoginFormComponent = ({ > 0 ? 'Select a wallet' : 'No wallets found.'} + placeholder={ + wallets.length > 0 ? t('login.placeholder_select_wallet') : t('login.placeholder_no_wallets') + } /> @@ -133,7 +135,7 @@ export const LoginFormComponent = ({ - {t(/* TODO: i18n */ 'Password')} + {t('login.label_password')}