mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 12:08:02 -05:00
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:
parent
618289b52e
commit
82f534f7b0
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue