diff --git a/package.json b/package.json
index 1946722..d83a96a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "no-copy-frontend",
- "version": "0.21.0",
+ "version": "0.22.0",
"private": true,
"scripts": {
"dev": "next dev -p 2999",
diff --git a/src/app/[locale]/pages/marking-photo/page.tsx b/src/app/[locale]/pages/marking-photo/page.tsx
index f0f289c..963960e 100644
--- a/src/app/[locale]/pages/marking-photo/page.tsx
+++ b/src/app/[locale]/pages/marking-photo/page.tsx
@@ -3,6 +3,7 @@ import UploadSectionFile from '@/app/components/upload-section-file';
import { getAllowedFilesExtensions } from '@/app/actions/fileUpload';
import PageTitleColorFrame from '@/app/ui/page-title-color-frame';
import ProtectionStatistic from '@/app/ui/marking-page/new/protection-statistic';
+import ProtectionSummary from '@/app/ui/marking-page/protection-summary';
const data = [
{
diff --git a/src/app/ui/marking-page/new/protection-statistic.tsx b/src/app/ui/marking-page/new/protection-statistic.tsx
index dab0d3d..e00d297 100644
--- a/src/app/ui/marking-page/new/protection-statistic.tsx
+++ b/src/app/ui/marking-page/new/protection-statistic.tsx
@@ -70,21 +70,21 @@ export default function ProtectionStatistic({ fileType }: { fileType: string })
0
-
Видео защищено
+
{t(`${fileType}-protected`)}
0
-
Видео проверялось
+
{t(`${fileType}-checked`)}
{filesInfo?.totalSize ? convertBytes(filesInfo?.totalSize) : 0}
-
Занимают видео
+
{t(`${fileType}-occupy`)}
0
-
Найдено нарушений
+
{t('violations-found')}
)
diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.json
index a0318ae..5242c84 100644
--- a/src/i18n/messages/en.json
+++ b/src/i18n/messages/en.json
@@ -180,7 +180,17 @@
"table-description": "Table of all files",
"protected-image": "Protected images",
"protected-video": "Protected videos",
- "protected-audio": "Protected audio"
+ "protected-audio": "Protected audio",
+ "image-protected": "Images Protected",
+ "video-protected": "Videos Protected",
+ "audio-protected": "Audio Protected",
+ "image-checked": "Images Checked",
+ "video-checked": "Videos Checked",
+ "audio-checked": "Audio Checked",
+ "image-occupy": "Occupied by Images",
+ "video-occupy": "Occupied by Videos",
+ "audio-occupy": "Occupied by Audio",
+ "violations-found": "Violations found"
},
"Login-register-form": {
"and": "and",
diff --git a/src/i18n/messages/ru.json b/src/i18n/messages/ru.json
index e6ea473..2db57a8 100644
--- a/src/i18n/messages/ru.json
+++ b/src/i18n/messages/ru.json
@@ -180,7 +180,17 @@
"table-description": "Таблица всех файлов",
"protected-image": "Защищенные изображения",
"protected-video": "Защищенные видео",
- "protected-audio": "Защищенные аудио"
+ "protected-audio": "Защищенные аудио",
+ "image-protected": "Изображений защищено",
+ "video-protected": "Видео защищено",
+ "audio-protected": "Аудио защищено",
+ "image-checked": "Изображений проверялось",
+ "video-checked": "Видео проверялось",
+ "audio-checked": "Аудио проверялось",
+ "image-occupy": "Занимают изображения",
+ "video-occupy": "Занимают видео",
+ "audio-occupy": "Занимают аудио",
+ "violations-found": "Найдено нарушений"
},
"Login-register-form": {
"and": "и",