🌐(frontend) update some translated messages
Slight cleanup of translations.
This commit is contained in:
@@ -56,18 +56,19 @@ export const Tag = ({ ...props }: TagContentProps) => {
|
||||
Partial<Record<TagContentProps['status'], string>>
|
||||
> = {
|
||||
domain: {
|
||||
pending: 'Domain pending validation by an administrator',
|
||||
enabled: 'Active domain',
|
||||
disabled: 'Disabled domain',
|
||||
failed: 'Domain error, contact an administrator',
|
||||
action_required:
|
||||
pending: t('Domain pending validation by an administrator'),
|
||||
enabled: t('Active domain'),
|
||||
disabled: t('Disabled domain'),
|
||||
failed: t('Domain error, contact an administrator'),
|
||||
action_required: t(
|
||||
'A configuration action from the domain manager (outside Régie) is required',
|
||||
),
|
||||
},
|
||||
mail: {
|
||||
pending: 'Email address pending validation by an administrator',
|
||||
enabled: 'Functional email address',
|
||||
failed: 'Email address error, contact an administrator',
|
||||
disabled: 'Disabled email address',
|
||||
pending: t('Email address pending validation by an administrator'),
|
||||
enabled: t('Functional email address'),
|
||||
failed: t('Email address error, contact an administrator'),
|
||||
disabled: t('Disabled email address'),
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -125,8 +125,9 @@ export const ModalDomainAccessesManagement = ({
|
||||
title={
|
||||
<Box $align="left" $gap="1rem">
|
||||
<Text $size="small" $margin="none">
|
||||
{t('Droits d’administration de ')}
|
||||
{mailDomain.name}
|
||||
{t('Administration rights of {{name}}', {
|
||||
name: mailDomain.name,
|
||||
})}
|
||||
</Text>
|
||||
</Box>
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ describe('ModalAddMailDomain', () => {
|
||||
const goToSecondStep = async () => {
|
||||
const user = userEvent.setup();
|
||||
await user.click(
|
||||
screen.getByRole('button', { name: /I have already domain/i }),
|
||||
screen.getByRole('button', { name: /I already have a domain/i }),
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ export const MailDomainAccessesAction = ({
|
||||
setIsModalAccessOpen(true);
|
||||
}}
|
||||
>
|
||||
{t('Share rights')}
|
||||
{t('Access management')}
|
||||
</Button>
|
||||
)}
|
||||
</Box>
|
||||
|
||||
@@ -114,7 +114,7 @@ export const ModalAddMailDomain = ({
|
||||
),
|
||||
rightAction: (
|
||||
<Button data-testid="next_step" onClick={() => setStep(1)}>
|
||||
{t('I have already domain')}
|
||||
{t('I already have a domain')}
|
||||
</Button>
|
||||
),
|
||||
leftAction: (
|
||||
|
||||
@@ -122,7 +122,7 @@ export function MailBoxesView({ mailDomain }: { mailDomain: MailDomain }) {
|
||||
{t('New mail address')}
|
||||
</Button>
|
||||
) : (
|
||||
<Tooltip content="You don't have the correct access right">
|
||||
<Tooltip content={t("You don't have the correct access right")}>
|
||||
<div>
|
||||
<Button
|
||||
data-testid="button-new-mailbox"
|
||||
|
||||
@@ -55,7 +55,7 @@ const Page: NextPageWithLayout = () => {
|
||||
as="h2"
|
||||
$css="font-weight: 700; font-size: 1.5rem; margin-bottom: 20px;"
|
||||
>
|
||||
{t('Areas of the organization')}
|
||||
{t('Domains of the organization')}
|
||||
</Text>
|
||||
|
||||
<Box
|
||||
@@ -111,7 +111,7 @@ const Page: NextPageWithLayout = () => {
|
||||
{t('Add a mail domain')}
|
||||
</Button>
|
||||
) : (
|
||||
<Tooltip content="You don't have the correct access right">
|
||||
<Tooltip content={t("You don't have the correct access right")}>
|
||||
<div>
|
||||
<Button
|
||||
data-testid="button-new-domain"
|
||||
|
||||
Reference in New Issue
Block a user