From 7bf09222b6a69d53d57ea70744a528f8fa8c5292 Mon Sep 17 00:00:00 2001 From: cn-kali-team Date: Tue, 5 Mar 2024 18:38:36 +0800 Subject: [PATCH] law --- nvd-yew/i18n.json | 2 +- nvd-yew/i18n.yaml | 32 +++++++++++++++++++++++++++++++- nvd-yew/src/layout/footer.rs | 5 +++-- nvd-yew/src/layout/main.rs | 2 +- nvd-yew/src/layout/nav.rs | 2 +- 5 files changed, 37 insertions(+), 6 deletions(-) diff --git a/nvd-yew/i18n.json b/nvd-yew/i18n.json index d721377..b63d643 100644 --- a/nvd-yew/i18n.json +++ b/nvd-yew/i18n.json @@ -1 +1 @@ -{"Access Complexity":{"zh":"访问复杂度"},"Access Vector":{"zh":"访问途径"},"Attack Complexity":{"zh":"攻击复杂度"},"Attack Vector":{"zh":"攻击途径"},"Authentication":{"zh":"认证"},"Availability Impact":{"zh":"可用性影响度"},"CVE":{"zh":"CVE编号"},"CVSS":{"zh":"评分"},"CWE":{"zh":"弱点"},"Comments":{"zh":"评论"},"Confidentiality Impact":{"zh":"机密性影响度"},"Configurations":{"zh":"影响组件"},"Count":{"zh":"条"},"Entries":{"zh":"共"},"Home":{"zh":"主页"},"Integrity Impact":{"zh":"完整性影响度"},"KnowledgeBase":{"zh":"知识库"},"Lang":{"zh":"语言"},"Link":{"zh":"链接"},"Match":{"zh":"影响版本"},"Meta":{"zh":"元数据"},"Name":{"zh":"名称"},"Next":{"zh":"下一页"},"Operator":{"zh":"逻辑"},"Path":{"zh":"路径"},"Prev":{"zh":"上一页"},"Privileges Required":{"zh":"权限要求"},"Products":{"zh":"产品"},"References":{"zh":"参考"},"Resource":{"zh":"资源"},"Scope":{"zh":"作用域属性"},"Show":{"zh":"展示"},"Source Code":{"zh":"源码"},"Sponsor":{"zh":"赞助"},"Tags":{"zh":"标签"},"To":{"zh":"到"},"Updated":{"zh":"更新时间"},"User Interaction":{"zh":"用户交互"},"Vendors":{"zh":"厂商"},"Verified":{"zh":"是否已验证"},"Weaknesses":{"zh":"弱点"}} \ No newline at end of file +{"Access Complexity":{"zh":"访问复杂度"},"Access Vector":{"zh":"访问途径"},"AdjacentNetwork":{"zh":"相邻网络"},"Attack Complexity":{"zh":"攻击复杂度"},"Attack Vector":{"zh":"攻击途径"},"Authentication":{"zh":"认证"},"Availability Impact":{"zh":"可用性影响度"},"CVE":{"zh":"CVE编号"},"CVSS":{"zh":"评分"},"CWE":{"zh":"弱点"},"Changed":{"zh":"更改"},"Comments":{"zh":"评论"},"Complete":{"zh":"完全"},"Confidentiality Impact":{"zh":"机密性影响度"},"Configurations":{"zh":"影响组件"},"Count":{"zh":"条"},"Entries":{"zh":"共"},"High":{"zh":"高"},"Home":{"zh":"主页"},"Integrity Impact":{"zh":"完整性影响度"},"KnowledgeBase":{"zh":"知识库"},"Lang":{"zh":"语言"},"Link":{"zh":"链接"},"Local":{"zh":"本地网络"},"Low":{"zh":"低"},"Match":{"zh":"影响版本"},"Medium":{"zh":"中"},"Meta":{"zh":"元数据"},"Multiple":{"zh":"多个"},"Name":{"zh":"名称"},"Network":{"zh":"网络"},"Next":{"zh":"下一页"},"None":{"zh":"无"},"Operator":{"zh":"逻辑"},"Partial":{"zh":"部分"},"Path":{"zh":"路径"},"Physical":{"zh":"物理"},"Prev":{"zh":"上一页"},"Privileges Required":{"zh":"权限要求"},"Products":{"zh":"产品"},"References":{"zh":"参考"},"Required":{"zh":"需要"},"Resource":{"zh":"资源"},"Scope":{"zh":"作用域属性"},"Show":{"zh":"展示"},"Single":{"zh":"单个"},"Source Code":{"zh":"源码"},"Sponsor":{"zh":"赞助"},"Tags":{"zh":"标签"},"To":{"zh":"到"},"Unchanged":{"zh":"未更改"},"Updated":{"zh":"更新时间"},"User Interaction":{"zh":"用户交互"},"Vendors":{"zh":"厂商"},"Verified":{"zh":"是否已验证"},"Weaknesses":{"zh":"弱点"}} \ No newline at end of file diff --git a/nvd-yew/i18n.yaml b/nvd-yew/i18n.yaml index 40da89f..0684dc2 100644 --- a/nvd-yew/i18n.yaml +++ b/nvd-yew/i18n.yaml @@ -79,4 +79,34 @@ Prev: Next: zh: 下一页 Lang: - zh: 语言 \ No newline at end of file + zh: 语言 +Network: + zh: 网络 +AdjacentNetwork: + zh: 相邻网络 +Local: + zh: 本地网络 +Physical: + zh: 物理 +None: + zh: 无 +High: + zh: 高 +Medium: + zh: 中 +Low: + zh: 低 +Multiple: + zh: 多个 +Single: + zh: 单个 +Partial: + zh: 部分 +Complete: + zh: 完全 +Unchanged: + zh: 未更改 +Changed: + zh: 更改 +Required: + zh: 需要 \ No newline at end of file diff --git a/nvd-yew/src/layout/footer.rs b/nvd-yew/src/layout/footer.rs index 0a61174..62a2427 100644 --- a/nvd-yew/src/layout/footer.rs +++ b/nvd-yew/src/layout/footer.rs @@ -14,12 +14,13 @@ impl Component for Footer {
- + + {"本站提供的任何内容、代码与服务仅供学习,请勿用于非法用途,否则后果自负!"}
  • - {"Copyright © 2023"} + {"Copyright © 2023-2024"} {"Kali-Team"}{"."} {"All rights reserved."}
  • diff --git a/nvd-yew/src/layout/main.rs b/nvd-yew/src/layout/main.rs index 9332441..fa90688 100644 --- a/nvd-yew/src/layout/main.rs +++ b/nvd-yew/src/layout/main.rs @@ -15,7 +15,7 @@ impl Component for Main { html! {
    -
    +
    render={Route::switch} />
    diff --git a/nvd-yew/src/layout/nav.rs b/nvd-yew/src/layout/nav.rs index 8eae615..c17f45f 100644 --- a/nvd-yew/src/layout/nav.rs +++ b/nvd-yew/src/layout/nav.rs @@ -53,7 +53,7 @@ impl Component for Nav {

    classes={classes!("navbar-brand")} to={Route::Home}> - + >