Progress on translations (#10142)

This commit is contained in:
Félix Malfait
2025-02-12 08:13:29 +01:00
committed by GitHub
parent b55a366e2f
commit 2c0f66dab6
104 changed files with 3521 additions and 552 deletions

View File

@ -16,9 +16,9 @@ import { useTabList } from '@/ui/layout/tab/hooks/useTabList';
import { isAdvancedModeEnabledState } from '@/ui/navigation/navigation-drawer/states/isAdvancedModeEnabledState';
import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled';
import styled from '@emotion/styled';
import { t } from '@lingui/core/macro';
import { useRecoilState, useRecoilValue } from 'recoil';
import { useLingui } from '@lingui/react/macro';
import { isDefined } from 'twenty-shared';
import {
Button,
@ -55,6 +55,7 @@ const StyledTitleContainer = styled.div`
export const SettingsObjectDetailPage = () => {
const navigateApp = useNavigateApp();
const { t } = useLingui();
const { objectNamePlural = '' } = useParams();
const { findActiveObjectMetadataItemByNamePlural } =
@ -144,10 +145,10 @@ export const SettingsObjectDetailPage = () => {
}
links={[
{
children: 'Workspace',
children: t`Workspace`,
href: getSettingsPath(SettingsPath.Workspace),
},
{ children: 'Objects', href: getSettingsPath(SettingsPath.Objects) },
{ children: t`Objects`, href: getSettingsPath(SettingsPath.Objects) },
{
children: objectMetadataItem.labelPlural,
},
@ -156,7 +157,7 @@ export const SettingsObjectDetailPage = () => {
activeTabId === SETTINGS_OBJECT_DETAIL_TABS.TABS_IDS.FIELDS && (
<UndecoratedLink to={'./new-field/select'}>
<Button
title="New Field"
title={t`New Field`}
variant="primary"
size="small"
accent="blue"