diff --git a/src/app/ui/search/searched-user-files-list.tsx b/src/app/ui/search/searched-user-files-list.tsx
index 67b4bb0..42a104f 100644
--- a/src/app/ui/search/searched-user-files-list.tsx
+++ b/src/app/ui/search/searched-user-files-list.tsx
@@ -74,16 +74,16 @@ export function SearchedUserFilesList({ list, allowedExtensions }: { list: FileI
className="file-info-card"
>
-
Информация о файле
+ {t('file-information')}
- ID в системе:
+ {t('id-in-the-system')}:
{e.supportId ? e.supportId : '#'}
- Дата загрузки:
+ {t('upload-date')}:
{e.uploadDate ? formatDate(e.uploadDate) : '#'}
@@ -91,13 +91,13 @@ export function SearchedUserFilesList({ list, allowedExtensions }: { list: FileI
- Размер файла:
+ {t('file-size')}:
{convertBytes(e.fileSize)}
-
Статус защиты:
+
{t('protection-status')}:
{e.status ? t(e.status) : '#'}
@@ -117,9 +117,9 @@ export function SearchedUserFilesList({ list, allowedExtensions }: { list: FileI
className="user-file-search-results"
>
-
Результаты поиска
+
{t('search-results-title')}
- Найдено файлов: {list.length}
+ {t('files-found', { count: list.length })}
- Загружен: {e.uploadDate ? formatDate(e.uploadDate) : '#'} •
- Размер: {convertBytes(e.fileSize)}
+ {t('loaded')}: {e.uploadDate ? formatDate(e.uploadDate) : '#'} • {t('size')} : {convertBytes(e.fileSize)}
- {e.similarityLevel}
+ {t(e.similarityLevel)}
- {e.status}
+ {t(e.status)}
@@ -178,7 +177,7 @@ export function SearchedUserFilesList({ list, allowedExtensions }: { list: FileI
}}
>
- Просмотр
+ {t('view')}
diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.json
index 21e051b..dfca2b2 100644
--- a/src/i18n/messages/en.json
+++ b/src/i18n/messages/en.json
@@ -279,7 +279,14 @@
"request-date": "Request date",
"user-not-have-tokens-for-protect": "The user does not have any tokens for protection.",
"active": "Active",
- "not-active": "Not active"
+ "not-active": "Not active",
+ "loaded": "Loaded",
+ "DUPLICATE": "DUPLICATE",
+ "SIMILARITY": "SIMILARITY",
+ "DIFFERENT": "DIFFERENT",
+ "file-information": "File information",
+ "id-in-the-system": "ID in the system",
+ "protection-status": "Protection status"
},
"Login-register-form": {
"and": "and",
diff --git a/src/i18n/messages/ru.json b/src/i18n/messages/ru.json
index b01ee2e..a9d269d 100644
--- a/src/i18n/messages/ru.json
+++ b/src/i18n/messages/ru.json
@@ -279,7 +279,14 @@
"request-date": "Дата запроса",
"user-not-have-tokens-for-protect": "У пользователя нет токенов для защиты",
"active": "Активен",
- "not-active": "Не активен"
+ "not-active": "Не активен",
+ "loaded": "Загружен",
+ "DUPLICATE": "ДУБЛИКАТ",
+ "SIMILARITY": "СХОДСТВО",
+ "DIFFERENT": "ДРУГОЙ",
+ "file-information": "Информация о файле",
+ "id-in-the-system": "ID в системе",
+ "protection-status": "Статус защиты"
},
"Login-register-form": {
"and": "и",