Skip to content

Commit

Permalink
[Frontend] Titles on functional component pages have been updated.
Browse files Browse the repository at this point in the history
WIP - Adding Titles to pages

WIP - Updating Titles

WIP - Updating Titles for Functional Components only.

Updated Titles. Some class component pages have not been updated.

Revert "Updated Titles. Some class component pages have not been updated."

This reverts commit babb1cd.

Updated Titles. Some class component pages have not been updated.

Resolving Merge Conflicts

[frontend] Replaced Creation Floating Action Buttons for Cases

[frontend] Replaced Creation Floating Action Buttons for Observations

Fixed minor errors

Fixed duplicate issue.

Add translations and linting

Fix import issue from merge

Minor cleanup

Test commit

Formatting change

Add space to root again?

Add settings pages that are already functional

Add killChainPhases

Update translations

Add Narratives title

Translate narratives
  • Loading branch information
Bonsai8863 authored and VerboseCat committed Sep 6, 2024
1 parent 579e409 commit 732b9ce
Show file tree
Hide file tree
Showing 75 changed files with 630 additions and 4 deletions.
61 changes: 61 additions & 0 deletions opencti-platform/opencti-front/lang/front/de.json

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions opencti-platform/opencti-front/lang/front/en.json

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions opencti-platform/opencti-front/lang/front/es.json

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions opencti-platform/opencti-front/lang/front/fr.json

Large diffs are not rendered by default.

63 changes: 62 additions & 1 deletion opencti-platform/opencti-front/lang/front/ja.json

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions opencti-platform/opencti-front/lang/front/ko.json

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions opencti-platform/opencti-front/lang/front/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
"Activity and history": "活动和历史",
"Activity raw detail": "活动原始详情",
"ACTIVITY_MANAGER": "活动管理器",
"Activity: Alerting | Settings": "活动:提醒|设置",
"Activity: Configuration | Settings": "活动:配置|设置",
"Activity: Events | Settings": "活动:活动|设置",
"Add": "添加",
"Add a file": "添加文件",
"Add a group": "添加组",
Expand Down Expand Up @@ -109,6 +112,7 @@
"Additional mandatory attributes": "额外的强制属性",
"Admin": "管理员",
"Administrative areas": "管理区",
"Administrative Areas | Locations": "行政区域|地点",
"advanced": "高级",
"Advanced options": "高级选项",
"Advanced search": "高级搜索",
Expand Down Expand Up @@ -189,6 +193,7 @@
"Areas": "地域",
"Arsenal": "武器库",
"Artifacts": "工件",
"Artifacts | Observations": "制品|观察",
"As it happens": "当其发生时",
"Ask AI": "询问人工智能",
"Ask for knowledge enrichment": "请求知识丰富",
Expand All @@ -204,6 +209,7 @@
"Attack pattern courses of action": "攻击模式行动路线",
"Attack pattern usage": "攻击模式使用",
"Attack patterns": "攻击模式",
"Attack Patterns | Techniques": "攻击模式|技术",
"Attack patterns kill chain": "攻击模式杀伤链",
"Attribute": "属性",
"Attribute 'notifiers' of a trigger should have at least one notifier.": "触发器的属性 'notifiers' 应至少有一个通知者。",
Expand Down Expand Up @@ -266,6 +272,7 @@
"Browse the link": "浏览链接",
"Buffering: ": "缓冲:",
"Bulk creation not supported for this type": "该类型不支持批量创建",
"Bulk Search": "批次搜索",
"Bulk search": "批量搜索",
"Bundle content": "捆绑包内容",
"Bundle details": "捆绑包详情",
Expand All @@ -278,6 +285,7 @@
"CA certificate (base64)": "CA 证书(base64)",
"Campaign": "攻击活动",
"Campaigns": "攻击活动",
"Campaigns | Threats": "活动|威胁",
"can edit": "可以编辑",
"can manage": "可以管理",
"can view": "可以查看",
Expand Down Expand Up @@ -308,6 +316,7 @@
"Choose target": "选择目标",
"CISA KEV": "CISA KEV",
"Cities": "城市",
"Cities | Locations": "城市/地点",
"Citizenship": "国籍",
"City": "城市",
"Cleaning up this rule on the existing data": "正在清除现有数据上的此规则",
Expand Down Expand Up @@ -417,10 +426,12 @@
"Correlation view": "关联视图",
"Count": "总数",
"Countries": "国家/地区",
"Countries | Locations": "国家|地点",
"Country": "国家/地区",
"Country of Residence": "居住国家",
"Course of action": "应对措施",
"Courses of action": "应对措施",
"Courses of Action | Techniques": "行动路线|技巧",
"Courses of action view": "应对措施视图",
"Create": "创建",
"CREATE": "创建",
Expand Down Expand Up @@ -562,6 +573,11 @@
"Custom dashboard": "自定义仪表盘",
"Custom dashboards": "自定义仪表盘",
"Customization": "定制化",
"Customization: Decay Rules | Settings": "自定义:衰减规则|设置",
"Customization: Entity Types | Settings": "自定义:实体类型|设置",
"Customization: Notifiers | Settings": "自定义:通知器|设置",
"Customization: Retention | Settings": "自定义:保留|设置",
"Customization: Rules Engine | Settings": "自定义:规则引擎|设置",
"Customize scale": "定制规模",
"CVSS3 - Attack vector": "CVSS3 - 攻击向量",
"CVSS3 - Attack vector (AV)": "CVSS3 - 攻击向量 (AV)",
Expand All @@ -585,13 +601,15 @@
"Data": "数据",
"Data component": "数据组件",
"Data components": "数据组件",
"Data Components | Techniques": "数据组件|技术",
"Data curation": "数据管理",
"Data import": "数据导入",
"Data import and analyst workbenches": "数据导入和分析工作台",
"Data sharing": "数据共享",
"Data sharing configuration": "数据共享配置",
"Data source": "数据源",
"Data sources": "数据源",
"Data Sources | Techniques": "数据源|技术",
"Data type": "数据类型",
"Date": "日期",
"Date attribute": "日期属性",
Expand Down Expand Up @@ -901,6 +919,7 @@
"Entities": "实体",
"entities": "实体",
"Entities (one per line)": "实体(每行一个)",
"Entities | Data": "实体|数据",
"entities created": "创建的实体",
"Entities distribution": "实体分布",
"Entities history": "实体历史",
Expand Down Expand Up @@ -1059,6 +1078,7 @@
"Event_type": "事件类型",
"event_types": "事件类型",
"Events": "事件",
"Events | Entities": "事件|实体",
"Every 1 hour": "每1小时",
"Every 24 hours": "每24小时",
"Every data fetched from this synchronizer will be written as the only source of truth": "从该同步器获取的每个资料将写入作为唯一的事实来源",
Expand Down Expand Up @@ -1116,6 +1136,7 @@
"External ID": "外部ID",
"External references": "外部引用",
"External References": "外部参考",
"External References | Analyses": "外部参考|分析",
"External references | Analyses": "外部参考",
"External references files": "外部引用文件",
"External schedule": "外部日程",
Expand All @@ -1128,13 +1149,15 @@
"Favorite entities": "最喜欢的实体",
"Feedback": "反馈",
"Feedbacks": "反馈",
"Feedbacks | Cases": "反馈|案例",
"Field": "字段",
"Field type": "字段类型",
"File": "文件",
"File and associated external reference successfully removed": "文件和关联的外部引用已成功删除",
"File hash": "文件哈希",
"File hashes": "文件哈希",
"File indexing": "文件索引",
"File Indexing | Settings": "文件索引|设置",
"File indexing is not started.": "文件索引未启动。",
"File indexing needs one of these requirements": "文件索引制作需要满足以下条件之一。",
"File information": "文件信息",
Expand All @@ -1156,6 +1179,7 @@
"Files & history": "文件 & 历史",
"Files count": "文件数",
"Files search": "文件搜索",
"Files Search | Advanced Search": "文件搜索|高级搜索",
"Files size": "文件大小",
"Files volumes in S3": "S3 中的文件卷",
"Filigran Enterprise agreement": "Filigran 企业协议",
Expand Down Expand Up @@ -1330,9 +1354,11 @@
"Incident response actions": "インシデント対応アクション",
"Incident response type": "事件响应类型",
"Incident responses": "事件响应",
"Incident Responses | Cases": "事件响应|个案",
"Incident type": "事件类型",
"incident_type": "事件类型",
"Incidents": "安全事件",
"Incidents | Events": "事件|事件",
"Include files not related to any knowledge (data import)": "包含与任何知识无关的文件(数据导入)",
"Include headers in the feed": "在提要中包含标题",
"Include inferences": "包括推论",
Expand All @@ -1352,12 +1378,14 @@
"indicator_types": "指标类型",
"Indicator_types": "指标类型",
"Indicators": "攻击指标",
"Indicators | Observations": "指标|观察结果",
"Indicators composed with this observable": "由该可观测数据组成的攻击指标",
"indicators currently impacted by this rule": "目前受此规则影响的指标",
"Indicators/observables generation": "指标/可观察的生成",
"Individual": "个体",
"individual": "个体",
"Individuals": "个体",
"Individuals | Entities": "个人 实体",
"Inference explanation": "推理解释",
"Inference rules": "推理规则",
"Inferences": "引用",
Expand All @@ -1377,9 +1405,11 @@
"infrastructure-architect": "基础设施架构师",
"infrastructure-operator": "基础设施操作员",
"Infrastructures": "基础设施",
"Infrastructures | Observations": "基础设施|观察",
"Ingested entities": "引入的实体",
"Ingestion": "接入",
"INGESTION_MANAGER": "提取管理器",
"Ingestion: CSV Feeds | Data": "导入: CSV源|数据",
"Initial score": "初始分数",
"Initiator": "发起者",
"innovator": "创新者",
Expand All @@ -1399,6 +1429,7 @@
"Intrusion set": "入侵集合",
"Intrusion sets": "入侵集合",
"Intrusion Sets": "入侵集合",
"Intrusion Sets | Threats": "入侵集|威胁",
"Investigate": "调查",
"Investigations": "调查",
"IPv4 address": "IPv4地址",
Expand Down Expand Up @@ -1435,6 +1466,7 @@
"Knowledge generation": "知识生成",
"Knowledge graph": "知识图谱",
"Knowledge search": "知识搜索",
"Knowledge Search | Advanced Search": "知识搜索|高级搜索",
"Knowledge update (except indicators & observables)": "知识更新(攻击指标和可观测数据除外)",
"Known as": "被称为",
"Known observed eye color(s) for the Identity.": "已知观察到的身份的眼睛颜色。",
Expand Down Expand Up @@ -1573,6 +1605,7 @@
"Malicious": "恶意",
"Maliciousness": "恶意行为",
"Malware": "恶意软件",
"Malware | Arsenal": "恶意软件|阿森纳",
"Malware analyses": "恶意软件分析",
"Malware Analyses | Analyses": "恶意软件分析",
"Malware analyses run on this observable": "对该观察点进行的恶意软件分析",
Expand Down Expand Up @@ -1701,6 +1734,7 @@
"Name must be at least 2 characters": "名称必须至少为2个字符",
"Narrative": "叙述",
"Narratives": "叙述",
"Narratives | Techniques": "叙述|技巧",
"Nationality": "国籍",
"Navigation color": "导航颜色",
"Nested objects": "嵌套对象",
Expand Down Expand Up @@ -1846,6 +1880,7 @@
"observable(s)": "可观测数据",
"observableName": "名称",
"Observables": "可观测数据",
"Observables | Observations": "Observables |观察",
"Observables and indicators conversion": "可观测数据和指标转换",
"observables created": "创建的观测值",
"Observables distribution": "可观测数据分布",
Expand All @@ -1854,6 +1889,7 @@
"observables will be created": "将创建的观测值",
"Observations": "可观测数据",
"Observed data": "可观测数据",
"Observed Data | Events": "观察数据|事件",
"Observed datas": "可观测数据",
"Occurrences": "出现次数",
"of": "",
Expand Down Expand Up @@ -1904,6 +1940,7 @@
"Organization_ids": "组织",
"organizational-gain": "组织收益",
"Organizations": "组织",
"Organizations | Entities": "组织|实体",
"Organizations admin": "组织管理",
"Organizations restriction": "组织限制",
"Organizations sharing": "共享组织",
Expand All @@ -1928,6 +1965,7 @@
"Owner": "所有者",
"Paper color": "纸张颜色",
"Parameters": "参数",
"Parameters | Settings": "参数(设置)",
"Parent attack patterns": "父攻击模式",
"Parent narratives": "父叙述",
"Parent organizations": "父组织",
Expand Down Expand Up @@ -2002,6 +2040,7 @@
"Please, verify the validity of the selected CSV mapper for the given URL.": "请验证给定 URL 所选 CSV 映射器的有效性。",
"Policies": "政策",
"Positions": "位置",
"Positions | Locations": "位置|位置",
"Postal code": "邮编",
"potential duplicate entities": "潜在重复实体",
"Potential duplicate entities": "潜在重复实体",
Expand All @@ -2019,6 +2058,8 @@
"Processed time": "处理时间",
"Processing": "处理",
"Processing status": "处理状态",
"Processing: Automation | Data": "处理:自动化|数据",
"Processing: CSV Mappers | Data": "处理: CSV映射器|数据",
"Product": "产品",
"Profile": "配置",
"Progress": "进展",
Expand Down Expand Up @@ -2072,6 +2113,7 @@
"regardingOf": "关于",
"Region": "区域",
"Regions": "区域",
"Regions | Locations": "区域|位置",
"Regions, countries and cities": "区域、国家/地区和城市",
"Registered connectors": "已注册连接器",
"Registration": "注册",
Expand Down Expand Up @@ -2192,6 +2234,7 @@
"relationship_values": "",
"relationship_variant-of": "变体",
"Relationships": "关系",
"Relationships | Data": "关系|数据",
"Relationships created": "建立的关系",
"Relationships distribution": "关系分布",
"Relationships list": "关系列表",
Expand Down Expand Up @@ -2238,7 +2281,9 @@
"Request for takedown date": "请求删除日期",
"Request for takedown type": "请求删除类型",
"Requests for information": "索取资料",
"Requests for Information | Cases": "信息请求|案例",
"Requests for takedown": "删除请求",
"Requests for Takedown | Cases": "移除请求|案例",
"Required headers": "必填标头",
"Required permissions": "所需权限",
"Requirements": "必要条件",
Expand Down Expand Up @@ -2319,6 +2364,9 @@
"Sectors": "部门",
"Sectors and organizations": "部门和组织",
"Security": "安全",
"Security: Organizations | Settings": "安全:组织|设置",
"Security: Policies | Settings": "安全:策略|设置",
"Security: Users | Settings": "安全:用户|设置",
"See all entities created by user": "查看用户创建的所有实体",
"See all relationships created by user": "查看用户创建的所有关系",
"Select": "选择",
Expand Down Expand Up @@ -2370,6 +2418,7 @@
"sightedBy": "目击",
"Sighting": "目击",
"Sightings": "目击",
"Sightings | Events": "目击|活动",
"Sightings distribution": "目击分布",
"sigma": "SIGMA",
"Sign in": "登录",
Expand Down Expand Up @@ -2466,13 +2515,15 @@
"Sunday": "星期日",
"support package": "支持包",
"Support packages": "支持软件包",
"Support Packages | Settings": "支持包|设置",
"suricata": "Suricata",
"SYNC_MANAGER": "同步管理器",
"Synchronization": "同步",
"Synthesis of knowledge": "知识综合",
"System": "系统",
"System Banner Configuration": "系统横幅配置",
"Systems": "系统",
"Systems | Entities": "系统|实体",
"Table": "",
"Table (top 10)": "表(前10个)",
"Tactical": "战术",
Expand Down Expand Up @@ -2512,6 +2563,7 @@
"Task start time": "任务开始时间",
"TASK_MANAGER": "后台任务管理器",
"Tasks": "任务",
"Tasks | Cases": "任务|案例",
"TAXII 2.1": "TAXII 2.1",
"TAXII Collection": "TAXII 系列",
"TAXII collections": "TAXII集合",
Expand All @@ -2520,6 +2572,11 @@
"TAXII server URL": "TAXII 服务器 URL",
"TAXII version": "TAXII 版本",
"Taxonomies": "分类法",
"Taxonomies: Case Templates | Settings": "分类:个案模板|设置",
"Taxonomies: Kill Chain Phases | Settings": "分类:杀伤链阶段|设置",
"Taxonomies: Labels | Settings": "分类:标签|设置",
"Taxonomies: Status Templates | Settings": "分类:状态模板|设置",
"Taxonomies: Vocabularies | Settings": "分类:词汇|设置",
"team": "团队",
"Technical": "技术",
"Technical (payloads)": "技术(有效载荷)",
Expand Down Expand Up @@ -2632,7 +2689,9 @@
"Threat actor types": "威胁主体类型",
"Threat actors": "威胁行为者",
"Threat actors (group)": "威胁行为者组",
"Threat Actors (Group) | Threats": "威胁行为者(组) |威胁",
"Threat actors (individual)": "威胁个体",
"Threat Actors (Individual) | Threats": "威胁行为者(个人) |威胁",
"Threat hunting techniques": "威胁狩猎技术",
"Threats": "威胁",
"Threats targeting": "威胁针对",
Expand Down Expand Up @@ -2669,6 +2728,7 @@
"Tool usage": "工具用法",
"Tool version": "工具版本",
"Tools": "攻击工具",
"Tools | Arsenal": "工具|阿森纳",
"Tools versions": "工具版本",
"Top 10": "前十名",
"Top 10 active entities (3 last months)": "10大活跃实体(最近3个月)",
Expand Down Expand Up @@ -2913,6 +2973,7 @@
"Vocabularies": "词汇",
"Volume indexed": "卷索引",
"Vulnerabilities": "漏洞",
"Vulnerabilities | Arsenal": "漏洞|阿森纳",
"Vulnerability": "漏洞",
"Vulnerability usage": "漏洞使用",
"wait": "等待",
Expand Down
1 change: 0 additions & 1 deletion opencti-platform/opencti-front/src/private/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ const computeBannerSettings = (settings: RootSettings$data) => {
sessionLimit,
};
};

interface RootComponentProps {
queryRef: PreloadedQuery<RootPrivateQuery>;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import { emptyFilterGroup, useBuildEntityTypeBasedFilterContext, useGetDefaultFi
import { decodeSearchKeyword } from '../../utils/SearchUtils';
import DataTable from '../../components/dataGrid/DataTable';
import { UsePreloadedPaginationFragment } from '../../utils/hooks/usePreloadedPaginationFragment';
import { useFormatter } from '../../components/i18n';
import useConnectedDocumentModifier from '../../utils/hooks/useConnectedDocumentModifier';

const LOCAL_STORAGE_KEY = 'search';

Expand Down Expand Up @@ -185,6 +187,9 @@ const Search = () => {
const {
platformModuleHelpers: { isRuntimeFieldEnable },
} = useAuth();
const { t_i18n } = useFormatter();
const { setTitle } = useConnectedDocumentModifier();
setTitle(t_i18n('Knowledge Search | Advanced Search'));
const { keyword } = useParams() as { keyword: string };

const searchTerm = decodeSearchKeyword(keyword);
Expand Down
Loading

0 comments on commit 732b9ce

Please sign in to comment.