diff --git a/app/views/welcome/_hot_projects_list.html.erb b/app/views/welcome/_hot_projects_list.html.erb index 9b941f420..92e1469cd 100644 --- a/app/views/welcome/_hot_projects_list.html.erb +++ b/app/views/welcome/_hot_projects_list.html.erb @@ -8,7 +8,7 @@ <%= l(:label_private) %> <% end %> <%= link_to( project.name, project_path(project.id), :class => "d-g-blue d-p-project-name",:title => "#{project.name}" )%> - (<%= link_to "#{projectCount(project)}人", project_member_path(project) ,:course =>'0' %>) + (<%= link_to l(:label_project_member_amount, :count=>projectCount(project)), project_member_path(project) ,:course =>'0' %>)
<%=project.description.truncate(90, omission: '...')%> @@ -16,7 +16,7 @@
<%= content_tag "span", l(:label_project_score)+ ":" + red_project_scores(project).to_i.to_s, :style => "cursor: pointer; display: inline-block; float: right; color: #ec6300;", - :title => "项目得分,综合考虑了项目的各项活动,反映了该项目的活跃程度", + :title => l(:label_project_score_tips), :class => "tooltip", :id => "tooltip-#{project.id}" %>
diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 4527c8e5c..6afc95979 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -2219,7 +2219,7 @@ zh: # 托管平台主页 # edit by meng - # 托管平台主页> 顶部菜单 + # 托管平台主页> 顶部菜单> field_homepage: 主页 label_project_deposit: 项目托管 label_course_practice: 课程实践 @@ -2229,6 +2229,10 @@ zh: label_software_user: 软件创客 label_requirement_enterprise: 软件众包 label_stores_index: 资源搜索 + + # 托管平台主页> 顶部菜单> + + # 托管平台主页 > 搜索提示信息 label_search_information: 请输入要搜索的关键字 @@ -2509,3 +2513,13 @@ zh: next: "下一页 »" truncate: "..." + + + # 项目企业模块 + + label_all_enterprises: 所有企业 + label_my_enterprise: 我的企业 + label_enterprise_tips: 暂时还没有该企业对应的项目,系统的其它项目您可能会感兴趣! + label_part_enterprise_tips: 系统的其它项目您可能也会感兴趣! + label_enterprise_nil: 该模块为最新上线模块,目前还未有项目关联到企业! + label_enterprises: 名企