Front: First Pass on translations + remove unused setting tabs

This commit is contained in:
Arthur Jamet
2023-12-14 16:11:27 +01:00
committed by Clément Le Bihan
parent 00d097f643
commit d3994ff26e
13 changed files with 37 additions and 280 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
import { useEffect, useState } from 'react';
import API from '../API';
import { Text } from 'native-base';
import { useNavigation } from '../Navigation';
import { useRoute } from '@react-navigation/native';
import { Translate } from '../i18n/i18n';
const VerifiedView = () => {
const navigation = useNavigation();
@@ -26,9 +26,9 @@ const VerifiedView = () => {
}, []);
return failed ? (
<Text>Email verification failed. The token has expired or is invalid.</Text>
<Translate translationKey={'emailCheckFailed'} />
) : (
<Text>Loading please wait</Text>
<Translate translationKey={'loading'} />
);
};