🌐(frontend) internationalize missing error message
Add translation support for previously untranslated error message to complete localization coverage.
This commit is contained in:
committed by
aleb_the_flash
parent
f7268c507b
commit
04081f04fc
@@ -41,7 +41,7 @@ export const AccountTab = ({ id, onOpenChange }: AccountTabProps) => {
|
|||||||
value={name}
|
value={name}
|
||||||
onChange={setName}
|
onChange={setName}
|
||||||
validate={(value) => {
|
validate={(value) => {
|
||||||
return !value ? <p>{'Votre Nom ne peut pas être vide'}</p> : null
|
return !value ? <p>{t('account.nameError')}</p> : null
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<H lvl={2}>{t('account.authentication')}</H>
|
<H lvl={2}>{t('account.authentication')}</H>
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
"heading": "Konto",
|
"heading": "Konto",
|
||||||
"youAreNotLoggedIn": "Sie sind nicht angemeldet.",
|
"youAreNotLoggedIn": "Sie sind nicht angemeldet.",
|
||||||
"nameLabel": "Ihr Name",
|
"nameLabel": "Ihr Name",
|
||||||
"authentication": "Authentifizierung"
|
"authentication": "Authentifizierung",
|
||||||
|
"nameError": "Ihr Name darf nicht leer sein"
|
||||||
},
|
},
|
||||||
"audio": {
|
"audio": {
|
||||||
"microphone": {
|
"microphone": {
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
"heading": "Account",
|
"heading": "Account",
|
||||||
"youAreNotLoggedIn": "You are not logged in.",
|
"youAreNotLoggedIn": "You are not logged in.",
|
||||||
"nameLabel": "Your Name",
|
"nameLabel": "Your Name",
|
||||||
"authentication": "Authentication"
|
"authentication": "Authentication",
|
||||||
|
"nameError": "Your name cannot be empty"
|
||||||
},
|
},
|
||||||
"audio": {
|
"audio": {
|
||||||
"microphone": {
|
"microphone": {
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
"heading": "Compte",
|
"heading": "Compte",
|
||||||
"youAreNotLoggedIn": "Vous n'êtes pas connecté.",
|
"youAreNotLoggedIn": "Vous n'êtes pas connecté.",
|
||||||
"nameLabel": "Votre Nom",
|
"nameLabel": "Votre Nom",
|
||||||
"authentication": "Authentification"
|
"authentication": "Authentification",
|
||||||
|
"nameError": "Votre Nom ne peut pas être vide"
|
||||||
},
|
},
|
||||||
"audio": {
|
"audio": {
|
||||||
"microphone": {
|
"microphone": {
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
"heading": "Account",
|
"heading": "Account",
|
||||||
"youAreNotLoggedIn": "U bent niet ingelogd.",
|
"youAreNotLoggedIn": "U bent niet ingelogd.",
|
||||||
"nameLabel": "Uw naam",
|
"nameLabel": "Uw naam",
|
||||||
"authentication": "Authenticatie"
|
"authentication": "Authenticatie",
|
||||||
|
"nameError": "Uw naam mag niet leeg zijn"
|
||||||
},
|
},
|
||||||
"audio": {
|
"audio": {
|
||||||
"microphone": {
|
"microphone": {
|
||||||
|
|||||||
Reference in New Issue
Block a user