+ {own ? t('passkeys.noneOwn', 'You have no passkeys yet.') : t('passkeys.none', 'No passkeys.')} +
+ ) : ( +
+ {passkey.name}
+ {pending &&
{problem}
} ++ {pending + ? t('passkeys.pendingHint', 'Registration wasn’t finished. Remove it and add the passkey again.') + : [ + t('passkeys.added', 'Added {{when}}', { when: when(passkey.createdAt, locale) }), + passkey.lastUsedAt + ? t('passkeys.lastUsed', 'last used {{when}}', { when: when(passkey.lastUsedAt, locale) }) + : t('passkeys.neverUsed', 'never used'), + ].join(' · ')} +
+ {!pending && !passkey.usable && ( ++ {t( + 'passkeys.needsReAddingHint', + 'It was added for the server’s earlier name and can’t sign in here any more. Remove it and add a new one.', + )} +
+ )} +{problem}
} ++ {t( + 'passkeys.addHint', + 'Opens the server’s registration page in a new window, where you confirm with your password and then your passkey.', + )} +
+ {link && ( ++ {t( + 'passkeys.blocked', + 'The browser blocked the new window. Open the registration page here; the link works for 10 minutes and only once:', + )}{' '} + setLink(null)}> + {t('passkeys.openRegistration', 'Open the registration page')} + +
+ )} +