diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 09bb5015f..f06c32f2f 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -266,6 +266,15 @@ search_related=related search_maybe=maybe search_ge= +wecome_AI_plt = Welcome to Qizhi AI Collaboration Platform! +explore_AI = Explore better AI, come here to find more interesting +datasets = Datasets +repositories = Repositories +use_plt__fuction = To use the AI collaboration functions provided by this platform, such as: hosting code, sharing data, debugging algorithms or training models, please first +provide_resoure = The platform currently provides free computing resources of CPU, GPU, and NPU, and can perform various types of AI tasks. +activity = Activity +no_events = There are no events related to you yet + [explore] repos = Repositories select_repos = Select the project diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index d26065363..b2696c570 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -268,6 +268,17 @@ search_related=相关 search_maybe=约为 search_ge=个 +wecome_AI_plt=欢迎来到启智AI协作平台! +explore_AI = 探索更好的AI,来这里发现更有意思的 +datasets = 数据集 +repositories = 项目 +use_plt__fuction = 使用本平台提供的AI协作功能,如:托管代码、共享数据、调试算法或训练模型,请先 +provide_resoure = 平台目前免费提供CPU、GPU、NPU的算力资源,可进行多种类型的AI任务。 +create_pro = 创建项目 +activity = 活动 +no_events = 还没有与您相关的活动 + + [explore] repos=项目 select_repos=精选项目 diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index f692b638a..adf091f9f 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -7,34 +7,29 @@
- 欢迎来到启智AI协作平台! + {{.i18n.Tr "home.wecome_AI_plt"}}
-

探索更好的AI,来这里发现更有意思的 项目数据集

-

使用本平台提供的AI协作功能,如:托管代码、共享数据、调试算法或训练模型,请先创建项目

-

平台目前免费提供CPU、GPU、NPU的算力资源,可进行多种类型的AI任务。

+

{{.i18n.Tr "home.explore_AI"}} {{.i18n.Tr "home.repositories"}}{{.i18n.Tr "home.datasets"}}

+

{{.i18n.Tr "home.use_plt__fuction"}}{{.i18n.Tr "repo.create_repo"}}

+

{{.i18n.Tr "home.provide_resoure"}}

- - {{if .EnableHeatmap}} {{template "user/dashboard/heatmap" .}} {{end}} - {{template "user/dashboard/feeds" .}} -
-
- 活动: -
-
-

- 还没有与你相关的活动 -

+ {{template "user/dashboard/feeds" .}} +
+
+ {{.i18n.Tr "home.activity"}}:
+
+

+ {{.i18n.Tr "home.no_events"}} +

{{template "user/dashboard/repolist" .}} @@ -63,9 +58,9 @@ margin-bottom: 20px; border-radius: 15px; line-height: 20px; + padding:0px 25px; } .title{ - padding-left: 25px; padding-top: 25px; color: rgba(16, 16, 16, 100); font-size: 20px; @@ -77,7 +72,6 @@ font-size: 14px; text-align: left; font-family: SourceHanSansSC-regular; - padding-left: 25px; margin-top: 20px; } .btn_create{ @@ -97,16 +91,8 @@ font-family: SourceHanSansSC-regular; margin-top: 30px; } - .look{ - padding-left: 29px; - } - .comm{ - padding-right: 20%; - float:right; - vertical-align: middle; - } + .guide{ - margin-left: 25px; margin-top:30px; padding-bottom: 30px; } @@ -118,8 +104,9 @@ text-align: center; font-family: Microsoft Yahei; border: 1px solid rgba(24, 144, 255, 100); - padding: 10px 20px; + padding: 5px 5px; vertical-align: middle; + border-radius: 4px; } .activity{ margin-top: 20px; @@ -136,5 +123,10 @@ text-align: center; font-family: SourceHanSansSC-regular; } - + .padding_none{ + padding: 0px !important; + } + .content >p{ + line-height: 2em !important; + } \ No newline at end of file