💬(frontend) change add mail domain text
- update translations and tests
This commit is contained in:
committed by
Sebastien Nobour
parent
874ce18134
commit
bd6cd59df6
@@ -16,6 +16,7 @@ and this project adheres to
|
|||||||
|
|
||||||
- 🐛(dimail) improve handling of dimail errors on failed mailbox creation #377
|
- 🐛(dimail) improve handling of dimail errors on failed mailbox creation #377
|
||||||
- 💬(frontend) fix group member removal text #382
|
- 💬(frontend) fix group member removal text #382
|
||||||
|
- 💬(frontend) fix add mail domain text #382
|
||||||
|
|
||||||
## [1.0.2] - 2024-08-30
|
## [1.0.2] - 2024-08-30
|
||||||
|
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ export const ModalCreateMailDomain = () => {
|
|||||||
<>
|
<>
|
||||||
<MailDomainsLogo aria-hidden="true" />
|
<MailDomainsLogo aria-hidden="true" />
|
||||||
<Text as="h3" $textAlign="center">
|
<Text as="h3" $textAlign="center">
|
||||||
{t('Add your mail domain')}
|
{t('Add a mail domain')}
|
||||||
</Text>
|
</Text>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ export const PanelActions = () => {
|
|||||||
<StyledLink href="/mail-domains/add/">
|
<StyledLink href="/mail-domains/add/">
|
||||||
<Text
|
<Text
|
||||||
$margin="auto"
|
$margin="auto"
|
||||||
aria-label={t('Add your mail domain')}
|
aria-label={t('Add a mail domain')}
|
||||||
$theme="primary"
|
$theme="primary"
|
||||||
>
|
>
|
||||||
<IconAdd width={27} height={27} aria-hidden="true" />
|
<IconAdd width={27} height={27} aria-hidden="true" />
|
||||||
|
|||||||
@@ -11,12 +11,12 @@
|
|||||||
"0 group to display.": "0 groupe à afficher.",
|
"0 group to display.": "0 groupe à afficher.",
|
||||||
"Accessibility statement": "Déclaration d'accessibilité",
|
"Accessibility statement": "Déclaration d'accessibilité",
|
||||||
"Accessibility: non-compliant": "Accessibilité : non conforme",
|
"Accessibility: non-compliant": "Accessibilité : non conforme",
|
||||||
|
"Add a mail domain": "Ajouter un nom de domaine",
|
||||||
"Add a member": "Ajouter un membre",
|
"Add a member": "Ajouter un membre",
|
||||||
"Add a team": "Ajouter un groupe",
|
"Add a team": "Ajouter un groupe",
|
||||||
"Add members to the team": "Ajouter des membres à l'équipe",
|
"Add members to the team": "Ajouter des membres à l'équipe",
|
||||||
"Add the domain": "Ajouter le domaine",
|
"Add the domain": "Ajouter le domaine",
|
||||||
"Add to group": "Ajouter au groupe",
|
"Add to group": "Ajouter au groupe",
|
||||||
"Add your mail domain": "Ajouter votre nom de domaine",
|
|
||||||
"Address: National Agency for Territorial Cohesion - 20, avenue de Ségur TSA 10717 75 334 Paris Cedex 07 Paris": "Adresse : Agence Nationale de la Cohésion des Territoires - 20, avenue de Ségur TSA 10717 75 334 Paris Cedex 07",
|
"Address: National Agency for Territorial Cohesion - 20, avenue de Ségur TSA 10717 75 334 Paris Cedex 07 Paris": "Adresse : Agence Nationale de la Cohésion des Territoires - 20, avenue de Ségur TSA 10717 75 334 Paris Cedex 07",
|
||||||
"Administration": "Administration",
|
"Administration": "Administration",
|
||||||
"All fields are mandatory.": "Tous les champs sont obligatoires.",
|
"All fields are mandatory.": "Tous les champs sont obligatoires.",
|
||||||
@@ -83,10 +83,8 @@
|
|||||||
"List members card": "Carte liste des membres",
|
"List members card": "Carte liste des membres",
|
||||||
"Logout": "Se déconnecter",
|
"Logout": "Se déconnecter",
|
||||||
"Mail Domains": "Domaines de messagerie",
|
"Mail Domains": "Domaines de messagerie",
|
||||||
"Mail domain addition form": "Formulaire d'ajout de domaine de messagerie",
|
|
||||||
"Mail domains panel": "Panel des domaines de messagerie",
|
"Mail domains panel": "Panel des domaines de messagerie",
|
||||||
"Mailbox created!": "Boîte mail créée !",
|
"Mailbox created!": "Boîte mail créée !",
|
||||||
"Mailbox creation form": "Formulaire de création de boite mail",
|
|
||||||
"Mailboxes list": "Liste des boîtes mail",
|
"Mailboxes list": "Liste des boîtes mail",
|
||||||
"Marianne Logo": "Logo Marianne",
|
"Marianne Logo": "Logo Marianne",
|
||||||
"Member": "Membre",
|
"Member": "Membre",
|
||||||
@@ -136,7 +134,6 @@
|
|||||||
"Teams": "Équipes",
|
"Teams": "Équipes",
|
||||||
"The National Agency for Territorial Cohesion undertakes to make its\n service accessible, in accordance with article 47 of law no. 2005-102\n of February 11, 2005.": "L'Agence Nationale de la Cohésion des Territoires s’engage à rendre son service accessible, conformément à l’article 47 de la loi n° 2005-102 du 11 février 2005.",
|
"The National Agency for Territorial Cohesion undertakes to make its\n service accessible, in accordance with article 47 of law no. 2005-102\n of February 11, 2005.": "L'Agence Nationale de la Cohésion des Territoires s’engage à rendre son service accessible, conformément à l’article 47 de la loi n° 2005-102 du 11 février 2005.",
|
||||||
"The domain name encounters an error. Please contact our support team to solve the problem:": "Le nom de domaine rencontre une erreur. Veuillez contacter notre support pour résoudre le problème :",
|
"The domain name encounters an error. Please contact our support team to solve the problem:": "Le nom de domaine rencontre une erreur. Veuillez contacter notre support pour résoudre le problème :",
|
||||||
"The mail domain secret is misconfigured. Please, contact our support team to solve the issue: suiteterritoriale@anct.gouv.fr": "Le secret du domaine de messagerie est mal configuré. Veuillez contacter notre support pour résoudre le problème : suiteterritoriale@anct.gouv.fr",
|
|
||||||
"The member has been removed from the team": "Le membre a été supprimé de votre groupe",
|
"The member has been removed from the team": "Le membre a été supprimé de votre groupe",
|
||||||
"The role has been updated": "Le rôle a bien été mis à jour",
|
"The role has been updated": "Le rôle a bien été mis à jour",
|
||||||
"The team has been removed.": "Le groupe a été supprimé.",
|
"The team has been removed.": "Le groupe a été supprimé.",
|
||||||
@@ -167,7 +164,6 @@
|
|||||||
"You cannot update the role of other owner.": "Vous ne pouvez pas mettre à jour les rôles d'autre propriétaire.",
|
"You cannot update the role of other owner.": "Vous ne pouvez pas mettre à jour les rôles d'autre propriétaire.",
|
||||||
"You must have minimum 1 character": "Vous devez entrer au moins 1 caractère",
|
"You must have minimum 1 character": "Vous devez entrer au moins 1 caractère",
|
||||||
"Your domain name is being validated. You will not be able to create mailboxes until your domain name has been validated by our team.": "Votre nom de domaine est en cours de validation. Vous ne pourrez créer de boîtes mail que lorsque votre nom de domaine sera validé par notre équipe.",
|
"Your domain name is being validated. You will not be able to create mailboxes until your domain name has been validated by our team.": "Votre nom de domaine est en cours de validation. Vous ne pourrez créer de boîtes mail que lorsque votre nom de domaine sera validé par notre équipe.",
|
||||||
"Your request cannot be processed because the server is experiencing an error. If the problem persists, please contact our support to resolve the issue: suiteterritoriale@anct.gouv.fr": "Votre demande ne peut pas être traitée car le serveur rencontre une erreur. Si le problème persiste, veuillez contacter notre support pour résoudre le problème : suiteterritoriale@anct.gouv.fr",
|
|
||||||
"[disabled]": "[désactivé]",
|
"[disabled]": "[désactivé]",
|
||||||
"[enabled]": "[actif]",
|
"[enabled]": "[actif]",
|
||||||
"[failed]": "[erroné]",
|
"[failed]": "[erroné]",
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ const Page: NextPageWithLayout = () => {
|
|||||||
return (
|
return (
|
||||||
<Box $align="center" $justify="center" $height="inherit">
|
<Box $align="center" $justify="center" $height="inherit">
|
||||||
<StyledButton onClick={() => void router.push('/mail-domains/add')}>
|
<StyledButton onClick={() => void router.push('/mail-domains/add')}>
|
||||||
{t('Add your mail domain')}
|
{t('Add a mail domain')}
|
||||||
</StyledButton>
|
</StyledButton>
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ test.describe('Config', () => {
|
|||||||
|
|
||||||
await expect(
|
await expect(
|
||||||
page.getByRole('button', {
|
page.getByRole('button', {
|
||||||
name: 'Add your mail domain',
|
name: 'Add a mail domain',
|
||||||
}),
|
}),
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ test.describe('Add Mail Domains', () => {
|
|||||||
await page.goto('/mail-domains');
|
await page.goto('/mail-domains');
|
||||||
|
|
||||||
const buttonFromHomePage = page.getByRole('button', {
|
const buttonFromHomePage = page.getByRole('button', {
|
||||||
name: 'Add your mail domain',
|
name: 'Add a mail domain',
|
||||||
});
|
});
|
||||||
|
|
||||||
await expect(buttonFromHomePage).toBeVisible();
|
await expect(buttonFromHomePage).toBeVisible();
|
||||||
@@ -22,7 +22,7 @@ test.describe('Add Mail Domains', () => {
|
|||||||
|
|
||||||
await expect(
|
await expect(
|
||||||
page.getByRole('heading', {
|
page.getByRole('heading', {
|
||||||
name: 'Add your mail domain',
|
name: 'Add a mail domain',
|
||||||
level: 3,
|
level: 3,
|
||||||
}),
|
}),
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
@@ -49,7 +49,7 @@ test.describe('Add Mail Domains', () => {
|
|||||||
await page.goto('/mail-domains');
|
await page.goto('/mail-domains');
|
||||||
|
|
||||||
const buttonFromHomePage = page.getByRole('button', {
|
const buttonFromHomePage = page.getByRole('button', {
|
||||||
name: 'Add your mail domain',
|
name: 'Add a mail domain',
|
||||||
});
|
});
|
||||||
await buttonFromHomePage.click();
|
await buttonFromHomePage.click();
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ test.describe('Add Mail Domains', () => {
|
|||||||
await page.goto('/mail-domains');
|
await page.goto('/mail-domains');
|
||||||
|
|
||||||
const buttonFromHomePage = page.getByRole('button', {
|
const buttonFromHomePage = page.getByRole('button', {
|
||||||
name: 'Add your mail domain',
|
name: 'Add a mail domain',
|
||||||
});
|
});
|
||||||
await buttonFromHomePage.click();
|
await buttonFromHomePage.click();
|
||||||
|
|
||||||
@@ -109,7 +109,7 @@ test.describe('Add Mail Domains', () => {
|
|||||||
|
|
||||||
const panel = page.getByLabel('Mail domains panel').first();
|
const panel = page.getByLabel('Mail domains panel').first();
|
||||||
|
|
||||||
await panel.getByRole('link', { name: 'Add your mail domain' }).click();
|
await panel.getByRole('link', { name: 'Add a mail domain' }).click();
|
||||||
|
|
||||||
const form = page.locator('form');
|
const form = page.locator('form');
|
||||||
|
|
||||||
@@ -133,7 +133,7 @@ test.describe('Add Mail Domains', () => {
|
|||||||
|
|
||||||
const panel = page.getByLabel('Mail domains panel').first();
|
const panel = page.getByLabel('Mail domains panel').first();
|
||||||
const additionLink = panel.getByRole('link', {
|
const additionLink = panel.getByRole('link', {
|
||||||
name: 'Add your mail domain',
|
name: 'Add a mail domain',
|
||||||
});
|
});
|
||||||
const form = page.locator('form');
|
const form = page.locator('form');
|
||||||
const inputName = form.getByLabel('Domain name');
|
const inputName = form.getByLabel('Domain name');
|
||||||
|
|||||||
Reference in New Issue
Block a user