From ff7ab3ea2be40c8b59fbcbd0102a7f25ae4ad0ad Mon Sep 17 00:00:00 2001 From: zouap Date: Thu, 25 Aug 2022 10:36:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- options/locale/locale_en-US.ini | 2 +- options/locale/locale_zh-CN.ini | 10 ++++++++++ templates/repo/cloudbrain/trainjob/new.tmpl | 6 ++++-- templates/repo/modelmanage/index.tmpl | 19 +++++++++---------- 4 files changed, 24 insertions(+), 13 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 38135fcbd..e5ca6a9a0 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1208,7 +1208,7 @@ modelarts.infer_job_model_file = Model File modelarts.infer_job = Inference Job modelarts.infer_job.model_version = Model/Version modelarts.infer_job.select_model = Select Model -modelarts.infer_job.boot_file_helper=The startup file is the entry file for your program execution and must end in.py.Such as inference.py, main.py, example/inference. Py, case/main.py. +modelarts.infer_job.boot_file_helper=The startup file is the entry file for your program execution and must end in.py.Such as inference.py, main.py, example/inference.py, case/main.py. modelarts.infer_job.tooltip = The model has been deleted and cannot be viewed. modelarts.download_log=Download log file diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 31687f20e..8ee4a8ff1 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -1256,6 +1256,16 @@ model.convert=模型转换任务 model.list=模型列表 model.manage.create_new_convert_task=创建模型转换任务 +model.manage.notcreatemodel=未创建过模型 +model.manage.init1=代码版本:您还没有初始化代码仓库,请先 +model.manage.init2=创建代码版本; +model.manage.createtrainjob_tip=训练任务:您还没创建过训练任务,请先创建 +model.manage.createtrainjob=训练任务 +model.manage.delete=删除模型 +model.manage.delete_confirm=你确认删除该模型么?此模型一旦删除不可恢复。 + +model.manage.select.trainjob=选择训练任务 + modelconvert.manage.create_error1=相同的名称模型转换任务已经存在。 modelconvert.manage.create_error2=只能创建一个正在运行的模型转换任务。 modelconvert.manage.model_not_exist=选择的模型不存在。 diff --git a/templates/repo/cloudbrain/trainjob/new.tmpl b/templates/repo/cloudbrain/trainjob/new.tmpl index 7d21138d4..cf25ae91c 100755 --- a/templates/repo/cloudbrain/trainjob/new.tmpl +++ b/templates/repo/cloudbrain/trainjob/new.tmpl @@ -297,17 +297,19 @@ let value = '' value += `
` value += '
' + let placeholder_value='{{.i18n.Tr "repo.modelarts.train_job.parameter_value"}}' + let placeholder_name='{{.i18n.Tr "repo.modelarts.train_job.parameter_name"}}' if(flag){ value +=`` }else{ - value +='' + value +='' } value += '
' value += '
' if(flag){ value +=`` }else{ - value +='' + value +='' } value += '
' value += '' diff --git a/templates/repo/modelmanage/index.tmpl b/templates/repo/modelmanage/index.tmpl index 52b042c46..890f24030 100644 --- a/templates/repo/modelmanage/index.tmpl +++ b/templates/repo/modelmanage/index.tmpl @@ -64,17 +64,16 @@ {{if eq $.MODEL_COUNT 0}}
-
未创建过模型
+
{{$.i18n.Tr "repo.model.manage.notcreatemodel"}}
{{if $.RepoIsEmpty}} -
代码版本:您还没有初始化代码仓库,请先创建代码版本;
+
{{$.i18n.Tr "repo.model.manage.init1"}}{{$.i18n.Tr "repo.model.manage.init2"}}
{{end}} {{if eq $.TRAIN_COUNT 0}} -
训练任务:您还没创建过训练任务,请先创建训练任务
+
{{$.i18n.Tr "repo.model.manage.createtrainjob_tip"}}{{$.i18n.Tr "repo.model.manage.createtrainjob"}}
{{end}} -
使用说明:可以参考启智AI协作平台小白训练营课程。
+
{{$.i18n.Tr "repo.platform_instructions"}}
@@ -108,11 +107,11 @@