From 89a07584b74d1597cfa4750e754dfdd27607c53b Mon Sep 17 00:00:00 2001 From: chenshihai Date: Mon, 10 Oct 2022 17:34:19 +0800 Subject: [PATCH] update lang --- options/locale/locale_en-US.ini | 10 +++++++ options/locale/locale_zh-CN.ini | 10 ++++++- templates/repo/modelsafety/new.tmpl | 10 +++---- templates/repo/modelsafety/show.tmpl | 53 +++++++++++++----------------------- 4 files changed, 43 insertions(+), 40 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index a20797df3..a4ab1a9e1 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -3258,3 +3258,13 @@ hours = Hours expected_time = , expected to be available for points_acquisition_instructions = Points Acquisition Instructions insufficient_points_balance = Insufficient points balance + +[modelsafety] +model_security_evaluation = Model Security Evaluation +base_data_set = Base Data Set +combat_data_set = Combat Data Set +evaluation_indicators = Evaluation Indicators +evaluation_result = Evaluation Result +no_data = No Data +untargetted = Untargetted +targetted = targetted diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 5a9d02dff..c180ea33f 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -3278,4 +3278,12 @@ expected_time = ,预计可用 points_acquisition_instructions = 积分获取说明 insufficient_points_balance = 积分余额不足 - +[modelsafety] +model_security_evaluation = 模型安全评测 +base_data_set = 原始数据集 +combat_data_set = 对抗数据集 +evaluation_indicators = 评测指标 +evaluation_result = 评测结果 +no_data = 无数据 +untargetted = 非定向 +targetted = 定向 diff --git a/templates/repo/modelsafety/new.tmpl b/templates/repo/modelsafety/new.tmpl index 6d9b3e0c0..f4331eac8 100644 --- a/templates/repo/modelsafety/new.tmpl +++ b/templates/repo/modelsafety/new.tmpl @@ -68,7 +68,7 @@ {{.i18n.Tr "repo.cloudbrain.benchmark.model"}} 模型安全评测 + href="{{.Link}}">{{.i18n.Tr "modelsafety.model_security_evaluation"}}