Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

Merge branch 'feat/datacenter' into feat/datacenter-i18n

JimmFlya2ce1dd9248f
diff --cc packages/app/src/components/workspace-modal/WorkspaceCard.tsx
index 9bc523e2fb,f3177fbafe..66795f22c5
--- a/packages/app/src/components/workspace-modal/WorkspaceCard.tsx
+++ b/packages/app/src/components/workspace-modal/WorkspaceCard.tsx
@@@ -8,8 -8,7 +8,8 @@@ import { PublishIcon, UsersIcon } from
import { WorkspaceUnit } from '@affine/datacenter';
import { useAppState } from '@/providers/app-state-provider';
import { StyleWorkspaceInfo, StyleWorkspaceTitle, StyledCard } from './styles';
- import { Wrapper } from '@/ui/layout';
+import { useTranslation } from '@affine/i18n';
+ import { FlexWrapper } from '@/ui/layout';
export const WorkspaceCard = ({
workspaceData,
diff --cc packages/app/src/components/workspace-modal/index.tsx
index af14025d47,f29c1a1896..1363763c36
--- a/packages/app/src/components/workspace-modal/index.tsx
+++ b/packages/app/src/components/workspace-modal/index.tsx
@@@ -101,11 -103,11 +101,11 @@@ export const WorkspaceModal = ({ open,
<StyleWorkspaceAdd className="add-icon">
<AddIcon fontSize={18} />
</StyleWorkspaceAdd>
- </Wrapper>
+ </FlexWrapper>
<StyleWorkspaceInfo>
- <StyleWorkspaceTitle>New workspace</StyleWorkspaceTitle>
- <p>Crete or import</p>
+ <StyleWorkspaceTitle>{t('New Workspace')}</StyleWorkspaceTitle>
+ <p>{t('Create Or Import')}</p>
</StyleWorkspaceInfo>
</StyledCard>
</StyledModalContent>