aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/auth-page.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/auth-page.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js b/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
index 4b8ed7c..af4fe95 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
@@ -1,7 +1,7 @@
import {
html, useState, useEffect, useRef, useCallback,
} from './vendor/htm-preact.js';
-import { t } from './i18n.js';
+import { t, getLocale } from './i18n.js';
import {
hubFetch, navigate, session, HUB, loadAuth, _storeRecoveryKey,
} from './hub-client.js';
@@ -612,8 +612,9 @@ export function RegisterPage() {
${loading ? t('register.loading') : t('register.submit')}
</button>
<p class="register-legal">
- ${t('register.legal_notice')}
- <a href=${platform.legalUrl()} target="_blank" rel="noopener">${t('sidebar.legal')}</a>
+ ${t('register.legal_notice')}${' '}
+ <a href=${platform.privacyUrl(getLocale())} target="_blank"
+ rel="noopener">${t('register.privacy_link')}</a>
</p>
</form>
<div class="login-footer">