Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Localize vault setting subpages (#993)
Leendert de Borste7c79f2aa4c4
diff --git a/apps/mobile-app/app/(tabs)/settings/auto-lock.tsx b/apps/mobile-app/app/(tabs)/settings/auto-lock.tsxindex edca0d413..5b0bb08f5 100644--- a/apps/mobile-app/app/(tabs)/settings/auto-lock.tsx+++ b/apps/mobile-app/app/(tabs)/settings/auto-lock.tsx@@ -1,6 +1,7 @@import { Ionicons } from '@expo/vector-icons';import { useEffect, useState } from 'react';import { StyleSheet, View, TouchableOpacity } from 'react-native';+import { useTranslation } from 'react-i18next';import { useColors } from '@/hooks/useColorScheme';@@ -14,6 +15,7 @@ import { useAuth } from '@/context/AuthContext';*/export default function AutoLockScreen() : React.ReactNode {const colors = useColors();+ const { t } = useTranslation();const { getAutoLockTimeout, setAutoLockTimeout } = useAuth();const [autoLockTimeout, setAutoLockTimeoutState] = useState<number>(0);@@ -29,15 +31,15 @@ export default function AutoLockScreen() : React.ReactNode {}, [getAutoLockTimeout]);const timeoutOptions = [- { label: 'Never', value: 0 },- { label: '5 seconds', value: 5 },- { label: '30 seconds', value: 30 },- { label: '1 minute', value: 60 },- { label: '15 minutes', value: 900 },- { label: '30 minutes', value: 1800 },- { label: '1 hour', value: 3600 },- { label: '4 hours', value: 14400 },- { label: '8 hours', value: 28800 },+ { label: t('settings.autoLockOptions.never'), value: 0 },+ { label: t('settings.autoLockOptions.5seconds'), value: 5 },+ { label: t('settings.autoLockOptions.30seconds'), value: 30 },+ { label: t('settings.autoLockOptions.1minute'), value: 60 },+ { label: t('settings.autoLockOptions.15minutes'), value: 900 },+ { label: t('settings.autoLockOptions.30minutes'), value: 1800 },+ { label: t('settings.autoLockOptions.1hour'), value: 3600 },+ { label: t('settings.autoLockOptions.4hours'), value: 14400 },+ { label: t('settings.autoLockOptions.8hours'), value: 28800 },];const styles = StyleSheet.create({@@ -76,7 +78,7 @@ export default function AutoLockScreen() : React.ReactNode {<ThemedContainer><ThemedScrollView><ThemedText style={styles.headerText}>- Choose how long the app can stay in the background before requiring re-authentication. You'll need to use Face ID or enter your password to unlock the vault again.+ {t('settings.autoLockSettings.description')}</ThemedText><View style={styles.optionContainer}>{timeoutOptions.map((option, index) => {diff --git a/apps/mobile-app/app/(tabs)/settings/identity-generator.tsx b/apps/mobile-app/app/(tabs)/settings/identity-generator.tsxindex a24f91ca8..0777a520d 100644--- a/apps/mobile-app/app/(tabs)/settings/identity-generator.tsx+++ b/apps/mobile-app/app/(tabs)/settings/identity-generator.tsx@@ -2,6 +2,7 @@ import { Ionicons } from '@expo/vector-icons';import { useFocusEffect } from 'expo-router';import { useState, useCallback } from 'react';import { StyleSheet, View, Alert, TouchableOpacity } from 'react-native';+import { useTranslation } from 'react-i18next';import { useColors } from '@/hooks/useColorScheme';import { useVaultMutate } from '@/hooks/useVaultMutate';@@ -11,28 +12,31 @@ import { ThemedScrollView } from '@/components/themed/ThemedScrollView';import { ThemedText } from '@/components/themed/ThemedText';import { useDb } from '@/context/DbContext';-const LANGUAGE_OPTIONS = [- { label: 'English', value: 'en' },- { label: 'Dutch', value: 'nl' }-];--const GENDER_OPTIONS = [- { label: 'Random', value: 'random' },- { label: 'Male', value: 'male' },- { label: 'Female', value: 'female' }-];+// Language and gender options will be defined inside the component to use translations/*** Identity Generator Settings screen.*/export default function IdentityGeneratorSettingsScreen(): React.ReactNode {const colors = useColors();+ const { t } = useTranslation();const dbContext = useDb();const { executeVaultMutation } = useVaultMutate();const [language, setLanguage] = useState<string>('en');const [gender, setGender] = useState<string>('random');+ const LANGUAGE_OPTIONS = [+ { label: t('settings.identityGeneratorSettings.languageOptions.english'), value: 'en' },+ { label: t('settings.identityGeneratorSettings.languageOptions.dutch'), value: 'nl' }+ ];++ const GENDER_OPTIONS = [+ { label: t('settings.identityGeneratorSettings.genderOptions.random'), value: 'random' },+ { label: t('settings.identityGeneratorSettings.genderOptions.male'), value: 'male' },+ { label: t('settings.identityGeneratorSettings.genderOptions.female'), value: 'female' }+ ];+useFocusEffect(useCallback(() => {/**@@ -49,7 +53,7 @@ export default function IdentityGeneratorSettingsScreen(): React.ReactNode {setGender(currentGender);} catch (error) {console.error('Error loading identity generator settings:', error);- Alert.alert('Error', 'Failed to load identity generator settings.');+ Alert.alert(t('common.error'), t('settings.identityGeneratorSettings.errors.loadFailed'));}};@@ -69,7 +73,7 @@ export default function IdentityGeneratorSettingsScreen(): React.ReactNode {setLanguage(newLanguage);} catch (error) {console.error('Error updating language setting:', error);- Alert.alert('Error', 'Failed to update language setting.');+ Alert.alert(t('common.error'), t('settings.identityGeneratorSettings.errors.languageUpdateFailed'));}}, [executeVaultMutation, dbContext.sqliteClient]);@@ -84,7 +88,7 @@ export default function IdentityGeneratorSettingsScreen(): React.ReactNode {setGender(newGender);} catch (error) {console.error('Error updating gender setting:', error);- Alert.alert('Error', 'Failed to update gender setting.');+ Alert.alert(t('common.error'), t('settings.identityGeneratorSettings.errors.genderUpdateFailed'));}}, [executeVaultMutation, dbContext.sqliteClient]);@@ -137,12 +141,12 @@ export default function IdentityGeneratorSettingsScreen(): React.ReactNode {<ThemedContainer><ThemedScrollView><ThemedText style={styles.headerText}>- Configure the default language and gender preference for generating new identities.+ {t('settings.identityGeneratorSettings.description')}</ThemedText>- <ThemedText style={styles.sectionTitle}>Language</ThemedText>+ <ThemedText style={styles.sectionTitle}>{t('settings.identityGeneratorSettings.languageSection')}</ThemedText><ThemedText style={styles.descriptionText}>- Set the language that will be used when generating new identities.+ {t('settings.identityGeneratorSettings.languageDescription')}</ThemedText><View style={styles.optionContainer}>{LANGUAGE_OPTIONS.map((option, index) => {@@ -162,9 +166,9 @@ export default function IdentityGeneratorSettingsScreen(): React.ReactNode {})}</View>- <ThemedText style={styles.sectionTitle}>Gender</ThemedText>+ <ThemedText style={styles.sectionTitle}>{t('settings.identityGeneratorSettings.genderSection')}</ThemedText><ThemedText style={styles.descriptionText}>- Set the gender preference for generating new identities.+ {t('settings.identityGeneratorSettings.genderDescription')}</ThemedText><View style={styles.optionContainer}>{GENDER_OPTIONS.map((option, index) => {diff --git a/apps/mobile-app/app/(tabs)/settings/index.tsx b/apps/mobile-app/app/(tabs)/settings/index.tsxindex d6f39c7b4..4dc328105 100644--- a/apps/mobile-app/app/(tabs)/settings/index.tsx+++ b/apps/mobile-app/app/(tabs)/settings/index.tsx@@ -359,9 +359,6 @@ export default function SettingsScreen() : React.ReactNode {</View><View style={styles.settingItemContent}><ThemedText style={styles.settingItemText}>{t('settings.language')}</ThemedText>- <ThemedText style={styles.settingItemValue}>- {t('settings.systemLanguage')}- </ThemedText><Ionicons name="chevron-forward" size={20} color={colors.textMuted} /></View></TouchableOpacity>diff --git a/apps/mobile-app/app/(tabs)/settings/security/active-sessions.tsx b/apps/mobile-app/app/(tabs)/settings/security/active-sessions.tsxindex 254943701..d7f13b4ce 100644--- a/apps/mobile-app/app/(tabs)/settings/security/active-sessions.tsx+++ b/apps/mobile-app/app/(tabs)/settings/security/active-sessions.tsx@@ -2,6 +2,7 @@ import * as Haptics from 'expo-haptics';import { useState, useEffect, useCallback } from 'react';import { StyleSheet, View, TouchableOpacity, Alert, RefreshControl, Platform } from 'react-native';import Toast from 'react-native-toast-message';+import { useTranslation } from 'react-i18next';import type { RefreshToken } from '@/utils/dist/shared/models/webapi';@@ -19,6 +20,7 @@ import { useWebApi } from '@/context/WebApiContext';export default function ActiveSessionsScreen() : React.ReactNode {const colors = useColors();const webApi = useWebApi();+ const { t } = useTranslation();const [refreshTokens, setRefreshTokens] = useState<RefreshToken[]>([]);const [isLoading, setIsLoading] = useMinDurationLoading(true, 200);@@ -88,7 +90,7 @@ export default function ActiveSessionsScreen() : React.ReactNode {const response = await webApi.getActiveSessions();setRefreshTokens(response);} catch {- Alert.alert('Error', 'Failed to load active sessions');+ Alert.alert(t('common.error'), t('settings.securitySettings.activeSessions.failedToLoad'));} finally {setIsLoading(false);}@@ -99,12 +101,12 @@ export default function ActiveSessionsScreen() : React.ReactNode {*/const handleRevokeSession = async (sessionId: string) : Promise<void> => {Alert.alert(- 'Revoke Session',- 'Are you sure you want to revoke this session? This will log you out of the chosen device.',+ t('settings.securitySettings.activeSessions.revokeSession'),+ t('settings.securitySettings.activeSessions.revokeConfirmation'),[- { text: 'Cancel', style: 'cancel' },+ { text: t('common.cancel'), style: 'cancel' },{- text: 'Revoke',+ text: t('settings.securitySettings.activeSessions.revoke'),style: 'destructive',/*** Revoke the session and refresh the sessions.@@ -116,14 +118,14 @@ export default function ActiveSessionsScreen() : React.ReactNode {// Show success toastToast.show({- text1: 'Session successfully revoked',+ text1: t('settings.securitySettings.activeSessions.sessionRevoked'),type: 'success',position: 'bottom',});} catch {// Show error toastToast.show({- text1: 'Failed to revoke session',+ text1: t('settings.securitySettings.activeSessions.failedToRevoke'),type: 'error',position: 'bottom',});@@ -175,14 +177,14 @@ export default function ActiveSessionsScreen() : React.ReactNode {}><ThemedText style={styles.headerText}>- Below is a list of devices where your account is currently logged in or has an active session. You can log out from any of these sessions here.+ {t('settings.securitySettings.activeSessions.headerText')}</ThemedText><View style={styles.section}>{isLoading ? (<SkeletonLoader count={1} height={100} parts={3} />) : refreshTokens.length === 0 ? (<View style={styles.emptyState}>- <ThemedText style={styles.emptyStateText}>No active sessions</ThemedText>+ <ThemedText style={styles.emptyStateText}>{t('settings.securitySettings.activeSessions.noSessions')}</ThemedText></View>) : (refreshTokens.map((item) => (@@ -190,12 +192,12 @@ export default function ActiveSessionsScreen() : React.ReactNode {<View style={styles.sessionHeader}><ThemedText style={styles.deviceName} numberOfLines={2}>{item.deviceIdentifier}</ThemedText><TouchableOpacity onPress={() => handleRevokeSession(item.id)}>- <ThemedText style={styles.revokeButton}>Revoke</ThemedText>+ <ThemedText style={styles.revokeButton}>{t('settings.securitySettings.activeSessions.revoke')}</ThemedText></TouchableOpacity></View><View style={styles.sessionDetails}>- <ThemedText style={styles.detailText}>Last active: {formatDate(item.createdAt)}</ThemedText>- <ThemedText style={styles.detailText}>Expires: {formatDate(item.expireDate)}</ThemedText>+ <ThemedText style={styles.detailText}>{t('settings.securitySettings.activeSessions.lastActive')}: {formatDate(item.createdAt)}</ThemedText>+ <ThemedText style={styles.detailText}>{t('settings.securitySettings.activeSessions.expires')}: {formatDate(item.expireDate)}</ThemedText></View></View>))diff --git a/apps/mobile-app/app/(tabs)/settings/security/auth-logs.tsx b/apps/mobile-app/app/(tabs)/settings/security/auth-logs.tsxindex 6cba47bdb..dfd5eabb9 100644--- a/apps/mobile-app/app/(tabs)/settings/security/auth-logs.tsx+++ b/apps/mobile-app/app/(tabs)/settings/security/auth-logs.tsx@@ -2,6 +2,7 @@ import * as Haptics from 'expo-haptics';import { useState, useEffect, useCallback } from 'react';import { StyleSheet, View, RefreshControl, Platform } from 'react-native';import Toast from 'react-native-toast-message';+import { useTranslation } from 'react-i18next';import type { AuthLogModel } from '@/utils/dist/shared/models/webapi';import { AuthEventType } from '@/utils/dist/shared/models/webapi';@@ -21,6 +22,7 @@ import { useWebApi } from '@/context/WebApiContext';export default function AuthLogsScreen() : React.ReactNode {const colors = useColors();const webApi = useWebApi();+ const { t } = useTranslation();const [logs, setLogs] = useState<AuthLogModel[]>([]);const [isLoading, setIsLoading] = useMinDurationLoading(true, 200);@@ -94,7 +96,7 @@ export default function AuthLogsScreen() : React.ReactNode {} catch {Toast.show({type: 'error',- text1: 'Failed to load auth logs',+ text1: t('settings.securitySettings.authLogs.failedToLoad'),position: 'bottom',});} finally {@@ -145,7 +147,7 @@ export default function AuthLogsScreen() : React.ReactNode {if (logs.length === 0) {return (<View style={styles.emptyState}>- <ThemedText style={styles.emptyStateText}>No auth logs found</ThemedText>+ <ThemedText style={styles.emptyStateText}>{t('settings.securitySettings.authLogs.noLogs')}</ThemedText></View>);}@@ -161,14 +163,14 @@ export default function AuthLogsScreen() : React.ReactNode {styles.status,item.isSuccess ? styles.statusSuccess : styles.statusFailure]}>- {item.isSuccess ? 'Success' : 'Failed'}+ {item.isSuccess ? t('settings.securitySettings.authLogs.success') : t('settings.securitySettings.authLogs.failed')}</ThemedText></View><View>- <ThemedText style={styles.detailText}>Time: {formatDate(item.timestamp)}</ThemedText>- <ThemedText style={styles.detailText}>Device: {item.userAgent}</ThemedText>- <ThemedText style={styles.detailText}>IP Address: {item.ipAddress}</ThemedText>- <ThemedText style={styles.detailText}>Client: {item.client}</ThemedText>+ <ThemedText style={styles.detailText}>{t('settings.securitySettings.authLogs.time')}: {formatDate(item.timestamp)}</ThemedText>+ <ThemedText style={styles.detailText}>{t('settings.securitySettings.authLogs.device')}: {item.userAgent}</ThemedText>+ <ThemedText style={styles.detailText}>{t('settings.securitySettings.authLogs.ipAddress')}: {item.ipAddress}</ThemedText>+ <ThemedText style={styles.detailText}>{t('settings.securitySettings.authLogs.client')}: {item.client}</ThemedText></View></View>);@@ -188,7 +190,7 @@ export default function AuthLogsScreen() : React.ReactNode {}><ThemedText style={styles.headerText}>- Below you can find an overview of recent login attempts to your account.+ {t('settings.securitySettings.authLogs.headerText')}</ThemedText><View style={styles.section}>{renderContent()}diff --git a/apps/mobile-app/app/(tabs)/settings/security/change-password.tsx b/apps/mobile-app/app/(tabs)/settings/security/change-password.tsxindex 17d20d4b6..d789456c7 100644--- a/apps/mobile-app/app/(tabs)/settings/security/change-password.tsx+++ b/apps/mobile-app/app/(tabs)/settings/security/change-password.tsx@@ -1,6 +1,7 @@import { router } from 'expo-router';import { useState } from 'react';import { StyleSheet, View, Alert, KeyboardAvoidingView, Platform } from 'react-native';+import { useTranslation } from 'react-i18next';import { useColors } from '@/hooks/useColorScheme';import { useVaultMutate } from '@/hooks/useVaultMutate';@@ -22,6 +23,7 @@ export default function ChangePasswordScreen(): React.ReactNode {const colors = useColors();const authContext = useAuth();const { executeVaultPasswordChange, syncStatus } = useVaultMutate();+ const { t } = useTranslation();const [currentPassword, setCurrentPassword] = useState('');const [newPassword, setNewPassword] = useState('');@@ -63,35 +65,35 @@ export default function ChangePasswordScreen(): React.ReactNode {*/const handleSubmit = async (): Promise<void> => {if (!currentPassword || !newPassword || !confirmPassword) {- Alert.alert('Error', 'Please fill in all fields');+ Alert.alert(t('common.error'), t('settings.securitySettings.changePassword.fillAllFields'));return;}if (newPassword !== confirmPassword) {- Alert.alert('Error', 'New passwords do not match');+ Alert.alert(t('common.error'), t('settings.securitySettings.changePassword.passwordsDoNotMatch'));return;}if (!authContext.username) {- Alert.alert('Error', 'User not authenticated');+ Alert.alert(t('common.error'), t('settings.securitySettings.changePassword.userNotAuthenticated'));return;}try {setIsLoading(true);- setLoadingStatus('Initiating password change...');+ setLoadingStatus(t('settings.securitySettings.changePassword.initiatingChange'));const currentPasswordHashBase64 = await authContext.verifyPassword(currentPassword);if (!currentPasswordHashBase64) {- Alert.alert('Error', 'Current password is not correct');+ Alert.alert(t('common.error'), t('settings.securitySettings.changePassword.currentPasswordIncorrect'));return;}await executeVaultPasswordChange(currentPasswordHashBase64, newPassword);// Show confirm dialog and go back to the settings screen- Alert.alert('Success', 'Password changed successfully', [- { text: 'OK',+ Alert.alert(t('common.success'), t('settings.securitySettings.changePassword.passwordChangedSuccessfully'), [+ { text: t('common.ok'),/*** Reset the password change state and go back to the settings screen*/@@ -104,7 +106,7 @@ export default function ChangePasswordScreen(): React.ReactNode {]);} catch (error) {console.error('Password change error:', error);- Alert.alert('Error', 'Failed to change password. Please try again.');+ Alert.alert(t('common.error'), t('settings.securitySettings.changePassword.failedToChange'));} finally {setIsLoading(false);setLoadingStatus(null);@@ -123,42 +125,42 @@ export default function ChangePasswordScreen(): React.ReactNode {<ThemedContainer><ThemedScrollView><ThemedText style={styles.headerText}>- Changing your master password also changes the vault encryption keys. It is advised to periodically change your master password to keep your vaults secure.+ {t('settings.securitySettings.changePassword.headerText')}</ThemedText><UsernameDisplay /><View style={styles.form}><View style={styles.inputContainer}>- <ThemedText style={styles.label}>Current Password</ThemedText>+ <ThemedText style={styles.label}>{t('settings.securitySettings.changePassword.currentPassword')}</ThemedText><ThemedTextInputsecureTextEntryvalue={currentPassword}onChangeText={setCurrentPassword}- placeholder="Enter current password"+ placeholder={t('settings.securitySettings.changePassword.enterCurrentPassword')}/></View><View style={styles.inputContainer}>- <ThemedText style={styles.label}>New Password</ThemedText>+ <ThemedText style={styles.label}>{t('settings.securitySettings.changePassword.newPassword')}</ThemedText><ThemedTextInputsecureTextEntryvalue={newPassword}onChangeText={setNewPassword}- placeholder="Enter new password"+ placeholder={t('settings.securitySettings.changePassword.enterNewPassword')}/></View><View style={styles.inputContainer}>- <ThemedText style={styles.label}>Confirm New Password</ThemedText>+ <ThemedText style={styles.label}>{t('settings.securitySettings.changePassword.confirmNewPassword')}</ThemedText><ThemedTextInputsecureTextEntryvalue={confirmPassword}onChangeText={setConfirmPassword}- placeholder="Confirm new password"+ placeholder={t('settings.securitySettings.changePassword.confirmNewPassword')}/></View><ThemedButton- title="Change Password"+ title={t('settings.securitySettings.changePassword.changePassword')}onPress={handleSubmit}loading={isLoading}style={styles.button}diff --git a/apps/mobile-app/app/(tabs)/settings/security/delete-account.tsx b/apps/mobile-app/app/(tabs)/settings/security/delete-account.tsxindex 57ff4359f..5e05deddb 100644--- a/apps/mobile-app/app/(tabs)/settings/security/delete-account.tsx+++ b/apps/mobile-app/app/(tabs)/settings/security/delete-account.tsx@@ -2,6 +2,7 @@ import { router } from 'expo-router';import { useState } from 'react';import { StyleSheet, View, Alert, KeyboardAvoidingView, Platform } from 'react-native';import srp from 'secure-remote-password/client';+import { useTranslation } from 'react-i18next';import type { DeleteAccountInitiateRequest, DeleteAccountInitiateResponse, DeleteAccountRequest } from '@/utils/dist/shared/models/webapi';@@ -24,6 +25,7 @@ export default function DeleteAccountScreen(): React.ReactNode {const colors = useColors();const webApi = useWebApi();const { username, verifyPassword, logout } = useAuth();+ const { t } = useTranslation();const [confirmUsername, setConfirmUsername] = useState('');const [password, setPassword] = useState('');@@ -95,7 +97,7 @@ export default function DeleteAccountScreen(): React.ReactNode {*/const handleUsernameSubmit = (): void => {if (confirmUsername !== username) {- Alert.alert('Error', 'Username does not match');+ Alert.alert(t('common.error'), t('settings.securitySettings.deleteAccount.usernameDoesNotMatch'));return;}setStep('password');@@ -106,17 +108,17 @@ export default function DeleteAccountScreen(): React.ReactNode {*/const handleDeleteAccount = async (): Promise<void> => {if (!password) {- Alert.alert('Error', 'Please enter your password');+ Alert.alert(t('common.error'), t('settings.securitySettings.deleteAccount.enterPassword'));return;}Alert.alert(- 'Delete Account',- 'Are you absolutely sure you want to delete your account? This action cannot be undone.',+ t('settings.securitySettings.deleteAccount.deleteAccount'),+ t('settings.securitySettings.deleteAccount.confirmationMessage'),[- { text: 'Cancel', style: 'cancel' },+ { text: t('common.cancel'), style: 'cancel' },{- text: 'Delete Account',+ text: t('settings.securitySettings.deleteAccount.deleteAccount'),style: 'destructive',/*** Handles the delete account press.@@ -133,19 +135,19 @@ export default function DeleteAccountScreen(): React.ReactNode {const handleDeleteAccountPress = async (): Promise<void> => {try {setIsLoading(true);- setLoadingStatus('Verifying password...');+ setLoadingStatus(t('settings.securitySettings.deleteAccount.verifyingPassword'));const currentPasswordHashBase64 = await verifyPassword(password);if (!currentPasswordHashBase64) {- Alert.alert('Error', 'Current password is not correct');+ Alert.alert(t('common.error'), t('settings.securitySettings.deleteAccount.currentPasswordIncorrect'));return;}- setLoadingStatus('Initiating account deletion');+ setLoadingStatus(t('settings.securitySettings.deleteAccount.initiatingDeletion'));await new Promise((resolve) => setTimeout(resolve, 500));if (!username) {- throw new Error('Username not found. Please login again.');+ throw new Error(t('settings.securitySettings.deleteAccount.usernameNotFound'));}const deleteAccountInitiateRequest: DeleteAccountInitiateRequest = {@@ -157,7 +159,7 @@ export default function DeleteAccountScreen(): React.ReactNode {const currentSalt = data.salt;const currentServerEphemeral = data.serverEphemeral;- setLoadingStatus('Verifying with server');+ setLoadingStatus(t('settings.securitySettings.deleteAccount.verifyingWithServer'));// Convert base64 string to hex stringconst currentPasswordHashString = Buffer.from(currentPasswordHashBase64, 'base64').toString('hex').toUpperCase();@@ -167,7 +169,7 @@ export default function DeleteAccountScreen(): React.ReactNode {// Get username from the auth context, always lowercase and trimmed which is required for the argon2id key derivationconst sanitizedUsername = username?.toLowerCase().trim();if (!sanitizedUsername) {- throw new Error('Username not found. Please login again.');+ throw new Error(t('settings.securitySettings.deleteAccount.usernameNotFound'));}const privateKey = srp.derivePrivateKey(currentSalt, sanitizedUsername, currentPasswordHashString);@@ -185,18 +187,18 @@ export default function DeleteAccountScreen(): React.ReactNode {clientSessionProof: newClientSession.proof,};- setLoadingStatus('Deleting account');+ setLoadingStatus(t('settings.securitySettings.deleteAccount.deletingAccount'));await new Promise((resolve) => setTimeout(resolve, 1500));// Send final delete request with SRP proof.await webApi.post('Auth/delete-account/confirm', deleteAccountRequest);// Logout silently and navigate to login screen.- await logout('Account deleted successfully');+ await logout(t('settings.securitySettings.deleteAccount.accountDeleted'));router.replace('/login');} catch (error) {console.error('Error deleting account:', error);- Alert.alert('Error', 'Failed to delete account. Please try again.');+ Alert.alert(t('common.error'), t('settings.securitySettings.deleteAccount.failedToDelete'));} finally {setIsLoading(false);setLoadingStatus(null);@@ -229,29 +231,29 @@ export default function DeleteAccountScreen(): React.ReactNode {<ThemedContainer><ThemedScrollView><ThemedText style={styles.headerText}>- Deleting your account will immediately and permanently delete all of your data.+ {t('settings.securitySettings.deleteAccount.headerText')}</ThemedText><UsernameDisplay /><View style={styles.form}>{step === 'username' ? (<><ThemedText style={styles.warningText}>- Warning: This action cannot be undone. All your data will be permanently deleted.+ {t('settings.securitySettings.deleteAccount.warningText')}</ThemedText>- <WarningItem text="All encrypted vaults which includes all of your credentials will be permanently deleted" />- <WarningItem text="Your email aliases will be orphaned and cannot be claimed by other users" />- <WarningItem text="Your account cannot be recovered after deletion" />+ <WarningItem text={t('settings.securitySettings.deleteAccount.warningVaults')} />+ <WarningItem text={t('settings.securitySettings.deleteAccount.warningAliases')} />+ <WarningItem text={t('settings.securitySettings.deleteAccount.warningRecovery')} /><View style={styles.inputContainer}>- <ThemedText style={styles.label}>Enter your username to continue</ThemedText>+ <ThemedText style={styles.label}>{t('settings.securitySettings.deleteAccount.enterUsername')}</ThemedText><ThemedTextInputvalue={confirmUsername}onChangeText={setConfirmUsername}- placeholder="Enter username"+ placeholder={t('settings.securitySettings.deleteAccount.enterUsername')}autoCapitalize="none"/></View><ThemedButton- title="Continue"+ title={t('common.continue')}onPress={handleUsernameSubmit}style={styles.button}/>@@ -259,20 +261,20 @@ export default function DeleteAccountScreen(): React.ReactNode {) : (<><ThemedText style={styles.warningText}>- Final warning: Enter your password to permanently delete your account.+ {t('settings.securitySettings.deleteAccount.finalWarning')}</ThemedText>- <WarningItem text="Account deletion is irreversible and cannot be undone. Pressing the button below will delete your account immmediately and permanently." />+ <WarningItem text={t('settings.securitySettings.deleteAccount.irreversibleWarning')} /><View style={styles.inputContainer}>- <ThemedText style={styles.label}>Password</ThemedText>+ <ThemedText style={styles.label}>{t('settings.securitySettings.deleteAccount.password')}</ThemedText><ThemedTextInputsecureTextEntryvalue={password}onChangeText={setPassword}- placeholder="Enter password"+ placeholder={t('settings.securitySettings.deleteAccount.enterPassword')}/></View><ThemedButton- title="Delete Account"+ title={t('settings.securitySettings.deleteAccount.deleteAccount')}onPress={handleDeleteAccount}loading={isLoading}style={styles.button}diff --git a/apps/mobile-app/app/(tabs)/settings/security/index.tsx b/apps/mobile-app/app/(tabs)/settings/security/index.tsxindex ed308b8d8..35e74726e 100644--- a/apps/mobile-app/app/(tabs)/settings/security/index.tsx+++ b/apps/mobile-app/app/(tabs)/settings/security/index.tsx@@ -1,6 +1,7 @@import { Ionicons } from '@expo/vector-icons';import { router } from 'expo-router';import { StyleSheet, View, TouchableOpacity } from 'react-native';+import { useTranslation } from 'react-i18next';import { useColors } from '@/hooks/useColorScheme';@@ -14,6 +15,7 @@ import { SettingsHeader } from '@/components/ui/SettingsHeader';*/export default function SecuritySettingsScreen() : React.ReactNode {const colors = useColors();+ const { t } = useTranslation();const styles = StyleSheet.create({section: {@@ -57,7 +59,7 @@ export default function SecuritySettingsScreen() : React.ReactNode {return (<ThemedContainer><ThemedScrollView>- <SettingsHeader title="Security" description="Manage your account and vault security settings." icon="shield-checkmark" />+ <SettingsHeader title={t('settings.securitySettings.title')} description={t('settings.securitySettings.description')} icon="shield-checkmark" /><View style={styles.section}><TouchableOpacitystyle={styles.settingItem}@@ -67,7 +69,7 @@ export default function SecuritySettingsScreen() : React.ReactNode {<Ionicons name="key" size={20} color={colors.text} /></View><View style={styles.settingItemContent}>- <ThemedText style={styles.settingItemText}>Change Master Password</ThemedText>+ <ThemedText style={styles.settingItemText}>{t('settings.securitySettings.changeMasterPassword')}</ThemedText><Ionicons name="chevron-forward" size={20} color={colors.textMuted} /></View></TouchableOpacity>@@ -81,7 +83,7 @@ export default function SecuritySettingsScreen() : React.ReactNode {<Ionicons name="desktop" size={20} color={colors.text} /></View><View style={styles.settingItemContent}>- <ThemedText style={styles.settingItemText}>Active Sessions</ThemedText>+ <ThemedText style={styles.settingItemText}>{t('settings.securitySettings.activeSessionsTitle')}</ThemedText><Ionicons name="chevron-forward" size={20} color={colors.textMuted} /></View></TouchableOpacity>@@ -95,7 +97,7 @@ export default function SecuritySettingsScreen() : React.ReactNode {<Ionicons name="list" size={20} color={colors.text} /></View><View style={styles.settingItemContent}>- <ThemedText style={styles.settingItemText}>Recent Auth Logs</ThemedText>+ <ThemedText style={styles.settingItemText}>{t('settings.securitySettings.recentAuthLogs')}</ThemedText><Ionicons name="chevron-forward" size={20} color={colors.textMuted} /></View></TouchableOpacity>@@ -109,7 +111,7 @@ export default function SecuritySettingsScreen() : React.ReactNode {<Ionicons name="trash" size={20} color={colors.primary} /></View><View style={styles.settingItemContent}>- <ThemedText style={[styles.settingItemText, { color: colors.primary }]}>Delete Account</ThemedText>+ <ThemedText style={[styles.settingItemText, { color: colors.primary }]}>{t('settings.securitySettings.deleteAccountTitle')}</ThemedText><Ionicons name="chevron-forward" size={20} color={colors.textMuted} /></View></TouchableOpacity>diff --git a/apps/mobile-app/app/(tabs)/settings/vault-unlock.tsx b/apps/mobile-app/app/(tabs)/settings/vault-unlock.tsxindex 91ccd9f1b..04f8a771e 100644--- a/apps/mobile-app/app/(tabs)/settings/vault-unlock.tsx+++ b/apps/mobile-app/app/(tabs)/settings/vault-unlock.tsx@@ -2,6 +2,7 @@ import * as LocalAuthentication from 'expo-local-authentication';import { useState, useEffect, useCallback } from 'react';import { StyleSheet, View, Alert, Platform, Linking, Switch, TouchableOpacity } from 'react-native';import Toast from 'react-native-toast-message';+import { useTranslation } from 'react-i18next';import { useColors } from '@/hooks/useColorScheme';@@ -15,6 +16,7 @@ import { AuthMethod, useAuth } from '@/context/AuthContext';*/export default function VaultUnlockSettingsScreen() : React.ReactNode {const colors = useColors();+ const { t } = useTranslation();const [initialized, setInitialized] = useState(false);const { setAuthMethods, getEnabledAuthMethods, getBiometricDisplayName } = useAuth();const [hasBiometrics, setHasBiometrics] = useState(false);@@ -86,11 +88,11 @@ export default function VaultUnlockSettingsScreen() : React.ReactNode {const handleBiometricsToggle = useCallback(async (value: boolean) : Promise<void> => {if (value && !hasBiometrics) {Alert.alert(- `${biometricDisplayName} Not Available`,- `${biometricDisplayName} is disabled for AliasVault. In order to use it, please enable it in your device settings first.`,+ t('settings.vaultUnlockSettings.biometricNotAvailable', { biometric: biometricDisplayName }),+ t('settings.vaultUnlockSettings.biometricDisabledMessage', { biometric: biometricDisplayName }),[{- text: 'Open Settings',+ text: t('settings.openSettings'),/*** Handle the open settings press.*/@@ -105,7 +107,7 @@ export default function VaultUnlockSettingsScreen() : React.ReactNode {},},{- text: 'Cancel',+ text: t('common.cancel'),style: 'cancel',/*** Handle the cancel press.@@ -127,7 +129,7 @@ export default function VaultUnlockSettingsScreen() : React.ReactNode {if (value) {Toast.show({type: 'success',- text1: `${biometricDisplayName} is now successfully enabled`,+ text1: t('settings.vaultUnlockSettings.biometricEnabled', { biometric: biometricDisplayName }),position: 'bottom',visibilityTime: 1200,});@@ -178,7 +180,7 @@ export default function VaultUnlockSettingsScreen() : React.ReactNode {<ThemedContainer><ThemedScrollView><ThemedText style={styles.headerText}>- Choose how you want to unlock your vault.+ {t('settings.vaultUnlockSettings.description')}</ThemedText><View style={styles.optionContainer}>@@ -198,25 +200,28 @@ export default function VaultUnlockSettingsScreen() : React.ReactNode {</View></View><ThemedText style={styles.helpText}>- Your vault decryption key will be securely stored on your local device in the {Platform.OS === 'ios' ? 'iOS Keychain' : 'Android Keystore'} and can be accessed securely with {biometricDisplayName}.+ {t('settings.vaultUnlockSettings.biometricHelp', {+ keystore: Platform.OS === 'ios' ? t('settings.vaultUnlockSettings.keystoreIOS') : t('settings.vaultUnlockSettings.keystoreAndroid'),+ biometric: biometricDisplayName+ })}</ThemedText>{!hasBiometrics && (<ThemedText style={[styles.helpText, { color: colors.errorBorder }]}>- {biometricDisplayName} is not available. Tap to open settings and/or go to your device settings to enable and configure it.+ {t('settings.vaultUnlockSettings.biometricUnavailableHelp', { biometric: biometricDisplayName })}</ThemedText>)}</TouchableOpacity><View style={[styles.option, styles.optionLast]}><View style={styles.optionHeader}>- <ThemedText style={styles.optionText}>Password</ThemedText>+ <ThemedText style={styles.optionText}>{t('credentials.password')}</ThemedText><Switchvalue={true}disabled={true}/></View><ThemedText style={styles.helpText}>- Re-enter your full master password to unlock your vault. This is always enabled as fallback option.+ {t('settings.vaultUnlockSettings.passwordHelp')}</ThemedText></View></View>diff --git a/apps/mobile-app/i18n/locales/en.json b/apps/mobile-app/i18n/locales/en.jsonindex 3130599d7..8e039488e 100644--- a/apps/mobile-app/i18n/locales/en.json+++ b/apps/mobile-app/i18n/locales/en.json@@ -7,6 +7,7 @@"yes": "Yes","no": "No","ok": "OK",+ "continue": "Continue","loading": "Loading...","error": "Error","success": "Success",@@ -129,6 +130,7 @@"security": "Security","appVersion": "App version {{version}} ({{url}})","autoLockOptions": {+ "never": "Never","5seconds": "5 seconds","30seconds": "30 seconds","1minute": "1 minute",@@ -141,7 +143,115 @@"language": "Language","systemLanguage": "System Language","languageSystemMessage": "To change the app language, we'll open iOS Settings where you can configure the preferred language for AliasVault.",- "openSettings": "Open Settings"+ "openSettings": "Open Settings",+ "vaultUnlockSettings": {+ "title": "Vault Unlock Method",+ "description": "Choose how you want to unlock your vault.",+ "biometricEnabled": "{{biometric}} is now successfully enabled",+ "biometricNotAvailable": "{{biometric}} Not Available",+ "biometricDisabledMessage": "{{biometric}} is disabled for AliasVault. In order to use it, please enable it in your device settings first.",+ "biometricHelp": "Your vault decryption key will be securely stored on your local device in the {{keystore}} and can be accessed securely with {{biometric}}.",+ "biometricUnavailableHelp": "{{biometric}} is not available. Tap to open settings and/or go to your device settings to enable and configure it.",+ "passwordHelp": "Re-enter your full master password to unlock your vault. This is always enabled as fallback option.",+ "keystoreIOS": "iOS Keychain",+ "keystoreAndroid": "Android Keystore"+ },+ "autoLockSettings": {+ "title": "Auto-lock Timeout",+ "description": "Choose how long the app can stay in the background before requiring re-authentication. You'll need to use Face ID or enter your password to unlock the vault again."+ },+ "identityGeneratorSettings": {+ "title": "Identity Generator",+ "description": "Configure the default language and gender preference for generating new identities.",+ "languageSection": "Language",+ "languageDescription": "Set the language that will be used when generating new identities.",+ "genderSection": "Gender",+ "genderDescription": "Set the gender preference for generating new identities.",+ "languageOptions": {+ "english": "English",+ "dutch": "Dutch"+ },+ "genderOptions": {+ "random": "Random",+ "male": "Male",+ "female": "Female"+ },+ "errors": {+ "loadFailed": "Failed to load identity generator settings.",+ "languageUpdateFailed": "Failed to update language setting.",+ "genderUpdateFailed": "Failed to update gender setting."+ }+ },+ "securitySettings": {+ "title": "Security",+ "description": "Manage your account and vault security settings.",+ "changeMasterPassword": "Change Master Password",+ "activeSessionsTitle": "Active Sessions",+ "recentAuthLogs": "Recent Auth Logs",+ "deleteAccountTitle": "Delete Account",+ "changePassword": {+ "headerText": "Changing your master password also changes the vault encryption keys. It is advised to periodically change your master password to keep your vaults secure.",+ "currentPassword": "Current Password",+ "newPassword": "New Password",+ "confirmNewPassword": "Confirm New Password",+ "enterCurrentPassword": "Enter current password",+ "enterNewPassword": "Enter new password",+ "changePassword": "Change Password",+ "fillAllFields": "Please fill in all fields",+ "passwordsDoNotMatch": "New passwords do not match",+ "userNotAuthenticated": "User not authenticated",+ "initiatingChange": "Initiating password change...",+ "currentPasswordIncorrect": "Current password is not correct",+ "passwordChangedSuccessfully": "Password changed successfully",+ "failedToChange": "Failed to change password. Please try again."+ },+ "activeSessions": {+ "headerText": "Below is a list of devices where your account is currently logged in or has an active session. You can log out from any of these sessions here.",+ "noSessions": "No active sessions",+ "revoke": "Revoke",+ "revokeSession": "Revoke Session",+ "revokeConfirmation": "Are you sure you want to revoke this session? This will log you out of the chosen device.",+ "sessionRevoked": "Session successfully revoked",+ "failedToRevoke": "Failed to revoke session",+ "failedToLoad": "Failed to load active sessions",+ "lastActive": "Last active",+ "expires": "Expires"+ },+ "authLogs": {+ "headerText": "Below you can find an overview of recent login attempts to your account.",+ "noLogs": "No auth logs found",+ "success": "Success",+ "failed": "Failed",+ "time": "Time",+ "device": "Device",+ "ipAddress": "IP Address",+ "client": "Client",+ "failedToLoad": "Failed to load auth logs"+ },+ "deleteAccount": {+ "headerText": "Deleting your account will immediately and permanently delete all of your data.",+ "warningText": "Warning: This action cannot be undone. All your data will be permanently deleted.",+ "finalWarning": "Final warning: Enter your password to permanently delete your account.",+ "warningVaults": "All encrypted vaults which includes all of your credentials will be permanently deleted",+ "warningAliases": "Your email aliases will be orphaned and cannot be claimed by other users",+ "warningRecovery": "Your account cannot be recovered after deletion",+ "irreversibleWarning": "Account deletion is irreversible and cannot be undone. Pressing the button below will delete your account immediately and permanently.",+ "enterUsername": "Enter your username to continue",+ "password": "Password",+ "enterPassword": "Enter password",+ "deleteAccount": "Delete Account",+ "confirmationMessage": "Are you absolutely sure you want to delete your account? This action cannot be undone.",+ "usernameDoesNotMatch": "Username does not match",+ "verifyingPassword": "Verifying password...",+ "currentPasswordIncorrect": "Current password is not correct",+ "initiatingDeletion": "Initiating account deletion",+ "verifyingWithServer": "Verifying with server",+ "deletingAccount": "Deleting account",+ "accountDeleted": "Account deleted successfully",+ "failedToDelete": "Failed to delete account. Please try again.",+ "usernameNotFound": "Username not found. Please login again."+ }+ }},"navigation": {"credentials": "Credentials",diff --git a/apps/mobile-app/i18n/locales/nl.json b/apps/mobile-app/i18n/locales/nl.jsonindex 91d512482..88f449451 100644--- a/apps/mobile-app/i18n/locales/nl.json+++ b/apps/mobile-app/i18n/locales/nl.json@@ -7,6 +7,7 @@"yes": "Ja","no": "Nee","ok": "OK",+ "continue": "Doorgaan","loading": "Laden...","error": "Fout","success": "Succes",@@ -129,6 +130,7 @@"security": "Beveiliging","appVersion": "App versie {{version}} ({{url}})","autoLockOptions": {+ "never": "Nooit","5seconds": "5 seconden","30seconds": "30 seconden","1minute": "1 minuut",@@ -141,7 +143,115 @@"language": "Taal","systemLanguage": "Systeemtaal","languageSystemMessage": "Om de app-taal te wijzigen, openen we iOS Instellingen waar u de gewenste taal voor AliasVault kunt configureren.",- "openSettings": "Open Instellingen"+ "openSettings": "Open Instellingen",+ "vaultUnlockSettings": {+ "title": "Kluis Ontgrendel Methode",+ "description": "Kies hoe u uw kluis wilt ontgrendelen.",+ "biometricEnabled": "{{biometric}} is nu succesvol ingeschakeld",+ "biometricNotAvailable": "{{biometric}} Niet Beschikbaar",+ "biometricDisabledMessage": "{{biometric}} is uitgeschakeld voor AliasVault. Om het te gebruiken, schakel het eerst in via uw apparaat-instellingen.",+ "biometricHelp": "Uw kluis ontsleutelingssleutel wordt veilig opgeslagen op uw lokale apparaat in de {{keystore}} en kan veilig worden benaderd met {{biometric}}.",+ "biometricUnavailableHelp": "{{biometric}} is niet beschikbaar. Tik om instellingen te openen en/of ga naar uw apparaat-instellingen om het in te schakelen en te configureren.",+ "passwordHelp": "Voer uw volledige hoofdwachtwoord opnieuw in om uw kluis te ontgrendelen. Dit is altijd ingeschakeld als terugvaloptie.",+ "keystoreIOS": "iOS Sleutelhanger",+ "keystoreAndroid": "Android Sleutelopslag"+ },+ "autoLockSettings": {+ "title": "Automatisch Vergrendelen Timeout",+ "description": "Kies hoe lang de app op de achtergrond kan blijven voordat herauthenticatie vereist is. U moet Face ID gebruiken of uw wachtwoord invoeren om de kluis opnieuw te ontgrendelen."+ },+ "identityGeneratorSettings": {+ "title": "Identiteit Generator",+ "description": "Configureer de standaardtaal en geslachtsvoorkeur voor het genereren van nieuwe identiteiten.",+ "languageSection": "Taal",+ "languageDescription": "Stel de taal in die wordt gebruikt bij het genereren van nieuwe identiteiten.",+ "genderSection": "Geslacht",+ "genderDescription": "Stel de geslachtsvoorkeur in voor het genereren van nieuwe identiteiten.",+ "languageOptions": {+ "english": "Engels",+ "dutch": "Nederlands"+ },+ "genderOptions": {+ "random": "Willekeurig",+ "male": "Mannelijk",+ "female": "Vrouwelijk"+ },+ "errors": {+ "loadFailed": "Laden van identiteit generator instellingen mislukt.",+ "languageUpdateFailed": "Bijwerken van taalinstelling mislukt.",+ "genderUpdateFailed": "Bijwerken van geslachtsinstelling mislukt."+ }+ },+ "securitySettings": {+ "title": "Beveiliging",+ "description": "Beheer uw account en kluis beveiligingsinstellingen.",+ "changeMasterPassword": "Hoofdwachtwoord Wijzigen",+ "activeSessionsTitle": "Actieve Sessies",+ "recentAuthLogs": "Recente Auth Logs",+ "deleteAccountTitle": "Account Verwijderen",+ "changePassword": {+ "headerText": "Het wijzigen van uw hoofdwachtwoord wijzigt ook de kluisversleutelingssleutels. Het wordt aanbevolen om uw hoofdwachtwoord periodiek te wijzigen om uw kluizen veilig te houden.",+ "currentPassword": "Huidige Wachtwoord",+ "newPassword": "Nieuwe Wachtwoord",+ "confirmNewPassword": "Bevestig Nieuwe Wachtwoord",+ "enterCurrentPassword": "Voer huidige wachtwoord in",+ "enterNewPassword": "Voer nieuwe wachtwoord in",+ "changePassword": "Wachtwoord Wijzigen",+ "fillAllFields": "Vul alle velden in",+ "passwordsDoNotMatch": "Nieuwe wachtwoorden komen niet overeen",+ "userNotAuthenticated": "Gebruiker niet geauthenticeerd",+ "initiatingChange": "Wachtwoord wijziging starten...",+ "currentPasswordIncorrect": "Huidige wachtwoord is niet correct",+ "passwordChangedSuccessfully": "Wachtwoord succesvol gewijzigd",+ "failedToChange": "Wachtwoord wijzigen mislukt. Probeer het opnieuw."+ },+ "activeSessions": {+ "headerText": "Hieronder vindt u een lijst met apparaten waar uw account momenteel is ingelogd of een actieve sessie heeft. U kunt zich hier afmelden van elk van deze sessies.",+ "noSessions": "Geen actieve sessies",+ "revoke": "Intrekken",+ "revokeSession": "Sessie Intrekken",+ "revokeConfirmation": "Weet u zeker dat u deze sessie wilt intrekken? Dit zal u afmelden van het gekozen apparaat.",+ "sessionRevoked": "Sessie succesvol ingetrokken",+ "failedToRevoke": "Sessie intrekken mislukt",+ "failedToLoad": "Laden van actieve sessies mislukt",+ "lastActive": "Laatst actief",+ "expires": "Verloopt"+ },+ "authLogs": {+ "headerText": "Hieronder vindt u een overzicht van recente aanmeldpogingen bij uw account.",+ "noLogs": "Geen aanmeldlogboeken gevonden",+ "success": "Succesvol",+ "failed": "Mislukt",+ "time": "Tijd",+ "device": "Apparaat",+ "ipAddress": "IP-adres",+ "client": "Client",+ "failedToLoad": "Laden van aanmeldlogboeken mislukt"+ },+ "deleteAccount": {+ "headerText": "Het verwijderen van uw account zal onmiddellijk en permanent al uw gegevens verwijderen.",+ "warningText": "Waarschuwing: Deze actie kan niet ongedaan worden gemaakt. Al uw gegevens zullen permanent verwijderd worden.",+ "finalWarning": "Laatste waarschuwing: Voer uw wachtwoord in om uw account permanent te verwijderen.",+ "warningVaults": "Alle versleutelde kluizen inclusief al uw inloggegevens zullen permanent verwijderd worden",+ "warningAliases": "Uw e-mailaliassen zullen weeën worden en kunnen niet door andere gebruikers worden geclaimd",+ "warningRecovery": "Uw account kan niet worden hersteld na verwijdering",+ "irreversibleWarning": "Accountverwijdering is onomkeerbaar en kan niet ongedaan worden gemaakt. Door op de knop hieronder te drukken wordt uw account onmiddellijk en permanent verwijderd.",+ "enterUsername": "Voer uw gebruikersnaam in om door te gaan",+ "password": "Wachtwoord",+ "enterPassword": "Voer wachtwoord in",+ "deleteAccount": "Account Verwijderen",+ "confirmationMessage": "Weet u absoluut zeker dat u uw account wilt verwijderen? Deze actie kan niet ongedaan worden gemaakt.",+ "usernameDoesNotMatch": "Gebruikersnaam komt niet overeen",+ "verifyingPassword": "Wachtwoord verifiëren...",+ "currentPasswordIncorrect": "Huidige wachtwoord is niet correct",+ "initiatingDeletion": "Accountverwijdering starten",+ "verifyingWithServer": "Verifiëren met server",+ "deletingAccount": "Account verwijderen",+ "accountDeleted": "Account succesvol verwijderd",+ "failedToDelete": "Account verwijderen mislukt. Probeer het opnieuw.",+ "usernameNotFound": "Gebruikersnaam niet gevonden. Log opnieuw in."+ }+ }},"navigation": {"credentials": "Referenties",