Continue Frontend localization (#9909)
Translation more content on the frontend
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import { SKELETON_LOADER_HEIGHT_SIZES } from '@/activities/components/SkeletonLoader';
|
||||
import { useTheme } from '@emotion/react';
|
||||
import styled from '@emotion/styled';
|
||||
import { Trans } from '@lingui/react/macro';
|
||||
import { ChangeEvent, ReactNode, useRef } from 'react';
|
||||
import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';
|
||||
import { AppTooltip, Avatar, AvatarType, IconComponent } from 'twenty-ui';
|
||||
@ -153,7 +154,7 @@ export const ShowPageSummaryCard = ({
|
||||
<StyledTitle isMobile={isMobile}>{title}</StyledTitle>
|
||||
{beautifiedCreatedAt && (
|
||||
<StyledDate isMobile={isMobile} id={dateElementId}>
|
||||
Added {beautifiedCreatedAt}
|
||||
<Trans>Added {beautifiedCreatedAt}</Trans>
|
||||
</StyledDate>
|
||||
)}
|
||||
<AppTooltip
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
import { MessageDescriptor } from '@lingui/core';
|
||||
import { IconComponent } from 'twenty-ui';
|
||||
|
||||
export type TableFieldMetadata<ItemType> = {
|
||||
fieldLabel: string;
|
||||
fieldLabel: MessageDescriptor;
|
||||
fieldName: keyof ItemType;
|
||||
fieldType: 'string' | 'number';
|
||||
align: 'left' | 'right';
|
||||
|
||||
Reference in New Issue
Block a user