AgeVerification: generalize language

virtualized-window
Alex Gleason 2022-03-21 13:40:43 -05:00
rodzic 787c6600a0
commit 32686f3a40
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -30,6 +30,7 @@ const AgeVerification = () => {
const isLoading = useSelector((state) => state.getIn(['verification', 'isLoading']));
const ageMinimum = useSelector((state) => state.getIn(['verification', 'ageMinimum']));
const siteTitle = useSelector((state) => state.instance.title);
const [date, setDate] = React.useState('');
const isValid = typeof date === 'object';
@ -80,7 +81,7 @@ const AgeVerification = () => {
</FormGroup>
<Text theme='muted' size='sm'>
TRUTH Social requires users to be at least {ageMinimum} years old to
{siteTitle} requires users to be at least {ageMinimum} years old to
access its platform. Anyone under the age of {ageMinimum} years old
cannot access this platform.
</Text>