add translate for ProtectionStatistic
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user