Skip to content

Commit

Permalink
Translate antd into Russian
Browse files Browse the repository at this point in the history
  • Loading branch information
levil664 committed Jul 18, 2024
1 parent 41ad5fe commit 146e427
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions apps/schools/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import Head from 'next/head'
import { OrganizationProvider } from '@domains/organization/providers/organizationProvider'
import { BaseLayout } from '@domains/common/components/containers/BaseLayoutComponents/BaseLayout'
import { LayoutContextProvider } from '@domains/user/providers/baseLayoutProvider'
import { message } from 'antd'
import { ConfigProvider, message } from 'antd'
import ru_RU from 'antd/lib/locale/ru_RU'
import { EventBusProvider } from '@domains/common/providers/eventBusProvider'
import { AppRoutes, RoutePath } from '@domains/common/constants/routerEnums'

Expand Down Expand Up @@ -49,17 +50,19 @@ function MyApp({ Component, pageProps }: CustomAppProps): JSX.Element {
<Provider store={store}>
<EventBusProvider>
<AuthProvider>
<LayoutContextProvider>
<OrganizationProvider>
<Head>
<title>Открытые школы</title>
<link rel='icon' href='/icons/logo.svg' sizes='any' />
</Head>
<LayoutComponent>
<Component {...pageProps} />
</LayoutComponent>
</OrganizationProvider>
</LayoutContextProvider>
<ConfigProvider locale={ru_RU}>
<LayoutContextProvider>
<OrganizationProvider>
<Head>
<title>Открытые школы</title>
<link rel='icon' href='/icons/logo.svg' sizes='any' />
</Head>
<LayoutComponent>
<Component {...pageProps} />
</LayoutComponent>
</OrganizationProvider>
</LayoutContextProvider>
</ConfigProvider>
</AuthProvider>
</EventBusProvider>
</Provider>
Expand Down

0 comments on commit 146e427

Please sign in to comment.