fix(frontend): use correct translations for privacy and term of use links

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2023-07-08 15:20:47 +02:00 committed by Tilman Vatteroth
parent 14f291f780
commit 7e05650888

View file

@ -22,12 +22,12 @@ export const RegisterInfos: React.FC = () => {
<ul>
<ShowIf condition={!!specialUrls.termsOfUse}>
<li>
<TranslatedExternalLink i18nKey='landing.footer.termsOfUse' href={specialUrls.termsOfUse ?? ''} />
<TranslatedExternalLink i18nKey='appBar.legal.termsOfUse' href={specialUrls.termsOfUse ?? ''} />
</li>
</ShowIf>
<ShowIf condition={!!specialUrls.privacy}>
<li>
<TranslatedExternalLink i18nKey='landing.footer.privacy' href={specialUrls.privacy ?? ''} />
<TranslatedExternalLink i18nKey='appBar.legal.privacy' href={specialUrls.privacy ?? ''} />
</li>
</ShowIf>
</ul>