ff001d9def
As per title, add ~200 missing translations in different places of app. Most places are now available for translation with AI but still some aren't available - some enums (like in MenuItemSelectColor.tsx) or values in complex types (like in SettingsNonCompositeFieldTypeConfigs.ts) or values where are injected some variables (like in SettingsDataModelFieldNumberForm.tsx) --------- Co-authored-by: Félix Malfait <felix@twenty.com>
37 lines
1.2 KiB
TypeScript
37 lines
1.2 KiB
TypeScript
import { SettingsAccountsVisibilityIcon } from '@/settings/accounts/components/SettingsAccountsVisibilityIcon';
|
|
import styled from '@emotion/styled';
|
|
import { msg } from '@lingui/core/macro';
|
|
|
|
import { MessageChannelVisibility } from '~/generated/graphql';
|
|
|
|
const StyledCardMedia = styled(SettingsAccountsVisibilityIcon)`
|
|
width: ${({ theme }) => theme.spacing(10)};
|
|
`;
|
|
|
|
export const onboardingSyncEmailsOptions = [
|
|
{
|
|
title: msg`Everything`,
|
|
description: msg`Your emails and events content will be shared with your team.`,
|
|
value: MessageChannelVisibility.SHARE_EVERYTHING,
|
|
cardMedia: (
|
|
<StyledCardMedia metadata="active" subject="active" body="active" />
|
|
),
|
|
},
|
|
{
|
|
title: msg`Subject and metadata`,
|
|
description: msg`Your email subjects and meeting titles will be shared with your team.`,
|
|
value: MessageChannelVisibility.SUBJECT,
|
|
cardMedia: (
|
|
<StyledCardMedia metadata="active" subject="active" body="inactive" />
|
|
),
|
|
},
|
|
{
|
|
title: msg`Metadata`,
|
|
description: msg`Only the timestamp & participants will be shared with your team.`,
|
|
value: MessageChannelVisibility.METADATA,
|
|
cardMedia: (
|
|
<StyledCardMedia metadata="active" subject="inactive" body="inactive" />
|
|
),
|
|
},
|
|
];
|