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-09 10:33:33 +02:00 committed by Tilman Vatteroth
parent 618289b52e
commit 82f534f7b0

View file

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