Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update login localization (#992)
Leendert de Borst406505035bad
diff --git a/apps/browser-extension/src/entrypoints/popup/components/LoginServerInfo.tsx b/apps/browser-extension/src/entrypoints/popup/components/LoginServerInfo.tsxindex 1f2ba37c6..147358647 100644--- a/apps/browser-extension/src/entrypoints/popup/components/LoginServerInfo.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/LoginServerInfo.tsx@@ -1,5 +1,6 @@import React, { useEffect } from 'react';import { useNavigate } from 'react-router-dom';+import { useTranslation } from 'react-i18next';import { useApiUrl } from '@/entrypoints/popup/utils/ApiUrlUtility';@@ -9,6 +10,7 @@ import { useApiUrl } from '@/entrypoints/popup/utils/ApiUrlUtility';const LoginServerInfo: React.FC = () => {const { loadApiUrl, getDisplayUrl } = useApiUrl();const navigate = useNavigate();+ const { t } = useTranslation('auth');useEffect(() => {/**@@ -26,7 +28,7 @@ const LoginServerInfo: React.FC = () => {return (<div className="text-xs text-gray-600 dark:text-gray-400 mb-4">- (Connecting to{' '}+ ({t('connectingTo')}{' '}<buttononClick={handleClick}type="button"diff --git a/apps/browser-extension/src/locales/en/auth.json b/apps/browser-extension/src/locales/en/auth.jsonindex 8fb752720..3f5ab0eef 100644--- a/apps/browser-extension/src/locales/en/auth.json+++ b/apps/browser-extension/src/locales/en/auth.json@@ -22,6 +22,7 @@"logoutConfirm": "Are you sure you want to logout?","sessionExpired": "Your session has expired. Please log in again.","unlockSuccess": "Vault unlocked successfully!",+ "connectingTo": "Connecting to","errors": {"invalidCode": "Please enter a valid 6-digit authentication code.","serverError": "Could not reach AliasVault server. Please try again later or contact support if the problem persists.",diff --git a/apps/browser-extension/src/locales/nl/auth.json b/apps/browser-extension/src/locales/nl/auth.jsonindex 3ad552365..702a7197b 100644--- a/apps/browser-extension/src/locales/nl/auth.json+++ b/apps/browser-extension/src/locales/nl/auth.json@@ -22,6 +22,7 @@"logoutConfirm": "Weet u zeker dat u wilt uitloggen?","sessionExpired": "Uw sessie is verlopen. Log opnieuw in.","unlockSuccess": "Kluis succesvol ontgrendeld!",+ "connectingTo": "Verbinden met","errors": {"invalidCode": "Voer een geldige 6-cijferige authenticatiecode in.","serverError": "Kon AliasVault-server niet bereiken. Probeer het later opnieuw of neem contact op met ondersteuning als het probleem aanhoudt.",