Add missing translations (#10414)
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>
This commit is contained in:
@ -11,6 +11,7 @@ import { ReactElement, useMemo } from 'react';
|
||||
import { Controller, useFormContext } from 'react-hook-form';
|
||||
import { H2Title, IconComponent, IconKey, Section } from 'twenty-ui';
|
||||
import { IdentityProviderType } from '~/generated/graphql';
|
||||
import { t } from '@lingui/core/macro';
|
||||
|
||||
const StyledInputsContainer = styled.div`
|
||||
display: grid;
|
||||
@ -79,7 +80,7 @@ export const SettingsSSOIdentitiesProvidersForm = () => {
|
||||
return (
|
||||
<SettingsPageContainer>
|
||||
<Section>
|
||||
<H2Title title="Name" description="The name of your connection" />
|
||||
<H2Title title={t`Name`} description={t`The name of your connection`} />
|
||||
<StyledInputsContainer>
|
||||
<Controller
|
||||
name="name"
|
||||
@ -87,7 +88,7 @@ export const SettingsSSOIdentitiesProvidersForm = () => {
|
||||
render={({ field: { onChange, value } }) => (
|
||||
<TextInput
|
||||
autoComplete="off"
|
||||
label="Name"
|
||||
label={t`Name`}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
fullWidth
|
||||
@ -99,8 +100,8 @@ export const SettingsSSOIdentitiesProvidersForm = () => {
|
||||
</Section>
|
||||
<Section>
|
||||
<H2Title
|
||||
title="Type"
|
||||
description="Choose between OIDC and SAML protocols"
|
||||
title={t`Type`}
|
||||
description={t`Choose between OIDC and SAML protocols`}
|
||||
/>
|
||||
<StyledInputsContainer>
|
||||
<Controller
|
||||
|
||||
@ -53,7 +53,7 @@ export const SettingsSSOOIDCForm = () => {
|
||||
<StyledLinkContainer>
|
||||
<TextInput
|
||||
readOnly={true}
|
||||
label="Authorized URI"
|
||||
label={t`Authorized URI`}
|
||||
value={authorizedUrl}
|
||||
fullWidth
|
||||
/>
|
||||
@ -63,7 +63,7 @@ export const SettingsSSOOIDCForm = () => {
|
||||
Icon={IconCopy}
|
||||
title={t`Copy`}
|
||||
onClick={() => {
|
||||
enqueueSnackBar('Authorized Url copied to clipboard', {
|
||||
enqueueSnackBar(t`Authorized URL copied to clipboard`, {
|
||||
variant: SnackBarVariant.Success,
|
||||
icon: <IconCopy size={theme.icon.size.md} />,
|
||||
duration: 2000,
|
||||
@ -111,7 +111,7 @@ export const SettingsSSOOIDCForm = () => {
|
||||
render={({ field: { onChange, value } }) => (
|
||||
<TextInput
|
||||
autoComplete="off"
|
||||
label="Client ID"
|
||||
label={t`Client ID`}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
fullWidth
|
||||
@ -126,7 +126,7 @@ export const SettingsSSOOIDCForm = () => {
|
||||
<TextInput
|
||||
autoComplete="off"
|
||||
type="password"
|
||||
label="Client Secret"
|
||||
label={t`Client Secret`}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
fullWidth
|
||||
@ -140,7 +140,7 @@ export const SettingsSSOOIDCForm = () => {
|
||||
render={({ field: { onChange, value } }) => (
|
||||
<TextInput
|
||||
autoComplete="off"
|
||||
label="Issuer URI"
|
||||
label={t`Issuer URI`}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
fullWidth
|
||||
|
||||
Reference in New Issue
Block a user