From 146e42744be88824c9d0f12aca87986e4cec623a Mon Sep 17 00:00:00 2001
From: lev tarasov <56757711+levil664@users.noreply.github.com>
Date: Thu, 18 Jul 2024 16:44:19 +0500
Subject: [PATCH 1/2] Translate antd into Russian
---
apps/schools/pages/_app.tsx | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/apps/schools/pages/_app.tsx b/apps/schools/pages/_app.tsx
index e474bc22..71ee6594 100644
--- a/apps/schools/pages/_app.tsx
+++ b/apps/schools/pages/_app.tsx
@@ -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'
@@ -49,17 +50,19 @@ function MyApp({ Component, pageProps }: CustomAppProps): JSX.Element {
-
-
-
- Открытые школы
-
-
-
-
-
-
-
+
+
+
+
+ Открытые школы
+
+
+
+
+
+
+
+
From 0915ffcefe3e9e9cab9c48935291884b68b067ce Mon Sep 17 00:00:00 2001
From: lev tarasov <56757711+levil664@users.noreply.github.com>
Date: Thu, 18 Jul 2024 16:44:38 +0500
Subject: [PATCH 2/2] prettier
---
.../user/components/profile/profileEdit/index.tsx | 4 ++--
.../user/components/profile/profileInfo/index.tsx | 13 +++++++------
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/apps/schools/domains/user/components/profile/profileEdit/index.tsx b/apps/schools/domains/user/components/profile/profileEdit/index.tsx
index bfb1756e..7ccfc3da 100644
--- a/apps/schools/domains/user/components/profile/profileEdit/index.tsx
+++ b/apps/schools/domains/user/components/profile/profileEdit/index.tsx
@@ -63,7 +63,7 @@ export function ProfileEdit() {
required={true}
label={
- * Ф.И.О.
+ * Ф.И.О.
}
name={USER_NAME}
@@ -78,7 +78,7 @@ export function ProfileEdit() {
required={true}
label={
- * Email сотрудника
+ * Email сотрудника
}
name={USER_EMAIL}
diff --git a/apps/schools/domains/user/components/profile/profileInfo/index.tsx b/apps/schools/domains/user/components/profile/profileInfo/index.tsx
index 78e0a7b7..1c8f00ab 100644
--- a/apps/schools/domains/user/components/profile/profileInfo/index.tsx
+++ b/apps/schools/domains/user/components/profile/profileInfo/index.tsx
@@ -40,11 +40,7 @@ export function ProfileInfo() {
) : (
results.data?.results.map((employee) => (
-
+
router.push(RoutePath[AppRoutes.USER_EDIT])}>
+