From dea735609f5907332b3b21b08797e7cd6ddff241 Mon Sep 17 00:00:00 2001 From: Samuel Hassine Date: Sun, 17 Dec 2023 10:12:19 +0100 Subject: [PATCH] [frontend] Translation for mime types --- .../opencti-front/src/utils/Localization.js | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/opencti-platform/opencti-front/src/utils/Localization.js b/opencti-platform/opencti-front/src/utils/Localization.js index 3c47cce13d7c..546e4da1eec8 100644 --- a/opencti-platform/opencti-front/src/utils/Localization.js +++ b/opencti-platform/opencti-front/src/utils/Localization.js @@ -2226,6 +2226,8 @@ const i18n = { 'text/plain': 'TXT', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'XLSX', 'application/vnd.ms-excel': 'XLS', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'DOCX', + 'application/vnd.oasis.opendocument.text': 'ODT', 'text/html': 'HTML', 'Workflow of': 'Flujo de trabajo de', 'Create a status': 'Crear un estado', @@ -4596,6 +4598,8 @@ const i18n = { 'text/plain': 'TXT', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'XLSX', 'application/vnd.ms-excel': 'XLS', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'DOCX', + 'application/vnd.oasis.opendocument.text': 'ODT', 'text/html': 'HTML', 'Workflow of': 'Flux de travail de', 'Create a status': 'Créer un statut', @@ -6875,6 +6879,14 @@ const i18n = { HISTORY_MANAGER: 'ヒストリーマネージャ', INGESTION_MANAGER: 'インジェストマネージャー', FILE_INDEX_MANAGER: 'ファイル索引マネージャー', + 'text/csv': 'CSV', + 'application/pdf': 'PDF', + 'text/plain': 'TXT', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'XLSX', + 'application/vnd.ms-excel': 'XLS', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'DOCX', + 'application/vnd.oasis.opendocument.text': 'ODT', + 'text/html': 'HTML', 'Workflow of': 'ワークフロー', 'Create a status': 'ステータスの作成', 'Update a status': 'ステータスを更新する', @@ -9021,6 +9033,14 @@ const i18n = { HISTORY_MANAGER: '历史经理', INGESTION_MANAGER: '摄取管理器', FILE_INDEX_MANAGER: '文件索引管理器', + 'text/csv': 'CSV', + 'application/pdf': 'PDF', + 'text/plain': 'TXT', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'XLSX', + 'application/vnd.ms-excel': 'XLS', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'DOCX', + 'application/vnd.oasis.opendocument.text': 'ODT', + 'text/html': 'HTML', 'Workflow of': '的工作流程', 'Create a status': '创建状态', 'Update a status': '更新状态', @@ -9586,6 +9606,8 @@ const i18n = { 'text/plain': 'TXT', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'XLSX', 'application/vnd.ms-excel': 'XLS', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'DOCX', + 'application/vnd.oasis.opendocument.text': 'ODT', 'text/html': 'HTML', 'suggestion_threats-indicators': 'Create `indicates` relationships between indicators and the selected threat, then add all relations to the container.',