'use client' import { useAppRouterMainContext } from '@/app/components/AppRouterMainContext' import { createTranslationFunctions } from '@/languages/lib/translation-utils' import { LinkExternalIcon } from '@primer/octicons-react' export function AppRouterFooter() { const context = useAppRouterMainContext() const { t } = createTranslationFunctions(context.site.data.ui, 'footer') return (
{context.currentLanguage !== 'en' &&

{t('legal_heading')}

} {/* Machine translation notice for non-English languages */} {context.currentLanguage !== 'en' &&

{t('machine')}

}
) }