add translate for ProtectionStatistic
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "no-copy-frontend",
|
||||
"version": "0.21.0",
|
||||
"version": "0.22.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 2999",
|
||||
|
||||
@@ -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 = [
|
||||
{
|
||||
|
||||
@@ -70,21 +70,21 @@ export default function ProtectionStatistic({ fileType }: { fileType: string })
|
||||
<div className="protection-statistic">
|
||||
<div className="protection-statistic-stat-card">
|
||||
<div className="protection-statistic-stat-number">0</div>
|
||||
<div className="protection-statistic-stat-label">Видео защищено</div>
|
||||
<div className="protection-statistic-stat-label">{t(`${fileType}-protected`)}</div>
|
||||
</div>
|
||||
<div className="protection-statistic-stat-card">
|
||||
<div className="protection-statistic-stat-number">0</div>
|
||||
<div className="protection-statistic-stat-label">Видео проверялось</div>
|
||||
<div className="protection-statistic-stat-label">{t(`${fileType}-checked`)}</div>
|
||||
</div>
|
||||
<div className="protection-statistic-stat-card">
|
||||
<div className="protection-statistic-stat-number">
|
||||
{filesInfo?.totalSize ? convertBytes(filesInfo?.totalSize) : 0}
|
||||
</div>
|
||||
<div className="protection-statistic-stat-label">Занимают видео</div>
|
||||
<div className="protection-statistic-stat-label">{t(`${fileType}-occupy`)}</div>
|
||||
</div>
|
||||
<div className="protection-statistic-stat-card">
|
||||
<div className="protection-statistic-stat-number">0</div>
|
||||
<div className="protection-statistic-stat-label">Найдено нарушений</div>
|
||||
<div className="protection-statistic-stat-label">{t('violations-found')}</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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": "и",
|
||||
|
||||
Reference in New Issue
Block a user